Function at 0x462990
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aee56
mov eax, dword fs:[0]
push eax
mov eax, 0x18c4
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x18c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x18d8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x18e8]
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], edi
call fcn.0042e760
mov dword [esp + 0x18e0], 0
lea eax, [esp + 0x14d4]
push eax
lea ecx, [esp + 0x10d8]
push ecx
mov ecx, 0x4e2960
call fcn.00466b70
cmp byte [edi + 0x32a1], 0
lea eax, [edi + 0x32a1]
je 0x462a2c
lea edx, [esp + 0x10d4]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462a22
cmp byte [edi + 0x36a1], 0
lea eax, [edi + 0x36a1]
je 0x462a4e
lea edx, [esp + 0x14d4]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462a44
lea ebx, [edi + 0x410]
mov byte [esi + 0xc20], 0
cmp byte [ebx], 0
je 0x462b5c
cmp byte [esp + 0x10d4], 0
jne 0x462a85
cmp byte [esp + 0x14d4], 0
jne 0x462a85
cmp byte [edi + 0x3aa1], 0
je 0x462b5c
push 0
push ebx
call fcn.0042f950
test al, al
je 0x462b5c
lea edx, [esi + 0x1020]
mov eax, ebx
sub edx, ebx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462aa0
lea ebp, [esi + 0xc20]
push ebp
push str.Rar_SFXXXXXX
mov dword [esi + 0x1420], ebx
call fcn.0047efc0
mov edi, eax
test edi, edi
je 0x462d8b
call fcn.0043ca60
test eax, eax
je 0x462db1
push ebx
call fcn.0045f9a0
test al, al
jne 0x462db1
push ebx
call fcn.0045fa50
test al, al
je 0x462b5c
push edi
call fcn.0049f426
mov esi, 0x10000
push esi
call fcn.0049df7f
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
jne 0x462b18
mov ecx, 0x4c9364
call fcn.004282a0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x18e0], 1
push esi
push ebx
mov ecx, edi
call fcn.0045fb10
push 0
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x462b93
mov byte [esp + 0x18e0], al
test edi, edi
je 0x462b58
push edi
call fcn.0049dbfd
add esp, 4
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18e0], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c0]
xor ecx, esp
call fcn.0049dea6
add esp, 0x18d0
ret 4
push 3
push 0
push ebp
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
je 0x462c27
cmp byte [esp + 0x10d4], 0
mov ebp, dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
je 0x462be7
push esi
push 0x45f970
push 3
push edi
call ebp
push esi
push 0x45f970
push 0xe
push edi
call ebp
push 0x64
push esi
lea eax, [esp + 0x10dc]
call fcn.0045f640
mov byte [esp + 0x17], al
cmp byte [esp + 0x14d4], 0
je 0x462c20
cmp byte [esp + 0x10d4], 0
je 0x462c02
cmp byte [esp + 0x17], 0
je 0x462c20
push esi
push 0x45f970
push 2
push edi
call ebp
push 0x65
push esi
lea eax, [esp + 0x14dc]
call fcn.0045f830
mov byte [esp + 0x16], al
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
test eax, eax
je 0x462cee
cmp byte [esp + 0x14d4], 0
je 0x462c4d
cmp byte [esp + 0x16], 0
je 0x462cee
cmp byte [esp + 0x17], 0
jne 0x462c6c
cmp byte [esp + 0x16], 0
jne 0x462c6c
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x3aa1], 0
je 0x462d1a
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x3aa1], 0
je 0x462c88
mov eax, dword [esp + 0x18]
add eax, 0xc20
push eax
call fcn.0045fc40
lea ecx, [esp + 0x34]
call fcn.00401140
mov esi, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
add esi, 0xc20
push esi
call fcn.004332b0
test al, al
je 0x462d08
mov eax, dword [esp + 0x1c]
xor edx, edx
add eax, dword [esp + 0xc34]
adc edx, dword [esp + 0xc38]
mov dword [esp + 0x30], edx
js 0x462d08
jg 0x462cd1
cmp eax, 0x80000
jbe 0x462d08
push 0x80000
push 0x5a0
call fcn.0045bde0
push eax
push 0x4e758c
call fcn.00445390
add esp, 0xc
mov byte [esp + 0x18e0], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x462b58
push eax
jmp 0x462b50
mov edx, ebx
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462d10
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
test ebx, ebx
je 0x462d72
mov esi, dword [esp + 0x18]
push 0x10000
add esi, 0xc20
push esi
mov ecx, edi
call fcn.0045fb10
test eax, eax
jne 0x462d72
push 0x4b3764
push esi
call fcn.0049f748
mov esi, eax
add esp, 8
test esi, esi
je 0x462d72
push 2
push 0
push esi
call fcn.0049fca5
push esi
push ebx
push 1
push edi
call fcn.0049f602
push esi
call fcn.0049f426
add esp, 0x20
mov byte [esp + 0x18e0], 0
test edi, edi
je 0x462d87
push edi
call fcn.0049dbfd
add esp, 4
mov esi, dword [esp + 0x18]
cmp byte [esi + 0xc20], 0
lea eax, [esi + 0xc20]
je 0x462b5c
push 0
push 1
push 0
push eax
mov ecx, esi
call fcn.0042eb50
jmp 0x462b5c
cmp byte [esp + 0x10d4], 0
je 0x462d8b
lea eax, [esp + 0x10d4]
push eax
push edi
push ebx
mov ecx, esi
call fcn.00462070
test al, al
je 0x462d8b
mov edx, ebx
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462dd6
push edi
call fcn.0049f426
add esp, 4
jmp 0x462d8b