Function at 0x43aa40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push esi
push edi
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x30]
call fcn.00413a00
lea ecx, [ebp - 0x30]
call fcn.00412240
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x43ab0e
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0x30]
call fcn.00413a40
mov eax, dword [ebp - 0xc8]
jmp 0x43ae8f
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x43ab41
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0x30]
call fcn.00413a40
mov eax, dword [ebp - 0xcc]
jmp 0x43ae8f
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x64], 0x28
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x8c]
neg edx
mov dword [ebp - 0x5c], edx
mov eax, 0x18
mov word [ebp - 0x56], ax
mov dword [ebp - 0x54], 0
mov ecx, 1
mov word [ebp - 0x58], cx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x6c], eax
push 0x40cc0020
push 0
push 0
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
push 0
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x84], 0
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x84]
push edx
push 0x18
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov dword [ebp - 0xbc], 0
xor ecx, ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
xor edx, edx
mov word [ebp - 0x14], dx
xor eax, eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x94], 0x18
mov ecx, dword [ebp - 0x94]
push ecx
push 0x4fd5c8
call fcn.004139b0
add esp, 8
mov dword [ebp - 0xbc], 0x28
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb4], eax
mov ecx, 1
mov word [ebp - 0xb0], cx
mov dx, word [ebp - 0x94]
mov word [ebp - 0xae], dx
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x94]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
imul eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x43ad1a
jmp 0x43adee
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x43ad35
jmp 0x43adee
mov ecx, 0xa
lea esi, [ebp - 0xbc]
mov edi, dword [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
push 0
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x43ad90
jmp 0x43adee
mov edx, 0x4d42
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xa], 0x36
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 4]
push edx
push 0xe
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x38], 0xffffffff
je 0x43adfe
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc4], 0
je 0x43ae21
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x34], 0
je 0x43ae45
cmp dword [ebp - 0x6c], 0
je 0x43ae3b
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x90], 0
je 0x43ae5b
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xc0], 0
je 0x43ae75
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x30]
call fcn.00413a40
mov eax, dword [ebp - 0xd0]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc