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

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strncmp]
push 2
mov ebx, 1
xor ebp, ebp
push 0x438dc0
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], ebp
call edi
add esp, 0xc
test eax, eax
je 0x427afc
push 2
push 0x438dbc
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x427b03
mov dword [esp + 0x24], ebx
add esi, 2
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push 0x434cb4
push esi
call ebx
add esp, 8
test eax, eax
je 0x427c34
cmp esi, ebp
je 0x427d6a
mov ebp, dword [sym.imp.MSVCRT.dll_sscanf]
mov edi, dword [esp + 0x10]
cmp edi, 0xa
jge 0x427d6a
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push str._d._d._d__d._d._d
push esi
mov dword [esp + 0x54], 0
call ebp
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov eax, ecx
add esp, 0x20
sub eax, edx
mov dword [esp + edi*4 + 0x60], eax
jns 0x427b86
mov dword [esp + edi*4 + 0x60], 0
lea eax, [ecx + edx]
cmp eax, 0x168
mov dword [esp + edi*4 + 0xb0], eax
jle 0x427ba2
mov dword [esp + edi*4 + 0xb0], 0x168
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0x38], eax
jns 0x427bbc
mov dword [esp + edi*4 + 0x38], 0
lea eax, [ecx + edx]
cmp eax, 0x64
mov dword [esp + edi*4 + 0x88], eax
jle 0x427bd6
mov dword [esp + edi*4 + 0x88], 0x64
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0xd8], eax
jns 0x427bf6
mov dword [esp + edi*4 + 0xd8], 0
lea eax, [ecx + edx]
cmp eax, 0x64
mov dword [esp + edi*4 + 0x100], eax
jle 0x427c10
mov dword [esp + edi*4 + 0x100], 0x64
push 0x438da4
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x427c22
inc esi
inc edi
test esi, esi
mov dword [esp + 0x10], edi
jne 0x427b2e
jmp 0x427d6a
cmp esi, ebp
mov dword [esp + 0x14], esi
je 0x427d6a
cmp dword [esp + 0x10], 0xa
jge 0x427d6a
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0x438d9c
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
xor eax, eax
xor ecx, ecx
mov al, byte [esp + 0x2a]
xor edx, edx
mov esi, eax
mov eax, dword [esp + 0x28]
mov cl, ah
and eax, 0xff
mov ebp, ecx
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov dl, byte [esp + 0x2e]
xor eax, eax
add esp, 0x10
mov al, ch
and ecx, 0xff
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
mov edi, edx
sub edx, esi
lea ecx, [esp + ecx*4 + 0x100]
mov dword [ecx], edx
jns 0x427cbc
mov dword [ecx], 0
mov ecx, dword [esp + 0x10]
lea edx, [edi + esi]
cmp edx, 0xff
mov dword [esp + ecx*4 + 0x88], edx
jle 0x427cdd
mov dword [esp + ecx*4 + 0x88], 0xff
mov edx, eax
sub edx, ebp
mov dword [esp + ecx*4 + 0x38], edx
jns 0x427cef
mov dword [esp + ecx*4 + 0x38], 0
add eax, ebp
cmp eax, 0xff
mov dword [esp + ecx*4 + 0xb0], eax
jle 0x427d0a
mov dword [esp + ecx*4 + 0xb0], 0xff
mov edx, dword [esp + 0x20]
mov eax, edx
sub eax, ebx
mov dword [esp + ecx*4 + 0x60], eax
jns 0x427d20
mov dword [esp + ecx*4 + 0x60], 0
lea eax, [edx + ebx]
lea ecx, [esp + ecx*4 + 0xd8]
cmp eax, 0xff
mov dword [ecx], eax
jle 0x427d39
mov dword [ecx], 0xff
mov edx, dword [esp + 0x14]
push 0x438da4
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x427d59
inc eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
inc edx
test eax, eax
mov dword [esp + 0x10], edx
jne 0x427c40
mov ebp, dword [esp + 0x134]
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x144]
mov edi, eax
add esp, 4
test edi, edi
mov dword [ecx], edi
jne 0x427dc1
mov edx, dword [esp + 0x12c]
push 0x43a4e4
push edx
call fcn.00420310
mov eax, dword [esp + 0x140]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x427dd7
imul ecx, dword [ebp + 4]
mov eax, 0x1010101
jmp 0x427ddd
imul ecx, dword [ebp + 4]
xor eax, eax
mov edx, ecx
mov dword [esp + 0x14], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
test eax, eax
jle 0x42809f
mov eax, dword [esp + 0x138]
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 4]
xor ebx, ebx
test ecx, ecx
jle 0x42807a
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x427f14
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
jle 0x428063
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x427e5d
imul eax, dword [ebp + 4]
mov edx, dword [esp + 0x140]
add eax, dword [edx]
lea edi, [eax + ebx]
mov al, byte [eax + ebx]
cmp al, 1
je 0x428063
jmp 0x427e78
imul eax, dword [ebp + 4]
mov edx, dword [esp + 0x140]
add eax, dword [edx]
lea edi, [eax + ebx]
mov al, byte [eax + ebx]
test al, al
je 0x428063
mov eax, dword [esp + 0x18]
xor edx, edx
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dl, byte [esp + 0x1e]
mov esi, edx
xor edx, edx
mov dl, ah
and eax, 0xff
cmp dword [esp + 0x24], 0
jne 0x427ecf
cmp esi, dword [esp + ecx*4 + 0x100]
jl 0x427f02
cmp esi, dword [esp + ecx*4 + 0x88]
jg 0x427f02
cmp edx, dword [esp + ecx*4 + 0x38]
jl 0x427f02
cmp edx, dword [esp + ecx*4 + 0xb0]
jg 0x427f02
cmp eax, dword [esp + ecx*4 + 0x60]
jl 0x427f02
cmp eax, dword [esp + ecx*4 + 0xd8]
jg 0x427f02
mov byte [edi], 1
jmp 0x427f02
cmp esi, dword [esp + ecx*4 + 0x100]
jl 0x427f02
cmp esi, dword [esp + ecx*4 + 0x88]
jg 0x427f02
cmp edx, dword [esp + ecx*4 + 0x38]
jl 0x427f02
cmp edx, dword [esp + ecx*4 + 0xb0]
jg 0x427f02
cmp eax, dword [esp + ecx*4 + 0x60]
jl 0x427f02
cmp eax, dword [esp + ecx*4 + 0xd8]
jg 0x427f02
mov byte [edi], 0
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, eax
jl 0x427e34
jmp 0x428063
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x428063
mov eax, dword [esp + 0x140]
mov edi, dword [esp + 0x14]
jmp 0x427f36
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x427f54
mov ecx, edi
mov edx, dword [eax]
imul ecx, dword [ebp + 4]
add ecx, edx
cmp byte [ecx + ebx], 1
je 0x428063
jmp 0x427f68
mov edx, edi
mov ecx, dword [eax]
imul edx, dword [ebp + 4]
add edx, ecx
cmp byte [edx + ebx], 0
je 0x428063
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
mov eax, dword [eax]
push edx
mov edx, eax
lea ecx, [esp + 0x38]
and edx, 0xff
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x2c], eax
mov dl, byte [esp + 0x2e]
mov cl, ah
push ecx
push edx
call fcn.00422790
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + esi*4 + 0x78]
add esp, 0x18
test eax, eax
mov eax, dword [esp + 0x30]
jne 0x428009
cmp eax, ecx
jl 0x428056
cmp eax, dword [esp + esi*4 + 0xb0]
jg 0x428056
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + esi*4 + 0x38]
cmp eax, ecx
jl 0x428056
cmp eax, dword [esp + esi*4 + 0x88]
jg 0x428056
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + esi*4 + 0xd8]
cmp eax, ecx
jl 0x428056
cmp eax, dword [esp + esi*4 + 0x100]
jg 0x428056
mov eax, edi
mov ecx, dword [esp + 0x140]
imul eax, dword [ebp + 4]
add eax, dword [ecx]
mov byte [eax + ebx], 1
jmp 0x428056
cmp eax, ecx
jl 0x428056
cmp eax, dword [esp + esi*4 + 0xb0]
jg 0x428056
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + esi*4 + 0x38]
cmp eax, ecx
jl 0x428056
cmp eax, dword [esp + esi*4 + 0x88]
jg 0x428056
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + esi*4 + 0xd8]
cmp eax, ecx
jl 0x428056
cmp eax, dword [esp + esi*4 + 0x100]
jg 0x428056
mov edx, edi
mov eax, dword [esp + 0x140]
imul edx, dword [ebp + 4]
add edx, dword [eax]
mov byte [edx + ebx], 0
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x427f2f
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
inc ebx
add ecx, 4
cmp ebx, eax
mov dword [esp + 0x18], ecx
jl 0x427e1a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x13c]
mov edx, dword [ebp + 8]
inc ecx
add eax, esi
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jl 0x427e09
mov ecx, dword [esp + 0x138]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret