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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x51b2a0
sub esp, 0xa0
lea eax, [0x6c8a80]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
call fcn.0051b710
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 8]
jmp 0x51ac0e
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.0051b710
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 8]
test cl, cl
je 0x51ac8a
mov dword [esp + 0x34], edx
mov dword [esp + 0x60], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov byte [esp + 8], 0x23
call fcn.00402510
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x51ac41
mov edx, dword [esp + 0x34]
cmp edx, ecx
jae 0x51ac45
jmp 0x51b29a
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
jmp 0x51aca9
test ecx, ecx
je 0x51abf2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3a
call fcn.00402510
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x51aced
mov edx, dword [esp + 0x34]
cmp edx, ecx
jb 0x51b295
mov eax, dword [esp + 0x54]
mov ebx, ecx
mov ebp, eax
jmp 0x51ad54
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa8], eax
add esp, 0xa0
ret
dec ecx
mov edx, ecx
neg edx
sar edx, 0x1f
and edx, 1
add eax, edx
test ecx, ecx
je 0x51acc7
movzx edx, byte [eax]
cmp dl, 0x20
je 0x51ac9c
cmp dl, 9
je 0x51ac9c
cmp dl, 0xa
je 0x51ac9c
cmp dl, 0xd
je 0x51ac9c
jmp 0x51acc7
dec ecx
test ecx, ecx
je 0x51abf2
movzx edx, byte [eax + ecx - 1]
cmp dl, 0x20
je 0x51acc6
cmp dl, 9
je 0x51acc6
cmp dl, 0xa
je 0x51acc6
cmp dl, 0xd
je 0x51acc6
jmp 0x51ac4b
lea eax, [0x6b6b60]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x6fce32]
mov dword [eax], ecx
lea ecx, [0x762e24]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x51ad32
call fcn.004717d0
mov dword [edi], eax
mov ecx, dword [edx + 0x18]
mov dword [edi + 4], ecx
mov dword [edx + 0x18], eax
mov dword [esp + 0xa8], edx
add esp, 0xa0
ret
dec ecx
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add eax, esi
test ecx, ecx
je 0x51ad7a
movzx esi, byte [eax]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x51ad43
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x51ad43
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x51ad43
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x51ad43
jmp 0x51ad7a
dec ecx
test ecx, ecx
je 0x51ad9f
movzx esi, byte [ecx + eax - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x51ad79
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x51ad79
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x51ad79
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x51ad79
lea esi, [ebx + 1]
cmp edx, esi
jb 0x51b28c
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ecx
sub edx, ebx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and esi, edx
lea edx, [ebp + esi]
jmp 0x51ade0
lea esi, [esp + 0x78]
call fcn.00471f3e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x9c]
jmp 0x51b0ba
test ebx, ebx
je 0x51abf2
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov byte [esp + 8], 0x20
call fcn.00402510
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x51ae3d
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x51b287
lea eax, [ecx + 1]
cmp edx, eax
jb 0x51b280
sub edx, ecx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x4c]
add eax, edx
jmp 0x51b22a
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
test eax, eax
je 0x51af4c
cmp byte [ecx], 0x5b
je 0x51ae61
xor esi, esi
xor ebp, ebp
xor ebx, ebx
jmp 0x51af52
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0x5d
call fcn.00402510
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x51b1ad
mov edx, dword [esp + 0x44]
cmp edx, ecx
jb 0x51b214
cmp ecx, 1
jb 0x51b208
mov dword [esp + 0x40], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [ecx - 1]
mov dword [esp + 0x20], eax
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x5c]
add eax, ebx
mov dword [esp + 0x48], eax
lea ebp, [0x51b2b0]
mov dword [esp + 0x8c], ebp
lea esi, [esp + 0x6c]
mov dword [esp + 0x90], esi
mov dword [esp], eax
mov dword [esp + 4], edx
lea esi, [esp + 0x8c]
mov dword [esp + 8], esi
call fcn.0051beb0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x51b10e
mov edx, dword [esp + 0x40]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x51b203
sub ecx, edx
lea edx, [ecx - 1]
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x5c]
lea ecx, [edi + eax]
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0x30]
jmp 0x51af52
xor esi, esi
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x9c], ecx
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x51afb2
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x64], ebx
call fcn.00467240
mov eax, dword [0x95f020]
mov ecx, dword [esp]
test eax, eax
jne 0x51af8c
mov eax, dword [esp + 0x68]
jmp 0x51af9d
call fcn.004717d0
mov dword [edi], ecx
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
lea ecx, [0x6ac960]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
call fcn.00469520
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x51b064
mov dword [esp + 0x98], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6caf00]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x98]
mov dword [ebx + 8], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x51b05e
call fcn.004717d0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov eax, dword [0x95f020]
lea ecx, [edx + edx*4]
lea edi, [ebx + ecx*4 - 0x14]
test eax, eax
je 0x51adc4
mov dword [esp + 0x94], edi
lea eax, [0x6caf00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0040ed00
mov edi, dword [esp + 0x94]
jmp 0x51adc4
dec ebx
mov ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
test ebx, ebx
je 0x51b0e0
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x51b0a9
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x51b0a9
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x51b0a9
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x51b0a9
jmp 0x51b0e0
dec ebx
test ebx, ebx
je 0x51abf2
movzx ebp, byte [ebx + edx - 1]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x51b0df
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x51b0df
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x51b0df
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x51b0df
jmp 0x51ade5
mov dword [esp], 0
lea eax, [0x6fdfb6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.00450a00
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
lea edx, [0x6b6b60]
mov dword [esp], edx
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x51b179
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
jmp 0x51b191
call fcn.004717e0
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x18]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x762e24]
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], eax
mov dword [esp + 0xa8], edx
add esp, 0xa0
ret
lea eax, [0x6b6b60]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x702fde]
mov dword [eax], ecx
lea ecx, [0x762e24]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x51b1f2
call fcn.004717d0
mov dword [edi], eax
mov ecx, dword [edx + 0x18]
mov dword [edi + 4], ecx
mov dword [edx + 0x18], eax
mov dword [esp + 0xa8], edx
add esp, 0xa0
ret
call fcn.004718a0
mov eax, 1
xor ecx, ecx
call fcn.004718a0
call fcn.00471860
dec ebx
mov ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add eax, ebp
test ebx, ebx
je 0x51b250
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x51b219
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x51b219
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x51b219
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x51b219
jmp 0x51b250
dec ebx
test ebx, ebx
je 0x51b275
movzx ebp, byte [ebx + eax - 1]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x51b24f
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x51b24f
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x51b24f
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x51b24f
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x51ae45
mov ecx, edx
call fcn.004718a0
call fcn.00471860
mov eax, esi
mov ecx, edx
call fcn.004718a0
call fcn.00471860
call fcn.00471860
nop
call fcn.004703c0
jmp fcn.0051aba0