Function at 0x434d73
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push edi
push esi
lea eax, [ebp - 0x18]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push 0
push eax
push ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.cvirte.dll_GetBitmapInfo
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x434db9
jmp 0x43525e
mov eax, dword [ebp - 0x24]
push eax
call sub.cvirte.dll_malloc
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov ecx, 0
cmp eax, ecx
je 0x434deb
mov eax, dword [ebp - 0x1c]
push eax
call sub.cvirte.dll_malloc
add esp, 4
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
lea edx, [ebp - 0x10]
lea ebx, [ebp - 0xc]
push 0
mov edi, dword [ebp - 0x28]
push edi
mov edi, dword [ebp - 0x18]
push edi
push eax
push ecx
push edx
push ebx
mov eax, dword [ebp + 0xc]
push eax
call sub.cvirte.dll_GetBitmapData
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x434e2b
jmp 0x43525e
mov eax, dword [ebp - 0x10]
push eax
fild dword [esp]
add esp, 4
sub esp, 8
fstp qword [esp]
fld qword [0x77aa78]
sub esp, 8
fstp qword [esp]
call sub.cvirte.dll_pow_FLTREG_
add esp, 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x8c], eax
call fcn.00404b88
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, 3
add eax, ecx
mov ecx, 4
cdq
idiv ecx
mov ecx, 2
shl eax, cl
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea eax, [ebp - 0x88]
mov ecx, 0x28
mov dword [eax], ecx
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
lea eax, [ebp - 0x7c]
mov ecx, 1
mov word [eax], cx
lea eax, [ebp - 0x7a]
mov ecx, dword [ebp - 0x10]
mov word [eax], cx
lea eax, [ebp - 0x78]
mov ecx, 0
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
imul ecx
lea ecx, [ebp - 0x74]
mov dword [ecx], eax
lea eax, [ebp - 0x70]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x6c]
mov ecx, 0
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, 0x18
cmp eax, ecx
jge 0x434eff
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x434f09
lea eax, [ebp - 0x68]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x64]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x60]
mov ecx, 0x4d42
mov word [eax], cx
mov eax, dword [ebp - 0x1c]
mov ecx, 0x36
add eax, ecx
mov ecx, dword [ebp - 0x74]
add eax, ecx
lea ecx, [ebp - 0x5e]
mov dword [ecx], eax
lea eax, [ebp - 0x5a]
mov ecx, 0
mov word [eax], cx
lea eax, [ebp - 0x58]
mov ecx, 0
mov word [eax], cx
mov eax, dword [ebp - 0x1c]
mov ecx, 0x36
add eax, ecx
lea ecx, [ebp - 0x56]
mov dword [ecx], eax
lea eax, [0x780524]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.cvirte.dll_fopen
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ecx], eax
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
push ecx
push 1
push 0xe
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x434fa3
jmp 0x43525e
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0x50]
push ecx
push 1
push 0x28
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x434fda
jmp 0x43525e
mov eax, dword [ebp - 0x10]
mov ecx, 0x18
cmp eax, ecx
jge 0x43501d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
push ecx
push eax
push 4
mov eax, dword [ebp - 0x18]
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x43501d
jmp 0x43525e
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push 1
push eax
call sub.cvirte.dll_calloc
add esp, 8
lea ecx, [ebp - 0x2c]
mov dword [ecx], eax
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
lea eax, [ebp - 0x34]
mov ecx, 0
mov dword [eax], ecx
jmp 0x435092
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.cvirte.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
mov edx, dword [ecx]
add eax, edx
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x44]
mov edx, dword [ecx]
add eax, edx
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jl 0x435057
mov eax, dword [ebp - 0x10]
mov ecx, 0x18
cmp eax, ecx
jne 0x435150
lea eax, [ebp - 0x38]
mov ecx, 0
mov dword [eax], ecx
jmp 0x435142
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
imul ecx
mov ecx, dword [ebp - 0x2c]
add eax, ecx
lea ecx, [ebp - 0x3c]
mov dword [ecx], eax
lea eax, [ebp - 0x34]
mov ecx, 0
mov dword [eax], ecx
jmp 0x435125
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 0x3c]
mov ecx, 2
add ecx, eax
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 0x3c]
mov ecx, 2
add eax, ecx
mov cl, byte [ebp - 0x40]
mov byte [eax], cl
mov eax, dword [ebp - 0x3c]
mov ecx, 3
add eax, ecx
lea ecx, [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jl 0x4350e0
mov eax, dword [ebp - 0x38]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jl 0x4350bf
mov eax, dword [ebp - 4]
mov ecx, 1
sub eax, ecx
mov ecx, dword [ebp - 0x14]
imul ecx
mov ecx, dword [ebp - 0x2c]
add eax, ecx
lea ecx, [ebp - 0x44]
mov dword [ecx], eax
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
push eax
call sub.cvirte.dll_malloc
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ecx], eax
lea eax, [ebp - 0x34]
mov ecx, 0
mov dword [eax], ecx
jmp 0x4351f4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.cvirte.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.cvirte.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x44]
push eax
call sub.cvirte.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
mov edx, dword [ecx]
add eax, edx
mov dword [ecx], eax
lea eax, [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
sub ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, 2
cdq
idiv ecx
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jl 0x435191
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x74]
push eax
push 1
mov eax, dword [ebp - 0x2c]
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x43523d
jmp 0x43525e
mov eax, dword [ebp - 0x50]
push eax
call sub.cvirte.dll_fclose
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0
cmp eax, ecx
jge 0x43525e
mov eax, dword [ebp - 0x4c]
push eax
call sub.cvirte.dll_free
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call sub.cvirte.dll_free
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 0x18
cmp eax, ecx
jge 0x435292
mov eax, dword [ebp - 0x18]
push eax
call sub.cvirte.dll_free
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
call sub.cvirte.dll_free
add esp, 4
mov eax, dword [ebp - 0x30]
pop esi
pop edi
pop ebx
leave
ret 8