Function at 0x4b28e0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x304c]
mov eax, 0x304c
call fcn.00502fa0
push 0xffffffffffffffff
push 0x5208c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp + 0x3048], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 0x3054]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x20], ebx
call fcn.00472610
mov dword [ebp - 4], 0
lea eax, [ebp + 0x2048]
push 0x800
push eax
lea eax, [ebp + 0x1048]
mov byte [edi + 0x3028], 0
push eax
mov ecx, 0x57fff8
call fcn.004b8090
lea eax, [ebp + 0x1048]
push eax
call fcn.00474160
test al, al
jne 0x4b2977
xor eax, eax
mov word [ebp + 0x1048], ax
lea eax, [ebp + 0x2048]
push eax
call fcn.00474160
test al, al
jne 0x4b2990
xor eax, eax
mov word [ebp + 0x2048], ax
cmp word [ebx + 0x8502], 0
lea eax, [ebx + 0x8502]
je 0x4b29b2
push 0x800
push eax
lea eax, [ebp + 0x1048]
push eax
call fcn.0049ce90
cmp word [ebx + 0x9502], 0
lea eax, [ebx + 0x9502]
je 0x4b29d4
push 0x800
push eax
lea eax, [ebp + 0x2048]
push eax
call fcn.0049ce90
push 6
push str.WinCon
add ebx, 0x1010
push ebx
call fcn.00485280
push eax
call fcn.004a0630
test eax, eax
jne 0x4b29fa
mov word [ebp + 0x2048], ax
jmp 0x4b2a01
mov ax, word [ebp + 0x2048]
xor ecx, ecx
lea esi, [edi + 0x1024]
mov word [esi], cx
cmp word [ebx], cx
je 0x4b2d16
cmp word [ebp + 0x1048], cx
jne 0x4b2a32
test ax, ax
jne 0x4b2a32
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa502], cl
je 0x4b2d16
push ebx
call fcn.00474160
test al, al
je 0x4b2d16
push 0x800
push ebx
lea eax, [edi + 0x2024]
push eax
call fcn.0049ce90
push 0x800
push esi
push str.Rar_SF
mov dword [edi + 0x3024], ebx
call fcn.004d5850
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4b2cfc
push ebx
mov ecx, edi
call fcn.004b3d50
test al, al
je 0x4b2aa3
push 0x5f5
call fcn.00496b20
push eax
call fcn.004db310
add esp, 4
mov ecx, 0x58c304
push 1
call fcn.0046dd90
jmp 0x4b2cfc
push dword [ebp - 0x18]
mov ecx, edi
push ebx
call fcn.004b34a0
test al, al
je 0x4b2d16
push dword [ebp - 0x18]
call fcn.00509ce0
add esp, 4
lea ecx, [ebp - 0x38]
push 0x10000
call fcn.00404630
mov byte [ebp - 4], 1
mov ecx, edi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push ebx
call fcn.004b4210
push 0
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4b2c8c
push 3
push 0
xor al, al
mov byte [ebp - 0xe], 0
push esi
mov byte [ebp - 0xd], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4b2be1
mov cx, word [ebp + 0x1048]
test cx, cx
je 0x4b2b65
push dword [ebp - 0x14]
push 0x4b36c0
push 3
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push dword [ebp - 0x14]
push 0x4b36c0
push 0xe
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push 0x64
lea eax, [ebp + 0x1048]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.004b2fb0
mov cx, word [ebp + 0x1048]
mov byte [ebp - 0xe], al
jmp 0x4b2b68
mov al, byte [ebp - 0xe]
cmp word [ebp + 0x2048], 0
je 0x4b2bd8
test cx, cx
je 0x4b2b7b
test al, al
je 0x4b2bd8
push 0x533cf8
lea eax, [ebp + 0x2048]
push eax
call fcn.00483700
push dword [ebp - 0x14]
push 0x4b36c0
test al, al
je 0x4b2bb6
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
lea eax, [ebp + 0x2048]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.004b2e30
jmp 0x4b2bd5
push 0x533d00
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
lea eax, [ebp + 0x2048]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.004b3230
mov byte [ebp - 0xd], al
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
je 0x4b2c8c
cmp word [ebp + 0x2048], 0
mov al, byte [ebp - 0xd]
je 0x4b2c09
test al, al
je 0x4b2c8c
cmp byte [ebp - 0xe], 0
jne 0x4b2c25
test al, al
mov eax, dword [ebp - 0x20]
jne 0x4b2c28
cmp byte [eax + 0xa502], 0
je 0x4b2ca6
jmp 0x4b2c28
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa502], 0
je 0x4b2c39
push esi
mov ecx, edi
call fcn.004b3550
lea ecx, [ebp]
call fcn.00404800
push 0
lea eax, [ebp]
push eax
push esi
call fcn.00475a80
test al, al
je 0x4b2c9a
mov ecx, dword [ebp - 0x18]
xor eax, eax
add ecx, dword [ebp + 0x1000]
adc eax, dword [ebp + 0x1004]
mov dword [ebp - 0x20], eax
jne 0x4b2c6f
cmp ecx, 0x200000
jbe 0x4b2c9a
push 0x200000
push 0x5a0
call fcn.00496b20
push eax
push 0x56fafa
call fcn.004dbba0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004048e0
jmp 0x4b2d16
push 0x800
push esi
push ebx
call fcn.0049ce90
cmp dword [ebp - 0x18], 0
je 0x4b2cf0
push dword [ebp - 0x34]
mov ecx, edi
push dword [ebp - 0x38]
push esi
call fcn.004b4210
test eax, eax
jne 0x4b2cf0
push 0x533d08
push esi
call fcn.004d6190
mov ebx, eax
test ebx, ebx
je 0x4b2cf0
push 2
push 0
push ebx
call fcn.0050d9a9
push ebx
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x38]
call fcn.0050a0c5
push ebx
call fcn.00509ce0
add esp, 0x20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004048e0
cmp word [esi], 0
je 0x4b2d16
mov ecx, dword [edi]
push 4
push esi
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x523720]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3048]
xor ecx, ebp
call fcn.00502f8e
lea esp, [ebp + 0x304c]
pop ebp
ret 4