Function at 0x4dcf13
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 [0x68133c], 0
mov dword [0x681340], 0
mov dword [0x681350], 0
mov dword [0x681358], 0
mov dword [0x681344], 0x3c
cmp dword [0x6871a4], 1
jne 0x4dd112
mov dword [0x681348], 0
mov dword [0x681344], 0x3c
fld dword [0x6887dc]
fstp dword [ebp - 0xc]
cmp dword [0x6871a8], 1
jne 0x4dcfa8
fld dword [0x6887e0]
fstp dword [ebp - 0xc]
cmp dword [0x6813c4], 0x556
jg 0x4dcfa8
fld dword [0x6887e4]
fstp dword [ebp - 0xc]
cmp eax, 1
jne 0x4dcfb6
fld dword [0x6887e8]
fstp dword [ebp - 0xc]
mov eax, dword [0x6813c4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
add esp, 8
mov eax, dword [0x6813c8]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
add esp, 8
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
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.0065d35c
add esp, 8
mov edx, eax
cmp ebx, 0x780
setle al
movzx eax, al
cmp eax, 0
jne 0x4dd03d
cmp edi, 0x438
setle al
movzx eax, al
cmp eax, 0
je 0x4dd110
mov eax, dword [0x6813c4]
cmp eax, 0x780
sete al
movzx eax, al
cmp eax, 0
je 0x4dd06b
mov eax, dword [0x6813c8]
cmp eax, 0x438
sete al
movzx eax, al
cmp eax, 0
je 0x4dd07e
mov eax, dword [0x6871a8]
cmp eax, 0
sete al
movzx eax, al
cmp eax, 0
je 0x4dd0b1
mov dword [0x681370], 1
mov dword [0x681364], 1
sub ebx, esi
sub edi, edx
mov dword [0x681350], 1
mov dword [0x681364], 1
jmp 0x4dd10e
cmp dword [0x6871a8], 1
jne 0x4dd0ca
mov dword [0x681364], 1
sub ebx, esi
sub edi, edx
jmp 0x4dd10e
mov eax, dword [0x6813c4]
cmp eax, 0x780
setge al
movzx eax, al
cmp eax, 0
je 0x4dd0ef
mov eax, dword [0x6813c8]
cmp eax, 0x438
setg al
movzx eax, al
cmp eax, 0
je 0x4dd100
mov dword [0x681364], 1
jmp 0x4dd10e
mov dword [0x681364], 1
sub ebx, esi
sub edi, edx
jmp 0x4dd110
jmp 0x4dd143
cmp dword [0x6871a8], 1
jne 0x4dd125
mov ebx, 0x400
mov edi, 0x300
mov dword [0x681348], 0x20
mov dword [0x681344], 0x3c
mov dword [0x681364], 0
cmp dword [0x6813ac], 1
jne 0x4dd56c
cmp dword [0x6871a4], 1
jne 0x4dd347
fld dword [0x6887ec]
fstp dword [0x68137c]
fld dword [0x6887f0]
fstp dword [0x681380]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x6887f4]
fstp dword [0x681384]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x6887f8]
fstp dword [0x681388]
mov eax, dword [0x68135c]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x6887fc]
fstp dword [0x68138c]
mov eax, dword [0x681360]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x688800]
fstp dword [0x681390]
fld1
fstp dword [0x681394]
fld1
fstp dword [0x681398]
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
mov edi, 0x4b0
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x688804]
fstp dword [ebp - 8]
fldz
fld dword [ebp - 8]
fucompp
fnstsw ax
sahf
setne al
movzx eax, al
cmp eax, 0
jne 0x4dd219
fld dword [0x688808]
fstp dword [ebp - 8]
mov dword [0x6813b4], 0
mov dword [0x6813b8], 0
push 0x68880c
push 0x688830
push dword [0x68136c]
call fcn.004c1220
add esp, 4
push eax
push 0x688858
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.004e7d92
add esp, 4
fld dword [0x68136c]
fld dword [0x6888ac]
fxch st(1)
fucompp
fnstsw ax
sahf
setb al
movzx eax, al
cmp eax, 0
jne 0x4dd31f
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x6888b0]
fstp dword [0x68139c]
fld dword [ebp - 8]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [0x6813a0]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fsub dword [ebp - 8]
fmul dword [0x6888b4]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
add esp, 8
mov dword [0x6813b8], eax
push dword [ebp - 8]
call fcn.004c1220
add esp, 4
push eax
push 0x6888b8
push dword [0x6813b8]
call fcn.004c1310
add esp, 4
push eax
push 0x6888dc
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.004e7d92
add esp, 4
jmp 0x4dd342
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688930]
fstp dword [0x68139c]
fld dword [ebp - 8]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [0x6813a0]
jmp 0x4dd567
fld dword [0x688934]
fstp dword [0x68137c]
fld dword [0x688938]
fstp dword [0x681380]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x68893c]
fstp dword [0x681384]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688940]
fstp dword [0x681388]
mov eax, dword [0x68135c]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x688944]
fstp dword [0x68138c]
mov eax, dword [0x681360]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x688948]
fstp dword [0x681390]
fld1
fstp dword [0x681394]
fld1
fstp dword [0x681398]
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
fld dword [0x68894c]
fstp dword [ebp - 0x10]
cmp dword [0x6813c8], 0x438
jle 0x4dd3fc
fld dword [0x688950]
mov eax, dword [0x6813c8]
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 [0x688954]
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 0x4dd42c
fld dword [0x688958]
fstp dword [ebp - 4]
fld dword [ebp - 4]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
add esp, 8
mov dword [0x681340], eax
mov dword [0x6813b4], 0
mov dword [0x6813b8], 0
fld dword [0x68136c]
fld dword [0x68895c]
fxch st(1)
fucompp
fnstsw ax
sahf
setbe al
movzx eax, al
cmp eax, 0
jne 0x4dd544
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688960]
fstp dword [0x68139c]
fld dword [ebp - 4]
fdiv dword [0x688964]
fstp dword [0x6813a0]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fsub dword [ebp - 4]
fmul dword [0x688968]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
add esp, 8
mov dword [0x6813b8], eax
push 0x68896c
push 0x688980
push dword [ebp - 0x10]
call fcn.004c1220
add esp, 4
push eax
push 0x6889a8
push dword [ebp - 4]
call fcn.004c1220
add esp, 4
push eax
push 0x6888b8
push dword [0x6813b8]
call fcn.004c1310
add esp, 4
push eax
push 0x6888dc
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.004e7d92
add esp, 4
jmp 0x4dd567
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x6889d8]
fstp dword [0x68139c]
fld dword [ebp - 4]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdivp st(1)
fstp dword [0x6813a0]
jmp 0x4dd8d7
cmp dword [0x6871a4], 1
jne 0x4dd7a3
cmp dword [0x681370], 1
jne 0x4dd6a2
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x6889dc]
fstp dword [0x68137c]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x6889e0]
fstp dword [0x681380]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x6889e4]
fstp dword [0x681384]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x6889e8]
fstp dword [0x681388]
fld1
fstp dword [0x68138c]
fld1
fstp dword [0x681390]
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
cmp ebx, 0x780
jne 0x4dd5fb
jmp 0x4dd689
cmp dword [0x6828b8], 0
jne 0x4dd689
cmp ebx, 0x780
jl 0x4dd649
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x6889ec]
fstp dword [0x68139c]
push dword [0x68139c]
call fcn.004c1220
add esp, 4
push eax
push 0x6889f0
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
jmp 0x4dd65b
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a30]
fstp dword [0x68139c]
cmp edi, 0x438
jl 0x4dd677
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a34]
fstp dword [0x6813a0]
jmp 0x4dd689
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a38]
fstp dword [0x6813a0]
mov dword [0x6813b4], 0
mov dword [0x6813b8], 0
jmp 0x4dd79e
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a3c]
fstp dword [0x68137c]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a40]
fstp dword [0x681380]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a44]
fstp dword [0x681384]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a48]
fstp dword [0x681388]
fld1
fstp dword [0x68138c]
fld1
fstp dword [0x681390]
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
cmp ebx, 0x780
sete al
movzx eax, al
cmp eax, 0
je 0x4dd727
cmp edi, 0x438
sete al
movzx eax, al
cmp eax, 0
je 0x4dd72e
jmp 0x4dd78a
cmp ebx, 0x780
jl 0x4dd74a
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a4c]
fstp dword [0x68139c]
jmp 0x4dd75c
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a50]
fstp dword [0x68139c]
cmp edi, 0x438
jl 0x4dd778
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a54]
fstp dword [0x6813a0]
jmp 0x4dd78a
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a58]
fstp dword [0x6813a0]
mov dword [0x6813b4], 0
mov dword [0x6813b8], 0
jmp 0x4dd8d7
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a5c]
fstp dword [0x68137c]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a60]
fstp dword [0x681380]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a64]
fstp dword [0x681384]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688a68]
fstp dword [0x681388]
fld1
fstp dword [0x68138c]
fld1
fstp dword [0x681390]
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
cmp ebx, 0x780
sete al
movzx eax, al
cmp eax, 0
je 0x4dd828
cmp edi, 0x438
sete al
movzx eax, al
cmp eax, 0
je 0x4dd842
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
jmp 0x4dd8c3
cmp ebx, 0x780
jl 0x4dd883
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a6c]
fstp dword [0x68139c]
push dword [0x68139c]
call fcn.004c1220
add esp, 4
push eax
push 0x688a70
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
jmp 0x4dd895
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688a9c]
fstp dword [0x68139c]
cmp edi, 0x438
jl 0x4dd8b1
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688aa0]
fstp dword [0x6813a0]
jmp 0x4dd8c3
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688aa4]
fstp dword [0x6813a0]
mov dword [0x6813b4], 0
mov dword [0x6813b8], 0
xor eax, eax
cmp eax, 0
je 0x4dd912
fld1
fstp dword [0x68139c]
fld1
fstp dword [0x6813a0]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x688aa8]
fstp dword [0x6813a4]
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fdiv dword [0x688aac]
fstp dword [0x6813a8]
push dword [0x6813a0]
call fcn.004c1220
add esp, 4
push eax
push 0x688ab0
push dword [0x68139c]
call fcn.004c1220
add esp, 4
push eax
push 0x688ad0
push dword [0x681380]
call fcn.004c1220
add esp, 4
push eax
push 0x688af0
push dword [0x68137c]
call fcn.004c1220
add esp, 4
push eax
push 0x688b14
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x688b30
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x688b5c
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.004e7d92
add esp, 4
mov dword [0x681334], ebx
mov dword [0x681338], edi
push dword [0x681338]
call fcn.004c1310
add esp, 4
push eax
push 0x688bac
push dword [0x681334]
call fcn.004c1310
add esp, 4
push eax
push 0x688bc0
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.004e7d92
add esp, 4
cmp dword [0x68133c], 0
jne 0x4dda51
mov dword [0x68133c], ebx
cmp dword [0x681340], 0
jne 0x4dda60
mov dword [0x681340], edi
cmp dword [0x681364], 0
jne 0x4ddc22
push dword [0x681344]
push dword [0x681348]
push edi
push ebx
call fcn.00650c66
add esp, 0x10
cmp eax, 0
jne 0x4ddc22
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x688c14
call fcn.004e7d92
add esp, 4
push dword [0x681344]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push dword [0x681348]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x688cfc
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.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0
push 0
push edi
push ebx
call fcn.00650c66
add esp, 0x10
cmp eax, 0
jne 0x4ddc22
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x688d44
call fcn.004e7d92
add esp, 4
push dword [0x681344]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push dword [0x681348]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x688e2c
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.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
mov eax, 0
jmp 0x4ddf86
push 0
push dword [0x681344]
push dword [0x681348]
push edi
push ebx
call fcn.00651173
add esp, 0x14
mov esi, eax
xor eax, eax
cmp eax, 0
je 0x4ddc55
push 0x44870000
push 0x44f00000
call fcn.006466e9
add esp, 8
cmp esi, 0x66dc40
jne 0x4dde02
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x688e9c
call fcn.00657469
add esp, 4
push dword [0x681344]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push dword [0x681348]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x688cfc
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.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0
push 0
push 0
push edi
push ebx
call fcn.00651173
add esp, 0x14
mov esi, eax
cmp esi, 0x66dc40
jne 0x4dde02
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0x688f70
call fcn.00657469
add esp, 4
push 0x688cec
push dword [0x681348]
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x688cfc
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.004e7d92
add esp, 4
push 0x680ab8
call fcn.004e7d92
add esp, 4
push 0
push 0x689044
call fcn.00651d5c
add esp, 8
mov eax, 0
jmp 0x4ddf86
call fcn.004e8feb
mov eax, dword [0x681334]
cmp eax, 0x780
setle al
movzx eax, al
cmp eax, 0
jne 0x4dde2c
mov eax, dword [0x681338]
cmp eax, 0x438
setle al
movzx eax, al
cmp eax, 0
je 0x4dde47
mov eax, dword [0x681334]
mov dword [0x681374], eax
mov eax, dword [0x681338]
mov dword [0x681378], eax
jmp 0x4dde5b
mov dword [0x681374], 0x780
mov dword [0x681378], 0x438
cmp dword [ebp + 0x10], 1
jne 0x4dde93
mov eax, 0x66dc40
inc dword [eax + 4]
mov esi, eax
mov eax, dword [0x682118]
dec dword [eax + 4]
jne 0x4dde7e
push eax
call fcn.004c1de0
add esp, 4
mov dword [0x682118], esi
mov dword [0x68211c], 0
call fcn.00575f0a
mov dword [0x68719c], 0x3c0
mov dword [0x6871a0], 0x21c
cmp dword [0x6871a4], 1
jne 0x4ddf7f
push dword [0x6871a8]
call fcn.004c1310
add esp, 4
push eax
push 0x6890b0
push edi
call fcn.004c1310
add esp, 4
push eax
push 0x688cec
push ebx
call fcn.004c1310
add esp, 4
push eax
push 0x6890e4
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.004e7d92
add esp, 4
call sub.USER32.dll_GetActiveWindow
mov dword [0x687144], eax
push 0xfffffffffffffff0
push dword [0x687144]
call sub.USER32.dll_GetWindowLongA
or eax, 0x20000
or eax, 0x10000
push eax
push 0xfffffffffffffff0
push dword [0x687144]
call sub.USER32.dll_SetWindowLongA
push dword [0x687144]
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 [0x687144]
call sub.USER32.dll_SetClassLongA
push 1
push dword [0x687144]
call sub.USER32.dll_ShowWindow
mov eax, 1
jmp 0x4ddf86
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret