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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47bfaa
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3094
call fcn.00465fa0
mov eax, dword [0x4a0538]
xor eax, esp
mov dword [esp + 0x3090], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0538]
xor eax, esp
push eax
lea eax, [esp + 0x30a8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00442426
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420893
push 0x80004005
call fcn.00402090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
push 0x4c
lea ecx, [esp + 0x324]
push ebx
push ecx
mov dword [esp + 0x30bc], ebx
mov dword [esp + 0x328], ebx
call fcn.00463860
push 0x1590
lea edx, [esp + 0x37c]
push ebx
push edx
call fcn.00463860
push 0x4c
lea eax, [esp + 0x191c]
push ebx
push eax
mov dword [esp + 0x1920], ebx
call fcn.00463860
push 0x1590
lea ecx, [esp + 0x1974]
push ebx
push ecx
call fcn.00463860
push 0x114
lea edx, [esp + 0x124]
push ebx
push edx
mov dword [esp + 0x128], ebx
call fcn.00463860
push 0x114
lea eax, [esp + 0x248]
push ebx
push eax
mov dword [esp + 0x24c], ebx
call fcn.00463860
add esp, 0x48
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x18], ebx
call fcn.0044ba45
mov edx, 9
lea ecx, [esp + 0x44]
mov byte [esp + 0x30b0], 1
mov word [esp + 0x7c], dx
call fcn.0044acbd
lea ecx, [esp + 0x5c]
mov byte [esp + 0x30b0], 2
call fcn.0044acbd
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30b0], 3
call fcn.0044acbd
lea ecx, [esp + 0x34]
mov byte [esp + 0x30b0], 4
call fcn.0044acbd
lea ecx, [esp + 0x20]
mov byte [esp + 0x30b0], 5
call fcn.0044acbd
push ebx
push str.excel.application
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30b8], 6
call fcn.0044b2e0
test eax, eax
jne 0x420a78
mov eax, dword [0x4a1ecc]
push 0x40
push eax
push str.Excel_Program_is_not_found._If_you_dont_have_Excel__use_CSV_format.
push str.mNoExcel
push str.Export_Dialog
mov ecx, 0x24a4558
call fcn.00422400
mov ecx, dword [esi + 0x20]
push eax
push ecx
mov ecx, 0x24a4558
call fcn.004219b0
mov ecx, esi
call fcn.004363cc
lea ecx, [esp + 0x20]
mov byte [esp + 0x30b0], 5
call fcn.0044adc0
lea ecx, [esp + 0x34]
mov byte [esp + 0x30b0], 4
call fcn.0044adc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30b0], 3
call fcn.0044adc0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x30b0], 2
call fcn.0044adc0
lea ecx, [esp + 0x44]
mov byte [esp + 0x30b0], 1
call fcn.0044adc0
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [edi - 0x10]
mov dword [esp + 0x30b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4214b3
push ebx
lea ecx, [esp + 0x48]
call fcn.0041c330
call fcn.00442426
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420a9c
push 0x80004005
call fcn.00402090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push str.StdFile.dat
push str.XLSHeader
push str.Info
mov ecx, 0x24a4558
mov byte [esp + 0x30bc], 7
call fcn.00422400
push eax
push 0x4a1ed0
lea ecx, [esp + 0x34]
push 0x485710
push ecx
mov dword [esp + 0x38], eax
call fcn.00407c80
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.0041c310
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.0044acca
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x30b4], 8
call fcn.0044ace0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30b0], 7
call fcn.0044adc0
push 2
push 5
lea ecx, [esp + 0x74]
call fcn.0044b950
mov edi, eax
push 2
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x30b8], 9
call fcn.0044b950
push 0x24a4538
push 0x24a4548
push 0x24a4548
push 0x24a4528
push 0x24a4548
push 0x24a4548
push 0x24a4548
push 0x24a4548
push 0x24a4548
push edi
push 0x24a4538
push eax
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x30e4], 0xa
call fcn.0041c570
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x4c]
push ecx
mov ebx, eax
call edi
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x30b4], 7
call edi
test ebx, ebx
jne 0x420c04
mov eax, dword [esp + 0x28]
push eax
push str._s_does_not_exist.
push str.mNoXlsHeader
push str.Export_Dialog
mov ecx, 0x24a4558
call fcn.00422400
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00407c80
mov edx, dword [0x4a1ecc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x20]
add esp, 0xc
push 0x30
push edx
push eax
push ecx
mov ecx, 0x24a4558
call fcn.004219b0
jmp 0x4213d6
push 1
push ebx
lea ecx, [esp + 0x44]
call fcn.0044b07e
lea ecx, [esp + 0x3c]
call fcn.0041c530
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.0044acca
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], 0xb
call fcn.0044ace0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30b0], 7
call fcn.0044adc0
push 2
push 1
lea ecx, [esp + 0x54]
call fcn.0044b950
mov bl, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], bl
call fcn.0041c5e0
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.0044acca
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x30b4], 0xd
call fcn.0044ace0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30b0], bl
call fcn.0044adc0
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x30b4], 7
call edi
cmp dword [0x4a1d44], 1
jne 0x420d8c
xor edx, edx
push 0x481754
lea ecx, [esp + 0x70]
mov word [esp + 0x70], dx
call fcn.0044bf0e
xor eax, eax
push 0x481834
lea ecx, [esp + 0x50]
mov byte [esp + 0x30b4], 0xe
mov word [esp + 0x50], ax
call fcn.0044bf0e
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x30b8], 0xf
call fcn.0041c450
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.0044acca
lea eax, [esp + 0x4c]
push eax
call edi
lea ecx, [esp + 0x6c]
mov bl, 0x12
push ecx
mov byte [esp + 0x30b4], bl
call edi
lea ecx, [esp + 0x18]
call fcn.0041c670
push 1
push eax
lea ecx, [esp + 0x6c]
call fcn.0044acca
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30b4], 0x13
call fcn.0044ace0
lea ecx, [esp + 0x64]
mov byte [esp + 0x30b0], bl
call fcn.0044adc0
push 0x24a4548
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0041c640
lea ecx, [esp + 0x18]
mov byte [esp + 0x30b0], 7
call fcn.0044adc0
cmp dword [esi + 0x17c], 0
jne 0x420ddd
push 2
push 1
lea ecx, [esp + 0x54]
call fcn.0044b950
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], 0x14
call fcn.0041c5e0
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x88], eax
mov byte [esp + 0x30b4], 7
call edi
lea edx, [esp + 0x7c]
push edx
push 0x24a4548
lea ecx, [esp + 0x28]
call fcn.0041c3a0
push str.On_exporting__s___d__d_
push str.sStepMsg2
push str.Exporting_Dialog
mov ecx, 0x24a4558
call fcn.00422400
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x188]
xor ebx, ebx
cmp dword [eax], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 3
jle 0x421299
mov ecx, esi
call fcn.0041d790
cmp dword [esi + 0x1e0], 0
je 0x421299
mov ecx, dword [esi + 0x188]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebx*4]
push 0x5c
push eax
call fcn.00464f70
mov ecx, dword [esi + 0x188]
mov edx, dword [ecx]
push edx
inc ebx
push ebx
inc eax
push eax
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x34], ebx
call fcn.00407c80
mov edx, dword [esp + 0x4c]
add esp, 0x1c
push edx
push 0x440
mov ecx, esi
call fcn.0043e12f
mov ecx, eax
call fcn.0043e245
mov eax, dword [esi + 0x1ac]
push 0
push ebx
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x1bc
lea edx, [esp + 0x2ee0]
push 0
push edx
call fcn.00463860
mov ecx, dword [esi + 0x188]
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x2edc]
push eax
mov eax, dword [edx + ebx*4]
push eax
mov ecx, 0x4a1a80
call fcn.00405d00
mov eax, dword [esp + 0x302c]
push eax
mov dword [esp + ebx*4 + 0xf0], eax
call fcn.00404b90
xor ebx, ebx
add esp, 4
cmp dword [esp + 0x308c], ebx
mov dword [esp + 0x28], ebx
jle 0x421204
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x180]
jle 0x4211c5
cmp dword [esi + 0x17c], 0
jne 0x42102b
inc word [esi + 0x184]
lea ecx, [esp + 0x20]
call fcn.0044adc0
mov dx, word [esi + 0x184]
inc dx
movzx eax, dx
push 2
push eax
lea ecx, [esp + 0xe4]
call fcn.0044b950
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], 0x15
call fcn.0041c5e0
push 1
push eax
lea ecx, [esp + 0x9c]
call fcn.0044acca
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x30b4], 0x16
call fcn.0044ace0
lea ecx, [esp + 0x94]
mov byte [esp + 0x30b0], 0x15
call fcn.0044adc0
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x30b4], 7
call edi
movsx eax, word [esi + 0x184]
inc eax
push eax
lea ecx, [esp + 0x34]
push str.Sheet_d
push ecx
call fcn.00407c80
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
lea ecx, [esp + 0x24]
call fcn.0041c3f0
mov ax, word [esi + 0x184]
inc ax
movzx ecx, ax
push 2
push ecx
lea ecx, [esp + 0xd4]
call fcn.0044b950
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], 0x17
call fcn.0041c5e0
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0x88], eax
mov byte [esp + 0x30b4], 7
call edi
lea eax, [esp + 0x7c]
push eax
push 0x24a4548
lea ecx, [esp + 0x28]
call fcn.0041c3a0
jmp 0x4211bd
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0041dba0
inc word [esi + 0x184]
lea ecx, [esp + 0x5c]
call fcn.0041c550
push 2
push 5
lea ecx, [esp + 0xc4]
call fcn.0044b950
mov ebx, eax
push 2
push 0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x30b8], 0x18
call fcn.0044b950
push 0x24a4538
mov edx, dword [esp + 0x30]
push 0x24a4548
push 0x24a4548
push 0x24a4528
push 0x24a4548
push 0x24a4548
push 0x24a4548
push 0x24a4548
push 0x24a4548
push ebx
push 0x24a4538
push eax
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x30e4], 0x19
call fcn.0041c570
push 1
push eax
lea ecx, [esp + 0x94]
call fcn.0044acca
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x30b4], 0x1a
call fcn.0044ace0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x30b0], 0x19
call fcn.0044adc0
lea ecx, [esp + 0xac]
push ecx
call edi
lea edx, [esp + 0xbc]
push edx
mov byte [esp + 0x30b4], 7
call edi
lea ecx, [esp + 0x3c]
call fcn.0041c530
push 1
push eax
lea ecx, [esp + 0x74]
call fcn.0044acca
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], 0x1b
call fcn.0044ace0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x30b0], 7
call fcn.0044adc0
push 2
push 1
lea ecx, [esp + 0xa4]
call fcn.0044b950
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], 0x1c
call fcn.0041c5e0
push 1
push eax
lea ecx, [esp + 0x54]
call fcn.0044acca
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x30b4], 0x1d
call fcn.0044ace0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30b0], 0x1c
call fcn.0044adc0
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x30b4], 7
call edi
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], 3
cmp dword [esp + 0x3024], 0
je 0x4211ee
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x2ee0]
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.00420490
inc dword [esp + 0x10]
inc ebx
cmp ebx, dword [esp + 0x308c]
mov dword [esp + 0x28], ebx
jl 0x420efc
xor ebx, ebx
jmp 0x421210
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x2ee0]
push ecx
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0041ff50
test ebx, ebx
jne 0x42123a
add dword [esp + 0x10], 2
jmp 0x42123e
inc dword [esp + 0x10]
mov eax, dword [esp + 0x302c]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*4]
add eax, eax
add eax, eax
cmp dword [eax + 0x49d0e8], 0
je 0x421281
mov ecx, dword [esp + ebx*4 + 0x3030]
add dword [esp + eax + 0x31c], ecx
mov ecx, dword [esp + eax + 0x31c]
imul ecx, dword [eax + 0x49d0e8]
inc ebx
cmp ebx, 0x14
mov dword [esp + eax + 0x18fc], ecx
jl 0x421210
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x188]
cmp eax, dword [edx]
mov dword [esp + 0x14], eax
mov ebx, eax
jl 0x420e16
mov ecx, dword [esi + 0x188]
inc dword [esp + 0x10]
xor edx, edx
xor eax, eax
cmp dword [ecx], eax
mov dword [esp + 0x28], edx
jle 0x4212f2
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
xor ecx, ecx
test eax, eax
jle 0x4212d4
mov edx, dword [esp + eax*4 + 0xec]
cmp dword [esp + ecx*4 + 0xec], edx
je 0x4212d0
inc ecx
cmp ecx, eax
jl 0x4212c2
mov edx, dword [esp + 0x28]
cmp ecx, eax
jne 0x4212eb
mov ecx, dword [esp + eax*4 + 0xec]
mov dword [esp + edx*4 + 0x204], ecx
inc edx
mov dword [esp + 0x28], edx
inc eax
cmp eax, dword [esp + 0x18]
jl 0x4212b5
push edx
lea edx, [esp + 0x208]
push edx
lea eax, [esp + 0x2ee4]
push eax
lea ecx, [esp + 0x1908]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x32c]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.0041f2a0
lea edx, [esp + 0x2edc]
push edx
mov ecx, 0x4a1a80
call fcn.00402690
mov eax, dword [esi + 0x188]
cmp ebx, dword [eax]
jne 0x4213d6
cmp dword [esi + 0x17c], 0
jne 0x4213ca
mov cx, word [esi + 0x184]
add cx, 2
movzx edx, cx
push 2
push edx
lea ecx, [esp + 0xa4]
call fcn.0044b950
mov bl, 0x1e
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30b4], bl
call fcn.0041c5e0
push 1
push eax
lea ecx, [esp + 0x54]
call fcn.0044acca
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x30b4], 0x1f
call fcn.0044ace0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30b0], bl
call fcn.0044adc0
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0x30b4], 7
call edi
lea ecx, [esp + 0x20]
call fcn.0041c3d0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0041dba0
cmp dword [esp + 0x44], 0
je 0x4213ef
lea ecx, [esp + 0x44]
call fcn.0041c360
lea ecx, [esp + 0x44]
call fcn.0044adc0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x188]
cmp ecx, dword [eax]
mov ecx, esi
jge 0x421406
call fcn.004363cc
jmp 0x421410
mov edx, dword [esi]
mov eax, dword [edx + 0x158]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x30b0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x30b0], 5
call fcn.0044adc0
lea ecx, [esp + 0x34]
mov byte [esp + 0x30b0], 4
call fcn.0044adc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30b0], 3
call fcn.0044adc0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x30b0], 2
call fcn.0044adc0
lea ecx, [esp + 0x44]
mov byte [esp + 0x30b0], 1
call fcn.0044adc0
lea ecx, [esp + 0x7c]
push ecx
call edi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x30b0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4214bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3090]
xor ecx, esp
call fcn.004637ae
mov esp, ebp
pop ebp
ret