Function at 0x478fb3
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 - 0x20], ebx
call fcn.0043f42c
lea eax, [ebp + 8]
push eax
call fcn.004378b6
xor edi, edi
cmp dword [ebp + 0xc], edi
pop ecx
jne 0x478ffb
push edi
push ebx
call fcn.004109b8
mov eax, dword [ebx + 0x28]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x478ffb
mov edi, 0x80070057
jmp 0x4794ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0x2c
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
call fcn.0043cf2c
mov esi, dword [ebp - 0x14]
mov ax, word [esi]
mov word [ebp - 0x28], ax
push 4
lea eax, [ebp + 8]
push eax
push str._gui
mov word [esi], di
call fcn.0043f0e5
add esp, 0x10
test al, al
je 0x47906a
push str.32:INDATA
lea ecx, [ebp + 0xc]
call fcn.00445746
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.0043d411
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0042edd5
mov edi, eax
lea ecx, [ebp + 0xc]
jmp 0x4794a6
push 5
lea eax, [ebp + 8]
push eax
push str._size
call fcn.0043f0e5
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edi, 0x80000000
jmp 0x4791b1
push 7
push ebx
push str._center
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4790ad
mov dword [ebp - 8], 0x40000000
jmp 0x4791a7
push 6
push ebx
push str._right
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4790cd
mov dword [ebp - 8], 0x20000000
jmp 0x4791a7
push 5
push ebx
push str._left
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4790e9
mov dword [ebp - 8], edi
jmp 0x4791a7
push 8
push ebx
push str._bupdate
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x479106
or byte [ebp - 0xb], 1
jmp 0x4791a7
push 5
push ebx
push str._real
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x479123
or byte [ebp - 0xb], 2
jmp 0x4791a7
push 9
push ebx
push str._numicong
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x479140
or dword [ebp - 0x10], 0x100011
jmp 0x4791a7
push 8
push ebx
push str._numicon
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x47915d
or dword [ebp - 0x10], 0x100001
jmp 0x4791a7
push 7
push ebx
push str._numbmp
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x47917a
or dword [ebp - 0x10], 0x100002
jmp 0x4791a7
push 5
push ebx
push str._num:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x4791a7
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
add ebx, 0xa
push eax
mov dword [ebp + 8], ebx
call fcn.004486b7
or byte [ebp - 0xe], 0x10
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
pop ecx
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x2d
je 0x47908d
mov ax, word [ebp - 0x28]
mov word [esi], ax
mov eax, dword [ebp - 8]
or dword [ebp - 0xc], eax
mov esi, 0x4a39d4
push esi
lea ecx, [ebp - 0x18]
call fcn.00445746
push esi
lea ecx, [ebp - 8]
call fcn.00445746
push esi
lea ecx, [ebp - 0x14]
call fcn.00445746
push esi
lea ecx, [ebp - 0x24]
call fcn.00445746
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp word [eax], 0x2a
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 1], bl
jne 0x479229
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.004378b6
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fd51
mov ecx, dword [ebp - 0x20]
add esp, 0xc
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00402db0
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x47948b
add dword [ebp + 8], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e4ae
push eax
call fcn.0044fe94
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x4792ac
add dword [ebp + 8], 2
push edi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e4ae
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.0043fd51
add esp, 0xc
push dword [ebp - 8]
call fcn.004110a0
cmp dword [ebp - 0x60], ebx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x47932c
push dword [ebp - 8]
call fcn.004135a0
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], ebx
je 0x4792ea
lea eax, [ebp - 0xc]
push eax
push esi
call dword [0x4bde30]
lea eax, [ebp + 0xc]
push eax
push esi
call dword [0x4bde34]
jmp 0x4792f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4792f6
mov eax, edi
mov ebx, eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xe8]
push dword [ebp - 0xc]
push str._d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x20]
add esp, 0x10
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x18]
call fcn.0043cc80
mov edi, ebx
jmp 0x47948b
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x479399
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe41
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x479399
add dword [ebp + 8], 2
push edi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e4ae
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0043fd51
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x479399
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x2c]
push eax
push edi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e4ae
push eax
call fcn.0043ff9e
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.004378b6
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
je 0x4793c1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439ff7
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.004378b6
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
jne 0x4793e7
add dword [ebp + 8], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439ff7
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x4794b7
movzx eax, byte [ebp - 0x10]
cmp eax, edi
mov esi, 0x7fffffff
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0xc], 0xe
jne 0x479419
mov dword [ebp + 0xc], 3
jmp 0x47942f
push 2
pop ecx
cmp eax, ecx
jne 0x479425
mov dword [ebp + 0xc], ecx
jmp 0x47942f
cmp eax, ebx
jne 0x47942f
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0xc], eax
push 2
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
je 0x47945b
lea eax, [ebp - 0x3c]
push eax
push 0x447e2d
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push edi
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]
mov ecx, dword [ebp - 0x20]
add esp, 0x10
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x18]
call fcn.0043cc80
xor edi, edi
lea ecx, [ebp - 0x24]
call fcn.00437884
lea ecx, [ebp - 0x14]
call fcn.00437884
lea ecx, [ebp - 8]
call fcn.00437884
lea ecx, [ebp - 0x18]
call fcn.00437884
lea ecx, [ebp - 0x54]
call fcn.00437884
mov eax, edi
jmp 0x479533
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00445746
cmp byte [ebp - 1], 0
je 0x4794cd
mov eax, dword [ebp - 0x20]
jmp 0x4794d6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x150]
push dword [ebp - 0xc]
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 - 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00476783
lea ecx, [ebp - 0x1c]
call fcn.00437884
lea ecx, [ebp - 0x24]
call fcn.00437884
lea ecx, [ebp - 0x14]
call fcn.00437884
lea ecx, [ebp - 8]
call fcn.00437884
lea ecx, [ebp - 0x18]
call fcn.00437884
lea ecx, [ebp - 0x54]
call fcn.00437884
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8