Function at 0x41a6d0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57327a
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5bd250]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x5bd250]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov dword [esp + 0x14], edx
mov esi, ecx
push str.dtmp
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x41a745
push str.dtmp
lea ecx, [esp + 0xb4]
call fcn.00420610
mov ebx, 1
jmp 0x41a75b
mov edx, 1
lea ecx, [esp + 0x98]
call fcn.00417f60
mov ebx, 2
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], ebx
call fcn.0041fbc0
mov dword [esp + 0xf0], 1
test bl, 2
je 0x41a7b9
and ebx, 0xfffffffd
cmp dword [esp + 0xac], 8
mov dword [esp + 0x18], ebx
jb 0x41a799
push dword [esp + 0x98]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
mov byte [esp + 0xf0], 2
test bl, 1
je 0x41a806
and ebx, 0xfffffffe
cmp dword [esp + 0xc4], 8
mov dword [esp + 0x18], ebx
jb 0x41a7e6
push dword [esp + 0xb0]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
cmp dword [esp + 0x78], 0
jne 0x41a81e
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call fcn.0041fbc0
jmp 0x41ab7c
xor eax, eax
mov dword [esp + 0x64], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x58], ax
lea ecx, [esp + 0x58]
lea eax, [esp + 0x70]
mov dword [esp + 0x68], 0
push eax
call fcn.0041fe60
push 0x5c
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xf8], 3
call fcn.0041b9d0
push 4
push str.dtmp
lea ecx, [esp + 0x58]
call fcn.0041c100
xor eax, eax
mov dword [esp + 0x4c], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x40], ax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x58]
mov dword [esp + 0x50], 0
push eax
call fcn.0041fe60
push 3
push 0x598644
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 4
call fcn.0041c100
xor eax, eax
mov dword [esp + 0x34], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x28], ax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x58]
mov dword [esp + 0x38], 0
push eax
call fcn.0041fe60
push 2
push 0x59864c
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 5
call fcn.0041c100
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x4c], 8
movzx eax, ax
cmovae ecx, dword [esp + 0x38]
push ecx
push eax
call fcn.00413860
add esp, 8
test eax, eax
je 0x41a9e0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41a9a2
cmp dword [esp + 0x4c], 8
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], edi
cmovae ecx, dword [esp + 0x3c]
push edx
mov dl, al
call fcn.004316d0
add esp, 8
test eax, eax
je 0x41a9e0
cmp dword [esp + 0x14], edi
je 0x41a9e0
cmp dword [esp + 0x1c], 1
jb 0x41a9e0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
push 0x596424
cmovae eax, dword [esp + 0x24]
push eax
call fcn.005465d2
mov edi, eax
add esp, 8
test edi, edi
je 0x41a9de
push edi
push dword [esp + 0x20]
push 1
push dword [esp + 0x20]
call fcn.00544ea0
push edi
call fcn.00544038
add esp, 0x14
jmp 0x41a9b4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041fe60
cmp dword [esp + 0x7c], 8
lea ecx, [esp + 0x68]
lea eax, [esp + 0x20]
cmovae ecx, dword [esp + 0x68]
cmp dword [esp + 0x34], 8
push ecx
cmovae eax, dword [esp + 0x24]
push eax
call fcn.00413df0
add esp, 8
mov edi, eax
jmp 0x41a9e0
xor edi, edi
cmp dword [esp + 0x48], 0
je 0x41a9fe
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
push ecx
call fcn.00412670
add esp, 4
cmp dword [esp + 0x30], 0
je 0x41aa1c
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call fcn.00412670
add esp, 4
test edi, edi
je 0x41aa60
xor eax, eax
mov dword [esp + 0x94], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x88], ax
lea ecx, [esp + 0x88]
lea eax, [esp + 0x70]
mov dword [esp + 0x98], 0
push eax
call fcn.0041fe60
lea eax, [esp + 0x80]
or ebx, 8
jmp 0x41aa74
push 0x598710
lea ecx, [esp + 0xcc]
call fcn.00420610
or ebx, 0x10
push eax
mov ecx, esi
call fcn.0041fbc0
or ebx, 4
test bl, 0x10
je 0x41aac0
and ebx, 0xffffffef
cmp dword [esp + 0xdc], 8
jb 0x41aaa0
push dword [esp + 0xc8]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
test bl, 8
je 0x41aafe
cmp dword [esp + 0x94], 8
jb 0x41aade
push dword [esp + 0x80]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0x34], 8
jb 0x41ab11
push dword [esp + 0x20]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jb 0x41ab3b
push dword [esp + 0x38]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x64], 8
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x41ab65
push dword [esp + 0x50]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
cmp dword [esp + 0x7c], 8
jb 0x41ab8f
push dword [esp + 0x68]
call fcn.0053ce3a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret