Function at 0x54348c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
test dl, dl
je 0x5434a0
add esp, 0xfffffff0
call fcn.004046e8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
push 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004786b0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00479cc0
mov edx, 0xffffff
mov eax, dword [ebp - 4]
call fcn.0045fa9c
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.00479fbc
mov dx, 0xfff5
mov eax, dword [ebp - 4]
call fcn.0045fb08
mov eax, dword [ebp - 4]
mov byte [eax + 0x22d], 1
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4eb8bc]
call fcn.004ec8ec
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2fc], ebx
mov eax, ebx
xor edx, edx
call fcn.004eca10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, 0x64
call fcn.004eca64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x543aac
imul eax, dword [ebp + 0xc], 0x3e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x300], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x304], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x319], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 8]
mov byte [eax + 0x318], dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f8], 0
cmp byte [ebp + 0x10], 0
je 0x5435ae
mov eax, dword [ebp + 0x14]
call fcn.004e1d0c
test al, al
je 0x543598
mov eax, dword [0x56a2cc]
cmp dword [eax], 0
je 0x543598
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f8], 2
jmp 0x5435ae
mov eax, dword [ebp + 0x14]
call fcn.004e1d7c
test al, al
je 0x5435ae
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f8], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 2
je 0x5435cf
xor edx, edx
mov eax, 5
call fcn.00412e84
mov edx, dword [ebp - 4]
mov byte [edx + 0x2f9], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 2
jne 0x543659
mov eax, dword [ebp + 0x14]
call fcn.00435a34
push eax
mov eax, dword [ebp + 0x14]
call fcn.00435a4c
push eax
mov eax, dword [0x56ab08]
mov eax, dword [eax]
call fcn.0047d944
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x543606
adc eax, 0
push eax
mov eax, dword [0x56ab08]
mov eax, dword [eax]
call fcn.0047d950
push eax
mov eax, dword [ebp + 0x14]
call fcn.00435a34
pop edx
sub edx, eax
sar edx, 1
jns 0x543626
adc edx, 0
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
call fcn.004e2458
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x308], ebx
mov eax, ebx
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004ed364
jmp 0x5439aa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f9], 0
je 0x54375f
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5216a0]
call fcn.00521d4c
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045f06c
xor edx, edx
mov eax, ebx
call fcn.0045f090
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 1
sete dl
mov eax, ebx
call fcn.00522020
mov eax, dword [ebp - 4]
mov dword [ebx + 0x234], eax
mov dword [ebx + 0x230], 0x543c54
mov dx, 0xfff5
mov eax, ebx
call fcn.0045fb08
mov eax, dword [ebx + 0x208]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebx + 0x48]
push eax
mov esi, dword [ebx + 0x4c]
push esi
mov eax, dword [0x56ab08]
mov eax, dword [eax]
call fcn.0047d944
sub eax, esi
sar eax, 1
jns 0x5436f5
adc eax, 0
push eax
mov eax, dword [0x56ab08]
mov eax, dword [eax]
call fcn.0047d950
mov edx, eax
sub edx, dword [ebx + 0x48]
sar edx, 1
jns 0x54370e
adc edx, 0
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0047d128
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0047d13c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 1
jne 0x5439aa
push 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
call fcn.004e51e4
push eax
mov eax, dword [ebp - 4]
call fcn.0046611c
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x5439aa
mov eax, dword [ebp + 0x14]
call fcn.00435a34
mov ebx, eax
mov eax, dword [ebp + 0x14]
call fcn.00435a4c
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 0
jne 0x5437a1
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
call fcn.004e1c50
test al, al
je 0x5437a1
mov eax, ebx
cdq
idiv dword [ebp - 0x10]
mov ebx, eax
mov eax, esi
cdq
idiv dword [ebp - 0x10]
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004660f8
push 0x50
push 0
push 0
push 0xffffd8f0
push 0xffffd8f0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0046611c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 4]
call fcn.0046611c
push eax
call sub.user32.dll_ShowWindow
push ebx
push esi
mov eax, dword [0x56ab08]
mov eax, dword [eax]
call fcn.0047d944
sub eax, esi
sar eax, 1
jns 0x5437f0
adc eax, 0
push eax
mov eax, dword [0x56ab08]
mov eax, dword [eax]
call fcn.0047d950
mov edx, eax
sub edx, ebx
sar edx, 1
jns 0x543808
adc edx, 0
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov dl, 1
mov eax, dword [0x4d0a18]
call fcn.004d13a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x30c], eax
mov dl, 1
mov eax, dword [0x4d0a18]
call fcn.004d13a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x310], eax
mov dl, 1
mov eax, dword [0x4d0a18]
call fcn.004d13a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x314], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov dl, 1
call fcn.004d2c10
mov dl, 1
mov eax, dword [0x4311a4]
call fcn.00437a78
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x54397b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046611c
lea edx, [ebp - 0x20]
call fcn.004e74d4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004e5d0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
call fcn.00438048
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00432a80
mov eax, dword [ebp - 0xc]
call fcn.00438048
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.00432964
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00420028
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00438048
pop edx
call fcn.00433010
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00420028
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00438048
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 0xc]
pop ecx
call fcn.004e2a54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543982
mov eax, dword [ebp - 0xc]
call fcn.00404370
ret
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x5439c2
call fcn.00404740
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10