Function at 0x4f0400
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x3018]
mov eax, 0x3018
call fcn.00507730
push 0xffffffffffffffff
push 0x53dd18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp + 0x3014], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x3020]
push 1
call fcn.0049e740
push 0x8005
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, 0x58b998
call fcn.00466fd0
mov byte [0x57dfc5], 0
mov dword [0x57efe0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x57efe4], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x57efe8], eax
push str.WMUser_DisplayError
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x57f010], eax
push 0x541f74
call fcn.004acf70
test al, al
sete bl
mov byte [ebp - 0x11], bl
push 1
push 0x800
lea eax, [ebp + 0x1000]
push eax
call fcn.004856f0
push 0x800
lea eax, [ebp + 0x1000]
push eax
call fcn.00484610
push 0x800
lea eax, [ebp + 0x1000]
push eax
push 0x57dfd0
call fcn.0049dc20
push 0x800
push str.rar.log
push 0x57dfd0
call fcn.0049dbe0
push 0
push esi
mov ecx, 0x5b7708
call fcn.00497840
push str.winrar.lng
mov ecx, 0x5b7768
call fcn.00496400
push esi
call fcn.004ede10
test eax, eax
je 0x4f0b93
lea ecx, [ebp - 0x20]
call fcn.004e0aa0
mov dword [ebp - 4], 0
mov dword [0x5b76dc], esi
mov ecx, 0x5a6670
call fcn.00407330
call fcn.004d1e90
call fcn.004ccbd0
call fcn.004f0090
push str.WinRAR_Busy
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x57dfc0], eax
push 0
push str.WinRarWindow
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
mov dword [ebp - 0x18], edi
push 0
push esi
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x6cf0000
push 0x5445d4
push str.WinRarWindow
push 0x10
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x57cf9c], eax
test eax, eax
je 0x4f0b84
push eax
mov ecx, 0x5b7768
call fcn.00496f10
push 0
call fcn.004edd70
call fcn.004efdb0
test bl, bl
je 0x4f05f3
call fcn.004afa70
test al, al
jne 0x4f05f3
push 1
push 0
call fcn.0040d540
test al, al
jne 0x4f05f3
mov bh, 1
jmp 0x4f05f5
xor bh, bh
lea eax, [ebp + 0x3000]
push eax
call fcn.0040caa0
movzx eax, word [ebp + 0x3000]
push eax
call fcn.004a12b0
movzx esi, ax
push 0x434
push 0
push 0x57f038
call fcn.00520500
add esp, 0xc
push 0
push 0
push 1
mov ecx, 0x58b998
call fcn.004674e0
call fcn.00412fe0
test si, si
je 0x4f06a5
cmp byte [0x58d9ac], 0
jne 0x4f06a5
push esi
push str.AFUMD
call fcn.0051f04b
add esp, 8
test eax, eax
jne 0x4f068c
cmp esi, 0x43
jne 0x4f0668
cmp word [ebp + 0x3002], ax
je 0x4f068c
cmp byte [0x58d9ac], 0
jne 0x4f06a5
push esi
push 0x555a44
call fcn.0051f04b
add esp, 8
test eax, eax
je 0x4f06a5
push 0
call fcn.004e0320
jmp 0x4f06ac
call fcn.004d5920
cmp esi, 0x44
je 0x4f069b
cmp esi, 0x43
jne 0x4f06ac
xor eax, eax
mov word [0x58c9a8], ax
jmp 0x4f06ac
push 0
call fcn.004d1ed0
push 0
push 0
push 1
mov ecx, 0x58b998
call fcn.004674e0
push 0x58b998
mov ecx, 0x59a0d0
call fcn.0040a630
push 0x800
push 0x598eea
push 0x57cfa0
call fcn.0049dc20
xor eax, eax
mov word [0x598eea], ax
push 0x800
lea eax, [ebp]
push eax
call fcn.004d7f20
lea eax, [ebp]
push eax
mov ecx, 0x5a9378
call fcn.0044c5a0
mov dword [0x57dfb8], 0
mov byte [ebp - 4], 1
call fcn.0040c6d0
mov dword [ebp - 4], 0
push dword [0x57cf9c]
call fcn.004f02b0
cmp word [0x590ac4], 0
je 0x4f075e
push 0x590ac4
call fcn.00486220
push 0x800
push 0x590ac4
push 0x57dfd0
cmp eax, 0x590ac4
jne 0x4f0759
call fcn.00486320
jmp 0x4f075e
call fcn.0049dc20
push 0
push 0
push 0x8003
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x57cf9c]
test eax, eax
je 0x4f0923
cmp word [0x597eca], 0
jne 0x4f0b01
cmp byte [0x591b50], 0
je 0x4f07a0
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp word [0x598eea], 0
je 0x4f0adc
push 0x598eea
call fcn.00475190
cmp eax, 0xffffffff
je 0x4f07c5
test al, 0x10
je 0x4f07c5
mov bl, 1
cmp word [0x598eea], 0
je 0x4f0ab0
test bl, bl
jne 0x4f0ab4
push 0
push str.ReuseWindow
push 0x541f74
call fcn.004af130
test eax, eax
je 0x4f08e9
test edi, edi
je 0x4f08e9
push 0
push 0x800
lea eax, [ebp + 0x2000]
push eax
call fcn.004d6b80
push 0x800
lea eax, [ebp + 0x2000]
push eax
call fcn.00484610
push 0x800
push str.Rar_
lea eax, [ebp + 0x2000]
push eax
call fcn.0049dbe0
lea ecx, [ebp + 0x2000]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f0840
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp + 0x2000]
push eax
push 0x598eea
call fcn.004a1380
test eax, eax
je 0x4f08e9
push str.RarArchiveWideName
push 0x1000
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x4f08e6
push 0x1000
push 0
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push 0x800
push esi
push 0x598eea
mov ecx, 0x5a9378
call fcn.00448100
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x7ae964f1
push 0xd489ac5e
push 0x8001
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x4f0a92
mov edi, dword [ebp - 0x18]
push 0x598eea
mov ecx, 0x5a9378
call fcn.00448a00
test al, al
je 0x4f0a92
cmp byte [0x57dfb4], 0
jne 0x4f0920
cmp dword [0x57dfac], 0
je 0x4f0a81
mov ecx, 0x5a9378
call fcn.0044bdc0
mov bl, byte [ebp - 0x11]
push edi
push 0x10000
push 0x4e1b60
call fcn.005261d4
add esp, 0xc
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4f0954
test edi, edi
setne al
movzx eax, al
push eax
call fcn.004efe60
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_UpdateWindow]
test bh, bh
je 0x4f098b
test bl, bl
je 0x4f098b
push 0x541f04
call fcn.004acf70
test al, al
jne 0x4f098b
push 0x542028
call fcn.00441760
test al, al
jne 0x4f098b
push 6
call fcn.0040f930
push 0
push str.ExportedSettings
push 0x541b9c
call fcn.004af130
test eax, eax
je 0x4f09a5
call fcn.0040d490
push 0
push 1
call fcn.004b0850
push 0
push str.WizardMode
push 0x541f74
call fcn.004af130
test eax, eax
je 0x4f09e7
push dword [0x57cf9c]
call fcn.004f5590
test al, al
je 0x4f09e7
cmp dword [0x57dfac], 0
jne 0x4f09e7
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push 0
call fcn.004ef880
test al, al
jne 0x4f09e7
push 1
push 0
push 0
call fcn.004d7520
mov ecx, 0x57f46c
call fcn.004f1a30
call fcn.004e1d60
mov byte [0x57dfc5], 1
push dword [0x57efe8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor esi, esi
cmp dword [0x57efe0], 0
jle 0x4f0a3d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
cmp esi, 0xc8
jl 0x4f0a23
push dword [0x57efe8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x57dfbc], 0
je 0x4f0b5d
or eax, 0xffffffff
mov dword [0x57dfbc], eax
xor esi, esi
test eax, eax
je 0x4f0b7a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jge 0x4f0b7a
mov eax, dword [0x57dfbc]
jmp 0x4f0a60
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4f0920
call fcn.004dd780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e0b20
mov eax, 1
jmp 0x4f0bbc
test bl, bl
je 0x4f0adc
push 0x800
push 0x598eea
push 0x598eea
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 1
push 0x598eea
mov ecx, 0x5a9378
call fcn.004455c0
jmp 0x4f0ae6
mov ecx, 0x5a9378
call fcn.0044bfb0
push 0
mov ecx, 0x5a9378
call fcn.0044b220
mov ecx, 0x5a8f3c
call fcn.00402090
jmp 0x4f0920
push 0x57f038
call fcn.0040cb50
call fcn.004dd780
cmp dword [0x57dfb8], 1
jne 0x4f0923
push 0
push str.WinRarWindow
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
sete al
movzx eax, al
push eax
push 1
call fcn.004e19a0
mov ecx, 0x5b77d0
call fcn.00479270
mov esi, dword [0x5b77e4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e0b20
mov eax, esi
jmp 0x4f0bbc
push 0
push str.WinRarWindow
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
sete al
movzx eax, al
push eax
push 1
call fcn.004e19a0
mov ecx, 0x5b77d0
call fcn.00479270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e0b20
xor eax, eax
jmp 0x4f0bbc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3014]
xor ecx, ebp
call fcn.00507712
lea esp, [ebp + 0x3018]
pop ebp
ret 0x10