Function at 0x3c9564
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x3c956c
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x3ca54d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x3c95ef
mov eax, dword [ebp - 4]
cmp byte [eax + 0x101], 0
je 0x3c95ef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
test eax, eax
je 0x3c95c9
call fcn.0036b66c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
call fcn.0036b674
mov eax, dword [ebp - 4]
add eax, 0x190
call fcn.0035f6d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x407]
mov dl, 1
mov eax, dword [0x3c1e54]
call fcn.003ce60c
mov edx, dword [ebp - 4]
mov dword [edx + 0x190], eax
jmp 0x3ca4f3
xor edx, edx
push ebp
push 0x3ca4e9
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x128], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x19c], 0
mov cl, 1
mov dl, 1
mov eax, dword [0x3716c4]
call fcn.00371770
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x3ca4d8
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x120], edx
cmp byte [ebp - 5], 0
je 0x3c990a
xor edx, edx
push ebp
push 0x3c96ae
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x124]
test eax, eax
je 0x3c96a4
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x34], edx
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov byte [eax + 0xf], 1
mov dl, 3
call fcn.0036b394
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x124]
call fcn.0036b66c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x124], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3c96b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1ae8
dec eax
test eax, eax
jl 0x3c9876
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8d], 1
jne 0x3c986a
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xac]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
je 0x3c986a
cmp dword [esi + 0x20], 0
je 0x3c986a
mov dl, 1
mov eax, dword [0x3c94b4]
call fcn.00353b54
mov ebx, eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 8]
call fcn.003552f4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xac]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa8]
mov dword [ebx + 0xc], eax
lea edx, [ebp - 0x40]
mov eax, esi
call fcn.003a2458
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x10]
call fcn.003552f4
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x14], eax
xor edx, edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x1c], eax
movzx eax, byte [esi + 0x30]
mov byte [ebx + 0x20], al
movzx eax, byte [esi + 0x31]
mov byte [ebx + 0x21], al
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0x20]
imul edx, dword [edx + 0xc0], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x605]
mov edx, dword [ecx + edx + 0x27]
call fcn.003552f4
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x20]
imul edx, dword [edx + 0xc0], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x605]
mov edx, dword [ecx + edx + 0x2b]
call fcn.003552f4
mov eax, dword [ebp - 0x20]
imul eax, dword [eax + 0xc0], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov eax, dword [edx + eax + 0x37]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [eax + 0xc0], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov eax, dword [edx + eax + 0x3f]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [eax + 0xc0], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov eax, dword [edx + eax + 0x43]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xac]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x18]
xor edx, edx
mov dword [eax + 0x20], edx
mov edx, ebx
mov eax, dword [ebp - 0x30]
call fcn.0037172c
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x3c96da
xor eax, eax
push ebp
push 0x3c98ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
add eax, 0x605
mov ecx, 1
mov edx, dword [0x37f4e4]
call fcn.00356258
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3c98b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
xor edx, edx
mov dword [eax + 0x601], edx
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.0035f6d8
push 0x1e
push 0x64
mov ecx, 0x22
mov dl, 1
mov eax, dword [0x37f438]
call fcn.0038c6e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.003a1ce4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1ce4
jmp 0x3c9940
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov dl, 1
mov eax, dword [0x39e89c]
call fcn.003a19d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov dl, 1
mov eax, dword [0x39e89c]
call fcn.003a19d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x114], eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x48], 0x20
setne dl
push edx
mov ecx, dword [0x3d829c]
movzx ecx, byte [ecx]
mov edx, 0x3ca564
call fcn.003a1d8c
mov edx, dword [0x3d82c8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.003a1c0c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x48], 0x20
setne dl
push edx
mov ecx, dword [0x3d829c]
movzx ecx, byte [ecx]
mov edx, dword [0x3d80e0]
mov edx, dword [edx]
call fcn.003a1cf8
mov edx, dword [0x3d82c8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1c0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
cmp byte [eax + 0x1c], 0
jne 0x3c9a0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
cmp byte [eax + 0x1c], 0
jne 0x3c9a0d
mov eax, dword [0x3d7f04]
cmp byte [eax + 0x85], 0
je 0x3c9a49
mov eax, dword [0x3d7ed0]
mov dword [eax], 0xfffffffe
mov eax, dword [0x3d817c]
mov dword [eax], 0x20
mov eax, dword [0x3d8290]
mov dword [eax], 5
mov eax, dword [0x3d7fbc]
mov dword [eax], 0x20
mov eax, dword [0x3d7fe0]
mov dword [eax], 0x20
jmp 0x3c9aca
mov eax, dword [0x3d829c]
cmp byte [eax], 0
je 0x3c9a95
mov eax, dword [0x3d7ed0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x3d817c]
mov dword [eax], 0x1c
mov eax, dword [0x3d8290]
mov dword [eax], 3
mov eax, dword [0x3d7fbc]
mov dword [eax], 0x14
mov eax, dword [0x3d7fe0]
mov dword [eax], 0x18
mov eax, dword [0x3d8268]
mov dword [eax], 0x1e
jmp 0x3c9aca
mov eax, dword [0x3d7ed0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x3d817c]
mov dword [eax], 0x18
mov eax, dword [0x3d8290]
mov dword [eax], 1
mov eax, dword [0x3d7fbc]
mov dword [eax], 0x14
mov eax, dword [0x3d7fe0]
mov dword [eax], 0x18
mov dword [0x3d7e30], 0xffffffff
mov dword [0x3d7e34], 0xffffffff
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x3ca01c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.003a1ae8
cmp eax, dword [ebp - 0xc]
jle 0x3c9b1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0xc]
call fcn.003a1af0
mov ebx, dword [eax + 0x1c]
jmp 0x3c9b22
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1ae8
cmp eax, dword [ebp - 0x10]
jle 0x3c9b4b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x10]
call fcn.003a1af0
mov eax, dword [eax + 0x1c]
jmp 0x3c9b4e
or eax, 0xffffffff
cmp eax, ebx
jg 0x3c9b55
inc eax
jne 0x3c9b7b
inc ebx
je 0x3c9b7b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0xc]
call fcn.003a1af0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
neg eax
mov dword [ebp - 0x24], eax
inc dword [ebp - 0xc]
jmp 0x3c9b98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x10]
call fcn.003a1af0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x10]
cmp byte [ebp - 0x25], 0
jne 0x3c9c13
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x20], 0
je 0x3c9bee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
call fcn.0035609c
test eax, eax
jle 0x3c9c13
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
call fcn.003560a4
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov eax, dword [edx + eax + 0x13]
mov edx, dword [ebp - 4]
add dword [edx + 0x120], eax
jmp 0x3c9c13
mov byte [ebp - 0x25], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
add eax, dword [edx + 0x60d]
add eax, 5
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov edx, 0x3ca574
call fcn.003555bc
jne 0x3c9c5b
mov eax, dword [0x3d829c]
cmp byte [eax], 0
je 0x3c9c5b
mov eax, dword [ebp - 0x20]
mov byte [eax + 0xb8], 1
mov eax, dword [0x3d7f04]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xcc], eax
mov eax, dword [0x3d7f04]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xd0], eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x79], 0
je 0x3c9c6e
mov eax, dword [ebp - 4]
mov byte [eax + 0x19c], 1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.003cb500
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc0], edx
imul ebx, dword [ebp - 0x18], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov eax, dword [eax + ebx + 0x13]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov dword [edx + ebx + 0x47], eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8d], 1
jne 0x3c9f26
push 1
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 8]
call fcn.00354db0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
mov edx, 0x3ca58c
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x3c9d07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
movzx edx, byte [0x3ca598]
mov byte [eax + ebx + 2], dl
jmp 0x3c9d3d
cmp dword [ebp - 0x14], 1
jne 0x3c9d26
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
movzx edx, byte [0x3ca59c]
mov byte [eax + ebx + 2], dl
jmp 0x3c9d3d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
movzx edx, byte [0x3ca5a0]
mov byte [eax + ebx + 2], dl
push 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x4c]
mov edx, 0x3ca5a8
call fcn.00355504
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00354db0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
mov edx, 0x3ca58c
mov esi, dword [eax]
call dword [esi + 8]
dec eax
jne 0x3c9d9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
movzx eax, byte [eax + ebx + 2]
or al, byte [0x3ca5b8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov byte [edx + ebx + 2], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
lea eax, [eax + ebx + 0x2b]
call fcn.003552b8
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x3c9f26
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
xor eax, eax
push ebp
push 0x3c9f10
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
call fcn.003717b4
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov edx, dword [ebx + 4]
call fcn.003555bc
je 0x3c9e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3c9f1a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 8]
jg 0x3c9e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3c9f1a
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
lea edx, [ebp - 0x50]
mov eax, esi
call fcn.003a2458
mov eax, dword [ebp - 0x50]
mov edx, dword [ebx + 0x10]
call fcn.003555bc
je 0x3c9e5b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3c9f1a
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x2c], eax
movzx eax, byte [ebx + 0x20]
mov byte [esi + 0x30], al
movzx eax, byte [ebx + 0x21]
mov byte [esi + 0x31], al
xor eax, eax
mov dword [ebx + 0x14], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x20]
call fcn.003a1284
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.003a128c
imul esi, dword [ebp - 0x18], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
lea eax, [eax + esi + 0x27]
mov edx, dword [ebx + 0x24]
call fcn.003552f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
lea eax, [eax + esi + 0x2b]
mov edx, dword [ebx + 0x28]
call fcn.003552f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov edx, dword [ebx + 0x2c]
mov dword [eax + esi + 0x37], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov edx, dword [ebx + 0x30]
mov dword [eax + esi + 0x3f], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov edx, dword [ebx + 0x34]
mov dword [eax + esi + 0x43], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3c9f1a
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x3c9dcc
imul ebx, dword [ebp - 0x18], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov edx, dword [ebp - 0x24]
mov dword [eax + ebx + 0x4b], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov edx, 0x3ca5c0
call fcn.003555bc
jne 0x3c9f86
mov eax, dword [0x3d829c]
cmp byte [eax], 0
je 0x3c9f75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov edx, dword [0x3d7f04]
mov edx, dword [edx + 0x24]
add dword [eax + ebx + 0x13], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x13c], edx
jmp 0x3ca012
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov edx, 0x3ca574
call fcn.003555bc
jne 0x3c9ff8
mov eax, dword [0x3d829c]
cmp byte [eax], 0
je 0x3c9fbb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov edx, dword [0x3d7f04]
mov edx, dword [edx + 0x34]
add dword [eax + ebx + 0x13], edx
mov eax, dword [ebp - 0x18]
mov dword [0x3d7e30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
mov eax, dword [eax + ebx + 0x27]
xor edx, edx
call fcn.003555bc
jne 0x3ca012
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x605]
lea eax, [eax + ebx + 0x27]
mov edx, 0x3ca5d0
call fcn.003552f4
jmp 0x3ca012
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov edx, 0x3ca5d8
call fcn.003555bc
jne 0x3ca012
mov eax, dword [ebp - 0x18]
mov dword [0x3d7e34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3ca026
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.003a1ae8
cmp eax, dword [ebp - 0xc]
jg 0x3c9ae8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1ae8
cmp eax, dword [ebp - 0x10]
jg 0x3c9ae8
cmp dword [0x3d7e34], 0xffffffff
je 0x3ca19c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x3ca078
mov eax, dword [ebp - 4]
call fcn.003ce204
jmp 0x3ca13c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00387774
mov edx, eax
imul eax, dword [0x3d7e34], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x605]
add edx, dword [ecx + eax + 0x17]
add edx, 2
mov eax, ebx
call fcn.0038778c
mov eax, dword [0x3d829c]
cmp byte [eax], 0
je 0x3ca0d1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x10]
mov eax, ebx
call fcn.00387774
mov edx, eax
mov eax, dword [0x3d7f04]
add edx, dword [eax + 0x28]
mov eax, ebx
call fcn.0038778c
mov eax, dword [0x3d829c]
cmp byte [eax], 0
je 0x3ca100
mov edx, dword [0x3d8290]
mov edx, dword [edx]
mov eax, dword [0x3d7ed0]
add edx, dword [eax]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x1ac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.003877d8
jmp 0x3ca114
mov edx, dword [0x3d8290]
mov edx, dword [edx]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.003877d8
imul eax, dword [0x3d7e34], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x605]
mov edx, dword [edx + eax + 0x13]
sub edx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00387828
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x3ca19c
call fcn.0038b2f0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00387850
sub eax, 2
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0038780c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.003877c0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00387774
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.003850d0
push eax
call sub.user32.dll_MoveWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0038c14c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
je 0x3ca30e
mov eax, dword [ebp - 4]
mov byte [eax + 0x184], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1ae8
dec eax
test eax, eax
jl 0x3ca30e
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov edx, dword [eax + 8]
lea eax, [ebp - 0x54]
call fcn.00354db0
mov eax, dword [ebp - 0x54]
mov dl, 1
call fcn.00371804
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x188]
jne 0x3ca302
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov eax, dword [eax + 0x3c]
xor edx, edx
call fcn.003555bc
je 0x3ca30e
lea eax, [ebp - 0x5c]
mov edx, dword [0x3d8080]
mov edx, dword [edx]
call fcn.00355478
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov edx, dword [eax + 0x4c]
pop eax
call fcn.003554a4
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00354db0
mov eax, dword [ebp - 0x58]
call fcn.00381108
test al, al
jne 0x3ca30e
lea eax, [ebp - 0x60]
mov edx, dword [0x3d8080]
mov edx, dword [edx]
call fcn.00355478
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov edx, dword [eax + 0x4c]
pop eax
call fcn.003554a4
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
lea edx, [ebp - 0x64]
call fcn.003a11d0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
lea edx, [ebp - 0x68]
call fcn.003a11e8
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.003bb6d0
jmp 0x3ca30e
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x3ca1d8
mov dl, 1
mov eax, dword [0x367354]
call fcn.00353b54
mov dword [ebp - 0x2c], eax
xor edx, edx
push ebp
push 0x3ca418
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
call fcn.003a1ae8
dec eax
test eax, eax
jl 0x3ca3ed
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov eax, dword [eax + 0x3c]
xor edx, edx
call fcn.003555bc
je 0x3ca3e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
cmp dword [eax + 0xbc], 0
jle 0x3ca3e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov eax, dword [eax + 0xbc]
push eax
lea eax, [ebp - 0x70]
mov edx, dword [0x3d8080]
mov edx, dword [edx]
call fcn.00355478
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0x14]
call fcn.003a1af0
mov edx, dword [eax + 0x4c]
pop eax
call fcn.003554a4
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00354db0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x3c]
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x3ca34d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
test eax, eax
je 0x3ca402
mov edx, dword [ebp - 0x2c]
call fcn.003a4254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ca41f
mov eax, dword [ebp - 0x2c]
call fcn.00353b84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ca554
lea eax, [ebp - 0x70]
call fcn.003552b8
lea eax, [ebp - 0x6c]
call fcn.00354b0c
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.003552d0
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00354b30
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.003552d0
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00354b30
lea eax, [ebp - 0x40]
call fcn.003552b8
ret