Function at 0x491d54
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x28], ebx
call fcn.00448948
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
xor edi, edi
cmp dword [ebp + 0xc], edi
pop ecx
jne 0x491d9c
push edi
push ebx
call fcn.00412e85
mov eax, dword [ebx + 0x28]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x491d9c
mov edi, 0x80070057
jmp 0x492276
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0x2c
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
call fcn.00414c4e
mov esi, dword [ebp - 0x14]
mov ax, word [esi]
mov word [ebp - 0x24], ax
push 4
lea eax, [ebp + 8]
push eax
push str._gui
mov word [esi], di
call fcn.004485c7
add esp, 0x10
test al, al
je 0x491e0b
push str.32:INDATA
lea ecx, [ebp + 0xc]
call fcn.004505eb
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.004465fa
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004236b4
mov edi, eax
lea ecx, [ebp + 0xc]
jmp 0x492271
push 5
lea eax, [ebp + 8]
push eax
push str._size
call fcn.004485c7
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ebx, 0x80000000
jmp 0x491f8c
push 7
push edi
push str._center
call fcn.00441220
add esp, 0xc
test al, al
je 0x491e4e
mov dword [ebp - 0x10], 0x40000000
jmp 0x491f82
push 6
push edi
push 0x4d0114
call fcn.00441220
add esp, 0xc
test al, al
je 0x491e6e
mov dword [ebp - 0x10], 0x20000000
jmp 0x491f82
push 5
push edi
push str._left
call fcn.00441220
add esp, 0xc
test al, al
je 0x491e8a
mov dword [ebp - 0x10], ebx
jmp 0x491f82
push 8
push edi
push 0x4d2928
call fcn.00441220
add esp, 0xc
test al, al
je 0x491ea7
or byte [ebp - 7], 1
jmp 0x491f82
push 5
push edi
push 0x4d2920
call fcn.00441220
add esp, 0xc
test al, al
je 0x491ec4
or byte [ebp - 7], 2
jmp 0x491f82
push 7
push edi
push 0x4cfe30
call fcn.00441220
add esp, 0xc
test al, al
je 0x491ee1
or byte [ebp - 7], 4
jmp 0x491f82
push 4
push edi
push str._tab
call fcn.00441220
add esp, 0xc
test al, al
je 0x491efe
or byte [ebp - 7], 8
jmp 0x491f82
push 9
push edi
push str._numicong
call fcn.00441220
add esp, 0xc
test al, al
je 0x491f1b
or dword [ebp - 4], 0x100011
jmp 0x491f82
push 8
push edi
push str._numicon
call fcn.00441220
add esp, 0xc
test al, al
je 0x491f38
or dword [ebp - 4], 0x100001
jmp 0x491f82
push 7
push edi
push str._numbmp
call fcn.00441220
add esp, 0xc
test al, al
je 0x491f55
or dword [ebp - 4], 0x100002
jmp 0x491f82
push 5
push edi
push str._num:
call fcn.00441277
add esp, 0xc
test al, al
je 0x491f82
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
add edi, 0xa
push eax
mov dword [ebp + 8], edi
call fcn.00453c1f
or byte [ebp - 2], 0x10
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00408f31
pop ecx
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
je 0x491e2e
mov ax, word [ebp - 0x24]
mov word [esi], ax
mov eax, dword [ebp - 0x10]
or dword [ebp - 8], eax
mov esi, 0x4c6a64
push esi
lea ecx, [ebp - 0x18]
call fcn.004505eb
push esi
lea ecx, [ebp - 0x10]
call fcn.004505eb
push esi
lea ecx, [ebp - 0x14]
call fcn.004505eb
push esi
lea ecx, [ebp - 0x20]
call fcn.004505eb
mov eax, dword [ebp + 8]
xor edi, edi
cmp word [eax], 0x2a
push 2
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 9], 0
pop ebx
jne 0x492007
add dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 9], 1
call fcn.0043fe57
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004494ac
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00402f5e
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x492039
xor edi, edi
inc edi
jmp 0x492256
add dword [ebp + 8], ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045bac5
push eax
call fcn.00453b6f
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x49208c
add dword [ebp + 8], ebx
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045bac5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004494ac
add esp, 0xc
push dword [ebp - 0x10]
call fcn.004135f9
cmp dword [ebp - 0x60], edi
pop ecx
mov dword [ebp - 0x1c], eax
je 0x4920fe
push edi
push dword [ebp - 0x10]
call fcn.00416215
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], edi
je 0x4920cc
lea eax, [ebp - 4]
push eax
push esi
call dword [0x4e2f0c]
lea eax, [ebp + 0xc]
push eax
push esi
call dword [0x4e2f10]
jmp 0x4920db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x4920d9
xor eax, eax
inc eax
mov edi, eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xe8]
push dword [ebp - 4]
push str._d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xe8]
jmp 0x492247
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x49216a
add dword [ebp + 8], ebx
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044959c
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x49216a
add dword [ebp + 8], ebx
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045bac5
push edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004494ac
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x49216a
add dword [ebp + 8], ebx
push esi
lea eax, [ebp - 0x2c]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045bac5
push eax
call fcn.00449740
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
je 0x492192
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004429d6
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
jne 0x4921b7
add dword [ebp + 8], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004429d6
pop ecx
pop ecx
cmp dword [ebp - 4], edi
je 0x492282
movzx eax, byte [ebp - 4]
cmp eax, 1
mov esi, 0x7fffffff
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp + 0xc], 0xe
jne 0x4921ea
mov dword [ebp + 0xc], 3
jmp 0x4921fd
cmp eax, ebx
jne 0x4921f3
mov dword [ebp + 0xc], ebx
jmp 0x4921fd
cmp eax, edi
jne 0x4921fd
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0xc], eax
push ebx
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
je 0x492228
lea eax, [ebp - 0x3c]
push eax
push 0x453253
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x30]
sub esi, dword [ebp - 0x38]
lea eax, [ebp - 0x188]
push esi
push str._d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0x28]
add esp, 0x10
push eax
push dword [ebp - 0x18]
call fcn.00445c44
lea ecx, [ebp - 0x20]
call fcn.0043fe25
lea ecx, [ebp - 0x14]
call fcn.0043fe25
lea ecx, [ebp - 0x10]
call fcn.0043fe25
lea ecx, [ebp - 0x18]
call fcn.0043fe25
lea ecx, [ebp - 0x54]
call fcn.0043fe25
mov eax, edi
jmp 0x4922fe
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004505eb
cmp byte [ebp - 9], 0
je 0x492298
mov eax, dword [ebp - 0x28]
jmp 0x4922a1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a4]
push dword [ebp - 8]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00491406
lea ecx, [ebp - 0x1c]
call fcn.0043fe25
lea ecx, [ebp - 0x20]
call fcn.0043fe25
lea ecx, [ebp - 0x14]
call fcn.0043fe25
lea ecx, [ebp - 0x10]
call fcn.0043fe25
lea ecx, [ebp - 0x18]
call fcn.0043fe25
lea ecx, [ebp - 0x54]
call fcn.0043fe25
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8