Function at 0x438ba0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4585b6
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
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 0x438e0e
mov edi, dword [esp + 0x498]
cmp edi, ebp
jle 0x438e0e
mov ecx, dword [esp + 0x49c]
cmp ecx, ebp
jle 0x438e0e
mov edx, dword [esp + 0x484]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jmp 0x438c35
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x49c]
mov edi, dword [esp + 0x498]
cmp eax, ecx
jge 0x438c57
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 0x438c7c
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 0x438c7c
mov edi, dword [esp + 0x498]
cmp ebx, edi
jge 0x438c82
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 0x438de6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push esi
push edi
push ecx
push edx
push 0x4650a0
push 0x400
lea eax, [esp + 0x84]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x20
lea ecx, [esp + 0x50]
call fcn.0042a750
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]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x438d10
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x3c]
call fcn.00406f20
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x480], 1
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x438d5e
mov eax, dword [esp + 0x38]
push eax
call fcn.0043ef40
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 0x438d79
lea edx, [esp + 0x54]
mov ebx, dword [0x471b30]
cmp ebx, ebp
je 0x438dc0
mov eax, edx
lea esi, [eax + 2]
jmp 0x438d90
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x438d90
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov esi, 8
mov dword [esp + 0x478], 0xffffffff
cmp dword [esp + 0x68], esi
jb 0x438dde
mov eax, dword [esp + 0x54]
push eax
call fcn.0043ef40
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 0x438c75
mov eax, dword [esp + 0x24]
add dword [esp + 0x20], esi
sub eax, esi
cmp eax, ebp
mov dword [esp + 0x24], eax
jg 0x438c23
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.0043ef12
add esp, 0x468
ret 0x20