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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov byte [ebp - 0xc], 0
mov edx, dword [edi]
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b97d4
and ecx, 0xfffffffc
jmp 0x5b97e5
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b97e0
xor ecx, ecx
jmp 0x5b97e5
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push esi
push ecx
push edx
push dword [ebp - 0xc]
lea ecx, [ebx + 0x90]
call fcn.0046d800
cmp dword [edi + 0x34], 0
mov dword [ebp - 4], 0
jle 0x5b987e
lea esi, [ebx + 0x10]
mov dword [ebp - 8], 0
nop dword [eax]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5b9831
mov ecx, dword [esi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x5b982c
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
jmp 0x5b985b
cmp edx, dword [esi + 8]
jne 0x5b9840
mov eax, dword [esi + 8]
mov ecx, esi
inc eax
push eax
call fcn.0046f8f0
mov eax, dword [esi + 0xc]
inc dword [eax]
push dword [esi]
call fcn.005a22d0
mov edx, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 4]
mov ecx, dword [edi + 0x14]
push ebx
mov ebx, dword [ebp - 8]
add ecx, ebx
call fcn.005b9fd0
mov ecx, dword [ebp - 4]
add ebx, 0x58
inc ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
cmp ecx, dword [edi + 0x34]
jl 0x5b9810
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x38], 0
mov dword [ebp - 0xc], 0
jle 0x5b9987
lea esi, [ebx + 0x60]
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0
nop dword [eax]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5b98c1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x5b98bc
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
jmp 0x5b98eb
cmp edx, dword [esi + 8]
jne 0x5b98d0
mov eax, dword [esi + 8]
mov ecx, esi
inc eax
push eax
call fcn.0046f8f0
mov eax, dword [esi + 0xc]
inc dword [eax]
push dword [esi]
call fcn.005a29e0
mov edx, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 4]
mov eax, dword [edi + 0x18]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, dword [eax]
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b9907
and ecx, 0xfffffffc
jmp 0x5b9918
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b9913
xor ecx, ecx
jmp 0x5b9918
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
push edx
push dword [ebp - 0x10]
lea ecx, [ebx + 0x10]
call fcn.0046d800
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0x7cf08c
je 0x5b9973
or dword [ebx + 8], 2
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x5b9966
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b9949
and ecx, 0xfffffffc
jmp 0x5b995a
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b9955
xor ecx, ecx
jmp 0x5b995a
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
call fcn.005a2a50
add esp, 4
mov dword [ebx + 0x14], eax
mov ecx, dword [ebp - 8]
push dword [ecx + 0x14]
mov ecx, eax
call fcn.005a5aa0
mov ecx, dword [ebp - 0xc]
add dword [ebp - 4], 0x18
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x38]
jl 0x5b98a0
cmp dword [edi + 0x40], 0
mov dword [ebp - 0xc], 0
jle 0x5b9a0f
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5b99c3
mov ecx, dword [esi + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x5b99be
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x24], eax
jmp 0x5b99ef
cmp edx, dword [esi + 0x28]
jne 0x5b99d3
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x20]
inc eax
push eax
call fcn.0046f8f0
mov eax, dword [esi + 0x2c]
inc dword [eax]
push dword [esi + 0x20]
call fcn.005a1cd0
mov edx, dword [esi + 0x24]
mov ebx, eax
mov ecx, dword [esi + 0x2c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x24]
mov ecx, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp - 8]
add ecx, ebx
call fcn.005b97b0
mov ecx, dword [ebp - 0xc]
add ebx, 0x5c
inc ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x40]
jl 0x5b99a2
cmp dword [edi + 0x44], 0
mov dword [ebp - 0xc], 0
jle 0x5b9aa0
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
nop word [eax + eax]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x5b9a51
mov edx, dword [esi + 0x34]
mov eax, dword [ecx]
cmp edx, eax
jge 0x5b9a4c
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x34], eax
jmp 0x5b9a80
cmp eax, dword [esi + 0x38]
jne 0x5b9a63
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
inc eax
push eax
call fcn.0046f8f0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x30]
call fcn.005a1e70
mov edx, dword [esi + 0x34]
mov ebx, eax
mov ecx, dword [esi + 0x3c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x34]
mov ecx, dword [edi + 0x20]
push ebx
mov ebx, dword [ebp - 8]
add ecx, ebx
call fcn.005b9d50
mov eax, dword [ebp - 0xc]
add ebx, 0x30
inc eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 0x44]
jl 0x5b9a30
cmp dword [edi + 0x48], 0
mov dword [ebp - 0xc], 0
jle 0x5b9b92
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
nop dword [eax + eax]
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x5b9ae1
mov edx, dword [esi + 0x44]
mov eax, dword [ecx]
cmp edx, eax
jge 0x5b9adc
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x44], eax
jmp 0x5b9b10
cmp eax, dword [esi + 0x48]
jne 0x5b9af3
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x40]
inc eax
push eax
call fcn.0046f8f0
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x40]
call fcn.005a1d80
mov edx, dword [esi + 0x44]
mov ebx, eax
mov ecx, dword [esi + 0x4c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x44]
mov edx, dword [edi + 0x24]
add edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [edx]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x14], eax
or ecx, 4
mov eax, dword [edx + 4]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x18], eax
cmp dword [edx + 8], 0x7cede8
je 0x5b9b7e
or ecx, 1
mov dword [ebx + 8], ecx
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5b9b74
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b9b54
and ecx, 0xfffffffc
jmp 0x5b9b65
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b9b60
xor ecx, ecx
jmp 0x5b9b65
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
call fcn.005a21e0
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebx + 0x10], eax
push dword [edx + 8]
mov ecx, eax
call fcn.005a5aa0
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], 0xc
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 0x48]
jl 0x5b9ac0
cmp dword [edi + 0x4c], 0
mov dword [ebp - 0xc], 0
jle 0x5b9c20
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
nop dword [eax]
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x5b9bd1
mov edx, dword [esi + 0x54]
mov eax, dword [ecx]
cmp edx, eax
jge 0x5b9bcc
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x54], eax
jmp 0x5b9c00
cmp eax, dword [esi + 0x58]
jne 0x5b9be3
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x50]
inc eax
push eax
call fcn.0046f8f0
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x50]
call fcn.005a22d0
mov edx, dword [esi + 0x54]
mov ebx, eax
mov ecx, dword [esi + 0x5c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x54]
mov ecx, dword [edi + 0x28]
push ebx
mov ebx, dword [ebp - 8]
add ecx, ebx
call fcn.005b9fd0
mov eax, dword [ebp - 0xc]
add ebx, 0x58
inc eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 0x4c]
jl 0x5b9bb0
cmp dword [edi + 0x50], 0
mov dword [ebp - 0xc], 0
jle 0x5b9ca7
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x5b9c51
mov edx, dword [esi + 0x74]
mov eax, dword [ecx]
cmp edx, eax
jge 0x5b9c4c
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
jmp 0x5b9c80
cmp eax, dword [esi + 0x78]
jne 0x5b9c63
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
inc eax
push eax
call fcn.0046f8f0
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x70]
call fcn.005a1e00
mov edx, dword [esi + 0x74]
mov ebx, eax
mov ecx, dword [esi + 0x7c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x74]
mov eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*8]
or dword [ebx + 8], 1
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + edx*8 + 4]
inc edx
or dword [ebx + 8], 2
mov dword [ebx + 0x14], eax
mov dword [ebp - 0xc], edx
cmp edx, dword [edi + 0x50]
jl 0x5b9c30
xor ebx, ebx
cmp dword [edi + 0x54], ebx
jle 0x5b9ced
mov ecx, dword [ebp + 8]
sub ecx, 0xffffff80
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ebx*4]
call fcn.0046f110
cmp eax, esi
je 0x5b9ce4
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5b9cd9
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004662a0
mov ecx, dword [ebp - 0x10]
inc ebx
cmp ebx, dword [edi + 0x54]
jl 0x5b9cc0
cmp dword [edi + 0x10], 0x7cefec
pop esi
je 0x5b9d3f
mov ebx, dword [ebp + 8]
or dword [ebx + 8], 2
mov eax, dword [ebx + 0x94]
test eax, eax
jne 0x5b9d35
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b9d15
and ecx, 0xfffffffc
jmp 0x5b9d26
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b9d21
xor ecx, ecx
jmp 0x5b9d26
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
call fcn.005a2740
add esp, 4
mov dword [ebx + 0x94], eax
push dword [edi + 0x10]
mov ecx, eax
call fcn.005a5b00
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4