Function at 0x46ea28
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x1c], ebx
call fcn.00437de1
lea eax, [ebp + 8]
push eax
call fcn.00430961
xor edi, edi
cmp dword [ebp + 0xc], edi
pop ecx
jne 0x46ea6e
push ebx
call fcn.0040e9a4
mov eax, dword [ebx + 0x28]
cmp eax, edi
pop ecx
mov dword [ebp + 0xc], eax
jne 0x46ea6e
mov esi, 0x80070057
jmp 0x46ef0b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call fcn.004754d0
mov esi, dword [ebp - 0x18]
mov ax, word [esi]
mov word [ebp - 0x20], ax
push 4
lea eax, [ebp + 8]
push eax
push str._gui
mov word [esi], di
call fcn.00437ad0
add esp, 0x10
test al, al
je 0x46eadd
push str.32:INDATA
lea ecx, [ebp + 0xc]
call fcn.004403c3
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00435dd0
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00428650
mov esi, eax
lea ecx, [ebp + 0xc]
jmp 0x46ef06
push 5
lea eax, [ebp + 8]
push eax
push str._size
call fcn.00437ad0
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ebx, 0x80000000
jmp 0x46ec24
push 7
push edi
push str._center
call fcn.00431867
add esp, 0xc
test al, al
je 0x46eb20
mov dword [ebp - 8], 0x40000000
jmp 0x46ec1a
push 6
push edi
push str._right
call fcn.00431867
add esp, 0xc
test al, al
je 0x46eb40
mov dword [ebp - 8], 0x20000000
jmp 0x46ec1a
push 5
push edi
push str._left
call fcn.00431867
add esp, 0xc
test al, al
je 0x46eb5c
mov dword [ebp - 8], ebx
jmp 0x46ec1a
push 8
push edi
push str._bupdate
call fcn.00431867
add esp, 0xc
test al, al
je 0x46eb79
or byte [ebp - 0x13], 1
jmp 0x46ec1a
push 5
push edi
push str._real
call fcn.00431867
add esp, 0xc
test al, al
je 0x46eb96
or byte [ebp - 0x13], 2
jmp 0x46ec1a
push 9
push edi
push str._numicong
call fcn.00431867
add esp, 0xc
test al, al
je 0x46ebb3
or dword [ebp - 0xc], 0x100011
jmp 0x46ec1a
push 8
push edi
push str._numicon
call fcn.00431867
add esp, 0xc
test al, al
je 0x46ebd0
or dword [ebp - 0xc], 0x100001
jmp 0x46ec1a
push 7
push edi
push str._numbmp
call fcn.00431867
add esp, 0xc
test al, al
je 0x46ebed
or dword [ebp - 0xc], 0x100002
jmp 0x46ec1a
push 5
push edi
push str._num:
call fcn.004318b1
add esp, 0xc
test al, al
je 0x46ec1a
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 8]
add edi, 0xa
push eax
mov dword [ebp + 8], edi
call fcn.00438b6a
or byte [ebp - 0xa], 0x10
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0040459d
pop ecx
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
je 0x46eb00
mov ax, word [ebp - 0x20]
mov word [esi], ax
mov eax, dword [ebp - 8]
or dword [ebp - 0x14], eax
mov esi, 0x4949a4
push esi
lea ecx, [ebp - 0x10]
call fcn.004403c3
push esi
lea ecx, [ebp - 8]
call fcn.004403c3
push esi
lea ecx, [ebp - 0x18]
call fcn.004403c3
push esi
lea ecx, [ebp - 0x24]
call fcn.004403c3
xor esi, esi
cmp word [edi], 0x2a
push 2
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 1], 0
pop ebx
jne 0x46ec9e
lea eax, [ebp + 8]
add edi, ebx
push eax
mov byte [ebp - 1], 1
mov dword [ebp + 8], edi
call fcn.00430961
pop ecx
push 0x2c
pop edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004386e6
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00402c4d
mov eax, dword [ebp + 8]
cmp word [eax], di
je 0x46ecd0
xor esi, esi
inc esi
jmp 0x46eeeb
add dword [ebp + 8], ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044212f
push eax
call fcn.00444001
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x46ed23
add dword [ebp + 8], ebx
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044212f
push esi
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.004386e6
add esp, 0xc
push dword [ebp - 8]
call fcn.0040eec0
cmp dword [ebp - 0x58], esi
pop ecx
mov dword [ebp - 0x30], eax
je 0x46ed93
push dword [ebp - 8]
call fcn.0041121e
mov edi, eax
cmp edi, esi
pop ecx
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
je 0x46ed61
lea eax, [ebp + 0xc]
push eax
push edi
call dword [0x4acdb4]
lea eax, [ebp + 8]
push eax
push edi
call dword [0x4acdb8]
jmp 0x46ed70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
jne 0x46ed6e
xor eax, eax
inc eax
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0xd8]
push dword [ebp + 0xc]
push str._d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xd8]
jmp 0x46eedc
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x46edff
add dword [ebp + 8], ebx
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004387d6
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x46edff
add dword [ebp + 8], ebx
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044212f
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004386e6
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x46edff
add dword [ebp + 8], ebx
push edi
lea eax, [ebp - 0x28]
push eax
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044212f
push eax
call fcn.00438933
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00430961
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
je 0x46ee27
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00430961
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
jne 0x46ee4c
add dword [ebp + 8], ebx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
pop ecx
pop ecx
cmp dword [ebp - 0xc], esi
je 0x46ef17
movzx eax, byte [ebp - 0xc]
cmp eax, 1
mov edi, 0x7fffffff
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp + 8], 0xe
jne 0x46ee7f
mov dword [ebp + 8], 3
jmp 0x46ee92
cmp eax, ebx
jne 0x46ee88
mov dword [ebp + 8], ebx
jmp 0x46ee92
cmp eax, esi
jne 0x46ee92
mov eax, dword [ebp - 0x60]
mov dword [ebp + 8], eax
push ebx
push esi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
je 0x46eebd
lea eax, [ebp - 0x48]
push eax
push 0x442a51
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnumResourceNamesW]
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push dword [ebp - 0x3c]
sub edi, dword [ebp - 0x44]
lea eax, [ebp - 0x178]
push edi
push str._d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push eax
push dword [ebp - 0x10]
call fcn.00435749
lea ecx, [ebp - 0x24]
call fcn.0043092f
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 8]
call fcn.0043092f
lea ecx, [ebp - 0x10]
call fcn.0043092f
lea ecx, [ebp - 0x54]
call fcn.0043092f
mov eax, esi
jmp 0x46ef93
push dword [ebp - 0x30]
lea ecx, [ebp + 8]
call fcn.004403c3
cmp byte [ebp - 1], 0
je 0x46ef2d
mov eax, dword [ebp - 0x1c]
jmp 0x46ef36
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x150]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0046c644
lea ecx, [ebp + 8]
call fcn.0043092f
lea ecx, [ebp - 0x24]
call fcn.0043092f
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 8]
call fcn.0043092f
lea ecx, [ebp - 0x10]
call fcn.0043092f
lea ecx, [ebp - 0x54]
call fcn.0043092f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8