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

Disassembly:
mov eax, 0x3b90
call fcn.00408870
push ebx
push ebp
push esi
lea eax, [esp + 0x104]
push 0x40bc6c
push eax
mov dword [esp + 0x14], 0x40bc64
mov dword [esp + 0x18], 0x40bc54
mov dword [esp + 0x1c], 0x40bc48
mov dword [esp + 0x20], 0x40bc44
mov dword [esp + 0x24], 0x40bc3c
mov dword [esp + 0x28], 0x40bc34
mov dword [esp + 0x2c], 0x40bc24
mov dword [esp + 0x30], 0x40bc18
mov dword [esp + 0x34], 0x40bbfc
mov dword [esp + 0x38], 0x40bbe0
mov dword [esp + 0x3c], 0x40bbc4
mov dword [esp + 0x40], 0x40bba8
mov dword [esp + 0x44], 0x40bb98
mov dword [esp + 0x48], 0x40bb90
mov dword [esp + 0x4c], 0x40bb84
mov dword [esp + 0x50], 0x40bb64
mov dword [esp + 0x54], 0x40bb50
mov dword [esp + 0x58], 0x40bb40
mov dword [esp + 0x5c], 0x40bb24
mov dword [esp + 0x60], 0x40bb1c
mov dword [esp + 0x64], 0x40bb14
mov dword [esp + 0x68], 0x40bb04
mov dword [esp + 0x6c], 0x40bafc
mov dword [esp + 0x70], 0x40baf0
mov dword [esp + 0x74], 0x40badc
mov dword [esp + 0x78], 0x40bac4
mov dword [esp + 0x7c], 0x40baac
mov dword [esp + 0x80], 0x40baa4
mov dword [esp + 0x84], 0x40ba94
mov dword [esp + 0x88], 0x40ba84
mov dword [esp + 0x8c], 0x40ba7c
mov dword [esp + 0x90], 0x40ba70
mov dword [esp + 0x94], 0x40ba60
mov dword [esp + 0x98], 0x40ba5c
mov dword [esp + 0x9c], 0x40ba50
mov dword [esp + 0xa0], 0x40ba44
mov dword [esp + 0xa4], 0x40ba3c
mov dword [esp + 0xa8], 0x40ba34
mov dword [esp + 0xac], 0x40ba2c
mov dword [esp + 0xb0], 0x40ba24
mov dword [esp + 0xb4], 0x40ba14
mov dword [esp + 0xb8], 0x40ba08
mov dword [esp + 0xbc], 0x40b9fc
mov dword [esp + 0xc0], 0x40b9f4
mov dword [esp + 0xc4], 0x40b9e8
mov dword [esp + 0xc8], 0x40b9dc
mov dword [esp + 0xcc], 0x40b9d8
mov dword [esp + 0xd0], 0x40b9cc
mov dword [esp + 0xd4], 0x40b9c4
mov dword [esp + 0xd8], 0x40b9b4
mov dword [esp + 0xdc], 0x40b9a4
mov dword [esp + 0xe0], 0x40b99c
mov dword [esp + 0xe4], 0x40b990
mov dword [esp + 0xe8], 0x40b980
mov dword [esp + 0xec], 0x40b978
mov dword [esp + 0xf0], 0x40b970
mov dword [esp + 0xf4], 0x40b968
mov dword [esp + 0xf8], 0x40b958
mov dword [esp + 0xfc], 0x40b94c
mov dword [esp + 0x100], 0x40b938
mov dword [esp + 0x104], 0x40b924
call fcn.00408760
add esp, 8
xor ebx, ebx
xor ebp, ebp
push edi
jmp 0x4026b0
mov cl, byte [esp + 0x108]
mov esi, dword [esp + ebp*4 + 0x10]
xor eax, eax
cmp cl, bl
mov edi, esi
mov edx, 0x40b918
je 0x4026e3
jmp 0x4026d0
mov byte [esp + eax + 0x108], cl
mov cl, byte [esp + eax + 0x109]
inc eax
cmp cl, bl
jne 0x4026d0
mov cl, 0x31
inc edx
mov byte [esp + eax + 0x108], cl
mov cl, byte [edx]
inc eax
cmp cl, bl
jne 0x4026e5
mov cl, byte [edi]
cmp cl, bl
je 0x40270f
lea ebx, [ebx]
inc edi
mov byte [esp + eax + 0x108], cl
mov cl, byte [edi]
inc eax
cmp cl, bl
jne 0x402700
mov byte [esp + eax + 0x108], bl
mov cl, byte [esp + 0x108]
xor eax, eax
cmp cl, bl
mov edi, esi
mov edx, 0x40b900
je 0x402743
lea ebx, [ebx]
mov byte [esp + eax + 0x108], cl
mov cl, byte [esp + eax + 0x109]
inc eax
cmp cl, bl
jne 0x402730
mov cl, 0x2e
inc edx
mov byte [esp + eax + 0x108], cl
mov cl, byte [edx]
inc eax
cmp cl, bl
jne 0x402745
mov cl, byte [edi]
cmp cl, bl
je 0x40276f
lea ebx, [ebx]
inc edi
mov byte [esp + eax + 0x108], cl
mov cl, byte [edi]
inc eax
cmp cl, bl
jne 0x402760
mov byte [esp + eax + 0x108], bl
mov cl, byte [esp + 0x108]
xor eax, eax
cmp cl, bl
mov edi, esi
mov edx, 0x40b8ec
je 0x4027a3
lea ebx, [ebx]
mov byte [esp + eax + 0x108], cl
mov cl, byte [esp + eax + 0x109]
inc eax
cmp cl, bl
jne 0x402790
mov cl, 0x2e
inc edx
mov byte [esp + eax + 0x108], cl
mov cl, byte [edx]
inc eax
cmp cl, bl
jne 0x4027a5
mov cl, byte [edi]
cmp cl, bl
je 0x4027cf
lea ebx, [ebx]
inc edi
mov byte [esp + eax + 0x108], cl
mov cl, byte [edi]
inc eax
cmp cl, bl
jne 0x4027c0
mov byte [esp + eax + 0x108], bl
mov cl, byte [esp + 0x108]
xor eax, eax
cmp cl, bl
mov edi, esi
mov edx, 0x40b8d4
je 0x402803
lea ebx, [ebx]
mov byte [esp + eax + 0x108], cl
mov cl, byte [esp + eax + 0x109]
inc eax
cmp cl, bl
jne 0x4027f0
mov cl, 0x2e
inc edx
mov byte [esp + eax + 0x108], cl
mov cl, byte [edx]
inc eax
cmp cl, bl
jne 0x402805
mov cl, byte [edi]
cmp cl, bl
je 0x40282f
lea ebx, [ebx]
inc edi
mov byte [esp + eax + 0x108], cl
mov cl, byte [edi]
inc eax
cmp cl, bl
jne 0x402820
mov byte [esp + eax + 0x108], bl
mov cl, byte [esp + 0x108]
xor eax, eax
cmp cl, bl
mov edi, esi
mov edx, 0x40b8c0
je 0x402863
lea ebx, [ebx]
mov byte [esp + eax + 0x108], cl
mov cl, byte [esp + eax + 0x109]
inc eax
cmp cl, bl
jne 0x402850
mov cl, 0x2e
inc edx
mov byte [esp + eax + 0x108], cl
mov cl, byte [edx]
inc eax
cmp cl, bl
jne 0x402865
mov cl, byte [edi]
cmp cl, bl
je 0x40288f
lea ebx, [ebx]
inc edi
mov byte [esp + eax + 0x108], cl
mov cl, byte [edi]
inc eax
cmp cl, bl
jne 0x402880
mov byte [esp + eax + 0x108], bl
mov cl, byte [esp + 0x108]
xor eax, eax
cmp cl, bl
mov edx, 0x40b8a8
je 0x4028c3
jmp 0x4028b0
mov byte [esp + eax + 0x108], cl
mov cl, byte [esp + eax + 0x109]
inc eax
cmp cl, bl
jne 0x4028b0
mov cl, 0x2e
inc edx
mov byte [esp + eax + 0x108], cl
mov cl, byte [edx]
inc eax
cmp cl, bl
jne 0x4028c5
mov cl, byte [esi]
cmp cl, bl
je 0x4028ef
lea ebx, [ebx]
inc esi
mov byte [esp + eax + 0x108], cl
mov cl, byte [esi]
inc eax
cmp cl, bl
jne 0x4028e0
lea ecx, [esp + 0x108]
push 0x40b8a0
push ecx
mov byte [esp + eax + 0x110], bl
call fcn.00408770
add esp, 8
inc ebp
cmp ebp, 0x3d
jl 0x4026b0
lea edx, [esp + 0x108]
push 0x40b884
push edx
call fcn.00408770
add esp, 8
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push 0x412010
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, ebx
pop edi
je 0x40297c
push ebx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x10c]
push ecx
call fcn.004086d0
add esp, 4
push eax
lea edx, [esp + 0x110]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebp
pop ebx
add esp, 0x3b90
ret