Function at 0x41395c
Capabilities:
Resume thread

Disassembly:
push 0x20
mov eax, 0x4a62ca
call fcn.0048bd85
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esi + 0x1f94]
cmp dword [eax], ebx
mov dword [ebp - 0x14], ebx
jne 0x413c09
cmp dword [esi + 0x1f88], ebx
mov dword [eax], 1
je 0x413999
lea eax, [esi + 0x1f78]
push eax
call fcn.00456f2c
pop ecx
lea eax, [esi + 0x1f98]
cmp dword [eax], ebx
je 0x4139a5
mov dword [eax], ebx
lea edi, [esi + 0x2380]
mov eax, dword [edi]
cmp eax, ebx
je 0x4139c1
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [edi], ebx
call fcn.00463bdc
lea ecx, [ebp - 0x24]
call fcn.0046d9dc
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [esi + 0x2150], ebx
jle 0x413a20
lea edi, [esi + 0x2148]
cmp dword [edi + 8], ebx
jg 0x4139e8
call fcn.0046d8d2
mov eax, dword [edi + 4]
mov ebx, dword [eax]
test ebx, ebx
je 0x413a00
push ebx
call fcn.0040ff4c
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
push 1
push 0
mov ecx, edi
call fcn.00470270
xor ebx, ebx
jmp 0x4139d0
or dword [ebp - 4], 0xffffffff
call fcn.0046d9f2
lea ecx, [ebp - 0x2c]
call fcn.0046d9dc
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp ebx, 0x28
jge 0x413a5f
lea edi, [esi + ebx*4 + 0x1eb4]
mov ecx, dword [edi]
test ecx, ecx
je 0x413a5c
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
inc ebx
jmp 0x413a3c
lea edi, [esi + 0x1f5c]
mov ecx, dword [edi]
test ecx, ecx
je 0x413a79
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
lea edi, [esi + 0x1f60]
mov ecx, dword [edi]
test ecx, ecx
je 0x413a93
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
lea edi, [esi + 0x1f54]
mov ecx, dword [edi]
test ecx, ecx
je 0x413aad
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
lea edi, [esi + 0x1f68]
mov ecx, dword [edi]
test ecx, ecx
je 0x413ac7
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
lea edi, [esi + 0x1f58]
mov ecx, dword [edi]
test ecx, ecx
je 0x413ae1
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
lea edi, [esi + 0x1f64]
mov eax, dword [edi]
call fcn.004583f3
test eax, eax
je 0x413b02
mov ecx, dword [edi]
push 1
call fcn.0044310b
mov eax, dword [edi]
call fcn.00463a4b
call fcn.00463bdc
xor ebx, ebx
cmp ebx, 0x28
jge 0x413b2f
lea edi, [esi + ebx*4 + 0x1eb4]
mov eax, dword [edi]
test eax, eax
je 0x413b2c
cmp dword [0x4d9244], 0
je 0x413b29
call fcn.004170ce
and dword [edi], 0
inc ebx
jmp 0x413b09
lea edi, [esi + 0x1f5c]
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x413b4c
cmp dword [0x4d9244], ebx
je 0x413b4a
call fcn.004170ce
mov dword [edi], ebx
lea edi, [esi + 0x1f60]
mov eax, dword [edi]
cmp eax, ebx
je 0x413b67
cmp dword [0x4d9244], ebx
je 0x413b65
call fcn.004170ce
mov dword [edi], ebx
lea edi, [esi + 0x1f54]
mov eax, dword [edi]
cmp eax, ebx
je 0x413b82
cmp dword [0x4d9244], ebx
je 0x413b80
call fcn.004170ce
mov dword [edi], ebx
lea edi, [esi + 0x1f68]
mov eax, dword [edi]
cmp eax, ebx
je 0x413b9d
cmp dword [0x4d9244], ebx
je 0x413b9b
call fcn.004170ce
mov dword [edi], ebx
lea edi, [esi + 0x1f58]
mov eax, dword [edi]
cmp eax, ebx
je 0x413bb8
cmp dword [0x4d9244], ebx
je 0x413bb6
call fcn.004170ce
mov dword [edi], ebx
mov eax, dword [esi + 0x1f64]
cmp eax, ebx
je 0x413bd5
cmp dword [0x4d9244], ebx
je 0x413bcf
call fcn.004170ce
mov dword [esi + 0x1f64], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0046d9f2
cmp dword [ebp - 0x14], ebx
je 0x413c24
push ebx
push 0x12c
push 0xb
push dword [esi + 0x20]
mov dword [esi + 0x2384], 1
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x413c09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
call fcn.0048be2a
ret 4
cmp dword [esi + 0x1fa0], ebx
je 0x413c02
push esi
call fcn.004136dc
push 1
mov ecx, esi
call fcn.004667f1
jmp 0x413c09