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

Disassembly:
push 0xffffffffffffffff
push 0x5e01b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.mfc42u.dll_CString::CString_3
xor ebx, ebx
push 0x626d30
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], ebx
call sub.mfc42u.dll_CString::CString_2
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov byte [esp + 0x6c], 1
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
je 0x5b6183
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x5b6196
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.005b5560
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
jle 0x5b61c8
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [ecx + eax*4 - 4], 1
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jl 0x5b61b3
lea ecx, [esp + 0x34]
call fcn.005b5950
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x34]
push edx
push edi
mov byte [esp + 0x74], 3
call fcn.005b5a70
test al, al
je 0x5b63db
push ebp
lea ecx, [esp + 0x30]
call fcn.005b5550
lea eax, [esp + 0x30]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x74], 4
call fcn.005b5a10
cmp dword [esp + 0x40], 0xa
jl 0x5b633b
lea ecx, [esp + 0x58]
call fcn.005b5950
lea ecx, [esp + 0x48]
call fcn.005b5950
lea ecx, [esp + 0x48]
lea edx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 6
call fcn.005b5f40
lea ecx, [esp + 0x18]
call fcn.005b5550
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 7
call fcn.005b5d20
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jle 0x5b62ae
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [edi + 4]
push 0xffffffffffffffff
mov eax, dword [edx + ebp*4]
mov eax, dword [ecx + eax*4]
mov ecx, esi
sub eax, ebx
mov ebx, dword [esi + 8]
sar eax, 2
cdq
idiv dword [edi + 8]
lea edx, [ebx + 1]
push edx
mov dword [esp + 0x80], eax
call fcn.0046d900
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x78]
inc ebp
mov dword [eax + ebx*4], ecx
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jl 0x5b626a
lea edx, [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.005b5d20
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jle 0x5b630f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
mov edx, dword [ecx + ebp*4]
lea ecx, [ebx + 1]
mov eax, dword [eax + edx*4]
mov edx, dword [edi + 4]
sub eax, edx
push ecx
sar eax, 2
cdq
idiv dword [edi + 8]
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.0046d900
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x78]
inc ebp
mov dword [edx + ebx*4], eax
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jl 0x5b62cb
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 6
call fcn.005b55a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 5
call fcn.005b5990
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call fcn.005b5990
jmp 0x5b63b5
lea ecx, [esp + 0x28]
call fcn.005b5550
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 8
call fcn.005b5d20
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
jle 0x5b63a7
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, dword [eax + ebp*4]
mov eax, dword [edx + ecx*4]
mov edx, dword [edi + 4]
sub eax, edx
mov ecx, esi
sar eax, 2
cdq
idiv dword [edi + 8]
mov dword [esp + 0x7c], eax
lea eax, [ebx + 1]
push eax
call fcn.0046d900
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x78]
inc ebp
mov dword [ecx + ebx*4], edx
mov eax, dword [esp + 0x2c]
cmp ebp, eax
jl 0x5b6366
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 4
call fcn.005b55a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 3
call fcn.005b55a0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
push edi
call fcn.005b5a70
test al, al
jne 0x5b61ee
pop ebp
mov esi, dword [esi + 8]
xor eax, eax
test esi, esi
jle 0x5b63e9
inc eax
cmp eax, esi
jl 0x5b63e4
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.005b5990
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.005b55a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret