Function at 0x42f670
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov ebx, edi
mov al, byte [edi]
test al, al
je 0x42f693
cmp al, 0x3d
je 0x42f693
cmp al, 0x2c
je 0x42f693
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x42f683
mov esi, ebx
sub esi, edi
jne 0x42f6a9
push edi
push 0x471
push 0
call fcn.00431680
add esp, 0xc
cmp esi, 8
jle 0x42f6b9
lea eax, [esi + 1]
push eax
call fcn.00451b20
jmp 0x42f6c0
push 9
call fcn.00451b40
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
push esi
mov ecx, eax
push edi
push ecx
mov dword [esp + 0x24], eax
call ebp
mov edx, dword [esp + 0x24]
add esp, 0xc
sub edx, edi
mov byte [edx + ebx], 0
mov al, byte [ebx]
cmp al, 0x3d
jne 0x42f793
mov al, byte [ebx + 1]
lea edi, [ebx + 1]
test al, al
mov ebx, edi
je 0x42f704
cmp al, 0x3d
je 0x42f704
cmp al, 0x2c
je 0x42f704
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x42f6f4
mov esi, ebx
sub esi, edi
jne 0x42f71e
mov eax, dword [esp + 0x2c]
push eax
push 0x471
push 0
call fcn.00431680
add esp, 0xc
cmp esi, 8
jle 0x42f72e
lea ecx, [esi + 1]
push ecx
call fcn.00451b20
jmp 0x42f735
push 9
call fcn.00451b40
push esi
mov edx, eax
push edi
push edx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
sub ecx, edi
cmp esi, 8
mov byte [ecx + ebx], 0
jle 0x42f786
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x18]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x42f786
mov eax, dword [esp + 0x2c]
push eax
push 0x471
push 0
call fcn.00431680
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov al, byte [ebx]
cmp al, 0x2c
jne 0x42f79d
inc ebx
jmp 0x42f7b1
mov dword [esp + 0x1c], 0
jmp 0x42f78a
test al, al
je 0x42f7b1
push edi
push 0x471
push 0
call fcn.00431680
add esp, 0xc
mov al, byte [ebx]
xor ebp, ebp
test al, al
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
lea esi, [esp + 0x14]
je 0x42f9dc
movsx eax, al
add eax, 0xffffffdf
cmp eax, 0x56
ja case.0x42f7e0.47
xor ecx, ecx
mov cl, byte [eax + 0x42fbe4]
jmp dword [ecx*4 + 0x42fba8]
mov eax, dword [esi]
or al, 0x20
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or al, 0x40
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or al, 0x80
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x2000000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x20000000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x40000000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x10000000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x80000000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or ah, 2
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or ah, 8
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov edx, dword [esi]
and edx, 0xff0ffff7
mov dword [esi], edx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
or ecx, 0xf00008
cmp esi, edx
mov dword [esp + 0x10], ecx
je 0x42f9a1
movsx eax, byte [ebx + 1]
inc ebx
add eax, 0xffffffcf
cmp eax, 0x47
ja case.0x42f8cb.57
xor ecx, ecx
mov cl, byte [eax + 0x42fc60]
jmp dword [ecx*4 + 0x42fc3c]
mov eax, dword [esi]
or eax, 0x200000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x300000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x400000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x500000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x600000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or eax, 0x700000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
mov eax, dword [esi]
or al, 8
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
push edi
push 0x471
push ebp
call fcn.00431680
add esp, 0xc
mov eax, dword [esi]
or eax, 0x100000
mov dword [esi], eax
lea esi, [esp + 0x14]
jmp 0x42f9d0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
cmp esi, edx
je 0x42f97b
lea eax, [esp + 0x14]
mov ecx, dword [eax]
lea esi, [esp + 0x14]
or ecx, 0x4000000
mov dword [eax], ecx
jmp 0x42f9d0
lea eax, [esp + 0x14]
cmp esi, eax
lea eax, [esp + 0x10]
je 0x42f99b
lea eax, [esp + 0x14]
or dword [eax], 0x8000000
lea esi, [esp + 0x14]
jmp 0x42f9d0
push edi
push 0x471
push ebp
call fcn.00431680
add esp, 0xc
mov al, byte [ebx + 1]
test al, al
jne 0x42f9cc
push edi
push 0x471
push ebp
call fcn.00431680
add esp, 0xc
lea esi, [esp + 0x10]
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x42f7c9
mov ecx, dword [0x4829d0]
mov ebx, 1
mov byte [esp + 0x2c], 0
cmp word [ecx + 0x32], bx
jb 0x42fb58
mov eax, ebx
mov edx, dword [0x481178]
and eax, 0xffff
push edx
lea ebp, [eax + eax*4]
mov eax, dword [0x4829d4]
shl ebp, 3
lea ecx, [eax + ebp]
push ecx
call fcn.00463ed0
mov esi, eax
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x42fa42
test al, al
je 0x42fa3e
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x42fa42
add ecx, 2
add esi, 2
test al, al
jne 0x42fa1e
xor eax, eax
jmp 0x42fa47
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fb3f
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x2c], 1
test esi, esi
je 0x42facf
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jbe 0x42fab7
mov ecx, dword [0x4829d4]
lea eax, [esp + 0x20]
push eax
push 0x406c34
lea edx, [ecx + ebp + 1]
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x481178]
mov edi, esi
add esp, 0xc
lea edx, [ecx + eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42facf
mov edx, dword [0x4829d4]
mov ecx, dword [esi]
mov dword [edx + ebp], ecx
mov ecx, dword [0x4829d4]
mov eax, dword [esi + 4]
mov dword [ecx + ebp + 4], eax
mov eax, dword [0x4829d4]
mov edx, dword [esp + 0x10]
not edx
mov esi, dword [eax + ebp + 0x24]
mov ecx, dword [esp + 0x14]
and esi, edx
mov dword [esp + 0x24], 0
mov dword [eax + ebp + 0x24], esi
mov eax, dword [0x4829d4]
mov edx, dword [eax + ebp + 0x24]
or edx, ecx
mov dword [eax + ebp + 0x24], edx
mov ecx, dword [0x4829d0]
xor eax, eax
lea edx, [esp + 0x24]
mov ax, word [ecx + 0x40]
mov ecx, dword [0x481184]
push edx
mov edx, dword [esp + 0x40]
add eax, ebp
push 0
lea eax, [eax + edx - 0x14]
push eax
push ecx
call fcn.0040bd40
mov edx, dword [0x4829d4]
mov eax, dword [0x481184]
add ebp, edx
push 0
push ebp
push eax
call fcn.00463ba0
mov ecx, dword [0x4829d0]
inc ebx
cmp bx, word [ecx + 0x32]
jbe 0x42f9f6
mov al, byte [esp + 0x2c]
test al, al
jne 0x42fb89
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push esi
push 0xfc7
push edx
call fcn.00431730
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [eax], esi
mov dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x18
ret 0x14