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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x54
mov esi, ecx
mov ecx, esi
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
call fcn.005b916c
mov eax, dword [esp + 0x68]
mov dword [esi], eax
lea edx, [esi + 0x18]
lea eax, [esi + 0x418]
xor ebx, ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
add edx, 0x10
cmp eax, edx
ja 0x5b7513
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x41c], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x420], edx
mov dword [esi + 0x424], eax
mov edx, dword [edi]
mov eax, edi
test edx, edx
je 0x5b7a1c
mov edx, dword [esi + 0x434]
add eax, 4
add edx, 1
mov dword [esi + 0x434], edx
mov ecx, dword [eax]
test ecx, ecx
jne 0x5b7557
test edx, edx
jle 0x5b75ca
add edx, edx
add edx, edx
add edx, edx
add edx, edx
push edx
call fcn.008581c5
mov ecx, eax
add esp, 4
mov edx, dword [esi + 0x434]
mov dword [esi + 0x42c], ecx
xor eax, eax
test edx, edx
jle 0x5b75ca
lea edx, [eax + eax]
add edx, edx
add edx, edx
add edx, edx
jmp 0x5b75a3
mov ecx, dword [esi + 0x42c]
xor ebx, ebx
mov dword [edx + ecx], ebx
mov ecx, dword [esi + 0x42c]
add eax, 1
mov dword [ecx + edx + 8], ebx
mov ecx, dword [esi + 0x42c]
mov dword [ecx + edx + 0xc], ebx
add edx, 0x10
cmp eax, dword [esi + 0x434]
jl 0x5b759d
mov edx, dword [ebp]
mov eax, ebp
test edx, edx
je 0x5b7a11
mov edx, dword [esi + 0x438]
add eax, 4
add edx, 1
mov dword [esi + 0x438], edx
mov ecx, dword [eax]
test ecx, ecx
jne 0x5b75dd
test edx, edx
jle 0x5b762d
add edx, edx
add edx, edx
add edx, edx
push edx
call fcn.008581c5
pop ecx
mov ecx, dword [esi + 0x438]
mov dword [esi + 0x430], eax
xor edx, edx
test ecx, ecx
jg 0x5b761a
jmp 0x5b762d
mov eax, dword [esi + 0x430]
mov dword [eax + edx*8 + 4], 0
add edx, 1
cmp edx, dword [esi + 0x438]
jl 0x5b7614
mov eax, dword [esi]
test al, 1
jne 0x5b7787
test al, 2
jne 0x5b7647
mov eax, esi
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 0x18
mov eax, str.TBinModel_REQ
call fcn.005b7a48
mov edx, dword [esi + 0x434]
add edx, edx
add edx, dword [esi + 0x438]
cmp edx, 0x100
jge 0x5b7777
mov edx, dword [edi]
xor eax, eax
test edx, edx
je 0x5b7703
mov edx, dword [edi]
mov dword [esp + 0x40], ebp
lea ecx, [eax + eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov ebp, eax
mov ebx, ecx
mov ecx, dword [esi + 0x42c]
mov dword [esp + 4], edx
mov dword [esp + 0x10], esi
lea edx, [ebx + ecx]
mov dword [esp + 0x14], edx
lea eax, [ebx + ecx + 8]
mov dword [esp + 8], eax
lea eax, [ebx + ecx + 0xc]
mov dword [esp + 0xc], eax
push dword [edi]
call fcn.005bbe24
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
lea edx, [esp + 0x20]
push edx
push eax
push 0x5b728c
push dword [0xa74a60]
push dword [edi]
call fcn.005ba4f4
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x418]
lea edx, [ecx + 1]
mov dword [esi + 0x418], edx
add edi, 4
add ebx, 0x10
mov dword [esi + ecx*4 + 0x18], eax
mov edx, dword [edi]
add ebp, 1
test edx, edx
jne 0x5b768a
mov ebp, dword [esp + 0x40]
mov edx, dword [ebp]
xor eax, eax
test edx, edx
je 0x5b763b
lea edi, [eax + eax]
add edi, edi
add edi, edi
mov ebx, eax
mov edx, dword [esi + 0x430]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x20]
lea edx, [edi + edx + 4]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x28]
push edx
push eax
push 0x5b7478
push dword [0xa74a60]
push dword [ebp]
call fcn.005ba4f4
add esp, 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x418]
lea edx, [ecx + 1]
mov dword [esi + 0x418], edx
add ebp, 4
add edi, 8
mov dword [esi + ecx*4 + 0x18], eax
mov edx, dword [ebp]
add ebx, 1
test edx, edx
jne 0x5b7719
jmp 0x5b763b
push str.TBinModel:Too_Many_Files.
call fcn.0061cdb0
pop ecx
jmp 0x5b766b
mov eax, str.TBinModel_NORMAL
call fcn.005b7a48
mov edx, dword [edi]
xor eax, eax
test edx, edx
je 0x5b7903
mov ecx, dword [edi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ebp
mov ebp, ecx
lea edx, [eax + eax]
mov dword [esp + 0x44], edi
add edx, edx
add edx, edx
add edx, edx
mov ebx, edx
push ebp
mov eax, dword [esi + 0x42c]
xor edi, edi
mov dword [eax + ebx + 8], edi
mov eax, dword [esi + 0x42c]
mov dword [eax + ebx + 0xc], edi
call fcn.005bbe24
mov edi, eax
add esp, 4
test edi, edi
jle 0x5b79fe
cmp edi, 0x90000
jg 0x5b79e5
push dword [0xa74a60]
push ebp
call fcn.005b9368
add esp, 8
mov edx, dword [0xa74a60]
mov ecx, dword [esi + 0x42c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebp
xor eax, eax
mov dword [ecx + ebx + 8], eax
mov ecx, dword [esi + 0x42c]
mov dword [ecx + ebx + 0xc], eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
cmp ecx, edi
jae 0x5b78c3
mov ebp, dword [esi + 0x424]
test ebp, ebp
je 0x5b7993
add ebp, dword [esi + 0x428]
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push ebp
push edx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x38]
call fcn.0083b124
mov eax, dword [esp + 0x34]
shr eax, 5
lea eax, [eax + eax + 2]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add dword [esi + 0x428], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x4e4a434d
jne 0x5b7892
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x42c]
mov dword [eax + ebx + 8], ebp
jmp 0x5b7826
cmp eax, 0x4e4a544c
jne 0x5b78ac
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x42c]
mov dword [eax + ebx + 0xc], ebp
jmp 0x5b7826
push eax
push str.LoadBinModelSub:_Illegal_format__08x
call fcn.0061cdb0
add esp, 8
mov ecx, dword [esp + 0x2c]
jmp 0x5b7826
mov ebp, dword [esp + 0x4c]
mov eax, dword [esi + 0x42c]
mov edi, dword [eax + ebx + 0xc]
test edi, edi
je 0x5b78e2
mov eax, dword [esp + 0x48]
push eax
push ebp
mov ecx, esi
call fcn.005b71e4
mov eax, dword [esp + 0x44]
add dword [esp + 0x48], 1
add eax, 4
mov ebp, dword [eax]
mov dword [esp + 0x44], eax
add ebx, 0x10
test ebp, ebp
jne 0x5b77b8
mov ebp, dword [esp + 0x40]
mov edx, dword [ebp]
xor eax, eax
test edx, edx
je 0x5b797d
mov edi, dword [ebp]
mov ebx, eax
push dword [0xa74a60]
push edi
mov edx, dword [esi + 0x430]
mov dword [edx + ebx*8 + 4], 0
call fcn.005b9368
add esp, 8
test eax, eax
je 0x5b79d5
cmp eax, 0x90000
jg 0x5b79bd
mov dword [esp + 0x38], 0
lea edi, [esp + 0x38]
mov ecx, esi
lea edx, [esp + 0x3c]
push edx
push edi
push dword [0xa74a60]
call fcn.005b83bc
mov edi, eax
test edi, edi
je 0x5b79b0
mov edx, dword [esi + 0x430]
mov dword [edx + ebx*8 + 4], edi
add ebp, 4
mov edi, dword [ebp]
add ebx, 1
test edi, edi
jne 0x5b7911
mov eax, str.TBinModel_NORMAL
call fcn.005b900c
mov ecx, esi
call fcn.005b745c
jmp 0x5b763b
lea eax, [esp + 0x30]
xor ebp, ebp
push ebp
push ebp
push eax
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x38]
call fcn.0083b124
mov ebp, eax
jmp 0x5b7877
push str.LoadBinMotion:_Illegal_format.
call fcn.0061cdb0
pop ecx
jmp 0x5b7966
add eax, 0xfff70000
push eax
push str.LoadBinMotion:_tmpbuf_overflow__x_
call fcn.0061cdb0
add esp, 8
jmp 0x5b7941
push edi
push str.LoadBinMotion:__s_load_failed.
call fcn.0061cdb0
add esp, 8
jmp 0x5b7970
lea eax, [edi - 0x90000]
push eax
push str.LoadBinModel:_tmpbuf_overflow__x_
call fcn.0061cdb0
add esp, 8
jmp 0x5b77ed
push ebp
push str.LoadBinModel:__s_load_failed.
call fcn.0061cdb0
add esp, 8
jmp 0x5b78e2
mov edx, dword [esi + 0x438]
jmp 0x5b75ef
mov edx, dword [esi + 0x434]
jmp 0x5b7569