Function at 0x100d784
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10170f4]
and dword [ebp - 0x20], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
inc dword [ebx + 0x254]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x254]
cmp eax, 1
jbe 0x100d7be
dec eax
mov dword [ebx + 0x254], eax
jmp 0x100dcb9
mov eax, dword [ebx + 0x248]
and eax, 0xffffde3f
or eax, 0x1004
mov ecx, 0x200
test ecx, eax
mov dword [ebx + 0x248], eax
jne 0x100d7fc
or eax, ecx
mov dword [ebx + 0x248], eax
call fcn.01014d13
push 0
push 0x7530
push 4
push dword [ebx + 4]
call dword [fcn.01001218]
push esi
push edi
mov ecx, ebx
call fcn.0100b599
push 4
lea esi, [ebx + 0x284]
pop ecx
mov edi, 0x100139c
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x100d8d3
cmp dword [ebx + 0x260], eax
jne 0x100d834
lea edi, [ebx + 0x264]
mov esi, 0x10022ec
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x264]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push 7
push dword [ebx + 0x238]
call fcn.0100708b
test eax, eax
jne 0x100d88a
push dword [ebp - 0x1c]
inc dword [ebx + 0x260]
push dword [ebp - 0x18]
inc dword [ebx + 0x258]
push dword [ebx + 0x238]
call fcn.01007e70
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push 7
push dword [ebx + 0x238]
call fcn.0100708b
test eax, eax
je 0x100d851
jmp 0x100d9b2
xor edi, edi
cmp dword [ebx + 0x258], edi
jne 0x100d9b4
jmp 0x100d8b7
push dword [ebp - 0x1c]
inc dword [ebx + 0x260]
push dword [ebp - 0x18]
inc dword [ebx + 0x25c]
push dword [ebx + 0x238]
call fcn.0100803a
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push 0xa
push dword [ebx + 0x238]
call fcn.0100708b
test eax, eax
je 0x100d89a
jmp 0x100d9b4
cmp dword [ebx + 0x260], 0
jne 0x100d9b2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov esi, 0x10022ec
push esi
push 0xa
push dword [ebx + 0x238]
call fcn.0100708b
test eax, eax
jne 0x100d921
push dword [ebp - 0x1c]
inc dword [ebx + 0x260]
push dword [ebp - 0x18]
inc dword [ebx + 0x25c]
push dword [ebx + 0x238]
call fcn.0100803a
jmp 0x100d9b2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push 7
push dword [ebx + 0x238]
call fcn.0100708b
test eax, eax
mov ecx, dword [ebx + 0x23c]
jne 0x100d989
test ecx, ecx
je 0x100d96a
mov eax, dword [ebx + 0x248]
test eax, 0x10000
je 0x100d96a
test eax, 0x20000
jne 0x100d96a
push ebx
call fcn.01010d54
mov ecx, dword [ebx + 0x23c]
call fcn.01010bcd
push dword [ebp - 0x1c]
inc dword [ebx + 0x260]
push dword [ebp - 0x18]
inc dword [ebx + 0x258]
push dword [ebx + 0x238]
call fcn.01007e70
jmp 0x100d9b2
test ecx, ecx
je 0x100d9b2
mov eax, dword [ebx + 0x248]
test eax, 0x20000
jne 0x100d9b2
test eax, 0x10000
je 0x100d9b2
push ebx
call fcn.01010d54
mov ecx, dword [ebx + 0x23c]
call fcn.01010bcd
xor edi, edi
mov ecx, ebx
call fcn.0100b599
and byte [ebx + 0x249], 0xef
mov eax, dword [ebx + 0x248]
test ah, 0x21
je 0x100d9f3
test al, al
mov dword [ebp - 0x20], 1
js 0x100d9f3
push edi
push edi
push 0x40e
push dword [ebx + 4]
or eax, 0x80
mov dword [ebx + 0x248], eax
call dword [0x100119c]
mov eax, dword [ebx + 0x248]
test ah, 8
jne 0x100dcb1
cmp dword [ebx + 0x260], edi
jne 0x100dcb1
cmp dword [ebp - 0x20], edi
jne 0x100dcb1
test al, 4
je 0x100dcb1
and eax, 0xffffdeff
or eax, 0x1800
mov ecx, eax
and eax, 0xfffffffd
push 2
mov dword [ebx + 0x248], eax
push ebx
lea eax, [ebx + 0x284]
and ecx, 2
push eax
mov dword [ebp - 0x24], ecx
call fcn.0100ea54
mov ecx, ebx
call fcn.0100b599
push dword [ebx + 0x238]
call fcn.010057b6
mov eax, dword [ebx + 0x248]
test al, 8
jne 0x100da99
test eax, 0x200000
jne 0x100da99
cmp dword [ebx + 0x250], edi
jne 0x100da99
lea eax, [ebx + 0x18]
cmp dword [eax], edi
je 0x100da8e
push edi
push eax
call dword [0x10010ec]
push 5
push dword [ebx + 4]
call dword [fcn.0100121c]
push dword [ebx + 0x238]
call fcn.01007c48
mov ecx, ebx
call fcn.0100c1d7
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x248]
test ah, 4
je 0x100db00
push 3
push dword [ebx + 4]
and eax, 0xfffffbff
mov dword [ebx + 0x248], eax
call dword [fcn.0100121c]
mov esi, dword [fcn.010011dc]
push edi
push edi
push 0x466
mov edi, 0x401
push edi
push dword [ebx + 4]
call esi
push eax
call dword [fcn.010011c8]
push 0
push edi
push dword [ebx + 4]
call esi
push eax
call dword [0x10011e8]
push dword [ebp - 0x20]
mov ecx, ebx
push 1
call fcn.0100bfcb
xor edi, edi
mov ecx, ebx
call fcn.0100b053
call fcn.010105dd
mov eax, dword [ebx + 0x248]
test ah, 2
je 0x100db2d
push 4
push dword [ebx + 4]
and eax, 0xfffffdff
mov dword [ebx + 0x248], eax
call dword [fcn.0100121c]
push edi
push ebx
lea esi, [ebx + 0x284]
push esi
call fcn.0100ea72
cmp dword [ebp - 0x20], edi
jne 0x100db6f
cmp dword [ebx + 0xc], edi
jne 0x100db6f
push edi
push edi
push 1
push edi
call fcn.01012879
mov esi, eax
cmp esi, edi
je 0x100db8b
push 0x7d0
push 1
push dword [ebx + 4]
push edi
push esi
call fcn.01003b1c
push esi
call dword [0x10010b8]
jmp 0x100db8b
push 1
push ebx
push esi
call fcn.0100ea72
push edi
push 1
mov ecx, ebx
call fcn.0100d216
push 1
mov ecx, ebx
call fcn.0100ccba
cmp dword [ebx + 0x1e4], edi
je 0x100dbb2
cmp dword [ebp - 0x20], edi
jne 0x100dbb2
push 1
push 1
mov ecx, ebx
call fcn.0100bfcb
push 1
push ebx
lea eax, [ebx + 0x284]
push eax
call fcn.0100ea72
mov ecx, dword [ebx + 0x23c]
cmp ecx, edi
je 0x100dc36
mov eax, dword [ebx + 0x248]
mov edx, eax
and edx, 0x20000
je 0x100dbd3
test eax, 0x80000
je 0x100dc31
test eax, 0x10000
je 0x100dc36
cmp edx, edi
jne 0x100dc36
test eax, 0x40000
je 0x100dc2a
lea esi, [ebx + 0x278]
cmp dword [esi], edi
je 0x100dc2a
push ebx
call fcn.01010d54
mov ecx, dword [ebx + 0x23c]
call fcn.01010bcd
cmp dword [esi], edi
je 0x100dc17
mov ecx, ebx
call fcn.0100c1d7
test eax, eax
jne 0x100dc17
push edi
mov ecx, ebx
call fcn.0100ca32
push dword [ebx + 0x240]
mov ecx, dword [ebx + 0x23c]
call fcn.01010db3
jmp 0x100dc36
push 2
call fcn.01010c58
call fcn.0100f14d
mov esi, 0x100
test dword [ebx + 0x248], esi
jne 0x100dc4e
push dword [ebx + 0x238]
call fcn.0100647c
cmp dword [ebp - 0x24], edi
jne 0x100dc59
push ebx
call fcn.0100ab11
push dword [ebx + 0xc]
push ebx
call fcn.0100ab34
and byte [ebx + 0x249], 0xef
mov eax, dword [ebx + 0x248]
test esi, eax
je 0x100dc9f
and eax, 0xffefffff
test al, al
mov dword [ebx + 0x248], eax
js 0x100dca8
push edi
push edi
push 0x40e
push dword [ebp - 0x1c]
or eax, 0x80
mov dword [ebx + 0x248], eax
call dword [0x100119c]
jmp 0x100dca8
and eax, 0xfffffffb
mov dword [ebx + 0x248], eax
and word [ebx + 0x248], 0xf7ef
dec dword [ebx + 0x254]
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01010e5d
leave
ret 4