Function at 0x100471f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdbc
mov eax, dword [0x100725c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push 0xfffffffffffffff5
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0xdbc], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
call esi
push 0xfffffffffffffff4
mov dword [0x1007270], eax
call esi
push ebx
push ebx
push 0x100
mov dword [0x1007274], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPreferredUILanguages]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 2
pop esi
cmp dword [ebp + 8], esi
jge 0x10047a3
mov ebx, 0xa0
call fcn.0100316e
mov eax, ebx
jmp 0x10051be
push 0x1001884
push dword [edi + 4]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1004797
mov eax, dword [edi + 4]
cmp word [eax], 0x2f
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], ebx
jne 0x10047e5
push 0x272d
push dword [0x1007274]
push ebx
call fcn.01001a91
add esp, 0xc
push 0x57
pop ebx
jmp 0x1004797
cmp dword [ebp + 8], 2
jle 0x1004f0f
lea ebx, [edi + esi*4]
mov eax, dword [ebx]
cmp word [eax], 0x2f
jne 0x1005061
push 0x1001878
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100481b
inc dword [0x1007284]
jmp 0x1004f03
push 0x100186c
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004871
test dword [ebp - 0x110], 0xff000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov ecx, dword [ebx + 4]
cmp word [ecx], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x80000000
mov esi, eax
mov eax, dword [edi + esi*4]
mov dword [ebp - 0x128], eax
jmp 0x1004f03
push 0x1001858
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x10048c7
test dword [ebp - 0x110], 0xff000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov ecx, dword [ebx + 4]
cmp word [ecx], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x20000000
mov esi, eax
mov eax, dword [edi + esi*4]
mov dword [ebp - 0x124], eax
jmp 0x1004f03
push 0x1001844
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100490f
test dword [ebp - 0x110], 0xff000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov ecx, dword [ebx + 4]
cmp word [ecx], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x8000000
jmp 0x10048b7
push 0x1001834
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004941
test dword [ebp - 0x110], 0xff000000
jne 0x1005061
or dword [ebp - 0x110], 0x2000000
jmp 0x1004f03
push 0x1001824
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004973
test dword [ebp - 0x110], 0xff000000
jne 0x1005061
or dword [ebp - 0x110], 0x1000000
jmp 0x1004f03
push 0x1001810
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x10049be
test dword [ebp - 0x110], 0xef000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov ecx, dword [ebx + 4]
cmp word [ecx], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x40000000
jmp 0x1004861
push 0x10017f8
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004a5e
test dword [ebp - 0x110], 0xaf000000
jne 0x1005061
lea ecx, [esi + 1]
cmp ecx, dword [ebp + 8]
je 0x1005061
mov eax, dword [ebx + 4]
cmp word [eax], 0x2f
je 0x1005061
lea eax, [esi + 2]
cmp eax, dword [ebp + 8]
je 0x1005061
mov eax, dword [edi + eax*4]
cmp word [eax], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x10000000
mov esi, ecx
mov eax, dword [edi + esi*4]
mov ecx, dword [ebp - 0x458]
inc esi
cmp ecx, 0x64
je 0x1005085
mov dword [ebp + ecx*4 - 0x454], eax
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [edi + esi*4]
inc dword [ebp - 0x458]
mov dword [ebp + ecx*4 - 0x2c0], eax
inc dword [ebp - 0x2c4]
jmp 0x1004f03
push 6
push 0x10017e8
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1004b59
test dword [ebp - 0x110], 0xfb000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov eax, dword [ebx + 4]
cmp word [eax], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x4000000
push 0x3a
push dword [ebx]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x1004ac7
mov dword [ebp - 0x118], 0x81
jmp 0x1004ae5
movzx eax, word [eax + 2]
cmp ax, 0x72
je 0x1004adb
cmp ax, 0x52
jne 0x1005061
mov dword [ebp - 0x118], 0x41
lea eax, [esi + 1]
mov ebx, eax
cmp dword [ebp - 0xdbc], 0x64
je 0x1005061
inc esi
push dword [edi + esi*4]
lea ecx, [ebp - 0xdbc]
push dword [ebp - 0x118]
inc ebx
call fcn.01001925
push 0x3a
push dword [edi + esi*4]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x1005061
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x11d]
push ecx
add eax, 2
push eax
call fcn.01001db8
test eax, eax
jne 0x1005061
cmp ebx, dword [ebp + 8]
je 0x1004f03
mov eax, dword [edi + esi*4 + 4]
cmp word [eax], 0x2f
jne 0x1004aea
jmp 0x1004f03
push 0x12
push 0x10017c0
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1004c20
test dword [ebp - 0x110], 0xfb000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov eax, dword [ebx + 4]
cmp word [eax], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x4000000
push 0x3a
push dword [ebx]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x1004bc2
mov dword [ebp - 0x118], 0x84
jmp 0x1004be0
movzx eax, word [eax + 2]
cmp ax, 0x72
je 0x1004bd6
cmp ax, 0x52
jne 0x1005061
mov dword [ebp - 0x118], 0x44
lea eax, [esi + 1]
mov ebx, eax
cmp dword [ebp - 0xdbc], 0x64
je 0x1005061
inc esi
push dword [edi + esi*4]
lea ecx, [ebp - 0xdbc]
push dword [ebp - 0x118]
inc ebx
call fcn.01001925
cmp ebx, dword [ebp + 8]
je 0x1004f03
mov eax, dword [edi + esi*4 + 4]
cmp word [eax], 0x2f
jne 0x1004be5
jmp 0x1004f03
push 0x10017b4
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004cd7
test dword [ebp - 0x110], 0xfb000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov ecx, dword [ebx + 4]
cmp word [ecx], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x4000000
mov ebx, eax
cmp dword [ebp - 0xdbc], 0x64
je 0x1005061
inc esi
push dword [edi + esi*4]
lea ecx, [ebp - 0xdbc]
push 2
inc ebx
call fcn.01001925
push 0x3a
push dword [edi + esi*4]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x1005061
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x11d]
push ecx
add eax, 2
push eax
call fcn.01001db8
test eax, eax
jne 0x1005061
cmp ebx, dword [ebp + 8]
je 0x1004f03
mov eax, dword [edi + esi*4 + 4]
cmp word [eax], 0x2f
jne 0x1004c6c
jmp 0x1004f03
push 7
push 0x10017a4
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1004daa
test dword [ebp - 0x110], 0xfb000000
jne 0x1005061
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1005061
mov eax, dword [ebx + 4]
cmp word [eax], 0x2f
je 0x1005061
or dword [ebp - 0x110], 0x4000000
push 0x3a
push dword [ebx]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x1004d40
mov dword [ebp - 0x114], 0x33
jmp 0x1004d6a
movzx eax, word [eax + 2]
cmp ax, 0x67
jne 0x1004d56
mov dword [ebp - 0x114], 0x13
jmp 0x1004d6a
cmp ax, 0x64
jne 0x1005061
mov dword [ebp - 0x114], 0x23
lea eax, [esi + 1]
mov ebx, eax
cmp dword [ebp - 0xdbc], 0x64
je 0x1005061
inc esi
push dword [edi + esi*4]
lea ecx, [ebp - 0xdbc]
push dword [ebp - 0x114]
inc ebx
call fcn.01001925
cmp ebx, dword [ebp + 8]
je 0x1004f03
mov eax, dword [edi + esi*4 + 4]
cmp word [eax], 0x2f
jne 0x1004d6f
jmp 0x1004f03
push 0xc
push 0x1001788
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1004e8b
test dword [ebp - 0x110], 0xfb000000
jne 0x1005061
or dword [ebp - 0x110], 0x4000000
push 0x3a
push dword [ebx]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x1005061
movzx ecx, word [eax + 2]
test cx, cx
je 0x1005061
cmp word [eax + 4], 0
jne 0x1005061
cmp cx, 0x65
je 0x1004e4a
cmp cx, 0x45
je 0x1004e4a
cmp cx, 0x64
je 0x1004e3e
cmp cx, 0x44
je 0x1004e3e
cmp cx, 0x72
je 0x1004e32
cmp cx, 0x52
jne 0x1005061
mov dword [ebp - 0x114], 0x408
jmp 0x1004e54
mov dword [ebp - 0x114], 0x208
jmp 0x1004e54
mov dword [ebp - 0x114], 0x108
cmp dword [ebp - 0xdbc], 0x64
je 0x1005061
push 0
push dword [ebp - 0x114]
lea ecx, [ebp - 0xdbc]
call fcn.01001925
lea eax, [esi + 1]
cmp eax, dword [ebp + 8]
je 0x1004f03
mov eax, dword [ebx + 4]
cmp word [eax], 0x2f
jne 0x1004e54
jmp 0x1004f03
push 0x1001780
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004ea7
or dword [ebp - 0x110], 0x10
jmp 0x1004f03
push 0x1001778
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004ec6
or dword [ebp - 0x110], 0x80
jmp 0x1004f03
push 0x1001770
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004ee5
or dword [ebp - 0x110], 0x100
jmp 0x1004f03
push 0x1001768
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1005061
or dword [ebp - 0x110], 0x20
inc esi
cmp esi, dword [ebp + 8]
jl 0x10047ef
xor ebx, ebx
cmp dword [0x1007284], ebx
je 0x1005008
xor ecx, ecx
cmp dword [0x1007038], ebx
je 0x1005008
mov eax, 0x1007038
mov dword [ebp - 0x114], 0x1007040
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x1004f43
sub eax, esi
sar eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x114]
lea edi, [ecx + 1]
mov dword [ebp - 0x118], edi
cmp dword [eax], ebx
je 0x1004ff0
mov esi, eax
push dword [ebp - 0x130]
push dword [esi]
push dword [ebp - 0x12c]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1004fd9
push 0x1001754
push dword [0x1007274]
call fcn.010019a4
push dword [ebp - 0x12c]
push dword [0x1007274]
call fcn.010019a4
push 0x100164c
push dword [0x1007274]
call fcn.010019a4
push dword [esi]
push dword [0x1007274]
call fcn.010019a4
push 0x10016b4
push dword [0x1007274]
call fcn.010019a4
inc dword [ebp - 0x118]
mov esi, dword [ebp - 0x118]
lea esi, [esi*8 + 0x1007038]
cmp dword [esi], ebx
jne 0x1004f70
add dword [ebp - 0x114], 8
mov ecx, edi
lea eax, [ecx*8 + 0x1007038]
cmp dword [eax], ebx
jne 0x1004f38
mov edi, dword [ebp - 0x110]
mov eax, edi
and eax, 0xff000000
mov ecx, 0x8000000
cmp eax, ecx
ja 0x10050f9
je 0x10050c2
cmp eax, ebx
je 0x10050b1
cmp eax, 0x1000000
je 0x10050a0
cmp eax, 0x2000000
je 0x100508f
cmp eax, 0x4000000
jne 0x1005115
lea eax, [ebp - 0xdbc]
push eax
push edi
push dword [ebp - 0x11c]
call fcn.01004576
jmp 0x1005170
push dword [edi + esi*4]
push 0x2713
push dword [0x1007274]
push dword [ebp - 0x110]
call fcn.01001a91
add esp, 0x10
push 0x57
pop eax
jmp 0x10051be
mov eax, 0xa0
jmp 0x10051be
push edi
push dword [ebp - 0x11c]
call fcn.010042bf
jmp 0x1005170
push edi
push dword [ebp - 0x11c]
call fcn.0100436a
jmp 0x1005170
push edi
push dword [ebp - 0x11c]
call fcn.0100393b
jmp 0x1005170
push dword [ebp - 0x124]
push edi
push dword [ebp - 0x11c]
call fcn.010041c9
cmp byte [0x1007278], 0
mov esi, eax
jne 0x1005172
push 0x272a
push dword [0x1007270]
push edi
call fcn.01001a91
add esp, 0xc
jmp 0x1005172
cmp eax, 0x20000000
je 0x100515e
cmp eax, 0x40000000
je 0x100513c
cmp eax, 0x50000000
je 0x100513c
cmp eax, 0x80000000
je 0x1005128
push edi
push 0x100173c
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
pop ecx
or esi, 0xffffffff
jmp 0x1005172
push dword [ebp - 0x128]
push edi
push dword [ebp - 0x11c]
call fcn.01003a33
jmp 0x1005170
push dword [ebp - 0x128]
lea eax, [ebp - 0x2c4]
push edi
push eax
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x11c]
call fcn.01003f36
jmp 0x1005170
push dword [ebp - 0x124]
push edi
push dword [ebp - 0x11c]
call fcn.010040bb
mov esi, eax
mov ebx, dword [sym.imp.msvcrt.dll__ultow]
push 0xa
lea eax, [ebp - 0x10c]
push eax
push dword [0x100727c]
call ebx
push 0xa
lea eax, [ebp - 0x88]
push eax
push dword [0x1007280]
call ebx
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x272b
push dword [0x1007270]
push edi
call fcn.01001a91
add esp, 0x2c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010054a3
leave
ret