Function at 0x44e7f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
mov ecx, 0x5c
add eax, ecx
mov eax, dword [eax]
mov ecx, 0
cmp eax, ecx
je 0x44e8bb
lea eax, str.Compressed_data_not_available_in_WriteIconData.
lea ecx, str.iconio.c
mov edx, dword [ebp + 8]
mov ebx, 0x60
add edx, ebx
mov edx, dword [edx]
mov ebx, 0
cmp edx, ebx
je 0x44e84e
lea edx, [ebp - 0x24]
mov ebx, 1
mov dword [edx], ebx
lea edx, [0x44e858]
jmp edx
lea edx, [ebp - 0x24]
mov ebx, 0
mov dword [edx], ebx
mov edx, dword [ebp - 0x24]
push eax
push 0x2c6
push ecx
push edx
call fcn.004201e8
mov eax, dword [ebp + 8]
mov ecx, 0x10
add ecx, eax
mov ecx, dword [ecx]
mov edx, 0x60
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
push edx
push ecx
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, 0x60
add eax, ecx
mov eax, dword [eax]
push eax
call sub.cvirte.dll_free
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, 0x60
add eax, ecx
mov ecx, 0
mov dword [eax], ecx
jmp 0x44f2ab
lea eax, [ebp - 0x10]
mov ecx, 0x28
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, 0xc
add eax, ecx
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, 8
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
shl eax, cl
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, 4
add eax, ecx
mov eax, dword [eax]
mov ecx, 0x10
shl eax, cl
mov ecx, 1
or eax, ecx
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 0x10]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, 0x10
add eax, ecx
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 0x10]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 0x10]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 0x10]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 0x10]
mov ecx, 0
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44eaab
mov eax, dword [ebp - 4]
mov ecx, 2
shl eax, cl
mov ecx, dword [ebp + 8]
mov edx, 0x64
add ecx, edx
mov ecx, dword [ecx]
add eax, ecx
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
cmp eax, ecx
jl 0x44ea63
mov eax, dword [ebp + 8]
mov ecx, 4
add eax, ecx
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov ecx, 0x18
cmp eax, ecx
je 0x44ef79
cmp eax, ecx
jg 0x44eb1e
mov eax, dword [ebp - 0x24]
mov ecx, 1
cmp eax, ecx
je 0x44eb33
mov edx, 4
cmp eax, edx
je 0x44ecde
cmp eax, ecx
jl 0x44f0e4
mov eax, dword [ebp - 0x24]
mov ecx, 8
cmp eax, ecx
je 0x44ee73
jmp 0x44f0e4
mov eax, dword [ebp - 0x24]
mov ecx, 0x20
cmp eax, ecx
je 0x44ef79
jmp 0x44f0e4
mov eax, dword [ebp + 8]
mov ecx, 0x18
add ecx, eax
mov ecx, dword [ecx]
mov edx, 0xc
add eax, edx
mov eax, dword [eax]
mov edx, 8
mov esi, edx
cdq
idiv esi
sub ecx, eax
lea eax, [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, 8
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
jmp 0x44ecc9
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44ec43
lea eax, [ebp - 0x14]
mov ecx, 0
mov byte [eax], cl
lea eax, [ebp - 0xc]
mov ecx, 0
mov dword [eax], ecx
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
mov ebx, 7
add edx, ebx
mov ebx, dword [ebp - 0xc]
sub edx, ebx
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
and eax, ecx
mov ecx, 0
cmp eax, ecx
je 0x44ebfc
lea eax, [ebp - 0x14]
mov cl, byte [eax]
movzx ecx, cl
mov edx, 1
mov ebx, dword [ebp - 0xc]
mov esi, edx
xchg ecx, ebx
shl esi, cl
mov ecx, ebx
mov edx, esi
or ecx, edx
mov byte [eax], cl
mov eax, dword [ebp - 0xc]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, 7
cmp eax, ecx
jle 0x44eb99
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov edx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, eax
jl 0x44eb85
mov eax, dword [ebp - 0x20]
mov ecx, 0
cmp eax, ecx
jle 0x44ecba
lea eax, [ebp - 0x14]
mov ecx, 0
mov byte [eax], cl
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44ecac
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jl 0x44ec83
mov eax, dword [ebp - 8]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, 0
cmp eax, ecx
jge 0x44eb76
jmp 0x44f0e4
mov eax, dword [ebp + 8]
mov ecx, 8
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
jmp 0x44ee5e
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44ee38
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
mov eax, dword [eax]
mov ecx, 0xfffffffe
cmp eax, ecx
jne 0x44ed4e
lea eax, [ebp - 0x28]
mov ecx, 0
mov dword [eax], ecx
lea eax, [0x44ed78]
jmp eax
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov byte [eax], cl
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x1868
add edx, ebx
add ecx, edx
add eax, ecx
mov eax, dword [eax]
mov ecx, 0xfffffffe
cmp eax, ecx
jne 0x44edc4
lea eax, [ebp - 0x2c]
mov ecx, 0
mov dword [eax], ecx
lea eax, [0x44edee]
jmp eax
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x1868
add edx, ebx
add ecx, edx
add eax, ecx
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov byte [eax], cl
mov al, byte [ebp - 0x18]
movzx eax, al
mov ecx, 4
shl eax, cl
mov cl, byte [ebp - 0x1c]
movzx ecx, cl
or eax, ecx
lea ecx, [ebp - 0x14]
mov byte [ecx], al
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov edx, 2
add ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, eax
jl 0x44ed0a
mov eax, dword [ebp - 8]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, 0
cmp eax, ecx
jge 0x44ecfb
jmp 0x44f0e4
mov eax, dword [ebp + 8]
mov ecx, 8
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
jmp 0x44ef64
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44ef3e
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
mov eax, dword [eax]
mov ecx, 0xfffffffe
cmp eax, ecx
jne 0x44eee3
lea eax, [ebp - 0x28]
mov ecx, 0
mov dword [eax], ecx
lea eax, [0x44ef0d]
jmp eax
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov byte [eax], cl
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ecx, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, eax
jl 0x44ee9f
mov eax, dword [ebp - 8]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, 0
cmp eax, ecx
jge 0x44ee90
jmp 0x44f0e4
mov eax, dword [ebp + 8]
mov ecx, 8
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
jmp 0x44f0d4
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44f0ae
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
mov eax, dword [eax]
mov ecx, 0xfffffffe
cmp eax, ecx
jne 0x44efe9
lea eax, [ebp - 0x28]
mov ecx, 0
mov dword [eax], ecx
lea eax, [0x44f013]
jmp eax
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add edx, ebx
add ecx, edx
add eax, ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, 0x58
add eax, ecx
mov eax, dword [eax]
mov ecx, 0
cmp eax, ecx
je 0x44f085
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, 0x18
mov ebx, dword [ebp - 8]
push edx
imul ebx, edx
pop edx
mov edi, 0x1800
mov eax, dword [ebp - 4]
push edx
imul edi, eax
pop edx
mov eax, dword [ebp + 8]
mov ecx, 0x68
add eax, ecx
add edi, eax
add ebx, edi
mov eax, 4
add ebx, eax
mov al, byte [ebx]
movzx eax, al
mov esi, eax
mov ecx, edx
shl esi, cl
mov eax, esi
mov ecx, dword [ebp - 0x30]
or ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ecx, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, eax
jl 0x44efa5
mov eax, dword [ebp - 8]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, 0
cmp eax, ecx
jge 0x44ef96
mov eax, dword [ebp + 8]
mov ecx, 0x1c
add ecx, eax
mov ecx, dword [ecx]
mov edx, 0xc
add eax, edx
mov eax, dword [eax]
mov edx, 8
mov esi, edx
cdq
idiv esi
sub ecx, eax
lea eax, [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, 8
add eax, ecx
mov eax, dword [eax]
mov ecx, 1
sub eax, ecx
lea ecx, [ebp - 8]
mov dword [ecx], eax
jmp 0x44f29b
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44f216
lea eax, [ebp - 0x14]
mov ecx, 0
mov byte [eax], cl
lea eax, [ebp - 0xc]
mov ecx, 0
mov dword [eax], ecx
mov eax, 0x18
mov ecx, dword [ebp - 8]
imul ecx
mov ecx, 0x1800
mov edx, dword [ebp - 4]
mov ebx, 7
add edx, ebx
mov ebx, dword [ebp - 0xc]
sub edx, ebx
imul ecx, edx
mov edx, dword [ebp + 8]
mov ebx, 0x68
add ebx, edx
add ecx, ebx
add eax, ecx
mov ecx, dword [eax]
mov ebx, 0xfffffffe
cmp ecx, ebx
je 0x44f1b2
mov ecx, 0x58
add edx, ecx
mov edx, dword [edx]
mov ecx, 0
cmp edx, ecx
je 0x44f1d0
mov edx, 4
add eax, edx
mov al, byte [eax]
movzx eax, al
cmp eax, ecx
jne 0x44f1d0
lea eax, [ebp - 0x14]
mov cl, byte [eax]
movzx ecx, cl
mov edx, 1
mov ebx, dword [ebp - 0xc]
mov esi, edx
xchg ecx, ebx
shl esi, cl
mov ecx, ebx
mov edx, esi
or ecx, edx
mov byte [eax], cl
lea eax, [ebp - 0xc]
mov ecx, dword [eax]
mov edx, 1
add ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, 7
cmp eax, ecx
jle 0x44f14a
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov edx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, eax
jl 0x44f136
mov eax, dword [ebp - 0x20]
mov ecx, 0
cmp eax, ecx
je 0x44f28d
lea eax, [ebp - 0x14]
mov ecx, 0
mov byte [eax], cl
lea eax, [ebp - 4]
mov ecx, 0
mov dword [eax], ecx
jmp 0x44f27f
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 1
push eax
call sub.cvirte.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, 1
add eax, ecx
lea ecx, [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jl 0x44f256
lea eax, [ebp - 8]
mov ecx, dword [eax]
mov edx, 1
sub ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, 0
cmp eax, ecx
jge 0x44f127
mov eax, 0
pop esi
pop edi
pop ebx
leave
ret