Function at 0x100d791e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1019bfec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x1dc]
test eax, eax
je 0x100d7beb
mov eax, dword [ebx + 0x300]
push esi
mov esi, dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x100d7958
push eax
push dword [ebx + 0x20]
call esi
mov eax, dword [ebx + 0x2fc]
push edi
xor edi, edi
test eax, eax
je 0x100d7971
push eax
push dword [ebx + 0x20]
call esi
mov dword [ebx + 0x2fc], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push dword [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100d79a6
cmp dword [0x101a4afc], edi
jne 0x100d79a6
call fcn.10020fd4
cmp dword [eax + 0x180], edi
je 0x100d79c8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x164]
test eax, eax
je 0x100d79bc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
jmp 0x100d79c2
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x308], eax
mov eax, dword [ebx]
mov ecx, ebx
test esi, esi
jne 0x100d7a00
lea edi, [ebx + 0x30c]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
call dword [eax + 0x39c]
push esi
mov ecx, ebx
call fcn.10016062
push esi
push dword [ebx + 0x350]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100d7be9
call dword [eax + 0x19c]
push eax
mov ecx, 0x1019b944
call fcn.100a5909
mov edi, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x100d7a4f
push 0
push ebx
mov ecx, esi
call fcn.1009438d
push 0
mov ecx, ebx
call fcn.100d50fe
push eax
mov ecx, esi
call fcn.10092a46
push 5
mov ecx, ebx
call fcn.10016062
push 5
push dword [ebx + 0x350]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_BringWindowToTop]
call esi
push dword [ebx + 0x350]
call esi
cmp dword [ebx + 0x328], 1
jne 0x100d7a77
mov ecx, dword [ebp - 0x18]
push 1
push 0
call fcn.10092fb3
xor eax, eax
test edi, edi
push 0
push dword [0x1019bb98]
setne al
add eax, 0xec01
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x300], eax
cmp dword [0x101a4afc], 0
jne 0x100d7bd8
call fcn.10020fd4
cmp dword [eax + 0x180], 0
jne 0x100d7bd8
mov eax, dword [ebx + 0x328]
cmp eax, 1
jne 0x100d7b2f
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x19c]
mov ecx, eax
call fcn.1000dd9b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x194]
mov esi, 0xa000
test esi, eax
je 0x100d7af5
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
jmp 0x100d7afb
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cdq
idiv dword [0x1019bb94]
cmp eax, 1
jl 0x100d7b9e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x194]
test esi, eax
je 0x100d7b24
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
jmp 0x100d7bcb
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
jmp 0x100d7bcb
cmp eax, 2
jne 0x100d7bd8
test edi, edi
jne 0x100d7b65
cmp dword [ebx + 0x31c], edi
jne 0x100d7b65
lea eax, [ebx + 0x30c]
mov ecx, ebx
mov edi, eax
lea esi, [ebp - 0x14]
push eax
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x19c]
mov ecx, eax
call fcn.1000dd9b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x194]
mov esi, 0xa000
test esi, eax
je 0x100d7b86
mov eax, dword [ebx + 0x318]
sub eax, dword [ebx + 0x310]
jmp 0x100d7b92
mov eax, dword [ebx + 0x314]
sub eax, dword [ebx + 0x30c]
cdq
idiv dword [0x1019bb94]
cmp eax, 1
jge 0x100d7ba3
xor eax, eax
inc eax
jmp 0x100d7bd2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x194]
test esi, eax
je 0x100d7bbf
mov eax, dword [ebx + 0x318]
sub eax, dword [ebx + 0x310]
jmp 0x100d7bcb
mov eax, dword [ebx + 0x314]
sub eax, dword [ebx + 0x30c]
cdq
idiv dword [0x1019bb94]
mov dword [ebx + 0x308], eax
and dword [ebx + 0x304], 0
mov dword [ebx + 0x31c], 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10122e96
mov esp, ebp
pop ebp
ret 8