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

Disassembly:
push 0xffffffffffffffff
push 0x564e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebp
push esi
mov dword [esp + 8], ecx
call fcn.00512b80
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x14]
cmp eax, 0x10
jb 0x5136a3
mov esi, dword [ecx]
jmp 0x5136a5
mov esi, ecx
cmp eax, 0x10
jb 0x5136ae
mov eax, dword [ecx]
jmp 0x5136b0
mov eax, ecx
mov ebp, dword [ecx + 0x10]
add ebp, eax
mov dword [esp + 0xc], ebp
cmp esi, ebp
je 0x5137b4
xor ecx, ecx
push ebx
mov edx, 0xf
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x1c], cl
mov dword [esp + 0x70], ecx
jmp 0x5136e8
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov al, byte [esi]
cmp al, 0x3a
je 0x5137d1
cmp al, 0x5b
je 0x5137d1
cmp al, 0x3b
je 0x5137d1
mov bl, al
or eax, 0xffffffff
sub eax, ecx
inc esi
cmp eax, 1
jbe 0x5137c7
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x5137c7
cmp edx, edi
jae 0x513730
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.004022d3
jmp 0x513748
test edi, edi
jne 0x51374a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
cmp edx, 0x10
jae 0x513745
lea eax, [esp + 0x1c]
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x513781
mov eax, dword [esp + 0x1c]
mov ecx, 0x10
cmp dword [esp + 0x30], ecx
jae 0x513764
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov byte [eax + edx], bl
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x30], ecx
jae 0x51377d
lea eax, [esp + 0x1c]
mov byte [eax + edi], 0
cmp esi, ebp
jne 0x5136e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x38
call fcn.00402ad1
cmp dword [esp + 0x30], 0x10
jb 0x5137b2
mov edx, dword [esp + 0x1c]
push edx
call fcn.00530309
add esp, 4
pop edi
pop ebx
mov ecx, dword [esp + 0x60]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret 4
push str.string_too_long
call fcn.0052f630
cmp esi, ebp
je 0x513789
cmp byte [esi], 0x3a
jne 0x513833
inc esi
cmp esi, ebp
je 0x5137fb
cmp byte [esi], 0x3a
jne 0x5137fb
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00402ad1
inc esi
jmp 0x513810
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 0x1c]
call fcn.00402ad1
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
mov byte [edi + 0x80], 1
mov dword [esp + 0x2c], 0
jae 0x51382e
lea eax, [esp + 0x1c]
mov byte [eax], 0
jmp 0x513837
mov edi, dword [esp + 0x10]
cmp esi, ebp
je 0x5138a9
cmp dword [edi + 0x2c], 0
jne 0x5138a9
cmp byte [esi], 0x5b
je 0x5138a9
mov al, byte [esi]
cmp al, 0x3a
je 0x51386d
cmp al, 0x3b
je 0x51386d
mov dl, al
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x24]
inc esi
call fcn.00402a71
cmp esi, ebp
jne 0x513846
jmp 0x5138a9
cmp esi, ebp
je 0x5138a9
cmp byte [esi], 0x3a
jne 0x5138a9
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 0x1c]
call fcn.00402ad1
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
mov byte [edi + 0x80], 1
mov dword [esp + 0x2c], 0
jae 0x5138a5
lea eax, [esp + 0x1c]
mov byte [eax], 0
inc esi
cmp dword [esp + 0x2c], 0
jne 0x513bcd
cmp esi, ebp
je 0x51379e
cmp byte [esi], 0x5b
jne 0x513ba8
inc esi
cmp esi, ebp
je 0x513b94
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x80], 1
mov al, byte [esi]
cmp al, 0x2e
jne 0x5138e2
inc esi
jmp 0x5138ea
cmp al, 0x5d
je 0x5138ea
cmp al, 0x2d
jne 0x5138f1
mov byte [ecx + 0x80], 0
cmp esi, dword [esp + 0x14]
je 0x513a05
mov ebx, dword [esp + 0x14]
mov ebp, ecx
cmp byte [esi], 0x5d
je 0x513a01
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
jae 0x513921
lea eax, [esp + 0x1c]
mov byte [eax], 0
cmp byte [esi], 0x2d
jne 0x51393b
push 1
push 0x56860c
lea ecx, [esp + 0x24]
call fcn.00402c6b
jmp 0x513965
cmp esi, ebx
je 0x513965
nop
mov al, byte [esi]
cmp al, 0x2e
je 0x513965
cmp al, 0x5d
je 0x513965
mov dl, al
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x24]
inc esi
call fcn.00402a71
cmp esi, ebx
jne 0x513940
cmp dword [esp + 0x2c], 0
je 0x5139ed
lea ecx, [esp + 0x1c]
push 0x56860c
push ecx
call fcn.004fe4f0
add esp, 8
test al, al
je 0x5139e0
mov edx, dword [ebp + 0x70]
cmp edx, dword [ebp + 0x74]
je 0x5139b0
mov eax, dword [ebp + 0x74]
add eax, 0xffffffe4
push 0x5a2e6c
push eax
call fcn.004fe4f0
add esp, 8
test al, al
jne 0x5139b0
lea ecx, [ebp + 0x70]
call fcn.004ff0b0
jmp 0x5139ed
push 0x5a2e6c
lea ecx, [esp + 0x3c]
call fcn.0040327b
lea eax, [esp + 0x38]
push eax
lea ecx, [ebp + 0x70]
mov byte [esp + 0x74], 1
call fcn.005020b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call fcn.004024e3
jmp 0x5139ed
lea edx, [esp + 0x1c]
lea ecx, [ebp + 0x70]
push edx
call fcn.005020b0
cmp esi, ebx
je 0x513a05
cmp byte [esi], 0x5d
je 0x5139f7
inc esi
cmp esi, ebx
jne 0x513901
jmp 0x513a05
cmp esi, ebx
jne 0x513a24
mov eax, dword [esp + 0x78]
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.00509c40
push 0x5bc46c
lea ecx, [esp + 0x3c]
push ecx
call fcn.00530bea
inc esi
cmp esi, ebx
je 0x513b94
cmp byte [esi], 0x5b
jne 0x513b94
cmp byte [ebp + 0x80], 0
jne 0x513a5e
mov edx, dword [esp + 0x78]
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.00509c40
push 0x5bc46c
lea eax, [esp + 0x3c]
push eax
call fcn.00530bea
inc esi
cmp esi, ebx
je 0x513a87
cmp byte [esi], 0x2e
jne 0x513a87
mov ecx, dword [esp + 0x78]
push 0
push ecx
lea ecx, [esp + 0x40]
call fcn.00509c40
push 0x5bc46c
lea edx, [esp + 0x3c]
push edx
call fcn.00530bea
mov ecx, dword [ebp + 0x74]
sub ecx, dword [ebp + 0x70]
lea edi, [ebp + 0x70]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
cmp esi, ebx
je 0x513b74
mov ebx, dword [esp + 0x14]
nop
cmp byte [esi], 0x5d
je 0x513b70
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
jae 0x513ad0
lea eax, [esp + 0x1c]
mov byte [eax], 0
cmp byte [esi], 0x2d
jne 0x513ae8
push 0x56860c
lea ecx, [esp + 0x20]
call fcn.00510f60
jmp 0x513b0e
cmp esi, ebx
je 0x513b0e
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x2e
je 0x513b0e
cmp al, 0x5d
je 0x513b0e
movzx eax, al
push eax
push 1
lea ecx, [esp + 0x24]
inc esi
call fcn.00402a71
cmp esi, ebx
jne 0x513af0
cmp dword [esp + 0x2c], 0
je 0x513b5c
lea ecx, [esp + 0x1c]
push 0x56860c
push ecx
call fcn.004fe4f0
add esp, 8
test al, al
je 0x513b50
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebp
jbe 0x513b5c
mov ecx, edi
call fcn.004ff0b0
jmp 0x513b5c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.005020b0
cmp esi, ebx
je 0x513b74
cmp byte [esi], 0x5d
je 0x513b66
inc esi
cmp esi, ebx
jne 0x513ab0
jmp 0x513b74
cmp esi, ebx
jne 0x513b93
mov edx, dword [esp + 0x78]
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.00509c40
push 0x5bc46c
lea eax, [esp + 0x3c]
push eax
call fcn.00530bea
inc esi
mov ecx, dword [esp + 0x10]
add ecx, 0x38
call fcn.004fe3a0
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp esi, ebp
je 0x51379e
cmp byte [esi], 0x3b
je 0x513bde
movzx ecx, byte [esi]
push ecx
push 1
lea ecx, [edi + 0x38]
inc esi
call fcn.00402a71
cmp esi, ebp
jne 0x513bb0
jmp 0x51379e
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [edi + 0x38]
call fcn.00402ad1
cmp esi, ebp
je 0x51379e
cmp byte [esi], 0x3b
jne 0x51379e
inc esi
cmp esi, ebp
je 0x51379e
mov edi, dword [esp + 0x10]
lea esp, [esp]
movzx eax, byte [esi]
push eax
push 1
lea ecx, [edi + 0x54]
inc esi
call fcn.00402a71
cmp esi, ebp
jne 0x513c00
jmp 0x51379e