Function at 0x40c2b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e7088
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x555ab0]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push esi
push edi
mov eax, dword [0x555ab0]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x4c], ebx
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x2b], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c0], 0
mov dword [esp + 0x3c], 0
mov esi, dword [0x55e860]
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 0x12
jne 0x40c39e
mov eax, 0x8d3dcb09
imul esi
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x1d
mov eax, esi
sub eax, ecx
xor edi, edi
cmp eax, 0xef
je 0x40c394
nop
mov eax, esi
or eax, 0xffffff02
add esi, eax
mov eax, esi
imul eax, esi
inc edi
cmp edi, eax
jg 0x40c394
mov eax, 0x8d3dcb09
imul esi
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x1d
mov eax, esi
sub eax, ecx
cmp eax, 0xef
jne 0x40c360
mov dword [0x55e860], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
mov byte [esp + 0x4c0], 2
cmp dword [ebx + 0x6c], 0
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
jne 0x40c61d
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.CBaseJ_0bject_is_NULL
mov byte [esp + 0x4c0], 3
test eax, 0xffff0000
jne 0x40c3fb
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40c409
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00402420
jmp 0x40c409
push str.CBaseJ_0bject_is_NULL
lea ecx, [esp + 0x1c]
call fcn.004047f0
mov byte [esp + 0x4c0], 4
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, str._ddJS0bjectToWindow
mov byte [esp + 0x4c0], 5
test eax, 0xffff0000
jne 0x40c454
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40c464
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00402420
jmp 0x40c464
push 0x13
push str._ddJS0bjectToWindow
lea ecx, [esp + 0x28]
call fcn.004021b0
mov byte [esp + 0x4c0], 6
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x50]
mov byte [esp + 0x4c4], 7
call fcn.00421a70
mov ecx, eax
add esp, 4
mov dword [esp + 0x48], ecx
mov byte [esp + 0x4c0], 8
mov edx, dword [ecx]
mov eax, dword [ebx + 0x5c]
lea ecx, [edx - 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
sub ecx, 0x10
lea eax, [edx - 0x10]
or edi, 0xffffffff
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x40c526
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x54], eax
jl 0x40c519
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x40c519
mov ecx, dword [esp + 0x44]
call fcn.004022e0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40c50a
mov edx, dword [esp + 0x58]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
add eax, 0x10
mov dword [ecx], eax
jmp 0x40c526
push dword [edx - 0xc]
mov ecx, dword [esp + 0x18]
push edx
call fcn.004021b0
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x40c541
push 2
push dword [esp + 0x4c]
lea eax, [esp + 0x28]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00402570
mov byte [esp + 0x4c0], 7
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c566
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4c0], 6
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c587
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 4
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c5ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40c5cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40c5e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x4c0], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40c5fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c0], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40d19f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40d19f
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov byte [esp + 0x4d4], 9
call fcn.00410a30
test al, al
jne 0x40c996
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.QueryInterfacesForS_ndBox_failed
mov byte [esp + 0x4c0], 0xa
test eax, 0xffff0000
jne 0x40c694
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40c6a2
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00402420
jmp 0x40c6a2
push str.QueryInterfacesForS_ndBox_failed
lea ecx, [esp + 0x18]
call fcn.004047f0
mov byte [esp + 0x4c0], 0xb
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str._ddJ_0bjectToWindow
mov byte [esp + 0x4c0], 0xc
test eax, 0xffff0000
jne 0x40c6ed
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40c6fd
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00402420
jmp 0x40c6fd
push 0x13
push str._ddJ_0bjectToWindow
lea ecx, [esp + 0x20]
call fcn.004021b0
mov byte [esp + 0x4c0], 0xd
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c4], 0xe
call fcn.00421a70
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c4], 0xf
call fcn.00421a70
mov ecx, eax
add esp, 4
mov dword [esp + 0x44], ecx
mov byte [esp + 0x4c0], 0x10
mov edx, dword [ecx]
mov eax, dword [ebx + 0x5c]
lea ecx, [edx - 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], eax
sub ecx, 0x10
lea eax, [edx - 0x10]
or edi, 0xffffffff
mov dword [esp + 0x54], ecx
cmp eax, ecx
je 0x40c7da
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x58], eax
jl 0x40c7cd
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x40c7cd
mov ecx, dword [esp + 0x48]
call fcn.004022e0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40c7be
mov edx, dword [esp + 0x54]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x40c7da
push dword [edx - 0xc]
mov ecx, dword [esp + 0x20]
push edx
call fcn.004021b0
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x40c7f5
push 2
push dword [esp + 0x48]
lea eax, [esp + 0x20]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00402570
mov byte [esp + 0x4c0], 0xf
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c81a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0xe
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c83f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4c0], 0xd
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c860
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0xb
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c885
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c8aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x52d508
push 0x52d50c
lea ecx, [esp + 0x28]
call fcn.004043a0
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x52d510
mov byte [esp + 0x4c0], 0x11
test eax, 0xffff0000
jne 0x40c900
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40c90e
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00402420
jmp 0x40c90e
push 0x52d510
lea ecx, [esp + 0x18]
call fcn.004047f0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c4], 0x12
call fcn.004045e0
add esp, 4
push eax
mov byte [esp + 0x4c4], 0x13
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
mov byte [esp + 0x4c0], 0x12
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c960
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c985
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 2
mov edx, dword [esp + 0x20]
jmp 0x40c5b8
push dword [esp + 0x30]
lea ecx, [ebx + 0x68]
call fcn.00410f10
test al, al
jne 0x40cb57
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.This_i__not_top_level_fr_me__not_executing_8G_code
mov byte [esp + 0x4c0], 0x14
test eax, 0xffff0000
jne 0x40c9ed
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40c9fb
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00402420
jmp 0x40c9fb
push str.This_i__not_top_level_fr_me__not_executing_8G_code
lea ecx, [esp + 0x1c]
call fcn.004047f0
mov byte [esp + 0x4c0], 0x15
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x52d560
mov byte [esp + 0x4c0], 0x16
test eax, 0xffff0000
jne 0x40ca46
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x40ca56
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00402420
jmp 0x40ca56
push 0x13
push 0x52d560
lea ecx, [esp + 0x1c]
call fcn.004021b0
mov byte [esp + 0x4c0], 0x17
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c4], 0x18
call fcn.00421a70
add esp, 4
mov byte [esp + 0x4c0], 0x19
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x40caaf
push 0
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00402570
mov byte [esp + 0x4c0], 0x18
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40cad7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4c0], 0x17
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40caf8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0x15
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cb1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 9
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c985
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 2
mov edx, dword [esp + 0x20]
jmp 0x40c5b8
mov dword [esp + 0x38], 0
mov byte [esp + 0x4c0], 0x1a
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
mov ecx, dword [eax]
push edx
push 0x524c7c
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [0x55e860]
imul eax, eax
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x40cba4
push 4
call fcn.004b0975
mov ecx, eax
mov eax, dword [0x55e860]
add esp, 4
mov dword [ecx], eax
cmp dword [esp + 0x38], 0
jne 0x40cd1a
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x18]
push str.QueryInterfacesForWinEx__d
push eax
mov byte [esp + 0x4cc], 0x1b
call fcn.00404f10
add esp, 0xc
lea ecx, [esp + 0x1c]
push str._ddJ_O6jectToWindow
call fcn.00402020
mov byte [esp + 0x4c0], 0x1c
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c4], 0x1d
call fcn.00421a70
add esp, 4
mov edi, eax
mov byte [esp + 0x4c0], 0x1e
mov ecx, dword [ebx + 0x5c]
push edi
call fcn.004020f0
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x40cc50
push 2
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00402570
mov byte [esp + 0x4c0], 0x1d
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40cc78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4c0], 0x1c
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cc99
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0x1b
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ccbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x50]
mov byte [esp + 0x4c0], 0x1a
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ccef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40c985
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x4c0], 2
mov edx, dword [esp + 0x20]
jmp 0x40c5b8
mov ecx, dword [ebx + 0x6c]
lea edx, [esp + 0x50]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov byte [esp + 0x4c0], 0x1f
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
push dword [eax - 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, eax
test ecx, ecx
jne 0x40cd4c
call fcn.00402350
mov eax, dword [esi]
lea edx, [esp + 0x5c]
push edx
push 2
push ecx
push esi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x40ceb5
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x18]
push str.GetDispID__d
push eax
mov byte [esp + 0x4cc], 0x20
call fcn.00404f10
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0x52d604
call fcn.00402020
mov byte [esp + 0x4c0], 0x21
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c4], 0x22
call fcn.00421a70
add esp, 4
mov edi, eax
mov byte [esp + 0x4c0], 0x23
mov ecx, dword [ebx + 0x5c]
push edi
call fcn.004020f0
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x40ce05
push 2
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00402570
mov byte [esp + 0x4c0], 0x22
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ce2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4c0], 0x21
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ce4e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0x20
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ce73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x50]
mov byte [esp + 0x4c0], 0x1f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0x1a
mov edx, dword [esp + 0x50]
jmp 0x40ccd6
push 0x10
mov dword [esp + 0x74], 0xfffffffd
call fcn.004aeef0
mov ecx, eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x64], ecx
mov dword [ecx + 8], eax
mov ebx, dword [0x55e860]
add esp, 4
lea ecx, [ebx + 2]
lea eax, [ebx + 1]
imul eax, ecx
imul eax, ebx
cdq
mov ecx, 7
idiv ecx
cmp edx, 2
jne 0x40cf36
xor edx, edx
mov dword [esp + 0x1c], edx
lea edi, [esp + 0x74]
lea esp, [esp]
xor ecx, ecx
mov eax, ebx
inc ecx
cdq
xor esi, esi
idiv ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
lea ecx, [esi + 1]
mov esi, ecx
cmp esi, 0xf
jl 0x40cf12
mov ecx, dword [esp + 0x2c]
add edi, 0xf
cmp ecx, 8
jl 0x40cf02
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 9
jl 0x40cf00
mov eax, dword [esp + 0x60]
mov ecx, 9
mov word [eax], cx
lea eax, [esp + 0x70]
mov dword [esp + 0x64], eax
mov eax, dword [0x55e860]
mov ecx, eax
imul ecx, eax
imul eax, ecx
cdq
mov ecx, 0x18
idiv ecx
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 1
cmp edx, 0x12
jne 0x40cf86
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [esp + 0x38]
push 0
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x6c]
push edx
push 4
push 0x400
push dword [esp + 0x74]
push eax
call dword [ecx + 0x20]
push dword [esp + 0x60]
mov esi, eax
call fcn.004b08fb
add esp, 4
mov dword [esp + 0x60], 0
test esi, esi
jns 0x40d0f4
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x1c]
push str.InvokeEx__d
push eax
mov byte [esp + 0x4cc], 0x24
call fcn.00404f10
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.addJ_O6jectToWindow
call fcn.00402020
mov byte [esp + 0x4c0], 0x25
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c4], 0x26
call fcn.00421a70
add esp, 4
mov edi, eax
mov byte [esp + 0x4c0], 0x27
mov ebx, dword [esp + 0x4c]
push edi
mov ecx, dword [ebx + 0x5c]
call fcn.004020f0
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x40d069
push 2
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00402570
mov byte [esp + 0x4c0], 0x26
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40d091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4c0], 0x25
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d0b2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 0x24
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d0d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [eax + 0x50]
mov byte [esp + 0x4c0], 0x1f
mov edx, dword [esp + 0x18]
jmp 0x40ce8b
mov byte [esp + 0x4c0], 0x1a
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x2b], 1
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40d121
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40d137
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x4c0], 2
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40d15a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x4c0], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40d170
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x4c0], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40d186
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c0], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40d19f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, byte [esp + 0x2b]
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.004b00a0
mov esp, ebp
pop ebp
ret 4