Function at 0x48d509
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.00447166
lea eax, [ebp + 8]
push eax
call fcn.0043e611
xor edi, edi
cmp dword [ebp + 0xc], edi
pop ecx
jne 0x48d551
push edi
push ebx
call fcn.00412996
mov eax, dword [ebx + 0x28]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x48d551
mov edi, 0x80070057
jmp 0x48da2b
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.00405b85
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.00446de5
add esp, 0x10
test al, al
je 0x48d5c0
push str.32:INDATA
lea ecx, [ebp + 0xc]
call fcn.0044e66d
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00444e9e
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004221d9
mov edi, eax
lea ecx, [ebp + 0xc]
jmp 0x48da26
push 5
lea eax, [ebp + 8]
push eax
push str._size
call fcn.00446de5
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ebx, 0x80000000
jmp 0x48d741
push 7
push edi
push str._center
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d603
mov dword [ebp - 0x10], 0x40000000
jmp 0x48d737
push 6
push edi
push str._right
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d623
mov dword [ebp - 0x10], 0x20000000
jmp 0x48d737
push 5
push edi
push str._left
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d63f
mov dword [ebp - 0x10], ebx
jmp 0x48d737
push 8
push edi
push str._bupdate
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d65c
or byte [ebp - 7], 1
jmp 0x48d737
push 5
push edi
push str._real
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d679
or byte [ebp - 7], 2
jmp 0x48d737
push 7
push edi
push 0x4c9bb0
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d696
or byte [ebp - 7], 4
jmp 0x48d737
push 4
push edi
push str._tab
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d6b3
or byte [ebp - 7], 8
jmp 0x48d737
push 9
push edi
push str._numicong
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d6d0
or dword [ebp - 4], 0x100011
jmp 0x48d737
push 8
push edi
push str._numicon
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d6ed
or dword [ebp - 4], 0x100001
jmp 0x48d737
push 7
push edi
push str._numbmp
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x48d70a
or dword [ebp - 4], 0x100002
jmp 0x48d737
push 5
push edi
push str._num:
call fcn.0043fac4
add esp, 0xc
test al, al
je 0x48d737
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
add edi, 0xa
push eax
mov dword [ebp + 8], edi
call fcn.00451a75
or byte [ebp - 2], 0x10
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00405b6e
pop ecx
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
je 0x48d5e3
mov ax, word [ebp - 0x24]
mov word [esi], ax
mov eax, dword [ebp - 0x10]
or dword [ebp - 8], eax
mov esi, 0x4c0a1c
push esi
lea ecx, [ebp - 0x18]
call fcn.0044e66d
push esi
lea ecx, [ebp - 0x10]
call fcn.0044e66d
push esi
lea ecx, [ebp - 0x14]
call fcn.0044e66d
push esi
lea ecx, [ebp - 0x20]
call fcn.0044e66d
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 0x48d7bc
add dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 9], 1
call fcn.0043e611
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00447c46
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00402ecb
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x48d7ee
xor edi, edi
inc edi
jmp 0x48da0b
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.004589f9
push eax
call fcn.004519c5
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x48d841
add dword [ebp + 8], ebx
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.004589f9
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00447c46
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0041310a
cmp dword [ebp - 0x60], edi
pop ecx
mov dword [ebp - 0x1c], eax
je 0x48d8b3
push edi
push dword [ebp - 0x10]
call fcn.00415984
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], edi
je 0x48d881
lea eax, [ebp - 4]
push eax
push esi
call dword [0x4dbf0c]
lea eax, [ebp + 0xc]
push eax
push esi
call dword [0x4dbf10]
jmp 0x48d890
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x48d88e
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 0x48d9fc
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x48d91f
add dword [ebp + 8], ebx
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00447d36
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x48d91f
add dword [ebp + 8], ebx
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.004589f9
push edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00447c46
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x48d91f
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.004589f9
push eax
call fcn.00447eda
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0043e611
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
je 0x48d947
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00441162
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0043e611
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
jne 0x48d96c
add dword [ebp + 8], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00441162
pop ecx
pop ecx
cmp dword [ebp - 4], edi
je 0x48da37
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 0x48d99f
mov dword [ebp + 0xc], 3
jmp 0x48d9b2
cmp eax, ebx
jne 0x48d9a8
mov dword [ebp + 0xc], ebx
jmp 0x48d9b2
cmp eax, edi
jne 0x48d9b2
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 0x48d9dd
lea eax, [ebp - 0x3c]
push eax
push 0x4510c8
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.0044451e
lea ecx, [ebp - 0x20]
call fcn.0043e679
lea ecx, [ebp - 0x14]
call fcn.0043e679
lea ecx, [ebp - 0x10]
call fcn.0043e679
lea ecx, [ebp - 0x18]
call fcn.0043e679
lea ecx, [ebp - 0x54]
call fcn.0043e679
mov eax, edi
jmp 0x48dab3
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.0044e66d
cmp byte [ebp - 9], 0
je 0x48da4d
mov eax, dword [ebp - 0x28]
jmp 0x48da56
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.0048c821
lea ecx, [ebp - 0x1c]
call fcn.0043e679
lea ecx, [ebp - 0x20]
call fcn.0043e679
lea ecx, [ebp - 0x14]
call fcn.0043e679
lea ecx, [ebp - 0x10]
call fcn.0043e679
lea ecx, [ebp - 0x18]
call fcn.0043e679
lea ecx, [ebp - 0x54]
call fcn.0043e679
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8