Function at 0x47906b
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
push edi
mov edi, ecx
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x20], edi
call fcn.0043f504
lea eax, [ebp + 8]
push eax
call fcn.004379a9
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
pop ecx
jne 0x4790b3
push ebx
push edi
call fcn.00410a6c
mov eax, dword [edi + 0x28]
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x4790b3
mov ebx, 0x80070057
jmp 0x47955e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0x2c
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call fcn.00405093
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], bx
call fcn.0043f1bd
add esp, 0x10
test al, al
je 0x479122
push str.32:INDATA
lea ecx, [ebp + 0xc]
call fcn.004457e4
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.0043d4e9
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0042ee8f
mov ebx, eax
lea ecx, [ebp + 0xc]
jmp 0x479559
push 5
lea eax, [ebp + 8]
push eax
push str._size
call fcn.0043f1bd
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edi, 0x80000000
jmp 0x479279
push 7
push dword [ebp + 8]
push str._center
call fcn.00438b38
add esp, 0xc
test al, al
je 0x479167
mov dword [ebp - 8], 0x40000000
jmp 0x47926f
push 6
push dword [ebp + 8]
push str._right
call fcn.00438b38
add esp, 0xc
test al, al
je 0x479189
mov dword [ebp - 8], 0x20000000
jmp 0x47926f
push 5
push dword [ebp + 8]
push str._left
call fcn.00438b38
add esp, 0xc
test al, al
je 0x4791a7
mov dword [ebp - 8], edi
jmp 0x47926f
push 8
push dword [ebp + 8]
push str._bupdate
call fcn.00438b38
add esp, 0xc
test al, al
je 0x4791c6
or byte [ebp - 0xb], 1
jmp 0x47926f
push 5
push dword [ebp + 8]
push str._real
call fcn.00438b38
add esp, 0xc
test al, al
je 0x4791e5
or byte [ebp - 0xb], 2
jmp 0x47926f
push 9
push dword [ebp + 8]
push str._numicong
call fcn.00438b38
add esp, 0xc
test al, al
je 0x479204
or dword [ebp - 0x10], 0x100011
jmp 0x47926f
push 8
push dword [ebp + 8]
push str._numicon
call fcn.00438b38
add esp, 0xc
test al, al
je 0x479223
or dword [ebp - 0x10], 0x100001
jmp 0x47926f
push 7
push dword [ebp + 8]
push str._numbmp
call fcn.00438b38
add esp, 0xc
test al, al
je 0x479242
or dword [ebp - 0x10], 0x100002
jmp 0x47926f
push 5
push dword [ebp + 8]
push str._num:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x47926f
add dword [ebp + 8], 0xa
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00448773
or byte [ebp - 0xe], 0x10
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x479145
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.004457e4
push esi
lea ecx, [ebp - 8]
call fcn.004457e4
push esi
lea ecx, [ebp - 0x14]
call fcn.004457e4
push esi
lea ecx, [ebp - 0x24]
call fcn.004457e4
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
push 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 1], bl
pop edi
jne 0x4792f1
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.004379a9
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe29
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00402d87
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x479323
xor ebx, ebx
inc ebx
jmp 0x47953e
add dword [ebp + 8], edi
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 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e524
push eax
call fcn.0044ff07
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x479376
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e524
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.0043fe29
add esp, 0xc
push dword [ebp - 8]
call fcn.0041113a
cmp dword [ebp - 0x60], ebx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x4793e6
push dword [ebp - 8]
call fcn.0041361c
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], ebx
je 0x4793b4
lea eax, [ebp - 0xc]
push eax
push esi
call dword [0x4bde30]
lea eax, [ebp + 0xc]
push eax
push esi
call dword [0x4bde34]
jmp 0x4793c3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x4793c1
xor eax, eax
inc eax
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]
lea eax, [ebp - 0xe8]
jmp 0x47952f
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x479452
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043ff19
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x479452
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e524
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0043fe29
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x479452
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x2c]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e524
push eax
call fcn.00440076
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.004379a9
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
je 0x47947a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043a0e5
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.004379a9
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
pop ecx
jne 0x47949f
add dword [ebp + 8], edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043a0e5
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x47956a
movzx eax, byte [ebp - 0x10]
cmp eax, 1
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 0x4794d2
mov dword [ebp + 0xc], 3
jmp 0x4794e5
cmp eax, edi
jne 0x4794db
mov dword [ebp + 0xc], edi
jmp 0x4794e5
cmp eax, ebx
jne 0x4794e5
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0xc], eax
push edi
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
je 0x479510
lea eax, [ebp - 0x3c]
push eax
push 0x447ee9
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]
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push eax
push dword [ebp - 0x18]
call fcn.0043cd78
lea ecx, [ebp - 0x24]
call fcn.00437960
lea ecx, [ebp - 0x14]
call fcn.00437960
lea ecx, [ebp - 8]
call fcn.00437960
lea ecx, [ebp - 0x18]
call fcn.00437960
lea ecx, [ebp - 0x54]
call fcn.00437960
mov eax, ebx
jmp 0x4795e5
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004457e4
cmp byte [ebp - 1], bl
je 0x47957f
mov eax, dword [ebp - 0x20]
jmp 0x479588
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.0047683b
lea ecx, [ebp - 0x1c]
call fcn.00437960
lea ecx, [ebp - 0x24]
call fcn.00437960
lea ecx, [ebp - 0x14]
call fcn.00437960
lea ecx, [ebp - 8]
call fcn.00437960
lea ecx, [ebp - 0x18]
call fcn.00437960
lea ecx, [ebp - 0x54]
call fcn.00437960
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8