Function at 0x404650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42ba3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push 0xa
push 0x80020004
lea ecx, [esp + 0x94]
call fcn.00406de1
lea ecx, [esp + 0x18]
mov dword [esp + 0xc8], 0
call fcn.00429ed0
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 1
call fcn.00429ed0
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 2
call fcn.00429ed0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc8], 3
call fcn.00429ed0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc8], 4
call fcn.00429ed0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 5
call fcn.00429ed0
push 0
push str.Excel.Application
lea ecx, [esp + 0x20]
mov byte [esp + 0xd0], 6
call fcn.00429fc8
test eax, eax
jne 0x40479e
push eax
push eax
push str.Couldnt_start_Excel.
call fcn.004268a9
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 5
call fcn.0042a01b
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc8], 4
call fcn.0042a01b
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc8], 3
call fcn.0042a01b
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 2
call fcn.0042a01b
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 1
call fcn.0042a01b
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 0
call fcn.0042a01b
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
add esp, 0xcc
ret 4
push ebx
push 0
lea ecx, [esp + 0x20]
call fcn.004051f0
push 0
lea ecx, [esp + 0x20]
call fcn.004051c0
call fcn.00428191
mov ecx, dword [eax + 4]
call fcn.0041f97a
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 7
call fcn.004051a0
push 1
push eax
lea ecx, [esp + 0xc]
call fcn.00429edd
lea ecx, [esp + 4]
mov byte [esp + 0xcc], 8
push ecx
lea ecx, [esp + 0x3c]
call fcn.00429eef
lea ecx, [esp + 4]
mov byte [esp + 0xcc], 7
call fcn.0042a01b
lea edx, [esp + 0x90]
lea ecx, [esp + 0x38]
push edx
call fcn.004052d0
push 1
push eax
lea ecx, [esp + 0xc]
call fcn.00429edd
lea eax, [esp + 4]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + 0xd0], 9
call fcn.00429eef
lea ecx, [esp + 4]
mov byte [esp + 0xcc], 7
call fcn.0042a01b
lea ecx, [esp + 0x48]
call fcn.004052b0
push 1
push eax
lea ecx, [esp + 0xc]
call fcn.00429edd
lea ecx, [esp + 4]
mov byte [esp + 0xcc], 0xa
push ecx
lea ecx, [esp + 0x34]
call fcn.00429eef
lea ecx, [esp + 4]
mov byte [esp + 0xcc], 7
call fcn.0042a01b
push 2
push 1
lea ecx, [esp + 0x88]
call fcn.00406dab
mov bl, 0xb
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], bl
call fcn.00405220
push 1
push eax
lea ecx, [esp + 0xc]
call fcn.00429edd
lea edx, [esp + 4]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0xd0], 0xc
call fcn.00429eef
mov byte [esp + 0xcc], bl
lea ecx, [esp + 4]
call fcn.0042a01b
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xd0], 7
call ebx
mov ecx, dword [esp + 0xd4]
push 0
push ecx
lea ecx, [esp + 0xb8]
call fcn.0041fc3f
mov edx, dword [0x438d5c]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0xe
call fcn.0041e6ad
push 0x438264
lea ecx, [esp + 0x70]
mov byte [esp + 0xd0], 0xf
call fcn.00420c37
mov eax, dword [0x438d5c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 0x12
push ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x1c], 1
call fcn.0041fefe
test eax, eax
je 0x404c0b
push ebp
push esi
push edi
mov edx, dword [esp + 0x20]
xor esi, esi
push edx
lea ecx, [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x3c], esi
call fcn.00420c37
mov eax, dword [0x438d5c]
mov dword [esp + 0x34], eax
push 0x438264
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 0x14
call fcn.00420d52
mov ecx, dword [esp + 0x78]
push 0xffffffffffffffff
push esi
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x38], edx
call fcn.0041e740
mov eax, dword [esp + 0x78]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0041d93f
mov edi, eax
cmp edi, 0xffffffff
je 0x404a38
mov ecx, edi
lea edx, [esp + 0x7c]
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.0041d831
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 0x15
call fcn.00420d02
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 0x14
call fcn.00420bc9
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.0041e8b5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x18]
lea esi, [edx + edi]
push esi
push eax
call fcn.0041d93f
mov edi, eax
cmp edi, 0xffffffff
jne 0x4049d1
lea ecx, [esp + 0x80]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.0041d80e
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xdc], 0x16
call fcn.00404d20
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 0x14
call fcn.00420bc9
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0x13
call fcn.00420bc9
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0x12
call fcn.00420bc9
mov eax, dword [esp + 0x6c]
xor esi, esi
test eax, eax
mov dword [esp + 0x30], eax
jle 0x404be6
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
lea eax, [ebp + 0x41]
push edx
test edi, edi
push eax
jne 0x404ac9
lea ecx, [esp + 0x24]
push str._c_d
push ecx
call fcn.0041dcb7
add esp, 0x10
jmp 0x404adf
lea ecx, [edi + 0x40]
lea edx, [esp + 0x24]
push ecx
push 0x438428
push edx
call fcn.0041dcb7
add esp, 0x14
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xac]
push eax
mov word [esp + 0xb0], 0
call fcn.00406e68
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 0x17
push ecx
lea ecx, [esp + 0x50]
call fcn.00405280
push 1
push eax
lea ecx, [esp + 0x8c]
call fcn.00429edd
lea edx, [esp + 0x84]
lea ecx, [esp + 0x5c]
push edx
mov byte [esp + 0xdc], 0x18
call fcn.00429eef
lea ecx, [esp + 0x84]
mov byte [esp + 0xd8], 0x17
call fcn.0042a01b
lea eax, [esp + 0xac]
mov byte [esp + 0xd8], 0x12
push eax
call ebx
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x6c]
call fcn.00404f60
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xdc], 0x19
mov word [esp + 0x90], 0
call fcn.00406e68
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x5c]
push edx
mov byte [esp + 0xdc], 0x1a
call fcn.00405390
lea eax, [esp + 0x8c]
push eax
call ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 0x12
call fcn.00420bc9
inc ebp
mov ecx, 0x1a
mov eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x404bd9
xor ebp, ebp
inc edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jl 0x404aa4
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x20]
inc edi
push edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x28], edi
call fcn.0041fefe
test eax, eax
jne 0x40496f
pop edi
pop esi
pop ebp
push 1
lea ecx, [esp + 0x20]
call fcn.004051f0
push 1
lea ecx, [esp + 0x20]
call fcn.004051c0
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 0x11
call fcn.00420bc9
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], 0x1b
call fcn.00420bc9
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0xe
call fcn.0041e6e0
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 0xd
call fcn.00420bc9
lea ecx, [esp + 0xb0]
mov byte [esp + 0xcc], 7
call fcn.0041fcd8
mov byte [esp + 0xcc], 6
call fcn.00428191
mov ecx, dword [eax + 4]
call fcn.0041f98f
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 5
call fcn.0042a01b
lea ecx, [esp + 0x40]
mov byte [esp + 0xcc], 4
call fcn.0042a01b
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 3
call fcn.0042a01b
lea ecx, [esp + 0x48]
mov byte [esp + 0xcc], 2
call fcn.0042a01b
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 1
call fcn.0042a01b
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0
call fcn.0042a01b
lea eax, [esp + 0x90]
push eax
call ebx
mov ecx, dword [esp + 0xc4]
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 4