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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 4], eax
mov byte [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x48]
mov edx, dword [edx]
call dword [edx + 0x70]
cmp eax, dword [ebp - 0x14]
ja 0x5bc4b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x5bc4b0
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
jmp 0x5bc4a4
mov eax, dword [ebp - 0x1c]
shl eax, 5
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x28]
cmp eax, 5
stc
je 0x5bc21b
sub eax, 0x40
cmp eax, 2
jb 0x5bc21b
sub eax, 0x41
cmp eax, 3
jb 0x5bc21b
cmp eax, 4
stc
je 0x5bc21b
cmp eax, 0x3f
stc
je 0x5bc21b
clc
jae 0x5bc4a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x20]
mov ecx, 0
add edx, dword [eax + 0x80]
adc ecx, dword [eax + 0x84]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov edx, 0
mov ecx, dword [ebp - 0x20]
mov eax, 0
sub ebx, ecx
sbb edx, eax
push edx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x76dd98
mov eax, 0
call fcn.005ba6b0
mov dword [ebp - 0x24], eax
push dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, 0x76e4c0
mov eax, 0
call fcn.005b9a20
mov dword [ebp - 0x30], eax
mov edx, 0x76e204
mov eax, 0
call fcn.005be240
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x5c]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x5bc473
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x84]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x5bc3cf
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov cl, 1
call fcn.005ba9a0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test eax, eax
ja 0x5bc312
jb 0x5bc3c4
test edx, edx
jbe 0x5bc3c4
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x8c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, 0
add ecx, dword [eax + 0x80]
adc edx, dword [eax + 0x84]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx + 0x70], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x74], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 8]
call fcn.005bf250
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
add ecx, 0x20
adc edx, 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov byte [ebp - 8], 1
jmp 0x5bc3cf
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
call fcn.0040c5c0
call fcn.0040d3b0
pop eax
test eax, eax
je 0x5bc473
mov eax, 0x6dc92c
call fcn.0040d580
test eax, eax
je 0x5bc46e
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0xb0]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x5bc449
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], 0xb
lea eax, [ebp - 0xbc]
push eax
push 0
mov eax, dword [ebp - 4]
mov ecx, str.detectAndSaveItemEntries_EXCEPTION_occured:__s
mov edx, 2
call fcn.00579da0
call fcn.0040d3b0
pop eax
test eax, eax
je 0x5bc462
call fcn.0040d490
call fcn.0040d5e0
call fcn.0040d520
call fcn.0040d3f0
call fcn.0040d5e0
jmp 0x5bc473
call fcn.0040d520
call fcn.0040d3b0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x8c]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
call fcn.0040c5c0
mov eax, dword [ebp - 0x30]
call fcn.0040c5c0
pop eax
test eax, eax
je 0x5bc4a1
dec eax
test eax, eax
call fcn.0040d520
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jb 0x5bc1d8
mov al, byte [ebp - 8]
mov ebx, dword [ebp - 0xc0]
leave
ret