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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x519dd9
sub esp, 0x84
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046457b
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x90]
cmp ecx, 0x13
jl 0x51971c
mov edx, dword [esp + 0x8c]
xor ebx, ebx
xor ebp, ebp
jmp 0x519749
lea edi, [esp + 0x98]
call fcn.0046457b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebx
mov edx, esi
lea esi, [ebp + ebp*4]
mov ebp, esi
movzx esi, dl
lea ebp, [esi + ebp*2 - 0x30]
mov edx, edi
cmp ebx, 4
jge 0x519765
movzx esi, byte [edx + ebx]
mov edi, edx
lea edx, [esi - 0x30]
cmp dl, 9
jbe 0x519737
mov byte [esp + 0x37], 0
xor ebp, ebp
jmp 0x51977a
cmp ebp, 0x270f
jbe 0x519778
mov byte [esp + 0x37], 0
mov edi, edx
xor ebp, ebp
jmp 0x51977a
mov edi, edx
mov dword [esp + 0x50], ebp
xor edx, edx
xor ebx, ebx
jmp 0x519799
inc edx
mov ebp, esi
lea esi, [ebx + ebx*4]
mov ebx, esi
xchg ebp, eax
movzx esi, al
xchg ebp, eax
lea ebx, [esi + ebx*2 - 0x30]
mov ebp, dword [esp + 0x50]
cmp edx, 2
jge 0x5197bd
movzx esi, byte [edi + edx + 5]
lea ebp, [esi - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x519784
mov byte [esp + 0x37], 0
mov ebp, dword [esp + 0x50]
mov ebx, 1
jmp 0x5197cf
lea edx, [ebx - 1]
cmp edx, 0xb
jbe 0x5197cf
mov byte [esp + 0x37], 0
mov ebx, 1
cmp ebx, 2
jne 0x519810
test ebp, 3
jne 0x51980c
mov eax, 0x51eb851f
imul ebp
mov esi, ebp
sar ebp, 0x1f
mov eax, edx
sar edx, 5
sub edx, ebp
imul edx, edx, 0x64
cmp esi, edx
jne 0x519805
sar eax, 7
sub eax, ebp
imul edx, eax, 0x190
cmp esi, edx
jne 0x519812
mov ebp, 0x1d
jmp 0x519834
mov esi, ebp
jmp 0x519812
mov esi, ebp
cmp ebx, 0xd
jae 0x519dcc
lea edx, [0x89c780]
mov ebp, dword [edx + ebx*4]
lea eax, [ebx - 1]
cmp eax, 0xd
jae 0x519dc2
sub ebp, dword [edx + ebx*4 - 4]
mov dword [esp + 0x4c], ebx
xor eax, eax
xor edx, edx
jmp 0x519851
inc eax
lea edx, [edx + edx*4]
movzx ebx, bl
lea edx, [ebx + edx*2 - 0x30]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
cmp eax, 2
jge 0x519879
movzx ebx, byte [edi + eax + 8]
lea esi, [ebx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x51983e
mov byte [esp + 0x37], 0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, 1
jmp 0x51988c
cmp edx, 1
jl 0x519882
cmp edx, ebp
jle 0x51988c
mov byte [esp + 0x37], 0
mov edx, 1
mov dword [esp + 0x48], edx
xor eax, eax
xor ebp, ebp
jmp 0x5198aa
inc eax
lea ebx, [ebp + ebp*4]
movzx edx, dl
lea ebp, [edx + ebx*2 - 0x30]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp eax, 2
jge 0x5198cd
movzx edx, byte [edi + eax + 0xb]
lea ebx, [edx - 0x30]
cmp bl, 9
jbe 0x519896
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x5198d9
cmp ebp, 0x17
jbe 0x5198d9
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x44], ebp
xor eax, eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
jmp 0x519906
inc eax
mov edx, dword [esp + 0x40]
lea edx, [edx + edx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea edx, [ebp + edx*2 - 0x30]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
cmp eax, 2
jge 0x519929
movzx ebp, byte [edi + eax + 0xe]
lea edx, [ebp - 0x30]
cmp dl, 9
jbe 0x5198e9
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x51993b
mov eax, ebp
mov ebp, dword [esp + 0x40]
cmp ebp, 0x3b
jbe 0x51993b
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
jmp 0x51997b
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x3c]
lea ebp, [ebp + ebp*4]
movzx edx, dl
lea edx, [edx + ebp*2 - 0x30]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x5c]
cmp ebp, 2
jge 0x5199a2
movzx edx, byte [edi + ebp + 0x11]
lea ebx, [edx - 0x30]
cmp bl, 9
jbe 0x519955
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x5199b2
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x3b
jbe 0x5199b2
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x3c], ebp
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x519a35
cmp byte [edi + 4], 0x2d
jne 0x519a35
cmp byte [edi + 7], 0x2d
jne 0x519a35
cmp byte [edi + 0xa], 0x54
jne 0x519a35
cmp byte [edi + 0xd], 0x3a
jne 0x519a35
cmp byte [edi + 0x10], 0x3a
jne 0x519a35
lea ebp, [ecx - 0x13]
mov dword [esp + 0x54], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x13
lea edx, [edi + ebp]
mov ebx, dword [esp + 0x54]
cmp ebx, 2
jl 0x519a31
cmp byte [edx], 0x2e
jne 0x519a2d
mov esi, dword [esp + 0x88]
test byte [esi], al
movzx ebp, byte [edi + ebp + 1]
add ebp, 0xffffffd0
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x519a25
mov ebp, 2
jmp 0x519d3f
mov esi, dword [esp + 0x50]
xor ecx, ecx
jmp 0x519a52
xor ecx, ecx
jmp 0x519a52
xor ecx, ecx
jmp 0x519a52
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046457b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], edx
mov ebp, dword [0x8c8cc0]
mov dword [esp], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
call fcn.005139c0
lea edi, [esp + 0x70]
lea esi, [esp + 0x20]
call fcn.00464a5e
mov eax, dword [esp + 0x5c]
cmp eax, 1
je 0x519ab0
mov ecx, dword [esp + 0x6c]
jmp 0x519ab9
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x5a
je 0x519ae1
cmp eax, 6
jne 0x519ac4
xor eax, eax
xor edx, edx
jmp 0x519b0b
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046457b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea edi, [esp + 0x98]
lea esi, [esp + 0x70]
call fcn.00464a5e
mov byte [esp + 0xac], 1
add esp, 0x84
ret
inc eax
lea ebp, [edx + edx*4]
movzx ebx, bl
lea edx, [ebx + ebp*2 - 0x30]
cmp eax, 2
jge 0x519b28
movzx ebx, byte [eax + ecx + 1]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x519b00
mov byte [esp + 0x37], 0
xor edx, edx
jmp 0x519b34
cmp edx, 0x17
jbe 0x519b34
mov byte [esp + 0x37], 0
xor edx, edx
xor eax, eax
xor ebx, ebx
jmp 0x519b47
inc eax
lea esi, [ebx + ebx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea ebx, [ebp + esi*2 - 0x30]
cmp eax, 2
jge 0x519b64
movzx ebp, byte [ecx + eax + 4]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x519b3a
mov byte [esp + 0x37], 0
xor ebx, ebx
jmp 0x519b70
cmp ebx, 0x3b
jbe 0x519b70
mov byte [esp + 0x37], 0
xor ebx, ebx
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x519d21
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x519b94
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x519d21
cmp byte [ecx + 3], 0x3a
jne 0x519d21
imul eax, edx, 0x3c
add eax, ebx
imul eax, eax, 0x3c
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x519baf
neg eax
mov dword [esp + 0x38], eax
mov ecx, eax
sar eax, 0x1f
xor edx, edx
sub edx, ecx
mov ebx, 0
sbb ebx, eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.00510c50
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
test ecx, 0x80000000
je 0x519c09
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
shl edx, 1
mov eax, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr eax, 0x1f
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x519c11
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add edx, 0x886e0900
adc eax, 0xfffffff1
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call fcn.00514a90
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jne 0x519ca4
nop
mov eax, dword [esp + 0x94]
lea ecx, [0x8cbfc0]
cmp eax, ecx
jne 0x519c4f
xor eax, eax
nop
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
test edx, 0x80000000
je 0x519c98
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
shl ebx, 1
mov ecx, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x519ae1
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00514890
mov eax, dword [esp + 0xc]
lea ecx, [0x8cbfc0]
cmp eax, ecx
jne 0x519ccc
xor eax, eax
nop
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
test edx, 0x80000000
je 0x519d15
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
shl ebx, 1
mov ecx, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x519ae1
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046457b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebp
cmp ebp, ebx
jge 0x519d54
jae 0x519db9
movzx edi, byte [ebp + edx]
add edi, 0xffffffd0
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x519d3e
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], ebp
mov eax, dword [esi + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00519380
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
cmp ecx, edx
ja 0x519db0
mov ebp, dword [esp + 0x90]
sub ebp, ecx
lea ebx, [ebp - 0x13]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
mov edi, dword [esp + 0x68]
lea edx, [ecx + edi]
mov esi, dword [esp + 0x50]
mov ecx, eax
mov ebx, ebp
mov eax, dword [esp + 0x44]
jmp 0x519a52
mov eax, ecx
mov ecx, edx
call fcn.004643c0
mov eax, ebp
mov ecx, ebx
call fcn.00464360
mov ecx, 0xd
call fcn.00464360
mov eax, ebx
mov ecx, 0xd
call fcn.00464360
nop
call fcn.00462ed0
jmp fcn.005196d0