Function at 0x58bb10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0x78]
mov ebx, edx
lea ebp, [ebx + 0x4da0]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
xor edi, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ebp
test eax, eax
je 0x58bb8e
mov eax, dword [eax + 0x28]
inc edi
test eax, eax
jne 0x58bb86
test byte [esp + 0x7c], 0x80
je 0x58bc31
lea esi, [esp + 0x18]
call fcn.0058abc0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x58bbf7
mov esi, dword [ebx + 0x4da4]
test esi, esi
je 0x58bbd2
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x3c]
push ecx
call fcn.00658a01
add esp, 4
push esi
call fcn.00658a01
add esp, 4
mov esi, edi
test edi, edi
jne 0x58bbb4
mov eax, dword [ebp]
mov dword [ebx + 0x4da4], 0
call fcn.0058ac50
mov dword [ebp], 0
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x4dac], edx
jmp 0x58bc3b
dec eax
mov dword [esp + 0x10], eax
cmp eax, edi
jbe 0x58bbeb
push str.Invalid_program_number
push 0x214
push str..extunarr_rar_filter_rar.c
push 0x9acda0
call fcn.00581520
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0065865c
add esp, 0x64
ret
mov eax, dword [ebx + 0x4dac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test eax, eax
je 0x58bc5a
lea ebx, [ebx]
dec eax
mov ebp, dword [ebp + 0x28]
jne 0x58bc50
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x58bc61
inc dword [ebp + 0x20]
lea esi, [esp + 0x18]
call fcn.0058abc0
add eax, dword [ebx + 0x70]
mov cl, byte [esp + 0x7c]
mov dword [esp + 0x3c], eax
test cl, 0x40
je 0x58bc83
add eax, 0x102
mov dword [esp + 0x3c], eax
test cl, 0x20
je 0x58bc95
lea esi, [esp + 0x18]
call fcn.0058abc0
mov ebx, eax
jmp 0x58bca0
test ebp, ebp
je 0x58bc9e
mov ebx, dword [ebp + 0x24]
jmp 0x58bca0
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x58], 0x3c000
mov dword [esp + 0x5c], ebx
cmp ebp, esi
je 0x58bcbb
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x60], ecx
jmp 0x58bcbf
mov dword [esp + 0x60], esi
test byte [esp + 0x7c], 0x10
mov dword [esp + 0x68], 0x40000
je 0x58bd41
mov edi, 7
cmp dword [esp + 0x30], edi
jge 0x58bcf0
cmp dword [esp + 0x34], esi
jne 0x58bcec
lea ecx, [esp + 0x18]
call fcn.0058ab10
test eax, eax
jne 0x58bcf0
xor eax, eax
jmp 0x58bd0a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, edi
mov dword [esp + 0x30], ecx
call fcn.0065e6d0
and eax, 0x7f
movzx edx, al
mov dword [esp + 0x10], esi
mov edi, 1
mov dword [esp + 0x40], edx
test dword [esp + 0x40], edi
je 0x58bd31
lea esi, [esp + 0x18]
call fcn.0058abc0
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x4c], eax
mov eax, dword [esp + 0x10]
inc eax
rol edi, 1
mov dword [esp + 0x10], eax
cmp eax, 7
jb 0x58bd1a
test ebp, ebp
jne 0x58be0c
lea esi, [esp + 0x18]
call fcn.0058abc0
mov esi, eax
test esi, esi
je 0x58be62
cmp esi, 0x10000
ja 0x58be62
push esi
call fcn.00658d9b
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x58bc1c
test esi, esi
je 0x58bdd0
cmp dword [esp + 0x30], 8
jge 0x58bdab
cmp dword [esp + 0x34], 0
jne 0x58bda7
mov edi, 8
lea ecx, [esp + 0x18]
call fcn.0058ab10
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x58bdab
xor eax, eax
jmp 0x58bdc8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, 8
mov dword [esp + 0x30], ecx
call fcn.0065e6d0
and eax, 0xff
mov byte [edi + ebp], al
inc ebp
cmp ebp, esi
jb 0x58bd83
mov eax, esi
mov ecx, edi
call fcn.0058aeb0
mov ebp, eax
push edi
mov dword [esp + 0x18], ebp
call fcn.00658a01
add esp, 4
test ebp, ebp
je 0x58bc1c
mov eax, dword [esp + 0x44]
cmp dword [eax], 0
je 0x58be0a
lea esp, [esp]
mov eax, dword [eax]
add eax, 0x28
cmp dword [eax], 0
jne 0x58be00
mov dword [eax], ebp
xor edi, edi
xor esi, esi
test byte [esp + 0x7c], 8
mov dword [ebp + 0x24], ebx
je 0x58bf03
lea esi, [esp + 0x18]
call fcn.0058abc0
mov esi, eax
cmp esi, 0x1fc0
jbe 0x58be93
push str.Invalid_RARVM_data_length
push 0x257
push str..extunarr_rar_filter_rar.c
push 0x9acda0
call fcn.00581520
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0065865c
add esp, 0x64
ret
push str.Invalid_RARVM_bytecode_length
push 0x23d
push str..extunarr_rar_filter_rar.c
push 0x9acda0
call fcn.00581520
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0065865c
add esp, 0x64
ret
lea edx, [esi + 0x40]
push edx
call fcn.00658d9b
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x58bc1c
xor ebp, ebp
test esi, esi
je 0x58beff
cmp dword [esp + 0x30], 8
jge 0x58bed5
cmp dword [esp + 0x34], 0
jne 0x58bed1
mov edi, 8
lea ecx, [esp + 0x18]
call fcn.0058ab10
test eax, eax
jne 0x58bed5
xor eax, eax
jmp 0x58bef2
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, 8
mov dword [esp + 0x30], ecx
call fcn.0065e6d0
and eax, 0xff
mov ecx, dword [esp + 0x10]
mov byte [ecx + ebp + 0x40], al
inc ebp
cmp ebp, esi
jb 0x58beb1
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x34], 0
je 0x58bf28
push edi
call fcn.00658a01
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0065865c
add esp, 0x64
ret
push 0x40
push 1
call fcn.00658a3b
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x58bf0a
mov edx, dword [esp + 0x14]
mov dword [ebp], edx
mov eax, esi
cmp esi, 0x40
ja 0x58bf4d
mov eax, 0x40
push eax
push 1
mov dword [ebp + 0x28], eax
call fcn.00658a3b
add esp, 8
mov dword [ebp + 0x24], eax
test eax, eax
je 0x58bf0a
test edi, edi
je 0x58bf71
push esi
push edi
push eax
call fcn.0065b3c0
add esp, 0xc
mov dword [ebp + 0x30], ebx
lea edi, [ebp + 4]
mov ecx, 8
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov dword [ebp + 0x2c], esi
mov eax, dword [ebp + 0x24]
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x50]
mov byte [eax + 4], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 6], dl
shr ecx, 0x18
mov byte [eax + 7], cl
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x54]
mov byte [eax + 8], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 9], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0xa], dl
shr ecx, 0x18
mov byte [eax + 0xb], cl
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x58]
mov byte [eax + 0xc], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 0xd], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0xe], dl
shr ecx, 0x18
mov byte [eax + 0xf], cl
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x5c]
mov byte [eax + 0x10], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 0x11], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0x12], dl
shr ecx, 0x18
mov byte [eax + 0x13], cl
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x60]
mov byte [eax + 0x14], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 0x15], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0x16], dl
shr ecx, 0x18
mov byte [eax + 0x17], cl
mov ecx, dword [esp + 0x64]
mov eax, dword [ebp + 0x24]
mov edx, ecx
shr edx, 8
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0x1a], dl
shr ecx, 0x18
mov byte [eax + 0x1b], cl
mov eax, dword [ebp + 0x24]
mov byte [eax + 0x1c], bl
mov ecx, ebx
mov edx, ebx
shr edx, 0x10
mov byte [eax + 0x1e], dl
shr ecx, 8
mov byte [eax + 0x1d], cl
shr ebx, 0x18
mov byte [eax + 0x1f], bl
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, eax
shr edx, 8
mov byte [ecx + 0x2d], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 0x2c], al
shr eax, 0x18
mov byte [ecx + 0x2e], dl
mov edx, dword [esp + 0x48]
mov byte [ecx + 0x2f], al
cmp dword [edx + 0x4da4], 0
lea eax, [edx + 0x4da4]
je 0x58c0ce
mov eax, dword [eax]
add eax, 0x3c
cmp dword [eax], 0
jne 0x58c0c4
mov dword [eax], ebp
mov eax, dword [edx + 0x4da4]
cmp dword [eax + 0x3c], 0
jne 0x58c0e2
mov dword [edx + 0x4da8], esi
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0065865c
add esp, 0x64
ret