Function at 0x4525b0
Capabilities:
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x644
mov eax, dword [esp + 0x648]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [esp + 0x14], esi
je 0x45357f
cmp byte [esi], 0
je 0x45357f
mov al, byte [esi + 0x431]
mov dword [esp + 0x38], 1
test al, al
mov dword [esp + 0x3c], 0xa
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x44], 0x1e
mov dword [esp + 0x48], 0x32
mov dword [esp + 0x4c], 0x64
mov dword [esp + 0x50], edi
je 0x452620
mov ebx, dword [esi + 0x428]
jmp 0x452622
xor ebx, ebx
test al, al
je 0x452632
mov ecx, dword [esi + 0x42c]
mov dword [esp + 0x10], ecx
jmp 0x452636
mov dword [esp + 0x10], edi
cmp ebx, edi
je 0x452648
test al, al
jne 0x4527de
mov esi, dword [esp + 0x14]
xor edi, edi
cmp ebx, edi
mov dword [esi + 0x434], 0xffffffff
mov byte [esi + 0x438], 0
je 0x452673
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0x42c], edi
mov dword [esi + 0x428], edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push esi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x4526e7
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
je 0x4527a2
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x38]
mov eax, dword [edi]
test eax, eax
je 0x4526de
push eax
add edi, 4
call ebp
mov eax, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4526b0
jmp 0x4526e7
cmp esi, 0xffffffff
je 0x45357f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45270d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 2
jae 0x452720
push esi
call ebp
or esi, 0xffffffff
xor edi, edi
lea ecx, [edi + 2]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
test edi, edi
jbe 0x45277f
lea edx, [esp + 0x34]
push 0
push edx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45274d
cmp dword [esp + 0x34], edi
je 0x45277f
push esi
call ebp
xor esi, esi
cmp ebx, esi
je 0x452760
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax + 0x428], esi
mov dword [eax + 0x42c], esi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
cmp esi, 0xffffffff
je 0x452787
push esi
call ebp
xor eax, eax
test edi, edi
jle 0x45279c
cmp byte [eax + ebx], 0
jne 0x452797
mov byte [eax + ebx], 0x20
inc eax
cmp eax, edi
jl 0x45278d
mov dword [esp + 0x10], edi
jmp 0x4527bb
push 2
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, dword [esp + 0x14]
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x14]
mov byte [edi + ebx], 0
mov byte [edi + ebx + 1], 0
mov cl, byte [eax + 0x431]
test cl, cl
je 0x4527de
mov dword [eax + 0x428], ebx
mov dword [eax + 0x42c], edi
mov edi, dword [esp + 0x660]
mov edx, dword [esp + 0x65c]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x30], esi
sete al
cmp edx, esi
mov byte [esp + 0x1a], al
sete byte [esp + 0x1b]
test al, al
mov dword [esp + 0x28], esi
jne 0x452868
movsx eax, byte [edi]
mov ebp, dword [sym.imp.MSVCRT.dll_isspace]
push eax
call ebp
add esp, 4
test eax, eax
je 0x452831
movsx ecx, byte [esi + edi + 1]
inc esi
push ecx
call ebp
add esp, 4
test eax, eax
jne 0x45281d
mov dword [esp + 0x30], esi
lea ebp, [esi + edi]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test esi, esi
mov dword [esp + 0x28], esi
jle 0x452868
mov edi, dword [sym.imp.MSVCRT.dll_isspace]
movsx edx, byte [esi + ebp - 1]
push edx
call edi
add esp, 4
test eax, eax
je 0x452864
dec esi
test esi, esi
jg 0x452850
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x1b]
test al, al
jne 0x4528da
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x434]
test ebp, ebp
jl 0x4528da
mov edi, dword [esp + 0x658]
mov ecx, eax
lea esi, [ecx + 0x438]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4528bb
test al, al
je 0x4528b7
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4528bb
add esi, 2
add edi, 2
test al, al
jne 0x452897
xor eax, eax
jmp 0x4528c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4528da
mov eax, dword [ecx + 0x42c]
sub eax, 2
cmp ebp, eax
jge 0x4528da
mov dword [esp + 0x1c], ebp
jmp 0x4529f2
push 0x5b
push ebx
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x4529f2
mov ecx, dword [esp + 0x10]
mov eax, edi
sub eax, ebx
cmp eax, ecx
jge 0x4529f2
movsx ecx, byte [edi + 1]
mov dword [esp + 0x2c], eax
mov ebp, dword [sym.imp.MSVCRT.dll_toupper]
lea eax, [edi + 1]
push ecx
mov dword [esp + 0x24], eax
call ebp
mov edx, dword [esp + 0x65c]
mov esi, eax
movsx eax, byte [edx]
push eax
call ebp
add esp, 8
cmp esi, eax
jne 0x4529cc
lea esi, [edi - 1]
cmp esi, ebx
jb 0x45296c
mov al, byte [esi]
cmp al, 0xa
je 0x452957
movsx ecx, al
push ecx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x452957
dec esi
cmp esi, ebx
jae 0x452939
jmp 0x45296c
cmp esi, ebx
jb 0x45296c
movsx edx, byte [esi]
push edx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x4529cc
mov eax, dword [esp + 0x658]
mov esi, 1
mov cl, byte [eax + 1]
test cl, cl
je 0x4529b8
jmp 0x452987
mov ebp, dword [sym.imp.MSVCRT.dll_toupper]
movsx ecx, byte [esi + eax]
push ecx
call ebp
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], edx
movsx ecx, byte [eax + esi]
push ecx
call ebp
mov edx, dword [esp + 0x2c]
add esp, 8
cmp edx, eax
jne 0x4529b8
mov eax, dword [esp + 0x658]
inc esi
cmp byte [esi + eax], 0
jne 0x452981
mov eax, dword [esp + 0x658]
cmp byte [esi + eax], 0
jne 0x4529cc
cmp byte [esi + edi + 1], 0x5d
je 0x4529e8
mov ecx, dword [esp + 0x20]
push 0x5b
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
jne 0x4528f0
jmp 0x4529f2
sub esi, ebx
lea edx, [esi + edi + 2]
mov dword [esp + 0x1c], edx
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
lea eax, [ebp + 0x438]
mov dword [ebp + 0x434], 0xffffffff
mov byte [eax], 0
jne 0x452c34
mov al, byte [esp + 0x1b]
test al, al
jne 0x452c27
mov al, byte [esp + 0x1a]
test al, al
jne 0x452c27
mov eax, dword [esp + 0x658]
push 0x40
lea ecx, [esp + 0x258]
push eax
push ecx
call fcn.004625f0
mov ebp, dword [sym.imp.MSVCRT.dll__strupr]
push eax
call ebp
add esp, 0x10
lea edx, [esp + 0x54]
push eax
push str._r_n__s_
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x4d3594
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x254]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa9]
push str._r_n_r_n__s__r_n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x668]
push 0x3fa
lea eax, [esp + 0x264]
push edx
push eax
call fcn.004625f0
push eax
call fcn.00462680
push eax
call ebp
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x254]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x54]
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
cmp edx, 8
rep movsb byte es:[edi], byte [esi]
jge 0x452b1f
lea edx, [esp + 0x54]
mov edi, str._t_t
jmp 0x452b32
cmp edx, 0x10
lea edx, [esp + 0x54]
mov edi, 0x4d357c
jl 0x452b32
mov edi, 0x4d3578
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [eax + ebp]
lea eax, [ecx + edx]
mov dword [esp + 0x24], eax
add eax, 4
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov ebx, ecx
lea esi, [esp + 0x5c]
lea edi, [edx + eax]
add esp, 8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x660]
mov ecx, dword [esp + 0x28]
add esi, edi
lea edi, [edx + ebp]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov byte [ecx + eax], 0xd
inc ecx
mov byte [ecx + eax], 0xa
inc ecx
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov bl, byte [edx + 0x431]
mov byte [edx + 0x430], 1
test bl, bl
jne 0x452c08
push ecx
push eax
mov ecx, edx
call fcn.00453d30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [edx + 0x428], eax
mov dword [edx + 0x42c], ecx
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov al, byte [ebp + 0x431]
test al, al
jmp 0x452fff
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x452ead
mov eax, dword [esp + 0x1c]
push 0x5b
add eax, ebx
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x452dec
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, ebx
cmp ecx, eax
jge 0x452dec
lea edi, [esi - 1]
cmp edi, ebx
jb 0x452cbf
mov al, byte [edi]
cmp al, 0xa
je 0x452c91
movsx edx, al
push edx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x452c91
dec edi
cmp edi, ebx
jb 0x452cbf
jmp 0x452c73
cmp edi, ebx
jb 0x452cbf
movsx eax, byte [edi]
push eax
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
jne 0x452cbf
inc esi
push 0x5b
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x452dec
jmp 0x452c5c
mov ebp, dword [esp + 0x2c]
cmp ebp, 0x53
jle 0x452d27
cmp byte [ebx + ebp - 0x53], 0x23
jne 0x452d27
mov edx, dword [esp + 0x658]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebx + ebp - 0x50]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x452d27
sub ebp, 0x53
cmp ebp, 1
jle 0x452d27
movsx edx, byte [ebx + ebp - 1]
push edx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x452d27
movsx eax, byte [ebx + ebp - 2]
push eax
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x452d27
sub ebp, 2
mov ecx, esi
sub ecx, ebx
cmp ecx, 0x53
jle 0x452d73
mov al, byte [esi - 0x53]
lea edi, [esi - 0x53]
cmp al, 0x23
jne 0x452d73
cmp byte [esi - 2], 0xd
jne 0x452d73
cmp byte [esi - 1], 0xa
jne 0x452d73
push 0xd
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
lea edx, [esi - 4]
add esp, 8
cmp eax, edx
jne 0x452d73
mov esi, edi
mov eax, esi
sub eax, ebx
cmp eax, 2
jle 0x452d73
cmp byte [esi - 2], 0xd
jne 0x452d73
cmp byte [esi - 1], 0xa
jne 0x452d73
add esi, 0xfffffffe
mov edi, dword [esp + 0x10]
lea edx, [ebx + ebp]
mov ecx, edi
sub ecx, esi
add ecx, ebx
push ecx
push esi
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
sub ebp, esi
add ebp, ebx
add edi, ebp
lea eax, [edi + 2]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov ecx, dword [esp + 0x28]
mov byte [edi + eax], 0
mov byte [edi + eax + 1], 0
add esp, 0x14
mov dl, byte [ecx + 0x431]
mov byte [ecx + 0x430], 1
test dl, dl
jne 0x452dd1
push edi
push eax
call fcn.00453d30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov dword [ecx + 0x42c], edi
pop edi
pop esi
mov dword [ecx + 0x428], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov esi, dword [esp + 0x2c]
cmp esi, 0x53
jle 0x452e52
cmp byte [esi + ebx - 0x53], 0x23
jne 0x452e52
mov edx, dword [esp + 0x658]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esi + ebx - 0x50]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x452e52
sub esi, 0x53
cmp esi, 1
jle 0x452e52
movsx edx, byte [esi + ebx - 1]
mov edi, dword [sym.imp.MSVCRT.dll_isspace]
push edx
call edi
add esp, 4
test eax, eax
je 0x452e52
movsx eax, byte [esi + ebx - 2]
push eax
call edi
add esp, 4
test eax, eax
je 0x452e52
sub esi, 2
lea ecx, [esi + 2]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
mov cl, byte [ebp + 0x431]
add esp, 8
test cl, cl
mov byte [ebp + 0x430], 1
jne 0x452e92
push esi
push eax
mov ecx, ebp
call fcn.00453d30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov dword [ebp + 0x42c], esi
pop edi
mov dword [ebp + 0x428], eax
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov edx, dword [esp + 0x658]
mov esi, dword [esp + 0x1c]
push 0x100
push edx
push eax
mov dword [ebp + 0x434], esi
call fcn.004625f0
lea edi, [esi + ebx]
add esp, 0xc
mov esi, edi
mov dword [esp + 0x20], edi
test esi, esi
je 0x452fe7
mov ecx, dword [esp + 0x10]
mov eax, esi
sub eax, ebx
cmp eax, ecx
jge 0x452fe7
movsx ecx, byte [esi]
mov ebp, dword [sym.imp.MSVCRT.dll_isspace]
push ecx
call ebp
add esp, 4
test eax, eax
je 0x452f10
movsx edx, byte [esi + 1]
inc esi
push edx
call ebp
add esp, 4
test eax, eax
jne 0x452f01
cmp byte [esi], 0x5b
je 0x452fe7
mov edi, dword [esp + 0x65c]
mov ebp, dword [sym.imp.MSVCRT.dll_toupper]
movsx eax, byte [edi]
push eax
call ebp
movsx ecx, byte [esi]
mov edx, eax
push ecx
mov dword [esp + 0x2c], edx
call ebp
mov edx, dword [esp + 0x2c]
add esp, 8
cmp eax, edx
jne 0x452fcc
mov cl, byte [edi + 1]
lea eax, [edi + 1]
test cl, cl
mov dword [esp + 0x2c], 1
je 0x452fa5
mov ecx, dword [esp + 0x65c]
mov edi, eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x24], eax
jmp 0x452f70
mov eax, dword [esp + 0x24]
movsx eax, byte [eax + edi]
mov ebp, dword [sym.imp.MSVCRT.dll_toupper]
push eax
call ebp
movsx ecx, byte [edi]
mov edx, eax
push ecx
mov dword [esp + 0x24], edx
call ebp
mov edx, dword [esp + 0x24]
add esp, 8
cmp eax, edx
jne 0x452fa5
mov edx, dword [esp + 0x2c]
mov al, byte [edi + 1]
inc edx
inc edi
test al, al
mov dword [esp + 0x2c], edx
jne 0x452f6c
mov ecx, dword [esp + 0x65c]
mov eax, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
jne 0x452fcc
mov ebp, esi
add esi, eax
mov al, byte [esi]
cmp al, 9
je 0x452fc4
cmp al, 0x20
jne 0x452fc7
inc esi
jmp 0x452fba
cmp byte [esi], 0x3d
je 0x453026
inc esi
push 0xa
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, dword [esp + 0x28]
mov esi, eax
add esp, 8
test esi, esi
jne 0x452ede
mov al, byte [esp + 0x1a]
test al, al
je 0x453295
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x431]
test cl, cl
jne 0x45357f
test ebx, ebx
je 0x45357f
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x644
ret 0xc
mov al, byte [esp + 0x1a]
test al, al
je 0x4530c8
push 0xa
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
mov edx, edi
inc edi
test edx, edx
je 0x453067
mov esi, dword [esp + 0x10]
mov eax, esi
sub eax, edi
add eax, ebx
test eax, eax
jle 0x453067
push eax
push edi
push ebp
call dword [sym.imp.MSVCRT.dll_memmove]
sub ebp, edi
add esp, 0xc
add esi, ebp
jmp 0x45306b
sub ebp, ebx
mov esi, ebp
lea ecx, [esi + 2]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov ecx, dword [esp + 0x1c]
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
add esp, 8
mov dl, byte [ecx + 0x431]
mov byte [ecx + 0x430], 1
test dl, dl
jne 0x4530ad
push esi
push eax
call fcn.00453d30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov dword [ecx + 0x42c], esi
pop edi
pop esi
mov dword [ecx + 0x428], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
inc esi
mov dword [esp + 0x20], esi
mov ebp, esi
mov al, byte [ebp]
cmp al, 9
je 0x4530da
cmp al, 0x20
jne 0x4530dd
inc ebp
jmp 0x4530cf
mov al, byte [ebp]
mov edi, ebp
cmp al, 0xd
je 0x4530f6
cmp al, 0xa
je 0x4530f6
test al, al
je 0x4530f6
mov al, byte [edi + 1]
inc edi
cmp al, 0xd
jne 0x4530e6
lea eax, [edi - 1]
cmp eax, ebp
mov dword [esp + 0x1c], eax
jb 0x453123
mov edx, dword [esp + 0x1c]
movsx eax, byte [edx]
push eax
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x453123
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ebp
mov dword [esp + 0x1c], eax
jae 0x453101
mov eax, dword [esp + 0x28]
sub esi, edi
lea esi, [esi + eax + 1]
test esi, esi
jne 0x453146
test eax, eax
jne 0x453146
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x431]
test al, al
jmp 0x452fff
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jb 0x45319c
mov edx, dword [esp + 0x660]
sub eax, ebp
mov dword [esp + 0x24], eax
inc eax
push eax
mov eax, dword [esp + 0x34]
add eax, edx
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x45319c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x660]
add ecx, edx
mov dl, byte [ecx + eax + 1]
test dl, dl
jne 0x45319c
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x431]
test al, al
jmp 0x452fff
test esi, esi
mov ebp, ebx
je 0x453218
jge 0x4531cf
mov edx, dword [esp + 0x10]
lea eax, [esi + edi]
sub edx, edi
add edx, ebx
push edx
push edi
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + ecx + 2]
push edx
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 0x14
mov ebx, eax
jmp 0x453205
mov eax, dword [esp + 0x10]
lea ecx, [esi + eax + 2]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov ecx, dword [esp + 0x18]
mov edx, ebp
sub edx, edi
mov ebx, eax
add edx, ecx
mov ecx, esi
mov eax, edi
sub ecx, ebp
sub eax, ebp
add ecx, edi
add eax, ebx
push edx
add ecx, ebx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0x14
mov edx, dword [esp + 0x10]
add esi, edx
mov dword [esp + 0x10], esi
mov byte [esi + ebx], 0
mov byte [esi + ebx + 1], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x660]
sub eax, ebp
add esi, edx
add eax, ebx
mov byte [eax], 0x20
lea edi, [eax + 1]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [eax + 0x431]
mov byte [eax + 0x430], 1
test cl, cl
jne 0x453276
mov ecx, dword [esp + 0x10]
push ecx
push ebx
mov ecx, eax
call fcn.00453d30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + 0x428], ebx
mov dword [eax + 0x42c], edx
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
push 0x5b
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.MSVCRT.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4533e2
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, ebp
sub ecx, ebx
cmp ecx, eax
jge 0x4533d2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4532ff
push str._r_n_r_n
push edi
call esi
add esp, 8
test eax, eax
je 0x4532ff
push str._r_n_r_n
push edi
call esi
add esp, 8
cmp eax, ebp
jae 0x4532ff
push str._r_n_r_n
push edi
call esi
mov ebp, eax
add esp, 8
add ebp, 2
lea esi, [ebp - 1]
mov dword [esp + 0x20], 0
cmp esi, ebx
jb 0x45335d
mov al, byte [esi]
cmp al, 0xa
je 0x45332c
movsx edx, al
push edx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x45332c
dec esi
cmp esi, ebx
jb 0x45335d
jmp 0x45330e
cmp esi, ebx
jb 0x45335d
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
jne 0x45335d
inc ebp
push 0x5b
push ebp
call dword [sym.imp.MSVCRT.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4533e2
jmp 0x4532b3
mov ecx, ebp
sub ecx, ebx
cmp ecx, 0x53
jle 0x453391
mov al, byte [ebp - 0x53]
lea edi, [ebp - 0x53]
cmp al, 0x23
jne 0x453391
cmp byte [ebp - 2], 0xd
jne 0x453391
cmp byte [ebp - 1], 0xa
jne 0x453391
push 0xd
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
lea edx, [ebp - 4]
add esp, 8
cmp eax, edx
jne 0x453391
mov ebp, edi
cmp ebp, ebx
jbe 0x4533a6
cmp byte [ebp], 0x23
jne 0x4533a6
cmp byte [ebp - 1], 0x23
jne 0x4533a6
dec ebp
cmp ebp, ebx
ja 0x453395
lea eax, [ebx + 4]
cmp esi, eax
jbe 0x4533d2
lea edi, [ebp - 4]
push 4
push str._r_n_r_n
push edi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4533d2
lea eax, [ebx + 4]
sub ebp, 2
sub edi, 2
cmp esi, eax
ja 0x4533b0
test ebp, ebp
je 0x4533e2
mov ecx, dword [esp + 0x10]
mov eax, ebp
sub eax, ebx
cmp eax, ecx
jl 0x4533e9
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + ebx]
mov edx, dword [esp + 0x65c]
push 0x3fa
lea eax, [esp + 0x258]
push edx
push eax
call fcn.004625f0
push eax
call fcn.00462680
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jge 0x453432
lea edx, [esp + 0x254]
mov edi, str._t_t
jmp 0x453448
cmp ecx, 0x10
lea edx, [esp + 0x254]
mov edi, 0x4d357c
jl 0x453448
mov edi, 0x4d3578
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x254]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
mov esi, ebx
not ecx
dec ecx
mov dword [esp + 0x20], esi
mov edi, ecx
mov dword [esp + 0x24], edi
lea ecx, [edi + eax]
lea eax, [ecx + edx]
mov dword [esp + 0x2c], eax
add eax, 4
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 8
lea ecx, [esi + eax]
cmp ebp, ecx
jae 0x4534db
mov edx, esi
sub edi, esi
sub edx, ebp
add edi, ebp
add edx, eax
mov eax, ebp
sub eax, esi
mov esi, dword [esp + 0x28]
add edi, esi
add eax, ebx
push edx
push eax
lea ecx, [edi + ebx + 2]
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, ebp
mov ecx, eax
sub edi, edx
mov edx, ecx
lea esi, [esp + 0x254]
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
sub eax, esi
mov esi, dword [esp + 0x660]
add ebp, eax
mov eax, dword [esp + 0x28]
mov ecx, eax
add esi, edx
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [0x4d356c]
mov ecx, dword [esp + 0x2c]
mov word [ebx + ebp], ax
lea eax, [ecx + 2]
mov ecx, dword [esp + 0x14]
mov byte [eax + ebx], 0
mov byte [eax + ebx + 1], 0
mov dl, byte [ecx + 0x431]
mov byte [ecx + 0x430], 1
test dl, dl
jne 0x453573
push eax
push ebx
call fcn.00453d30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc
mov dword [ecx + 0x428], ebx
mov dword [ecx + 0x42c], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x644
ret 0xc