Function at 0x45e020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x20
ja case.0x45e046.2
mov ecx, dword [ebp - 0x60]
movzx edx, byte [ecx + 0x45e2a4]
jmp dword [edx*4 + 0x45e29c]
jmp 0x45e056
xor eax, eax
jmp 0x45e28e
cmp dword [ebp + 8], 0
je 0x45e062
cmp dword [ebp + 0xc], 0
jne 0x45e069
xor eax, eax
jmp 0x45e28e
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x45e092
xor eax, eax
jmp 0x45e28e
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x50], cx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
push 1
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0045e410
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0045e410
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call fcn.00553634
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00553634
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.00553634
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00553634
add esp, 4
mov dword [ebp - 0x1c], eax
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0045e4a0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0045e4a0
add esp, 0x10
mov edx, 1
mov word [ebp - 0x52], dx
mov eax, 1
mov word [ebp - 0x50], ax
push 0
lea ecx, [ebp - 0x40]
push ecx
push 6
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
and eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x58]
mov dl, byte [ecx + 4]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + 8]
mov byte [ebp - 0x13], cl
mov edx, dword [ebp - 0x58]
movzx eax, word [edx + 0xc]
mov ecx, dword [ebp - 0x58]
movzx edx, word [ecx + 0xe]
imul eax, edx
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x16
push 0
lea ecx, [ebp - 0x40]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
and eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 8]
shl edx, 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 8], edx
push 0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
and eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
push 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
and eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
and eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005535bb
add esp, 4
mov edx, dword [ebp - 0x48]
push edx
call fcn.005535bb
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005535bb
add esp, 4
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.005535bb
add esp, 4
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret