Function at 0x485835
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.0044646b
lea eax, [ebp + 8]
push eax
call fcn.0043dcd9
xor edi, edi
cmp dword [ebp + 0xc], edi
pop ecx
jne 0x48587d
push edi
push ebx
call fcn.00412570
mov eax, dword [ebx + 0x28]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x48587d
mov edi, 0x80070057
jmp 0x485d57
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.00405636
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.004460ea
add esp, 0x10
test al, al
je 0x4858ec
push str.32:INDATA
lea ecx, [ebp + 0xc]
call fcn.0044cf2d
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.0044420d
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0042300e
mov edi, eax
lea ecx, [ebp + 0xc]
jmp 0x485d52
push 5
lea eax, [ebp + 8]
push eax
push str._size
call fcn.004460ea
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ebx, 0x80000000
jmp 0x485a6d
push 7
push edi
push str._center
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x48592f
mov dword [ebp - 0x10], 0x40000000
jmp 0x485a63
push 6
push edi
push str._right
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x48594f
mov dword [ebp - 0x10], 0x20000000
jmp 0x485a63
push 5
push edi
push str._left
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x48596b
mov dword [ebp - 0x10], ebx
jmp 0x485a63
push 8
push edi
push str._bupdate
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x485988
or byte [ebp - 7], 1
jmp 0x485a63
push 5
push edi
push str._real
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x4859a5
or byte [ebp - 7], 2
jmp 0x485a63
push 7
push edi
push 0x4c5920
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x4859c2
or byte [ebp - 7], 4
jmp 0x485a63
push 4
push edi
push str._tab
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x4859df
or byte [ebp - 7], 8
jmp 0x485a63
push 9
push edi
push str._numicong
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x4859fc
or dword [ebp - 4], 0x100011
jmp 0x485a63
push 8
push edi
push str._numicon
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x485a19
or dword [ebp - 4], 0x100001
jmp 0x485a63
push 7
push edi
push str._numbmp
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x485a36
or dword [ebp - 4], 0x100002
jmp 0x485a63
push 5
push edi
push str._num:
call fcn.0043f11b
add esp, 0xc
test al, al
je 0x485a63
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
add edi, 0xa
push eax
mov dword [ebp + 8], edi
call fcn.0045030b
or byte [ebp - 2], 0x10
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00408ddd
pop ecx
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
je 0x48590f
mov ax, word [ebp - 0x24]
mov word [esi], ax
mov eax, dword [ebp - 0x10]
or dword [ebp - 8], eax
mov esi, 0x4bca2c
push esi
lea ecx, [ebp - 0x18]
call fcn.0044cf2d
push esi
lea ecx, [ebp - 0x10]
call fcn.0044cf2d
push esi
lea ecx, [ebp - 0x14]
call fcn.0044cf2d
push esi
lea ecx, [ebp - 0x20]
call fcn.0044cf2d
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 0x485ae8
add dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 9], 1
call fcn.0043dcd9
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00446f11
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00402ed1
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x485b1a
xor edi, edi
inc edi
jmp 0x485d37
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.0045708a
push eax
call fcn.0045025b
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x485b6d
add dword [ebp + 8], ebx
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045708a
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00446f11
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00412ce4
cmp dword [ebp - 0x60], edi
pop ecx
mov dword [ebp - 0x1c], eax
je 0x485bdf
push edi
push dword [ebp - 0x10]
call fcn.0041553d
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], edi
je 0x485bad
lea eax, [ebp - 4]
push eax
push esi
call dword [0x4d7ef4]
lea eax, [ebp + 0xc]
push eax
push esi
call dword [0x4d7ef8]
jmp 0x485bbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x485bba
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 0x485d28
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x485c4b
add dword [ebp + 8], ebx
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00447001
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x485c4b
add dword [ebp + 8], ebx
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045708a
push edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00446f11
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x485c4b
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.0045708a
push eax
call fcn.0044715e
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0043dcd9
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
je 0x485c73
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044073a
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0043dcd9
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
jne 0x485c98
add dword [ebp + 8], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044073a
pop ecx
pop ecx
cmp dword [ebp - 4], edi
je 0x485d63
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 0x485ccb
mov dword [ebp + 0xc], 3
jmp 0x485cde
cmp eax, ebx
jne 0x485cd4
mov dword [ebp + 0xc], ebx
jmp 0x485cde
cmp eax, edi
jne 0x485cde
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 0x485d09
lea eax, [ebp - 0x3c]
push eax
push 0x44f95e
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.004438ac
lea ecx, [ebp - 0x20]
call fcn.0043dd41
lea ecx, [ebp - 0x14]
call fcn.0043dd41
lea ecx, [ebp - 0x10]
call fcn.0043dd41
lea ecx, [ebp - 0x18]
call fcn.0043dd41
lea ecx, [ebp - 0x54]
call fcn.0043dd41
mov eax, edi
jmp 0x485ddf
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.0044cf2d
cmp byte [ebp - 9], 0
je 0x485d79
mov eax, dword [ebp - 0x28]
jmp 0x485d82
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x194]
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.004838d9
lea ecx, [ebp - 0x1c]
call fcn.0043dd41
lea ecx, [ebp - 0x20]
call fcn.0043dd41
lea ecx, [ebp - 0x14]
call fcn.0043dd41
lea ecx, [ebp - 0x10]
call fcn.0043dd41
lea ecx, [ebp - 0x18]
call fcn.0043dd41
lea ecx, [ebp - 0x54]
call fcn.0043dd41
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8