Function at 0x439fa0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45acc6
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48c]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jle 0x43a20e
mov edi, dword [esp + 0x498]
cmp edi, ebp
jle 0x43a20e
mov ecx, dword [esp + 0x49c]
cmp ecx, ebp
jle 0x43a20e
mov edx, dword [esp + 0x484]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jmp 0x43a035
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x49c]
mov edi, dword [esp + 0x498]
cmp eax, ecx
jge 0x43a057
mov ebx, dword [esp + 0x488]
mov esi, eax
mov eax, dword [esp + 0x480]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
jmp 0x43a07c
mov eax, dword [esp + 0x480]
mov ebx, dword [esp + 0x488]
mov dword [esp + 0x1c], ecx
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
jmp 0x43a07c
mov edi, dword [esp + 0x498]
cmp ebx, edi
jge 0x43a082
mov edi, ebx
mov ecx, dword [esp + 0x494]
mov edx, dword [esp + 0x490]
mov eax, dword [esp + 0x30]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
push esi
push edi
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp eax, ebp
jne 0x43a1e6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push esi
push edi
push ecx
push edx
push 0x467278
lea eax, [esp + 0x80]
push 0x200
push eax
call fcn.004414db
add esp, 0x1c
lea ecx, [esp + 0x50]
mov word [esp + 0x46a], bp
call fcn.0042bd40
mov dword [esp + 0x478], ebp
mov ebx, 7
lea eax, [esp + 0x6c]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43a112
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x3c]
call fcn.00406f80
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x480], 1
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x43a160
mov eax, dword [esp + 0x38]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
jae 0x43a17b
lea edx, [esp + 0x54]
mov ebx, dword [0x474bb0]
cmp ebx, ebp
je 0x43a1c0
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43a190
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov esi, 8
mov dword [esp + 0x478], 0xffffffff
cmp dword [esp + 0x68], esi
jb 0x43a1de
mov eax, dword [esp + 0x54]
push eax
call fcn.004415cb
add esp, 4
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
add dword [esp + 0x18], edi
sub ebx, edi
cmp ebx, ebp
mov dword [esp + 0x28], ebx
jg 0x43a075
mov eax, dword [esp + 0x24]
add dword [esp + 0x20], esi
sub eax, esi
cmp eax, ebp
mov dword [esp + 0x24], eax
jg 0x43a023
mov eax, 1
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.004414cc
add esp, 0x468
ret 0x20