Function at 0x45a1a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x74
mov eax, dword [0x546560]
mov dword [esp + 0x14], ecx
push ebx
push ebp
mov ecx, 0x553dd8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x45a1f9
push ecx
call edi
mov esi, eax
test esi, esi
je 0x45a1f9
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x45a1f9
mov edx, dword [esp + 0x10]
inc esi
push esi
push 0x553dd8
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov ecx, 0x5481c4
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x45a241
push ecx
call edi
mov esi, eax
test esi, esi
je 0x45a241
push esi
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x45a241
mov edx, dword [esp + 0x18]
inc esi
push esi
push 0x5481c4
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov ecx, str.Export_
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x45a289
push ecx
call edi
mov esi, eax
test esi, esi
je 0x45a289
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45a289
mov edx, dword [esp + 0x20]
inc esi
push esi
push str.Export_
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x88]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x24]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x34]
push edx
call fcn.004059f0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.00405440
lea ecx, [esp + 0x28]
call fcn.00405700
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a2f8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45a2f8
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov ecx, 0x15
xor eax, eax
lea edi, [esp + 0x30]
push 0xffffffffffffffff
rep stosd dword es:[edi], eax
push 0xffffffffffffffff
mov ecx, 0x16
lea edi, [esp + 0x34]
push 1
push 0x54809c
push 0x5481b0
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], 0x58
mov dword [esp + 0x58], 1
mov dword [esp + 0x74], 2
call fcn.0048dbb0
add esp, 0x14
mov dword [esp + 0x44], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x34], eax
mov eax, 0x104
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], str.Export_TXT_CSV_HTML_XLS
mov ecx, 0x400
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x45a37e
cmp dword [eax - 4], ecx
jge 0x45a3c5
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x45a387
mov ecx, ebp
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x45a3c5
mov edi, dword [esp + 0x14]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [esp + 0x2c]
mov dword [esp + 0x48], eax
push edx
mov dword [esp + 0x3c], 0x54a068
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
jne 0x45a488
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a40f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45a40f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a43a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45a43a
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a465
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45a465
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x88]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45abcc
add eax, 0xfffffff4
push eax
call esi
jmp 0x45a716
mov esi, dword [esp + 0x44]
push 0
push esi
push 0x54809c
push 0x5481b0
call fcn.0048db30
mov eax, dword [esp + 0x58]
add esp, 0x10
test eax, eax
mov edi, eax
je 0x45a4b2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
cmp esi, 5
jne 0x45a73b
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x45a4e6
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45a4f8
mov edx, dword [0x546560]
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405920
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00459450
mov edx, dword [0x546560]
mov eax, 0x54a064
test eax, eax
mov dword [esp + 0x20], edx
je 0x45a555
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45a555
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45a555
mov ecx, dword [esp + 0x20]
inc esi
push esi
push 0x54a064
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00531809
mov edx, dword [0x546564]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
setne bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a59f
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a5a5
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x45a5a5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, bl
je 0x45a636
mov eax, dword [0x546560]
mov ecx, 0x54a05c
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x45a5f9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45a5f9
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45a5f9
mov edx, dword [esp + 0x20]
inc esi
push esi
push 0x54a05c
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a636
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a636
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
push 0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, ebp
call fcn.0045ac30
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a677
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a677
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a6a2
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a6a2
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a6cd
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a6cd
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a6f8
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a6f8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x88]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45abcc
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45abcc
mov edx, dword [esp + 0x88]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4
cmp esi, 4
jne 0x45a958
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x45a764
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45a776
mov edx, dword [0x546560]
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405920
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00459450
mov edx, dword [0x546560]
mov eax, 0x548198
test eax, eax
mov dword [esp + 0x20], edx
je 0x45a7d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45a7d3
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45a7d3
mov ecx, dword [esp + 0x20]
inc esi
push esi
push 0x548198
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00531809
mov edx, dword [0x546564]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
setne bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a81d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a823
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x45a823
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, bl
je 0x45a8b4
mov eax, dword [0x546560]
mov ecx, 0x548190
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x45a877
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45a877
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45a877
mov edx, dword [esp + 0x20]
inc esi
push esi
push 0x548190
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a8b4
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a8b4
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
push 0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, ebp
call fcn.0045ac30
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a8f5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a8f5
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45a920
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45a920
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45abb7
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45abb7
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x45abb7
push ecx
cmp esi, 3
mov ecx, esp
jne 0x45a9f8
lea eax, [esp + 0x14]
push eax
call fcn.00405440
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00459450
push str.html
lea ecx, [esp + 0x2c]
call fcn.00405730
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00531809
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.00405700
test bl, bl
je 0x45a9d9
push 0x54819c
lea ecx, [esp + 0x2c]
call fcn.00405730
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405a90
lea ecx, [esp + 0x28]
call fcn.00405700
push 1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
push edx
call fcn.00405440
mov ecx, esi
call fcn.0045ac30
lea ecx, [esp + 0x20]
jmp 0x45aba0
push str.csv4xls
call fcn.00405730
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00458f40
cmp esi, 1
jne 0x45aab6
push 0x546cdc
push str._r_n_r_n
lea ecx, [esp + 0x24]
call fcn.004139f0
push 0x54732c
push str._t_t_t_t
lea ecx, [esp + 0x24]
call fcn.004139f0
push 0x553d98
push 0x549f90
lea ecx, [esp + 0x24]
call fcn.004139f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
push edx
call fcn.00405440
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.00459450
push 0x548098
lea ecx, [esp + 0x2c]
call fcn.00405730
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.00531809
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.00405700
test bl, bl
je 0x45aaad
push 0x54a050
lea ecx, [esp + 0x14]
call fcn.00429fe0
lea ecx, [esp + 0x24]
jmp 0x45ab55
cmp esi, 2
jne 0x45ab5a
push 0x546cdc
push str._r_n_r_n
lea ecx, [esp + 0x24]
call fcn.004139f0
push 0x548a98
push 0x549f90
lea ecx, [esp + 0x24]
call fcn.004139f0
push 0x546820
push str._t_t_t_t
lea ecx, [esp + 0x24]
call fcn.004139f0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.00405440
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00459450
push 0x5481ac
lea ecx, [esp + 0x2c]
call fcn.00405730
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.00531809
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.00405700
test bl, bl
je 0x45ab51
push 0x54a044
lea ecx, [esp + 0x14]
call fcn.00429fe0
lea ecx, [esp + 0x24]
call fcn.00405700
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x45ab9c
lea edx, [esp + 0x1c]
push 0x54a018
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call fcn.00405440
call fcn.0045abe0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x88]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4