Function at 0x41c7d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5704a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebx + 0xf568]
mov dword [ebp - 0x20], esi
cmp esi, dword [eax + 0x1c]
jge 0x41c81d
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0x2c]
test eax, eax
jne 0x41c81d
inc esi
jmp 0x41c7ff
mov edx, dword [ebx + 0xf568]
cmp esi, dword [edx + 0x1c]
jne 0x41c83d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebx + 0xf564]
mov ecx, 0x1c
xor eax, eax
push 0x24
rep stosd dword es:[edi], eax
call fcn.00558a23
mov ecx, dword [ebx + 0xf564]
add esp, 4
mov dword [ecx], eax
mov edx, dword [ebx + 0xf568]
mov ecx, dword [ebx + 0xf564]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + esi*4]
mov dword [ecx + 4], edx
mov edi, dword [ebx + 0xf564]
xor ecx, ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x14]
cmp al, 2
sete cl
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0xf564]
mov edi, dword [ebp + 8]
mov edx, dword [eax + 8]
neg edx
sbb edx, edx
and edx, 0xfffffffa
add edx, 6
mov dword [eax + 0x90], edx
mov eax, dword [ebx + 0xf564]
mov dword [eax + 0x5c], 0xffffffff
xor eax, eax
cmp edi, eax
je 0x41c8bd
mov dword [0x5ed75c], eax
cmp eax, dword [ebx + 0x16c]
jge 0x41c932
mov ecx, dword [ebx + 0xf568]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + esi*4]
mov esi, dword [ebx + 0x168]
mov edx, dword [ecx + 0x30]
lea ecx, [eax + eax*8]
shl ecx, 3
sub ecx, eax
lea ecx, [esi + ecx*8]
cmp edx, dword [ecx + 0x224]
jne 0x41c96b
mov edx, dword [ebx + 0x3284]
add ecx, 0x110
add edx, 0x57d2
push edx
push ecx
call fcn.00438940
mov eax, dword [ebx + 0x3284]
mov ecx, dword [ebx + 0xf564]
add esp, 8
add eax, 0x57d2
add ecx, 0x94
push 0x104
push eax
push ecx
call fcn.00438200
mov esi, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebx + 0xf564]
mov eax, dword [edx + 8]
test eax, eax
je 0x41cc33
lea ecx, [ebp - 0x64]
call fcn.0053943a
mov eax, dword [0x5e8e38]
mov dword [ebp - 0x24], eax
mov edx, dword [ebx + 0xf564]
mov byte [ebp - 4], 2
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41c974
mov eax, ecx
jmp 0x41c977
mov esi, dword [ebp - 0x20]
inc eax
jmp 0x41c8bd
mov eax, dword [eax + 0x10]
add edx, 0x94
push eax
lea ecx, [ebp - 0x168]
push edx
push ecx
call fcn.00438a60
add esp, 0xc
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x24]
push edx
call fcn.005597b5
mov eax, dword [ebp - 0x24]
push 0
push eax
lea ecx, [ebp - 0x64]
call fcn.005394fd
xor edi, edi
test eax, eax
je 0x41c9cd
lea ecx, [ebp - 0x64]
call fcn.0053971d
mov edx, dword [ebp - 0x64]
push 0x10
lea ecx, [ebp - 0x64]
call dword [edx + 0x38]
test eax, eax
je 0x41c9cd
mov edi, 1
lea ecx, [ebp - 0x64]
call fcn.005394b3
test edi, edi
jne 0x41c9fe
mov eax, dword [ebx + 0xf564]
push 0x104
lea ecx, [eax + 0x94]
add eax, 0x198
push ecx
push eax
call fcn.00438200
add esp, 0xc
jmp 0x41cc15
mov edx, dword [ebx + 0xf564]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41ca12
mov eax, ecx
jmp 0x41ca15
mov eax, dword [eax + 0x10]
push ebx
push str.All_Files__._.
push 0x80006
push eax
push 0
push 0
lea ecx, [ebp - 0x360]
call fcn.00554ed7
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
lea ecx, [ebp - 0x360]
sbb eax, eax
and eax, 0xc
add eax, 0x4c
mov dword [ebp - 0x304], eax
call fcn.00555039
cmp eax, 1
jne 0x41cbf7
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x360]
push eax
call fcn.00555114
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.004c36f0
add esp, 8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0055962c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x360]
push edx
call fcn.00555114
mov ecx, dword [ebx + 0x3284]
mov eax, dword [eax]
add ecx, 0x57d2
mov byte [ebp - 4], 7
push ecx
push eax
call fcn.00438940
add esp, 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.0055962c
mov edx, dword [ebx + 0x3284]
mov eax, dword [ebx + 0xf564]
add edx, 0x57d2
push 0x104
add eax, 0x94
push edx
push eax
call fcn.00438200
mov eax, dword [ebx + 0xf564]
add esp, 0xc
lea ecx, [eax + 0x94]
push 0x104
add eax, 0x198
push ecx
push eax
call fcn.00438200
add esp, 0xc
xor ecx, ecx
cmp ecx, dword [ebx + 0x16c]
jge 0x41cbeb
mov edx, dword [ebx + 0xf568]
mov edi, dword [ebx + 0x168]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + esi*4]
lea eax, [ecx + ecx*8]
shl eax, 3
mov edx, dword [edx + 0x30]
sub eax, ecx
shl eax, 3
mov dword [ebp + 8], eax
cmp edx, dword [eax + edi + 0x224]
jne 0x41cc2d
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x360]
push eax
call fcn.00555114
mov ecx, dword [ebx + 0x168]
mov edx, dword [ebp + 8]
mov edi, dword [eax]
xor eax, eax
lea edx, [edx + ecx + 0x110]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
call fcn.0055962c
mov ecx, dword [ebx + 0x168]
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
xor eax, eax
lea edx, [edx + ecx + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xf568]
mov edi, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov esi, dword [edx + eax*4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41cbdf
push eax
call fcn.00541c79
add esp, 4
push edi
call fcn.00545de0
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0055962c
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 8
call fcn.0055962c
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 2
call fcn.00558bf3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0055962c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
jmp 0x41d0cb
inc ecx
jmp 0x41cb0e
test edi, edi
jne 0x41d0d0
mov eax, dword [0x5ed75c]
test eax, eax
jne 0x41d0d0
lea ecx, [ebp - 0x48]
call fcn.0053943a
mov ecx, dword [0x5e8e38]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebx + 0xf564]
mov byte [ebp - 4], 0xa
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41cc71
mov eax, ecx
jmp 0x41cc74
mov eax, dword [eax + 0x10]
add edx, 0x94
push eax
push edx
lea edx, [ebp - 0x26c]
push edx
call fcn.00438a60
add esp, 0xc
lea eax, [ebp - 0x26c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.005597b5
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
lea ecx, [ebp - 0x48]
call fcn.005394fd
xor edi, edi
test eax, eax
je 0x41ccca
lea ecx, [ebp - 0x48]
call fcn.0053971d
mov edx, dword [ebp - 0x48]
push 0x10
lea ecx, [ebp - 0x48]
call dword [edx + 0x38]
test eax, eax
jne 0x41ccca
mov edi, 1
lea ecx, [ebp - 0x48]
call fcn.005394b3
test edi, edi
je 0x41d0b8
mov ecx, ebx
call fcn.00431990
test eax, eax
jne 0x41d0ae
push ebx
lea ecx, [ebp - 0x100]
call fcn.004b4eb0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
push 0x5d83c0
push ecx
mov byte [ebp - 4], 0xb
call fcn.00559935
push 0x5d83a0
lea edx, [ebp + 8]
push eax
push edx
mov byte [ebp - 4], 0xc
call fcn.005598c1
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.00559765
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.0055962c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0055962c
lea ecx, [ebp - 0x100]
call fcn.00558fb2
mov edi, eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.0055962c
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.005662fe
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.00558bf3
cmp edi, 7
jne 0x41d043
mov eax, dword [0x5e8e38]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xf564]
mov byte [ebp - 4], 0x10
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41cda3
mov eax, ecx
jmp 0x41cda6
mov eax, dword [eax + 0x10]
lea edx, [ebp + 8]
push eax
push edx
call fcn.004c37e0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00559765
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.0055962c
mov eax, dword [ebp - 0x14]
push 0x5ed678
push eax
call fcn.00541319
mov ecx, dword [ebp - 0x14]
add esp, 8
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebx + 0xf564]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x41cdfa
mov ecx, edx
jmp 0x41cdfd
mov ecx, dword [ecx + 0x10]
push ebx
push str.All_Files__._.
push 0x80006
push ecx
push eax
push 0
lea ecx, [ebp - 0x558]
call fcn.00554ed7
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
lea ecx, [ebp - 0x558]
sbb eax, eax
and eax, 0xc
add eax, 0x4c
mov dword [ebp - 0x4fc], eax
call fcn.00555039
cmp eax, 1
jne 0x41cfe6
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x558]
push edx
call fcn.00555114
mov eax, dword [eax]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c36f0
add esp, 8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.0055962c
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x558]
call fcn.00555114
mov edx, dword [ebx + 0x3284]
mov eax, dword [eax]
add edx, 0x57d2
mov byte [ebp - 4], 0x16
push edx
push eax
call fcn.00438940
add esp, 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
call fcn.0055962c
mov eax, dword [ebx + 0x3284]
mov ecx, dword [ebx + 0xf564]
add eax, 0x57d2
push 0x104
add ecx, 0x94
push eax
push ecx
call fcn.00438200
mov eax, dword [ebx + 0xf564]
add esp, 0xc
lea edx, [eax + 0x94]
push 0x104
add eax, 0x198
push edx
push eax
call fcn.00438200
add esp, 0xc
xor ecx, ecx
cmp ecx, dword [ebx + 0x16c]
jge 0x41cfd2
mov eax, dword [ebx + 0xf568]
mov edi, dword [ebx + 0x168]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + esi*4]
mov edx, dword [eax + 0x30]
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
shl eax, 3
mov dword [ebp + 8], eax
cmp edx, dword [eax + edi + 0x224]
jne 0x41cfe0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x558]
call fcn.00555114
mov edi, dword [eax]
mov edx, dword [ebx + 0x168]
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
lea edx, [eax + edx + 0x110]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2c]
call fcn.0055962c
mov ecx, dword [ebx + 0x168]
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
xor eax, eax
lea edx, [edx + ecx + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xf568]
mov edi, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
mov esi, dword [edx + eax*4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41cfc6
push eax
call fcn.00541c79
add esp, 4
push edi
call fcn.00545de0
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0055962c
jmp 0x41d017
inc ecx
jmp 0x41cef5
mov eax, dword [ebx + 0xf564]
test eax, eax
je 0x41d017
cmp dword [eax], 0
je 0x41d017
mov eax, dword [eax + 0x60]
test eax, eax
je 0x41d003
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebx + 0xf564]
cmp dword [ecx], 0
je 0x41d017
push 1
mov ecx, ebx
call fcn.0041f5c0
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0x17
call fcn.0055962c
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 0x10
call fcn.00558bf3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.0055962c
jmp 0x41d0b8
cmp edi, 2
jne 0x41d0a9
mov eax, dword [ebx + 0xf564]
test eax, eax
je 0x41d079
cmp dword [eax], 0
je 0x41d079
mov eax, dword [eax + 0x60]
test eax, eax
je 0x41d065
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebx + 0xf564]
cmp dword [edx], 0
je 0x41d079
push 1
mov ecx, ebx
call fcn.0041f5c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0055962c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00539477
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 4
jne 0x41d0b8
mov dword [0x5ed75c], 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0055962c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00539477
mov eax, dword [0x5e8e38]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0xf564]
mov byte [ebp - 4], 0x18
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d0f0
mov eax, ecx
jmp 0x41d0f3
mov eax, dword [eax + 0x10]
push eax
lea edx, [ebp - 0x28]
push 0x5d8390
push edx
call fcn.00554dd4
add esp, 8
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.005593a1
push 0
mov ecx, ebx
call fcn.004241b0
mov ecx, ebx
call fcn.0041d1c0
test eax, eax
jne 0x41d148
mov ecx, dword [ebx + 0xf564]
mov eax, dword [ecx]
test eax, eax
je 0x41d148
push eax
call fcn.00558a4c
mov edx, dword [ebx + 0xf564]
add esp, 4
mov dword [edx], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0055962c
jmp 0x41d091