Function at 0x4672c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643948
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
cmp eax, vtable.CMarchMainWnd.2.0
jne 0x4675c1
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x467312
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00467720
mov eax, dword [0x6eb690]
test eax, eax
je 0x467344
push 1
push eax
call fcn.0050f140
push 0
push dword [0x6eb690]
mov dword [0x6eb694], 1
call fcn.0050f140
add esp, 0x10
mov eax, dword [edi + 0x278]
mov dword [0x6eb690], 0
test eax, eax
je 0x46735f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x7b
push dword [edi + 0x10]
call esi
push 0xea
push dword [edi + 0x10]
call esi
mov ecx, dword [edi + 0x27c]
or esi, 0xffffffff
test ecx, ecx
je 0x4673c5
call fcn.0045cd20
mov dword [edi + 0x27c], 0
mov ebx, dword [edi + 0x280]
mov dword [edi + 0x280], 0
test ebx, ebx
je 0x4673c5
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x4673c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x4673c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [edi + 0x484]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4674cd
mov ecx, ebx
call fcn.0047af50
mov ecx, ebx
call fcn.0047ad90
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebx + 0x360]
call fcn.0047d950
mov ebx, dword [eax]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x46741e
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x46741e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x46741e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [ebp - 0x14], 0
je 0x4674cd
push 0
push 0x6b3098
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.0044e6d0
mov ecx, dword [ebp - 0x18]
sub esp, 8
mov edx, esp
mov dword [ebp - 4], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx + 0x364]
test eax, eax
je 0x467473
lock inc dword [eax + 8]
mov eax, dword [ecx + 0x360]
mov dword [edx], eax
mov eax, dword [ecx + 0x364]
mov dword [edx + 4], eax
lea eax, [ebp - 0x30]
push eax
push 0x3e9
call fcn.00487a80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4674cd
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4674c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4675cc
push edx
push ecx
call fcn.005ff7fe
add esp, 8
mov ecx, dword [edi + 0x2c8]
test ecx, ecx
je 0x46751f
cmp dword [ecx + 4], 0
je 0x4674e2
call fcn.0045cd20
mov dword [edi + 0x2c8], 0
mov ebx, dword [edi + 0x2cc]
mov dword [edi + 0x2cc], 0
test ebx, ebx
je 0x46751f
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x46751f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x46751f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x270]
test ecx, ecx
je 0x467570
cmp dword [ecx + 4], 0
je 0x467534
call fcn.0045cd20
mov dword [edi + 0x270], 0
mov ebx, dword [edi + 0x274]
mov dword [edi + 0x274], 0
test ebx, ebx
je 0x467570
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x467570
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x467570
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [edi + 0x278]
test eax, eax
je 0x46758b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x278], 0
mov ecx, dword [edi + 0x484]
test ecx, ecx
je 0x4675a5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x484], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push 0
call edx
jmp 0x467312
call fcn.0061f5be
int3