Function at 0x4dec3e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [0x6854cc], 0
mov dword [0x6854d0], 0
mov dword [0x6854e0], 0
mov dword [0x6854e8], 0
mov dword [0x6854d4], 0x3c
cmp dword [0x68b36c], 1
jne 0x4dee3d
mov dword [0x6854d8], 0
mov dword [0x6854d4], 0x3c
fld dword [0x68d6cc]
fstp dword [ebp - 0xc]
cmp dword [0x68b370], 1
jne 0x4decd3
fld dword [0x68d6d0]
fstp dword [ebp - 0xc]
cmp dword [0x685554], 0x556
jg 0x4decd3
fld dword [0x68d6d4]
fstp dword [ebp - 0xc]
cmp eax, 1
jne 0x4dece1
fld dword [0x68d6d8]
fstp dword [ebp - 0xc]
mov eax, dword [0x685554]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov eax, dword [0x685558]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov esi, eax
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov edx, eax
cmp ebx, 0x780
setle al
movzx eax, al
cmp eax, 0
jne 0x4ded68
cmp edi, 0x438
setle al
movzx eax, al
cmp eax, 0
je 0x4dee3b
mov eax, dword [0x685554]
cmp eax, 0x780
sete al
movzx eax, al
cmp eax, 0
je 0x4ded96
mov eax, dword [0x685558]
cmp eax, 0x438
sete al
movzx eax, al
cmp eax, 0
je 0x4deda9
mov eax, dword [0x68b370]
cmp eax, 0
sete al
movzx eax, al
cmp eax, 0
je 0x4deddc
mov dword [0x685500], 1
mov dword [0x6854f4], 1
sub ebx, esi
sub edi, edx
mov dword [0x6854e0], 1
mov dword [0x6854f4], 1
jmp 0x4dee39
cmp dword [0x68b370], 1
jne 0x4dedf5
mov dword [0x6854f4], 1
sub ebx, esi
sub edi, edx
jmp 0x4dee39
mov eax, dword [0x685554]
cmp eax, 0x780
setge al
movzx eax, al
cmp eax, 0
je 0x4dee1a
mov eax, dword [0x685558]
cmp eax, 0x438
setg al
movzx eax, al
cmp eax, 0
je 0x4dee2b
mov dword [0x6854f4], 1
jmp 0x4dee39
mov dword [0x6854f4], 1
sub ebx, esi
sub edi, edx
jmp 0x4dee3b
jmp 0x4dee6e
cmp dword [0x68b370], 1
jne 0x4dee50
mov ebx, 0x400
mov edi, 0x300
mov dword [0x6854d8], 0x20
mov dword [0x6854d4], 0x3c
mov dword [0x6854f4], 0
cmp dword [0x68553c], 1
jne 0x4df297
cmp dword [0x68b36c], 1
jne 0x4df072
fld dword [0x68d6dc]
fstp dword [0x68550c]
fld dword [0x68d6e0]
fstp dword [0x685510]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d6e4]
fstp dword [0x685514]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d6e8]
fstp dword [0x685518]
mov eax, dword [0x6854ec]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x68d6ec]
fstp dword [0x68551c]
mov eax, dword [0x6854f0]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x68d6f0]
fstp dword [0x685520]
fld1
fstp dword [0x685524]
fld1
fstp dword [0x685528]
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
mov edi, 0x4b0
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x68d6f4]
fstp dword [ebp - 8]
fldz
fld dword [ebp - 8]
fucompp
fnstsw ax
sahf
setne al
movzx eax, al
cmp eax, 0
jne 0x4def44
fld dword [0x68d6f8]
fstp dword [ebp - 8]
mov dword [0x685544], 0
mov dword [0x685548], 0
push 0x68d6fc
push 0x68d720
push dword [0x6854fc]
call fcn.004c1220
add esp, 4
push eax
push 0x68d748
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
fld dword [0x6854fc]
fld dword [0x68d79c]
fxch st(1)
fucompp
fnstsw ax
sahf
setb al
movzx eax, al
cmp eax, 0
jne 0x4df04a
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d7a0]
fstp dword [0x68552c]
fld dword [ebp - 8]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [0x685530]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fsub dword [ebp - 8]
fmul dword [0x68d7a4]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov dword [0x685548], eax
push dword [ebp - 8]
call fcn.004c1220
add esp, 4
push eax
push 0x68d7a8
push dword [0x685548]
call fcn.004c1310
add esp, 4
push eax
push 0x68d7cc
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
jmp 0x4df06d
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d820]
fstp dword [0x68552c]
fld dword [ebp - 8]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [0x685530]
jmp 0x4df292
fld dword [0x68d824]
fstp dword [0x68550c]
fld dword [0x68d828]
fstp dword [0x685510]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d82c]
fstp dword [0x685514]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d830]
fstp dword [0x685518]
mov eax, dword [0x6854ec]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x68d834]
fstp dword [0x68551c]
mov eax, dword [0x6854f0]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x68d838]
fstp dword [0x685520]
fld1
fstp dword [0x685524]
fld1
fstp dword [0x685528]
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
fld dword [0x68d83c]
fstp dword [ebp - 0x10]
cmp dword [0x685558], 0x438
jle 0x4df127
fld dword [0x68d840]
mov eax, dword [0x685558]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x68d844]
fmul dword [ebp - 0x10]
fstp dword [ebp - 4]
fldz
fld dword [ebp - 4]
fucompp
fnstsw ax
sahf
setne al
movzx eax, al
cmp eax, 0
jne 0x4df157
fld dword [0x68d848]
fstp dword [ebp - 4]
fld dword [ebp - 4]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov dword [0x6854d0], eax
mov dword [0x685544], 0
mov dword [0x685548], 0
fld dword [0x6854fc]
fld dword [0x68d84c]
fxch st(1)
fucompp
fnstsw ax
sahf
setbe al
movzx eax, al
cmp eax, 0
jne 0x4df26f
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d850]
fstp dword [0x68552c]
fld dword [ebp - 4]
fdiv dword [0x68d854]
fstp dword [0x685530]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fsub dword [ebp - 4]
fmul dword [0x68d858]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov dword [0x685548], eax
push 0x68d85c
push 0x68d870
push dword [ebp - 0x10]
call fcn.004c1220
add esp, 4
push eax
push 0x68d898
push dword [ebp - 4]
call fcn.004c1220
add esp, 4
push eax
push 0x68d7a8
push dword [0x685548]
call fcn.004c1310
add esp, 4
push eax
push 0x68d7cc
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
jmp 0x4df292
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d8c8]
fstp dword [0x68552c]
fld dword [ebp - 4]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [0x685530]
jmp 0x4df602
cmp dword [0x68b36c], 1
jne 0x4df4ce
cmp dword [0x685500], 1
jne 0x4df3cd
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d8cc]
fstp dword [0x68550c]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d8d0]
fstp dword [0x685510]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d8d4]
fstp dword [0x685514]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d8d8]
fstp dword [0x685518]
fld1
fstp dword [0x68551c]
fld1
fstp dword [0x685520]
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
cmp ebx, 0x780
jne 0x4df326
jmp 0x4df3b4
cmp dword [0x686a5c], 0
jne 0x4df3b4
cmp ebx, 0x780
jl 0x4df374
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d8dc]
fstp dword [0x68552c]
push dword [0x68552c]
call fcn.004c1220
add esp, 4
push eax
push 0x68d8e0
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
jmp 0x4df386
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d920]
fstp dword [0x68552c]
cmp edi, 0x438
jl 0x4df3a2
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d924]
fstp dword [0x685530]
jmp 0x4df3b4
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d928]
fstp dword [0x685530]
mov dword [0x685544], 0
mov dword [0x685548], 0
jmp 0x4df4c9
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d92c]
fstp dword [0x68550c]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d930]
fstp dword [0x685510]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d934]
fstp dword [0x685514]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d938]
fstp dword [0x685518]
fld1
fstp dword [0x68551c]
fld1
fstp dword [0x685520]
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
cmp ebx, 0x780
sete al
movzx eax, al
cmp eax, 0
je 0x4df452
cmp edi, 0x438
sete al
movzx eax, al
cmp eax, 0
je 0x4df459
jmp 0x4df4b5
cmp ebx, 0x780
jl 0x4df475
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d93c]
fstp dword [0x68552c]
jmp 0x4df487
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d940]
fstp dword [0x68552c]
cmp edi, 0x438
jl 0x4df4a3
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d944]
fstp dword [0x685530]
jmp 0x4df4b5
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d948]
fstp dword [0x685530]
mov dword [0x685544], 0
mov dword [0x685548], 0
jmp 0x4df602
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d94c]
fstp dword [0x68550c]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d950]
fstp dword [0x685510]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d954]
fstp dword [0x685514]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d958]
fstp dword [0x685518]
fld1
fstp dword [0x68551c]
fld1
fstp dword [0x685520]
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
cmp ebx, 0x780
sete al
movzx eax, al
cmp eax, 0
je 0x4df553
cmp edi, 0x438
sete al
movzx eax, al
cmp eax, 0
je 0x4df56d
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
jmp 0x4df5ee
cmp ebx, 0x780
jl 0x4df5ae
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d95c]
fstp dword [0x68552c]
push dword [0x68552c]
call fcn.004c1220
add esp, 4
push eax
push 0x68d960
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
jmp 0x4df5c0
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d98c]
fstp dword [0x68552c]
cmp edi, 0x438
jl 0x4df5dc
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d990]
fstp dword [0x685530]
jmp 0x4df5ee
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d994]
fstp dword [0x685530]
mov dword [0x685544], 0
mov dword [0x685548], 0
xor eax, eax
cmp eax, 0
je 0x4df63d
fld1
fstp dword [0x68552c]
fld1
fstp dword [0x685530]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68d998]
fstp dword [0x685534]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x68d99c]
fstp dword [0x685538]
push dword [0x685530]
call fcn.004c1220
add esp, 4
push eax
push 0x68d9a0
push dword [0x68552c]
call fcn.004c1220
add esp, 4
push eax
push 0x68d9c0
push dword [0x685510]
call fcn.004c1220
add esp, 4
push eax
push 0x68d9e0
push dword [0x68550c]
call fcn.004c1220
add esp, 4
push eax
push 0x68da04
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x68da20
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x68da4c
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
mov dword [0x6854c4], ebx
mov dword [0x6854c8], edi
push dword [0x6854c8]
call fcn.004c1310
add esp, 4
push eax
push 0x68da9c
push dword [0x6854c4]
call fcn.004c1310
add esp, 4
push eax
push 0x68dab0
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
cmp dword [0x6854cc], 0
jne 0x4df77c
mov dword [0x6854cc], ebx
cmp dword [0x6854d0], 0
jne 0x4df78b
mov dword [0x6854d0], edi
cmp dword [0x6854f4], 0
jne 0x4df94d
push dword [0x6854d4]
push dword [0x6854d8]
push edi
push ebx
call fcn.006550ee
add esp, 0x10
cmp eax, 0
jne 0x4df94d
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x68db04
call fcn.004e9b5f
add esp, 4
push dword [0x6854d4]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push dword [0x6854d8]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x68dbec
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0
push 0
push edi
push ebx
call fcn.006550ee
add esp, 0x10
cmp eax, 0
jne 0x4df94d
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x68dc34
call fcn.004e9b5f
add esp, 4
push dword [0x6854d4]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push dword [0x6854d8]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x68dd1c
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
mov eax, 0
jmp 0x4dfcb1
push 0
push dword [0x6854d4]
push dword [0x6854d8]
push edi
push ebx
call fcn.006555fb
add esp, 0x14
mov esi, eax
xor eax, eax
cmp eax, 0
je 0x4df980
push 0x44870000
push 0x44f00000
call fcn.0064ab71
add esp, 8
cmp esi, 0x671c40
jne 0x4dfb2d
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x68dd8c
call fcn.0065b8f1
add esp, 4
push dword [0x6854d4]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push dword [0x6854d8]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x68dbec
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0
push 0
push 0
push edi
push ebx
call fcn.006555fb
add esp, 0x14
mov esi, eax
cmp esi, 0x671c40
jne 0x4dfb2d
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0x68de60
call fcn.0065b8f1
add esp, 4
push 0x68dbdc
push dword [0x6854d8]
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x68dbec
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
push 0x684c48
call fcn.004e9b5f
add esp, 4
push 0
push 0x68df34
call fcn.006561e4
add esp, 8
mov eax, 0
jmp 0x4dfcb1
call fcn.004eadb2
mov eax, dword [0x6854c4]
cmp eax, 0x780
setle al
movzx eax, al
cmp eax, 0
jne 0x4dfb57
mov eax, dword [0x6854c8]
cmp eax, 0x438
setle al
movzx eax, al
cmp eax, 0
je 0x4dfb72
mov eax, dword [0x6854c4]
mov dword [0x685504], eax
mov eax, dword [0x6854c8]
mov dword [0x685508], eax
jmp 0x4dfb86
mov dword [0x685504], 0x780
mov dword [0x685508], 0x438
cmp dword [ebp + 0x10], 1
jne 0x4dfbbe
mov eax, 0x671c40
inc dword [eax + 4]
mov esi, eax
mov eax, dword [0x6862b0]
dec dword [eax + 4]
jne 0x4dfba9
push eax
call fcn.004c1de0
add esp, 4
mov dword [0x6862b0], esi
mov dword [0x6862b4], 0
call fcn.00578d6b
mov dword [0x68b364], 0x3c0
mov dword [0x68b368], 0x21c
cmp dword [0x68b36c], 1
jne 0x4dfcaa
push dword [0x68b370]
call fcn.004c1310
add esp, 4
push eax
push 0x68dfa0
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x68dbdc
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x68dfd4
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e9b5f
add esp, 4
call sub.USER32.DLL_GetActiveWindow
mov dword [0x68b30c], eax
push 0xfffffffffffffff0
push dword [0x68b30c]
call sub.USER32.DLL_GetWindowLongA
or eax, 0x20000
or eax, 0x10000
push eax
push 0xfffffffffffffff0
push dword [0x68b30c]
call sub.USER32.DLL_SetWindowLongA
push dword [0x68b30c]
call sub.USER32.DLL_DrawMenuBar
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
push 0x65
push eax
call sub.USER32.DLL_LoadIconA
push eax
push 0xfffffffffffffff2
push dword [0x68b30c]
call sub.USER32.DLL_SetClassLongA
push 1
push dword [0x68b30c]
call sub.USER32.DLL_ShowWindow
mov eax, 1
jmp 0x4dfcb1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret