Function at 0x40d0ab
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40d0fe
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x94], eax
push 0x205
push 1
push 0
push 0x161b
push 0x6f9a
push dword [ebp - 0x94]
push dword [ebp - 0x64]
push 0x4ec3
push 0x1677
call fcn.0042be25
add esp, 0x24
jmp 0x40d35a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x40d31a
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x40d1ba
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x40d1b5
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40d318
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov dword [eax], 3
jmp 0x40d20f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x11
jl 0x40d318
mov dword [ebp - 0x10], 0x1d91
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x40d239
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x40d24f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xb8], 0xffff
jmp 0x40d232
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x3973
push dword [ebp - 0x50]
push 0x76ae
push dword [ebp - 0xc]
push dword [ebp - 4]
push 0
push 0x4edf
push dword [ebp - 0x14]
call fcn.00408ded
add esp, 0x28
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x40d2a6
mov dword [ebp - 0x58], 0x78ee
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xb8], 0
je 0x40d29c
jmp 0x40d318
cmp dword [ebp - 0x58], 0
je 0x40d2a4
jmp 0x40d318
jmp 0x40d313
push 1
lea ecx, [ebp - 0xa8]
call fcn.004312ee
push 0x3b20
push 0
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408a12
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x60]
push 0x5b85
lea eax, [ebp - 0x10]
push eax
push 0x1331
call fcn.00408b65
add esp, 0x1c
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0xa8]
push eax
call fcn.00409749
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.004313c0
jmp 0x40d204
jmp 0x40d35a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
push 0
push dword [ebp - 0x80]
push 0x7806
push dword [ebp - 0x88]
push 0x5120
push dword [ebp - 0x90]
push 0x2ede
call fcn.00429358
add esp, 0x1c
mov esp, ebp
pop ebp
ret