Function at 0x41c2a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x435ef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
xor eax, eax
push ebp
mov ebp, dword [ebx]
mov word [esp + 0x34], ax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
push esi
push edi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], 0x9ac6cdd7
mov word [esp + 0x4a], 0x4f6
call fcn.0041c640
mov ecx, dword [ebx + 8]
mov word [esp + 0x3e], ax
push ecx
mov ecx, ebx
call fcn.0041c640
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
add edx, edi
mov ecx, ebx
push edx
mov word [esp + 0x44], ax
call fcn.0041c640
mov edx, dword [ebx + 8]
mov word [esp + 0x42], ax
mov eax, dword [ebx + 0x10]
mov ecx, ebx
add eax, edx
push eax
call fcn.0041c640
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x50]
mov edi, esp
mov word [esp + 0x5c], ax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0041c590
mov esi, dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
push 0
push 0
push ebp
mov word [esp + 0x58], ax
call esi
mov edi, eax
xor ebp, ebp
cmp edi, ebp
jne 0x41c396
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41c371
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x41c373
xor eax, eax
lea ecx, [esp + 0x18]
push 0x43cbb0
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], 0x437e6c
call fcn.00421144
push edi
call fcn.0042b785
mov ebp, eax
xor eax, eax
add esp, 4
cmp ebp, eax
jne 0x41c3ce
lea edx, [esp + 0x18]
push 0x43cbb0
push edx
mov dword [esp + 0x24], 0x8007000e
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x437e6c
call fcn.00421144
mov dword [esp + 0x18], 0x437e70
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
push ebp
push edi
push eax
call esi
xor esi, esi
cmp eax, esi
jne 0x41c42c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x41c407
call edi
and eax, 0xffff
or eax, 0x80070000
jmp 0x41c409
xor eax, eax
lea ecx, [esp + 0x28]
push 0x43cbb0
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], 0x437e6c
call fcn.00421144
mov edx, dword [esp + 0x60]
push esi
push edx
mov ecx, ebx
call fcn.0041c5b0
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c481
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41c45a
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x41c45c
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push 0x43cbb0
push eax
mov dword [esp + 0x30], 0x437e6c
call fcn.00421144
mov dword [esp + 0x60], esi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x40]
push 0x16
push edx
push esi
mov byte [esp + 0x6c], 1
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x41c4ee
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41c4c7
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x41c4c9
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push 0x43cbb0
push eax
mov dword [esp + 0x30], 0x437e6c
call fcn.00421144
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebp
push esi
call ebx
test eax, eax
jne 0x41c53f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41c518
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x41c51a
xor eax, eax
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x28]
xor eax, eax
push 0x43cbb0
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], 0x437e6c
call fcn.00421144
test esi, esi
je 0x41c54a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov dword [esp + 0x5c], 0xffffffff
call fcn.0042b7ae
mov ecx, dword [esp + 0x54]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4