Function at 0x4158e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449225
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.00424196
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 0x415990
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x415990
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 0x4159d4
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 0x415a10
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 0x454ad4
push ecx
mov byte [ebp - 4], 5
call fcn.0042d3cb
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.00422d3a
lea ecx, [ebp - 0xb0]
add esp, 4
push ecx
call fcn.00422d3a
lea edx, [ebp - 0x78]
add esp, 4
push edx
call fcn.00422d3a
add esp, 4
push 0xb
push str._comp_code
lea ecx, [ebp - 0x5c]
call fcn.0040d360
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.0040d360
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.0040d360
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.0040d360
lea eax, [ebp - 0x24]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x415b04
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d360
lea ecx, [ebp - 0x40]
push 0x2785
push ecx
call fcn.00422c2a
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 0x414fb0
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 0x415b80
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b4ee
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x48], edi
jae 0x415b8b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x178]
push ecx
push eax
push str.www.SpreadsheetTools.com
lea ecx, [ebp - 0x184]
call fcn.004241c9
test eax, eax
je 0x415bcf
lea edx, [ebp - 0x159]
push edx
lea ecx, [ebp - 0x178]
mov byte [ebp - 0x159], bl
call fcn.00413ad0
mov eax, dword [ebp - 0x178]
push esi
push eax
call fcn.00415760
add esp, 8
mov eax, dword [0x46102c]
mov dword [0x461028], 1
cmp eax, ebx
je 0x415bec
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 0x10], edi
jbe 0x415c2b
mov ecx, edi
push esi
lea edi, [ebp - 0x40]
call fcn.00416360
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.0040c2e0
mov byte [ebp - 0x159], 1
test eax, eax
je 0x415c31
mov byte [ebp - 0x159], bl
mov dword [ebp - 4], 6
test byte [ebp - 0x160], 2
mov edi, 8
je 0x415c5e
and dword [ebp - 0x160], 0xfffffffd
cmp dword [ebp - 0x2c], edi
jb 0x415c5e
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b4ee
add esp, 4
cmp byte [ebp - 0x159], bl
je 0x415c9d
push esi
lea edi, [ebp - 0x40]
call fcn.004162b0
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 0x41619f
mov eax, dword [ebp - 0x40]
push eax
call fcn.0042b4ee
add esp, 4
jmp 0x41619f
mov dword [ebp - 0x230], 0x4539b0
mov dword [ebp - 0x220], 0x4539b8
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 0x415d21
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.00422c2a
add esp, 8
push 0x454f70
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 0x415dd2
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042b4ee
add esp, 4
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x415e19
lea edx, [ebp - 0x40]
push 0x2787
push edx
call fcn.00422c2a
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 0x4160f0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042b4ee
add esp, 4
jmp 0x4160f0
push esi
cmp eax, 6
jb 0x4160d2
mov ecx, 5
lea edi, [ebp - 0x40]
call fcn.00416360
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.0040c2e0
test eax, eax
mov edi, 8
sete byte [ebp - 0x159]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x2c], edi
jb 0x415e6d
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b4ee
add esp, 4
cmp byte [ebp - 0x159], bl
je 0x4160d1
cmp dword [esi + 0x14], edi
jb 0x415e82
mov eax, dword [esi]
jmp 0x415e84
mov eax, esi
movzx eax, word [eax + 0xa]
add eax, 0xffffffcf
cmp eax, 6
ja case.default.0x415e94
jmp dword [eax*4 + 0x41628c]
lea eax, [ebp - 0x220]
push str.Invalid_parameter__1_
push eax
call fcn.00406ce0
jmp 0x4160ed
lea ecx, [ebp - 0x220]
push str.Invalid_parameter__2_
push ecx
call fcn.00406ce0
jmp 0x4160ed
lea edx, [ebp - 0x220]
push str.Invalid_parameter__3_
push edx
call fcn.00406ce0
jmp 0x4160ed
lea eax, [ebp - 0x220]
push str.Invalid_parameter__4_
push eax
call fcn.00406ce0
jmp 0x4160ed
lea ecx, [ebp - 0x120]
push 0x278c
push ecx
call fcn.00422c2a
mov edi, eax
lea edx, [ebp - 0x13c]
push 0x278b
push edx
mov byte [ebp - 4], 0x15
call fcn.00422c2a
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x158]
push 0x278a
push eax
mov byte [ebp - 4], 0x16
call fcn.00422c2a
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0xe8]
push 0x2789
push ecx
mov byte [ebp - 4], 0x17
call fcn.00422c2a
mov dword [ebp - 0x17c], eax
lea edx, [ebp - 0x40]
push 0x2788
push edx
mov byte [ebp - 4], 0x18
call fcn.00422c2a
add esp, 0x28
push edi
push ecx
push 0x4533cc
push ecx
mov edx, dword [ebp - 0x168]
push 0x454e98
push ecx
mov ecx, dword [ebp - 0x164]
push ecx
push ecx
push 0x453374
push ecx
push edx
push ecx
push 0x4533cc
push ecx
push 0x454e98
push ecx
mov ecx, dword [ebp - 0x17c]
push ecx
push ecx
push 0x454e98
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 0x4160f0
lea eax, [ebp - 0x104]
push 0x278d
push eax
call fcn.00422c2a
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 0x4160f0
lea edx, [ebp - 0xcc]
push 0x278e
push edx
call fcn.00422c2a
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 0x4160f0
push esi
push ecx
push str.Unknown_error:
lea ecx, [ebp - 0x220]
push ecx
jmp 0x4160df
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.00422c2a
add esp, 8
push str.:_support_SpreadsheetTools.com.
push ecx
push eax
push ecx
lea ecx, [ebp - 0x220]
push 0x454f70
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 0x416157
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042b4ee
add esp, 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404360
cmp dword [eax + 0x14], edi
jb 0x41616d
mov eax, dword [eax]
mov ecx, 0x1010
mov edi, eax
call fcn.00412850
cmp dword [ebp - 0x2c], 8
jb 0x41618b
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042b4ee
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.00401310
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x4161b0
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0042b4ee
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 0x4161d1
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.0042b4ee
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 0x4161f8
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0042b4ee
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 0x416225
mov edx, dword [ebp - 0x94]
push edx
call fcn.0042b4ee
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 0x41624e
push eax
call fcn.0042b4ee
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.0042417b
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.0042bed8
mov esp, ebp
pop ebp
ret