Function at 0x4d8b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653260
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x150]
call fcn.00434eb0
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jl 0x4d8c29
lea edi, [ebx + 0x164]
push esi
mov ecx, edi
call fcn.0045e750
mov eax, dword [eax]
push 0x685564
push eax
call fcn.00622f0d
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4d8c47
call fcn.00625a54
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
call fcn.00625a54
push ebx
push ebx
lea ecx, [ebp - 0x24]
push ecx
push 0x400
mov edx, dword [eax]
push edx
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push esi
mov ecx, edi
call fcn.0045e750
mov eax, dword [eax]
mov ecx, dword [0x75dd28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push eax
mov eax, dword [0x75f190]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402330
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4d8c0a
lea eax, [ebp - 0x1c]
push 0x30
mov edx, dword [0x75f1ac]
push edx
push eax
push ebx
call fcn.00473140
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 4
mov esi, 0x100
cmp dword [ebx + 0x2a8], 0
je 0x4d8c5d
mov eax, dword [ebx + 0x2a8]
jmp 0x4d8c63
lea eax, [ebx + 0x2ac]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d8c66
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 0x100
jbe 0x4d8cb2
cmp dword [ebx + 0x2a8], 0
je 0x4d8c8f
mov eax, dword [ebx + 0x2a8]
jmp 0x4d8c95
lea eax, [ebx + 0x2ac]
lea edx, [eax + 2]
jmp 0x4d8ca0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d8ca0
sub eax, edx
sar eax, 1
lea esi, [eax + eax]
mov edx, dword [ebx + 0x238]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8cc0
sub eax, edi
cmp eax, esi
jbe 0x4d8cdd
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8cd2
sub eax, edx
mov esi, eax
mov edx, dword [ebx + 0x1f8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8ce8
sub eax, edi
cmp eax, esi
jbe 0x4d8d0b
mov eax, edx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8d00
sub eax, edx
mov esi, eax
mov edx, dword [ebx + 0x218]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8d16
sub eax, edi
cmp eax, esi
jbe 0x4d8d33
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8d28
sub eax, edx
mov esi, eax
mov edx, dword [ebx + 0x1d8]
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8d40
sub eax, edi
cmp eax, esi
jbe 0x4d8d5d
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8d52
sub eax, edx
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00402510
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebx + 0x164]
call fcn.0045e750
mov edx, dword [eax + 4]
push edx
push esi
push 1
push str.version_d_r_nml_ld_r_nname_s_r_n
lea eax, [ebp - 0x28]
push eax
call fcn.00402f80
add esp, 0x14
mov ecx, dword [ebp - 0x28]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4d8d98
sub eax, esi
mov esi, dword [ebp - 0x2c]
push esi
push eax
push 1
push ecx
call fcn.00622dc5
add esp, 0x10
push esi
mov ecx, ebx
call fcn.004d40c0
push esi
call fcn.00622be7
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402580
mov dword [ebp - 4], 0xffffffff
jmp 0x4d8c29