Function at 0x45aaa0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x74
mov eax, dword [0x547570]
mov dword [esp + 0x14], ecx
push ebx
push ebp
mov ecx, 0x554e48
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x45aaf9
push ecx
call edi
mov esi, eax
test esi, esi
je 0x45aaf9
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x45aaf9
mov edx, dword [esp + 0x10]
inc esi
push esi
push 0x554e48
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, 0x5491e4
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x45ab41
push ecx
call edi
mov esi, eax
test esi, esi
je 0x45ab41
push esi
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x45ab41
mov edx, dword [esp + 0x18]
inc esi
push esi
push 0x5491e4
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, str.Export_
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x45ab89
push ecx
call edi
mov esi, eax
test esi, esi
je 0x45ab89
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45ab89
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 [0x547570]
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 [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45abf8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45abf8
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x5490bc
push 0x5491d0
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], 0x58
mov dword [esp + 0x58], 1
mov dword [esp + 0x74], 2
call fcn.0048eb00
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 0x45ac7e
cmp dword [eax - 4], ecx
jge 0x45acc5
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x45ac87
mov ecx, ebp
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x45acc5
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], 0x54b0b0
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
jne 0x45ad88
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45ad0f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45ad0f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45ad3a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45ad3a
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45ad65
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45ad65
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x88]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b4cc
add eax, 0xfffffff4
push eax
call esi
jmp 0x45b016
mov esi, dword [esp + 0x44]
push 0
push esi
push 0x5490bc
push 0x5491d0
call fcn.0048ea80
mov eax, dword [esp + 0x58]
add esp, 0x10
test eax, eax
mov edi, eax
je 0x45adb2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
cmp esi, 5
jne 0x45b03b
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x45ade6
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45adf8
mov edx, dword [0x547570]
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.00459d50
mov edx, dword [0x547570]
mov eax, 0x54b0ac
test eax, eax
mov dword [esp + 0x20], edx
je 0x45ae55
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45ae55
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45ae55
mov ecx, dword [esp + 0x20]
inc esi
push esi
push 0x54b0ac
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.005322f9
mov edx, dword [0x547574]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
setne bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45ae9f
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45aea5
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x45aea5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, bl
je 0x45af36
mov eax, dword [0x547570]
mov ecx, 0x54b0a4
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x45aef9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45aef9
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45aef9
mov edx, dword [esp + 0x20]
inc esi
push esi
push 0x54b0a4
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 [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45af36
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45af36
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
push 0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, ebp
call fcn.0045b530
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45af77
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45af77
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45afa2
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45afa2
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45afcd
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45afcd
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45aff8
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45aff8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x88]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b4cc
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45b4cc
mov edx, dword [esp + 0x88]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4
cmp esi, 4
jne 0x45b258
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x45b064
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45b076
mov edx, dword [0x547570]
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.00459d50
mov edx, dword [0x547570]
mov eax, 0x5491b8
test eax, eax
mov dword [esp + 0x20], edx
je 0x45b0d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45b0d3
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45b0d3
mov ecx, dword [esp + 0x20]
inc esi
push esi
push 0x5491b8
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.005322f9
mov edx, dword [0x547574]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
setne bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b11d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45b123
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x45b123
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, bl
je 0x45b1b4
mov eax, dword [0x547570]
mov ecx, 0x5491b0
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x45b177
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x45b177
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x45b177
mov edx, dword [esp + 0x20]
inc esi
push esi
push 0x5491b0
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 [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b1b4
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45b1b4
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
push 0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, ebp
call fcn.0045b530
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b1f5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45b1f5
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b220
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45b220
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45b4b7
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45b4b7
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x45b4b7
push ecx
cmp esi, 3
mov ecx, esp
jne 0x45b2f8
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.00459d50
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.005322f9
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.00405700
test bl, bl
je 0x45b2d9
push 0x5491bc
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.0045b530
lea ecx, [esp + 0x20]
jmp 0x45b4a0
push str.csv4xls
call fcn.00405730
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00459840
cmp esi, 1
jne 0x45b3b6
push 0x547cec
push str._r_n_r_n
lea ecx, [esp + 0x24]
call fcn.00413840
push 0x54833c
push str._t_t_t_t
lea ecx, [esp + 0x24]
call fcn.00413840
push 0x554e08
push 0x54afd8
lea ecx, [esp + 0x24]
call fcn.00413840
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.00459d50
push 0x5490b8
lea ecx, [esp + 0x2c]
call fcn.00405730
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.005322f9
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.00405700
test bl, bl
je 0x45b3ad
push 0x54b098
lea ecx, [esp + 0x14]
call fcn.0042a1a0
lea ecx, [esp + 0x24]
jmp 0x45b455
cmp esi, 2
jne 0x45b45a
push 0x547cec
push str._r_n_r_n
lea ecx, [esp + 0x24]
call fcn.00413840
push 0x549ab8
push 0x54afd8
lea ecx, [esp + 0x24]
call fcn.00413840
push 0x547830
push str._t_t_t_t
lea ecx, [esp + 0x24]
call fcn.00413840
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.00459d50
push 0x5491cc
lea ecx, [esp + 0x2c]
call fcn.00405730
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.005322f9
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.00405700
test bl, bl
je 0x45b451
push 0x54b08c
lea ecx, [esp + 0x14]
call fcn.0042a1a0
lea ecx, [esp + 0x24]
call fcn.00405700
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x45b49c
lea edx, [esp + 0x1c]
push 0x54b060
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call fcn.00405440
call fcn.0045b4e0
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