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

Disassembly:
sub esp, 0x70
mov eax, dword [0x5cab48]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
or ebp, 0xffffffff
push esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ebp
mov al, byte [esi]
push edi
or edx, ebp
or edi, ebp
or ebx, ebp
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], 0
test al, al
je 0x5277fe
mov edi, dword [sym.imp.MSVCR110.dll_sscanf]
jmp 0x527420
cmp dword [esp + 0x34], 6
jge 0x5277e5
mov dword [esp + 0x40], 0
movzx eax, al
push eax
call fcn.0051c330
add esp, 4
test eax, eax
jne 0x52744b
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x527433
movzx eax, byte [esi]
push eax
call fcn.0051c350
add esp, 4
test eax, eax
je 0x527593
lea eax, [esp + 0x5c]
push eax
xorps xmm0, xmm0
push str._31_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push esi
mov byte [esp + 0x68], 0
movq qword [esp + 0x69], xmm0
movq qword [esp + 0x71], xmm0
movq qword [esp + 0x79], xmm0
mov dword [esp + 0x81], 0
mov word [esp + 0x85], 0
mov byte [esp + 0x87], 0
call edi
add esp, 0xc
test eax, eax
je 0x5274bc
lea edi, [esp + 0x5c]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x5274b1
sub edi, ecx
jmp 0x5274be
xor edi, edi
cmp ebp, 0xffffffff
jne 0x52751c
cmp edi, 3
mov ebx, 0x5b14b4
mov eax, 0x5b1468
cmovbe ebx, eax
mov dword [esp + 0x28], 0
xor ebp, ebp
lea ecx, [ecx]
push dword [ebx]
lea eax, [esp + 0x60]
push eax
call fcn.0051bd70
add esp, 8
test eax, eax
jne 0x527502
inc ebp
add ebx, 4
cmp ebp, 7
jl 0x5274e0
mov eax, dword [esp + 0x28]
jmp 0x527507
mov eax, 1
or ecx, 0xffffffff
test eax, eax
cmovne ecx, ebp
mov dword [esp + 0x28], ecx
cmp ecx, 0xffffffff
jne 0x52758c
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x527539
lea eax, [esp + 0x5c]
push eax
call fcn.005271b0
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x52758c
cmp ebx, 0xffffffff
jne 0x527560
mov ebx, 0x5b14d0
xor ebp, ebp
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.0051bd70
add esp, 8
test eax, eax
jne 0x527576
inc ebp
add ebx, 0xc
cmp ebp, 0x45
jb 0x527545
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0055423a
add esp, 0x70
ret
mov eax, dword [ebx + 8]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
mov dword [esp + 0x24], ecx
cmp ecx, 0xffffffff
je 0x527560
add esi, edi
jmp 0x5277c9
movzx eax, byte [esi]
push eax
call fcn.0051c390
add esp, 4
test eax, eax
je 0x5277d3
cmp dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x2c], 0
jne 0x52761a
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
push str._02d:_02d:_02d_n
push esi
call edi
add esp, 0x18
cmp eax, 3
jne 0x5275e3
add esi, dword [esp + 0x2c]
jmp 0x5277d3
cmp dword [esp + 0x18], 0xffffffff
jne 0x52761a
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
push str._02d:_02d_n
push esi
call edi
add esp, 0x14
cmp eax, 2
jne 0x52761a
add esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
jmp 0x5277d3
mov ebp, dword [sym.imp.MSVCR110.dll__errno]
call ebp
mov edi, dword [eax]
call ebp
mov dword [eax], 0
push 0xa
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.MSVCR110.dll_strtol]
add esp, 0xc
mov dword [esp + 0x4c], eax
call ebp
mov ebp, dword [eax]
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], edi
je 0x527657
call dword [sym.imp.MSVCR110.dll__errno]
mov dword [eax], edi
test ebp, ebp
jne 0x527560
push dword [esp + 0x4c]
call fcn.0051a060
mov ebp, dword [esp + 0x5c]
add esp, 4
mov edi, eax
cmp ebx, 0xffffffff
jne 0x5276da
mov ecx, ebp
sub ecx, esi
cmp ecx, 4
jne 0x5276da
cmp edi, 0x578
jg 0x5276da
cmp dword [esp + 0x48], esi
jae 0x5276da
mov al, byte [esi - 1]
mov byte [esp + 0x23], al
cmp al, 0x2b
je 0x52769c
cmp al, 0x2d
jne 0x5276da
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
lea eax, [eax + eax*4]
shl eax, 3
sub ecx, eax
mov ebx, ecx
shl ebx, 4
sub ebx, ecx
shl ebx, 2
cmp byte [esp + 0x23], 0x2b
mov dword [esp + 0x40], 1
mov dword [esp + 0x24], ebx
jne 0x5276da
neg ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, ebp
sub eax, esi
cmp eax, 8
jne 0x52774d
cmp ecx, 0xffffffff
jne 0x52774d
cmp dword [esp + 0x1c], ecx
jne 0x52774d
cmp ebx, ecx
jne 0x52774d
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x10], ebx
imul ebx, ebx, 0x2710
mov ecx, edi
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec edx
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
mov ebx, edi
sub ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x5277c7
cmp dword [esp + 0x40], 0
jne 0x5277c7
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x52778b
cmp ebx, 0xffffffff
jne 0x527560
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x527778
mov ebx, edi
mov dword [esp + 0x14], ebx
lea eax, [edx + 1]
jmp 0x52777c
mov eax, dword [esp + 0x40]
mov edx, 1
mov dword [esp + 0x3c], edx
test eax, eax
jne 0x5277c7
jmp 0x527794
cmp edx, 1
jne 0x527560
cmp ecx, 0xffffffff
jne 0x527560
mov dword [esp + 0x10], edi
cmp edi, 0x64
jge 0x5277bb
lea eax, [edi + 0x76c]
cmp edi, 0x46
jg 0x5277b7
lea eax, [edi + 0x7d0]
mov dword [esp + 0x10], eax
xor eax, eax
cmp ebx, 0xffffffff
cmove edx, eax
mov dword [esp + 0x3c], edx
mov esi, ebp
mov edi, dword [sym.imp.MSVCR110.dll_sscanf]
mov ebp, dword [esp + 0x28]
mov al, byte [esi]
inc dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test al, al
jne 0x527420
cmp dword [esp + 0x18], 0xffffffff
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
je 0x5277fe
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
jmp 0x527806
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x14]
cmp ebp, 0xffffffff
je 0x527560
cmp edx, 0xffffffff
je 0x527560
cmp edi, 0xffffffff
je 0x527560
cmp edi, 0x62f
jl 0x527560
cmp ebp, 0x1f
jg 0x527560
cmp edx, 0xb
jg 0x527560
cmp eax, 0x17
jg 0x527560
cmp ecx, 0x3b
jg 0x527560
mov edx, dword [esp + 0x18]
cmp edx, 0x3c
jg 0x527560
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], edi
call fcn.00527260
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
add esp, 8
cmp ebx, 0xffffffff
jne 0x5278c4
xor ebx, ebx
mov eax, ebx
cdq
add eax, ecx
mov ecx, dword [esp + 0x44]
pop edi
adc edx, esi
pop esi
pop ebp
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0055423a
add esp, 0x70
ret
test ebx, ebx
jle 0x52789f
mov eax, ebx
cdq
or ebp, 0xffffffff
sub ebp, eax
mov eax, accept
sbb eax, edx
cmp esi, eax
jl 0x52789f
jg 0x5278e1
cmp ecx, ebp
jbe 0x52789f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword [eax], 0xffffffff
mov dword [eax + 4], accept
xor ecx, esp
mov eax, 1
call fcn.0055423a
add esp, 0x70
ret