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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5b2117
sub esp, 0x8c
lea eax, [0x7a3a80]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
call fcn.0040a730
mov eax, dword [0xadb480]
mov ecx, dword [esp]
test eax, eax
jne 0x5b2104
mov eax, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
call fcn.0040a730
mov eax, dword [0xadb480]
mov ecx, dword [esp]
test eax, eax
jne 0x5b20ef
mov eax, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
lea ecx, [0xac79c0]
xor edx, edx
jmp 0x5b1f25
mov ebx, dword [esp + 0x3c]
add ebx, 0x14
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
lea edi, [esp + 0x78]
mov esi, ecx
call fcn.0044ce4e
lea edi, [esp + 0x64]
lea esi, [esp + 0x78]
call fcn.0044ce4e
lea edi, [esp + 0x50]
lea esi, [esp + 0x64]
call fcn.0044ce4e
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x30], ecx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 4], ebp
lea ebp, [0x775820]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.0040eb90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, ecx
add ecx, edx
mov ebp, ecx
add ecx, 1
mov dword [esp + 0x20], ecx
mov dword [eax], ecx
mov esi, edx
sar edx, 0x1f
add ebx, esi
mov ebx, dword [esp + 0x30]
adc ebx, edx
add ebp, 1
adc ebx, 0
mov dword [esp + 0x24], ebx
mov dword [eax + 4], ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x18]
mov dword [esp + 4], edx
lea edx, [0x775ae0]
mov dword [esp], edx
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebp
call fcn.0040b0a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax]
cmp edx, ebx
jg 0x5b20a2
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov edx, dword [0xadb480]
lea ecx, [ecx + ecx*4]
lea edi, [ebp + ecx*4]
test edx, edx
jne 0x5b2082
lea esi, [esp + 0x50]
call fcn.0044ce4e
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, 0x3d
jl 0x5b1f1a
mov dword [esp + 0x90], eax
add esp, 0x8c
ret
lea eax, [0x7afe60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040f540
mov eax, dword [esp + 0x38]
jmp 0x5b2066
lea eax, [0x7afe60]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov dword [edi + 8], edx
mov edx, dword [0xadb480]
test edx, edx
jne 0x5b20e8
mov dword [edi], eax
mov ebp, eax
mov eax, edi
jmp 0x5b2046
call fcn.0044c870
jmp 0x5b20df
mov edx, dword [esp + 0x38]
lea edi, [edx + 0x18]
mov eax, ecx
call fcn.0044c870
mov eax, edx
jmp 0x5b1f10
mov edx, dword [esp + 0x38]
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.0044c870
jmp 0x5b1ef3
call fcn.0044b110
jmp fcn.005b1ea0