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

Disassembly:
push 0xffffffffffffffff
push 0x4359b4
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
mov ebp, ecx
push 0x40000000
mov dword [esp + 0x2c], edi
push eax
mov dword [esp + 0x4c], ebp
mov dword [ebp + 0x1190], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x41a294
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x41a51c
push 0x44
lea eax, [esp + 0x3c]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp esi, edi
jne 0x41a2c8
mov eax, str.UDNew3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a2b0
push edi
sub eax, edx
lea ecx, [esp + 0x24]
push ecx
inc eax
push eax
push str.UDNew3
jmp 0x41a2e6
mov eax, str.UEMAPD3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a2d0
sub eax, edx
push edi
lea edx, [esp + 0x24]
push edx
inc eax
push eax
push str.UEMAPD3
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
lea esi, [ebp + 0x1088]
cmp dword [esi - 0x84], 0
je 0x41a4f7
mov eax, dword [esp + 0x24]
cmp eax, dword [ebp + 0x1084]
jae 0x41a4f7
mov ecx, dword [ebp + 0x1188]
mov edx, dword [edi + ecx]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [edi + ecx]
add eax, 4
push eax
lea eax, [esp + 0x40]
push 0x43a0a8
push eax
mov dword [esp + 0x44], edx
call ebx
mov ecx, dword [ebp + 0x1188]
lea edx, [edi + ecx + 0x37]
push edx
lea eax, [esp + 0x7f]
push 0x43a0a8
push eax
call ebx
mov ecx, dword [ebp + 0x1188]
mov edx, dword [edi + ecx + 0x40]
add esp, 0x18
push 0
lea eax, [esp + 0x24]
push eax
push 0x44
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a50f
mov ebx, 1
add dword [esp + 0x24], ebx
xor ebp, ebp
xor edi, edi
jmp 0x41a3a5
mov ebx, 1
cmp dword [esp + 0x94], 0
jne 0x41a42b
mov eax, dword [esi]
lea ecx, [edi + eax + 0x3b]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_310]
or dword [esp + 0x14], ebx
push 0x438d18
mov ecx, eax
mov dword [esp + 0x8c], 0
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x41a3ee
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x78]
jae 0x41a3ee
mov bl, 1
jmp 0x41a3f0
xor bl, bl
test byte [esp + 0x14], 1
mov dword [esp + 0x88], 0xffffffff
je 0x41a411
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x41a4ba
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x24]
push eax
push 0x8f
add ecx, edi
jmp 0x41a4a6
mov eax, dword [esi + 0x80]
lea ecx, [eax + ebp + 0x3b]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_310]
or dword [esp + 0x14], 2
push 0x438d18
mov ecx, eax
mov dword [esp + 0x8c], ebx
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x41a46b
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x78]
jae 0x41a46b
mov bl, 1
jmp 0x41a46d
xor bl, bl
test byte [esp + 0x14], 2
mov dword [esp + 0x88], 0xffffffff
je 0x41a48e
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x41a4ba
mov ecx, dword [esi + 0x80]
push 0
lea eax, [esp + 0x24]
push eax
push 0x15f
add ecx, ebp
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a4d2
inc dword [esp + 0x18]
add edi, 0x8f
add ebp, 0x15f
cmp edi, 0x11e0
jb 0x41a3a0
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
mov dword [esp + 0x24], 0
call sub.MSVCR90.dll_memset
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
add esp, 0xc
add edi, 0x44
add esi, 4
mov dword [esp + 0x28], edi
cmp edi, 0x880
jb 0x41a2ff
jmp 0x41a513
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00429cfe
add esp, 0x78
ret 8