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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5d17e6
sub esp, 0x90
mov edx, dword [esp + 0x94]
movzx ebx, byte [edx + 8]
test bl, bl
je 0x5d1463
mov ebx, dword [edx + 0x2c]
movzx ebp, byte [ebx + 0x61]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5d1446
mov ebx, dword [ebx + 0x84]
test ebx, ebx
je 0x5d1446
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5d1429
mov ebp, 0x3b9aca00
mov ecx, edx
mul ebp
cmp edx, 0x2260f
xchg ebp, ebx
setg bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp eax, 0xf9290000
xchg edi, ebx
seta bl
xchg edi, ebx
and esi, edi
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5d13e0
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5d13b5
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
je 0x5d13b5
cmp ebp, 0xffffffff
je 0x5d13b5
mov dword [esp], ecx
mov byte [esp + 4], 0x2f
call fcn.005c1e10
lea eax, [0x639500]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x66ddc7]
mov dword [eax], ecx
lea ecx, [0x6b96cc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], edx
movzx ebp, word [ecx + 0x36]
mov esi, dword [0x7e6e78]
mov edi, dword [0x7e6e7c]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
jmp 0x5d14bb
mov dword [esp], ecx
mov byte [esp + 4], 0x2f
call fcn.005c1e10
lea eax, [0x639500]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x34
lea ecx, [0x67037e]
mov dword [eax], ecx
lea ecx, [0x6b96cc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp], edx
mov byte [esp + 4], 0xa
call fcn.005c1e10
lea eax, [0x639500]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x66eb90]
mov dword [eax], ecx
lea ecx, [0x6b96cc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
lea eax, [edx + 1]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
cmp edx, edi
jge 0x5d14d3
mov eax, dword [esi + edx*4]
cmp word [eax], bp
jne 0x5d14ac
mov edx, eax
mov eax, dword [esp + 0x3c]
jmp 0x5d14d5
xor edx, edx
test edx, edx
je 0x5d179a
mov ebp, dword [ecx + 0x84]
test ebp, ebp
je 0x5d179a
mov esi, dword [edx + 0xc]
lea edi, [esi - 1]
cmp edi, 0x13
jae 0x5d17cd
mov edi, dword [0x7e798c]
cmp edi, esi
jbe 0x5d17c4
mov eax, dword [ecx + 0x88]
mov edi, dword [ecx + 0x8c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x4c], ecx
mov ebx, dword [ebx + 0x14]
mov ecx, dword [0x7e7988]
movzx ecx, byte [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
lea eax, [0x66171e]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call fcn.005e64e0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
call fcn.005e9dc0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5d175d
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5d15c2
mov ecx, dword [esp + 0x70]
jmp 0x5d15d3
call fcn.0046b940
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov ebx, dword [eax + 0x1c]
mov dword [edi + 4], ebx
mov dword [esp + 0x6c], eax
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx + 0x2c]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5d15f1
lea ebx, [0x673d8c]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0x7c]
lea esi, [esp]
call fcn.0046c08e
lea edi, [esp]
lea esi, [esp + 0x7c]
call fcn.0046c08e
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
call fcn.00511f40
lea edi, [esp + 0x7c]
lea esi, [esp + 0x1c]
call fcn.0046c08e
lea edi, [esp + 0x58]
lea esi, [esp + 0x7c]
call fcn.0046c08e
mov eax, dword [esp + 0x5c]
nop
test eax, 0x80000000
je 0x5d1670
mov ecx, dword [esp + 0x58]
shl eax, 1
mov edx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, eax
mov eax, edx
shl edx, 1
shr eax, 0x1f
shr ecx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x5d1678
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add edx, 0x886e0900
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x70], edx
adc eax, 0xfffffff1
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x98]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x78], edx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x5d16af
cmp dword [eax + 0x2c], 0xffffffff
sete bl
jmp 0x5d16b1
xor ebx, ebx
mov byte [ecx + 0xc], bl
lea eax, [0x63db00]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x20]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov edx, dword [0x82b968]
test edx, edx
jne 0x5d16ec
mov edx, dword [esp + 0x6c]
jmp 0x5d16fa
call fcn.0046b940
mov dword [edi], ecx
mov edx, dword [esp + 0x6c]
mov dword [edi + 4], edx
mov dword [esp + 0x78], eax
mov dword [eax], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
call fcn.005ccda0
mov eax, dword [esp + 8]
test eax, eax
je 0x5d1740
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
call ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call fcn.005c1e10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call fcn.005c1e10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov eax, esi
mov ecx, edi
call fcn.0046b9c0
lea eax, [0x6309e0]
mov dword [esp], eax
lea eax, [0x6b8bc8]
mov dword [esp + 4], eax
call fcn.00439050
nop
call fcn.0046a530
jmp fcn.005d12c0