Function at 0x4158a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4490a5
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov edi, edx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], ecx
mov word [esi], dx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x160], 1
call fcn.004240a8
mov dword [ebp - 4], 1
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov byte [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x94], ax
mov eax, edi
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], ebx
lea ecx, [eax + 2]
jmp 0x415950
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x415950
sub eax, ecx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.00408e30
mov edi, dword [ebp - 0x168]
mov byte [ebp - 4], 3
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415994
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.00408e30
mov edi, dword [ebp - 0x164]
mov byte [ebp - 4], 4
xor edx, edx
mov eax, edi
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], dx
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4159d0
sub eax, ecx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x78]
call fcn.00408e30
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push 0x454934
push ecx
mov byte [ebp - 4], 5
call fcn.0042d27b
add esp, 0xc
push 0x11
xor edx, edx
push str._ca_do_cs_act.asp
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], dx
call fcn.00408e30
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 6
call fcn.00422be7
lea ecx, [ebp - 0xb0]
add esp, 4
push ecx
call fcn.00422be7
lea edx, [ebp - 0x78]
add esp, 4
push edx
call fcn.00422be7
add esp, 4
push 0xb
push str._comp_code
lea ecx, [ebp - 0x5c]
call fcn.0040d350
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405780
push 6
push str.mail
lea ecx, [ebp - 0x5c]
call fcn.0040d350
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00405780
push 7
push str.order
lea ecx, [ebp - 0x5c]
call fcn.0040d350
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00405780
push 6
push str.prod
lea ecx, [ebp - 0x5c]
call fcn.0040d350
lea eax, [ebp - 0x24]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x415ac4
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d350
lea ecx, [ebp - 0x40]
push 0x2785
push ecx
call fcn.00422ad7
add esp, 8
mov edi, eax
mov byte [ebp - 4], 7
mov dword [0x461028], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0xffffffffffffffff
push ebx
push edi
mov ecx, 0x45edb4
mov dword [0x461030], eax
call fcn.00409cf0
push ebx
push ebx
push ebx
push 0x414f70
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], edi
jb 0x415b40
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b39e
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x48], edi
jae 0x415b4b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x178]
push ecx
push eax
push str.www.SpreadsheetTools.com
lea ecx, [ebp - 0x184]
call fcn.004240db
test eax, eax
je 0x415b8f
lea edx, [ebp - 0x159]
push edx
lea ecx, [ebp - 0x178]
mov byte [ebp - 0x159], bl
call fcn.00413a80
mov eax, dword [ebp - 0x178]
push esi
push eax
call fcn.00415720
add esp, 8
mov eax, dword [0x46102c]
mov dword [0x461028], 1
cmp eax, ebx
je 0x415bac
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 0x10], edi
jbe 0x415beb
mov ecx, edi
push esi
lea edi, [ebp - 0x40]
call fcn.00416320
add esp, 4
push 8
mov byte [ebp - 4], 8
mov ecx, dword [eax + 0x10]
push str.SUCCESS:
push ecx
push ebx
mov ecx, eax
mov dword [ebp - 0x160], 3
call fcn.0040c2d0
mov byte [ebp - 0x159], 1
test eax, eax
je 0x415bf1
mov byte [ebp - 0x159], bl
mov dword [ebp - 4], 6
test byte [ebp - 0x160], 2
mov edi, 8
je 0x415c1e
and dword [ebp - 0x160], 0xfffffffd
cmp dword [ebp - 0x2c], edi
jb 0x415c1e
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b39e
add esp, 4
cmp byte [ebp - 0x159], bl
je 0x415c5d
push esi
lea edi, [ebp - 0x40]
call fcn.00416270
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00408db0
mov edi, 8
cmp dword [ebp - 0x2c], edi
jb 0x41615f
mov eax, dword [ebp - 0x40]
push eax
call fcn.0042b39e
add esp, 4
jmp 0x41615f
mov dword [ebp - 0x230], 0x453808
mov dword [ebp - 0x220], 0x453810
mov byte [ebp - 4], 0xa
or dword [ebp - 0x160], 4
lea ecx, [ebp - 0x1d0]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
call fcn.00407de0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x198], ecx
push 0x20
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x194], ebx
call fcn.00406990
mov word [ebp - 0x190], ax
cmp dword [ebp - 0x198], ebx
jne 0x415ce1
mov eax, dword [ebp - 0x1c4]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00408770
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea ecx, [ebp - 0x218]
call fcn.00405690
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
lea edx, [ebp - 0x40]
push 0x2786
push edx
mov byte [ebp - 4], 0x11
call fcn.00422ad7
add esp, 8
push 0x454dc8
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0x12
call fcn.00406a40
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 8
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x2c], edi
jb 0x415d92
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042b39e
add esp, 4
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x415dd9
lea edx, [ebp - 0x40]
push 0x2787
push edx
call fcn.00422ad7
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0x13
call fcn.00406a40
add esp, 0x10
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x2c], edi
jb 0x4160b0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042b39e
add esp, 4
jmp 0x4160b0
push esi
cmp eax, 6
jb 0x416092
mov ecx, 5
lea edi, [ebp - 0x40]
call fcn.00416320
add esp, 4
push 5
mov byte [ebp - 4], 0x14
mov ecx, dword [eax + 0x10]
push str.ERROR
push ecx
push ebx
mov ecx, eax
call fcn.0040c2d0
test eax, eax
mov edi, 8
sete byte [ebp - 0x159]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x2c], edi
jb 0x415e2d
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b39e
add esp, 4
cmp byte [ebp - 0x159], bl
je 0x416091
cmp dword [esi + 0x14], edi
jb 0x415e42
mov eax, dword [esi]
jmp 0x415e44
mov eax, esi
movzx eax, word [eax + 0xa]
add eax, 0xffffffcf
cmp eax, 6
ja case.default.0x415e54
jmp dword [eax*4 + 0x41624c]
lea eax, [ebp - 0x220]
push str.Invalid_parameter__1_
push eax
call fcn.00406ce0
jmp 0x4160ad
lea ecx, [ebp - 0x220]
push str.Invalid_parameter__2_
push ecx
call fcn.00406ce0
jmp 0x4160ad
lea edx, [ebp - 0x220]
push str.Invalid_parameter__3_
push edx
call fcn.00406ce0
jmp 0x4160ad
lea eax, [ebp - 0x220]
push str.Invalid_parameter__4_
push eax
call fcn.00406ce0
jmp 0x4160ad
lea ecx, [ebp - 0x120]
push 0x278c
push ecx
call fcn.00422ad7
mov edi, eax
lea edx, [ebp - 0x13c]
push 0x278b
push edx
mov byte [ebp - 4], 0x15
call fcn.00422ad7
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x158]
push 0x278a
push eax
mov byte [ebp - 4], 0x16
call fcn.00422ad7
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0xe8]
push 0x2789
push ecx
mov byte [ebp - 4], 0x17
call fcn.00422ad7
mov dword [ebp - 0x17c], eax
lea edx, [ebp - 0x40]
push 0x2788
push edx
mov byte [ebp - 4], 0x18
call fcn.00422ad7
add esp, 0x28
push edi
push ecx
push 0x453224
push ecx
mov edx, dword [ebp - 0x168]
push 0x454cf0
push ecx
mov ecx, dword [ebp - 0x164]
push ecx
push ecx
push 0x4531cc
push ecx
push edx
push ecx
push 0x453224
push ecx
push 0x454cf0
push ecx
mov ecx, dword [ebp - 0x17c]
push ecx
push ecx
push 0x454cf0
push ecx
push eax
lea edx, [ebp - 0x220]
push edx
mov byte [ebp - 4], 0x19
call fcn.00406a40
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406a40
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406a40
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406a40
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406a40
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00409e20
lea ecx, [ebp - 0xe8]
call fcn.00409e20
lea ecx, [ebp - 0x158]
call fcn.00409e20
lea ecx, [ebp - 0x13c]
call fcn.00409e20
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x11
call fcn.00409e20
jmp 0x4160b0
lea eax, [ebp - 0x104]
push 0x278d
push eax
call fcn.00422ad7
push eax
lea ecx, [ebp - 0x220]
push ecx
mov byte [ebp - 4], 0x1a
call fcn.00406a40
add esp, 0x10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x11
call fcn.00409e20
jmp 0x4160b0
lea edx, [ebp - 0xcc]
push 0x278e
push edx
call fcn.00422ad7
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00406a40
add esp, 0x10
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x11
call fcn.00409e20
jmp 0x4160b0
push esi
push ecx
push str.Unknown_error:
lea ecx, [ebp - 0x220]
push ecx
jmp 0x41609f
push esi
push ecx
push str.Unknown_error:
lea edx, [ebp - 0x220]
push edx
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406a40
add esp, 8
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00409960
lea eax, [ebp - 0x40]
push 0x278f
push eax
call fcn.00422ad7
add esp, 8
push str.:_support_SpreadsheetTools.com.
push ecx
push eax
push ecx
lea ecx, [ebp - 0x220]
push 0x454dc8
push ecx
mov byte [ebp - 4], 0x1c
call fcn.00406ce0
add esp, 0xc
push eax
call fcn.00406a40
add esp, 0xc
push eax
call fcn.00406ce0
mov edi, 8
add esp, 8
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x2c], edi
jb 0x416117
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b39e
add esp, 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404330
cmp dword [eax + 0x14], edi
jb 0x41612d
mov eax, dword [eax]
mov ecx, 0x1010
mov edi, eax
call fcn.00412810
cmp dword [ebp - 0x2c], 8
jb 0x41614b
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042b39e
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.00401310
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x416170
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0042b39e
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], ax
cmp dword [ebp - 0x64], edi
jb 0x416191
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.0042b39e
add esp, 4
xor edx, edx
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], dx
cmp dword [ebp - 0x9c], edi
jb 0x4161b8
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0042b39e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], cx
cmp dword [ebp - 0x80], edi
jb 0x4161e5
mov edx, dword [ebp - 0x94]
push edx
call fcn.0042b39e
add esp, 4
xor eax, eax
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], ebx
cmp eax, ebx
je 0x41620e
push eax
call fcn.0042b39e
add esp, 4
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov byte [ebp - 4], bl
call fcn.0042408d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bd88
mov esp, ebp
pop ebp
ret