Function at 0x481950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570484
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5b8]
mov ecx, 0x16b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x59adb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x110], 0
push str.windowinit
mov ecx, dword [ebp + 8]
call fcn.0047bd42
movzx eax, al
test eax, eax
je 0x4819bb
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
call fcn.0047a1fe
push str.click
mov ecx, dword [ebp + 8]
call fcn.0047bd42
movzx eax, al
test eax, eax
je 0x481e6a
push str.ButtonUI1
mov esi, esp
lea eax, [ebp - 0x594]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x110]
or edx, 1
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x5ac]
call fcn.0047bd42
movzx eax, al
test eax, eax
jne 0x481aaf
push str.ButtonUI2
mov esi, esp
lea ecx, [ebp - 0x508]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x84]
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5b4], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x110]
or edx, 2
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x5b4]
call fcn.0047bd42
movzx eax, al
test eax, eax
jne 0x481aaf
mov dword [ebp - 0x5b8], 0
jmp 0x481ab9
mov dword [ebp - 0x5b8], 1
mov cl, byte [ebp - 0x5b8]
mov byte [ebp - 0x59d], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x110]
and edx, 2
je 0x481ae9
and dword [ebp - 0x110], 0xfffffffd
lea ecx, [ebp - 0x508]
call fcn.0047a91a
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x110]
and eax, 1
je 0x481b0d
and dword [ebp - 0x110], 0xfffffffe
lea ecx, [ebp - 0x594]
call fcn.0047a91a
movzx ecx, byte [ebp - 0x59d]
test ecx, ecx
je 0x481de1
push str.EditUI2
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0047a6cc
mov dword [ebp - 0x20], eax
push str.EditUI1
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0047a6cc
mov dword [ebp - 0x2c], eax
push str.ControlUI1
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0047a6cc
mov dword [ebp - 0x38], eax
mov esi, esp
lea eax, [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x110]
or edx, 4
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x5ac]
call fcn.0047a1b3
test eax, eax
je 0x481c0a
mov esi, esp
lea eax, [ebp - 0x3e4]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5b4], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x110]
or edx, 8
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x5b4]
call fcn.0047a1b3
cmp eax, 4
jl 0x481c0a
mov dword [ebp - 0x5b8], 0
jmp 0x481c14
mov dword [ebp - 0x5b8], 1
mov al, byte [ebp - 0x5b8]
mov byte [ebp - 0x479], al
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x110]
and ecx, 8
je 0x481c44
and dword [ebp - 0x110], 0xfffffff7
lea ecx, [ebp - 0x3e4]
call fcn.0047a91a
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x110]
and edx, 4
je 0x481c68
and dword [ebp - 0x110], 0xfffffffb
lea ecx, [ebp - 0x470]
call fcn.0047a91a
movzx eax, byte [ebp - 0x479]
test eax, eax
je 0x481c93
mov esi, esp
push 1
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc4]
call eax
cmp esi, esp
call fcn.0047d11f
jmp 0x481ddc
mov esi, esp
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x28]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x5ac]
call fcn.0047cb43
push eax
push 0x59cfc4
call fcn.0047c6bb
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x358]
call fcn.0047a91a
mov esi, esp
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x5ac]
call fcn.0047cb43
push eax
push 0x59d0f0
call fcn.0047c6bb
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.0047a91a
push 0x50
push 0x59d21c
mov eax, dword [0x59ce44]
push eax
call fcn.0047c7a6
add esp, 0xc
mov eax, dword [0x59ce4c]
imul eax, eax, 0x6c
mov ecx, dword [eax + 0x59ca70]
add ecx, 1
mov edx, dword [0x59ce4c]
imul edx, edx, 0x6c
mov dword [edx + 0x59ca70], ecx
push 0x59cf38
mov eax, dword [0x59ce44]
add eax, 0x70
push eax
mov ecx, dword [0x59ce44]
add ecx, 0xb
push ecx
call fcn.0047c4a9
add esp, 0xc
mov esi, esp
push 0
mov eax, dword [0x59ce40]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.0047d11f
mov esi, esp
push 0x576f18
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x2c]
call eax
cmp esi, esp
call fcn.0047d11f
jmp 0x481e65
push str.ButtonUI3
mov esi, esp
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x5ac]
call fcn.0047bd42
mov byte [ebp - 0x23d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0047a91a
movzx edx, byte [ebp - 0x23d]
test edx, edx
je 0x481e65
push 1
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
call fcn.0047bdec
jmp 0x481f25
push str.setfocus
mov ecx, dword [ebp + 8]
call fcn.0047bd42
movzx eax, al
test eax, eax
je 0x481f25
push str.EditUI1
mov esi, esp
lea eax, [ebp - 0x19c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x5ac]
call fcn.0047bd42
mov byte [ebp - 0x1a5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.0047a91a
movzx edx, byte [ebp - 0x1a5]
test edx, edx
je 0x481f25
push str.ControlUI1
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0047a6cc
mov dword [ebp - 0x44], eax
mov esi, esp
push 0
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc4]
call eax
cmp esi, esp
call fcn.0047d11f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x5b8
cmp ebp, esp
call fcn.0047d11f
mov esp, ebp
pop ebp
ret 4