Function at 0x52fab0
Capabilities:
Check if file exists
Create thread
Get file attributes
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b59ea
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x63b404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xa0]
call fcn.00545a50
mov ebx, eax
push 0x6450a8
mov ecx, ebx
call fcn.00546600
push ebx
lea ecx, [ebp - 0x68]
call fcn.005456c0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.00546d80
mov edi, eax
mov byte [ebp - 0xd], 1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx ecx, byte [ebp - 0xd]
xor edx, edx
cmp eax, 0xffffffff
push edi
cmove ecx, edx
mov dword [ebp - 0x24], ecx
call fcn.0056fc1b
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x52fb49
push 2
push eax
call fcn.0056f898
add esp, 8
cmp byte [ebp - 0x24], 0
je 0x52fb80
mov ecx, ebx
call fcn.005483c0
mov edi, eax
mov ecx, edi
call fcn.005321a0
mov dword [esi + 0x80], eax
test edi, edi
je 0x52fb71
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
cmp dword [esi + 0x80], 0
je 0x52fb80
mov byte [ebp - 0xd], 1
jmp 0x52fb8e
mov ecx, esi
call fcn.0052ebf0
mov byte [ebp - 0xd], al
test al, al
je 0x52fb95
mov ecx, esi
call fcn.0052e670
test ebx, ebx
je 0x52fbc2
mov eax, dword [ebx]
test eax, eax
je 0x52fbb0
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056f898
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x5306dc
cmp byte [esi + 0x9f], 0
jne 0x5306ec
mov ecx, dword [esi + 0x80]
lea eax, [esi + 0xb0]
push eax
push 0x6450b8
call fcn.00536bb0
mov ecx, esi
call fcn.0052df80
mov ecx, esi
call fcn.0052e5e0
xor edi, edi
cmp dword [esi + 0xcc], edi
jbe 0x52fc32
cmp edi, dword [esi + 0xcc]
jae 0x52fc29
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x52fc29
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x52fc29
lea edx, [ecx + 8]
call fcn.00531d80
inc edi
cmp edi, dword [esi + 0xcc]
jb 0x52fc10
push 4
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00532040
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
push 0x648cc0
mov ecx, dword [ebx]
call fcn.0053dcf0
push 0x16
mov dword [ebp - 0x24], 0
mov edi, 0xa
call fcn.0056f8a6
push 0xffffffffffffffff
push str.precaching
push 0xb
push eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x64], edi
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 2
push eax
push 0x645170
mov ecx, ebx
call fcn.00536bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x52fcc8
push 2
push eax
call fcn.0056f898
add esp, 8
call fcn.0054eef0
push eax
push 0x644fc8
mov ecx, ebx
call fcn.00536bb0
push ecx
mov ecx, ebx
call fcn.004ff890
mov edx, dword [esi + 0x88]
xor ecx, ecx
mov dword [esi + 0x70], 2
mov dword [ebp - 0x1c], ecx
cmp dword [edx + 4], ecx
jbe 0x52fdae
nop dword [eax]
cmp byte [esi + 0x9f], 0
jne 0x52fdae
xor eax, eax
mov dword [ebp - 0x20], eax
cmp ecx, dword [edx + 4]
jae 0x52fd23
mov edx, dword [edx]
test edx, edx
je 0x52fd23
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
push dword [eax + 4]
lea ecx, [ebp - 0x68]
call fcn.005456c0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 3
call fcn.00546d80
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push edi
mov ebx, eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
cmp ebx, 0xffffffff
sete bl
test eax, eax
je 0x52fd79
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
test bl, bl
je 0x52fd98
mov eax, dword [ebp - 0x20]
push dword [eax + 0xc]
mov ecx, dword [eax + 4]
push dword [eax + 8]
call fcn.00549600
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x88]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [edx + 4]
jb 0x52fd00
push 4
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00532040
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
push 0x648cc0
mov ecx, dword [ebx]
call fcn.0053dcf0
push 0x1e
mov dword [ebp - 0x24], 0
mov edi, 0xe
call fcn.0056f8a6
push 0xffffffffffffffff
push str.start_download
push 0xf
push eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x64], edi
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 5
push eax
push 0x645170
mov ecx, ebx
call fcn.00536bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x52fe44
push 2
push eax
call fcn.0056f898
add esp, 8
call fcn.0054eef0
push eax
push 0x644fc8
mov ecx, ebx
call fcn.00536bb0
push ecx
mov ecx, ebx
call fcn.004ff890
mov eax, dword [esi + 0x88]
xor ecx, ecx
mov dword [esi + 0x70], 3
mov dword [ebp - 0x24], ecx
lea ebx, [ecx + 1]
cmp dword [eax + 4], ecx
jbe 0x5305cc
nop dword [eax]
cmp byte [esi + 0x9f], 0
jne 0x5305c7
xor ebx, ebx
mov dword [ebp - 0x18], ebx
cmp ecx, dword [eax + 4]
jae 0x52fea3
mov eax, dword [eax]
test eax, eax
je 0x52fea3
mov ebx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ebx
push 4
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.00532040
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push 0x648cc0
mov dword [ebp - 0x14], edi
mov ecx, dword [edi]
call fcn.0053dcf0
push dword [ebx + 4]
mov ecx, edi
push 0x645180
call fcn.00536bb0
push dword [ebx]
mov ecx, edi
push 0x644fb8
call fcn.00536bb0
push 0x645090
mov ecx, edi
call fcn.005340c0
mov al, byte [ebx + 0x21]
test al, al
jne 0x530557
nop word [eax + eax]
cmp dword [ebx + 0x24], 3
jae 0x53054a
cmp byte [esi + 0x9f], 0
jne 0x53054a
push ebx
mov ecx, esi
mov byte [esi + 0x9d], 1
call fcn.005307d0
push 4
mov ebx, eax
call fcn.0056f5ce
mov dword [ebp - 0x20], eax
push 4
mov dword [ebp - 4], 7
call fcn.0056f5ce
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00532040
mov edi, eax
mov byte [ebp - 4], 7
push 0x648cc0
mov ecx, dword [edi]
call fcn.0053dcf0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edi
test ebx, ebx
je 0x52ff8b
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
jmp 0x52ff94
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x52ffdc
test eax, eax
je 0x52ffdc
push 0x78
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x38], eax
push dword [ebp - 0x1c]
mov dword [ebp - 4], 9
mov ecx, eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.005215f0
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x78], edx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [edx + 0x68], ecx
mov dword [edx + 0x6c], eax
test ebx, ebx
je 0x530051
mov eax, dword [ebx + 8]
cmp eax, 1
jbe 0x530036
xor edi, edi
test eax, eax
je 0x530059
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 0xc]
push dword [ecx + eax + 0x14]
push dword [ecx + eax + 0x10]
push dword [ecx + eax + 0xc]
push dword [ecx + eax + 8]
push dword [ecx + eax + 4]
push dword [ecx + eax]
mov ecx, dword [esi + 0x78]
push edi
call fcn.005222c0
mov ecx, dword [ebp - 0x1c]
inc edi
add ecx, 0x18
mov dword [ebp - 0x1c], ecx
cmp edi, dword [ebx + 8]
jb 0x530002
jmp 0x530059
push dword [edi + 0xc]
mov ecx, dword [esi + 0x78]
push dword [edi + 8]
push dword [ebx + 4]
push dword [ebx]
push 0
push 0
push 0
call fcn.005222c0
jmp 0x530059
mov ecx, dword [esi + 0x78]
call fcn.00522380
mov edi, dword [esi + 0x78]
mov eax, dword [edi + 4]
mov byte [edi + 9], 1
test eax, eax
jne 0x53008c
push eax
push 4
push edi
push 0x550410
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [edi + 0xc]
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 4]
test eax, eax
je 0x530093
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0x18]
mov edi, 5
push 0xc
mov dword [ebp - 0x2c], 0
mov byte [ebx + 0x20], 1
call fcn.0056f8a6
push 0xffffffffffffffff
push str.start
push 6
push eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x50]
push dword [esi + 0x78]
push eax
push dword [ebp - 0x14]
call fcn.0052f940
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x530106
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x50], 0
xor al, al
mov dword [ebp - 0x4c], 0
push 0x1c
mov dword [ebp - 0x1c], eax
mov edi, 0xd
mov dword [ebp - 0x2c], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.state_change
push 0xe
push eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0xb
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.00545830
mov edi, eax
test edi, edi
je 0x530196
push edi
lea ecx, [ebp - 0x48]
call fcn.00546600
mov eax, dword [edi]
test eax, eax
je 0x530184
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056f898
add esp, 8
push dword [esi + 0x78]
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
call fcn.0052f940
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x78]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
cmp edx, dword [ebx + 0x14]
jb 0x5301e9
ja 0x5301c5
cmp eax, dword [ebx + 0x10]
jbe 0x5301e9
mov dword [ebx + 0x10], eax
mov ecx, esi
mov dword [ebx + 0x14], edx
push dword [esi + 0x78]
push ebx
call fcn.0052e330
mov ecx, dword [ebp - 0x1c]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x5302b7
push 0x1c
mov dword [ebp - 0x28], 0
mov edi, 0xd
call fcn.0056f8a6
push 0xffffffffffffffff
push str.state_change
push 0xe
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 0xc
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.00545830
mov edi, eax
test edi, edi
je 0x53027a
push edi
lea ecx, [ebp - 0x40]
call fcn.00546600
mov eax, dword [edi]
test eax, eax
je 0x530268
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056f898
add esp, 8
push dword [esi + 0x78]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x14]
call fcn.0052f940
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x5302b0
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + 0x70]
cmp eax, 5
je 0x5302e1
cmp eax, 6
je 0x5302e1
cmp byte [esi + 0x9f], 0
je 0x5301b2
jmp 0x5302ee
cmp byte [esi + 0x9f], 0
je 0x53037f
push ecx
push ebx
mov ecx, esi
call fcn.0052e330
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, esi
call fcn.0052f8d0
push 0xc
mov dword [esi + 0x70], 4
mov edi, 5
mov dword [ebp - 0x28], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.pause
push 6
push eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x58]
push dword [esi + 0x78]
push eax
push dword [ebp - 0x14]
call fcn.0052f940
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x530373
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
jmp 0x53046d
mov dword [ebp - 0x28], 0
cmp eax, 5
jne 0x5303fe
mov word [ebx + 0x20], 0x100
lea edi, [eax + 3]
push 0x12
mov byte [esi + 0x9d], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.complete
push 9
push eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x60]
push dword [esi + 0x78]
push eax
push dword [ebp - 0x14]
call fcn.0052f940
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x5303f5
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
jmp 0x530467
inc dword [ebx + 0x24]
mov edi, 6
push 0xe
call fcn.0056f8a6
push 0xffffffffffffffff
push str.failed
push 7
push eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x68]
push dword [esi + 0x78]
push eax
push dword [ebp - 0x14]
call fcn.0052f940
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x530460
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
cmp byte [ebp - 0x1c], 0
je 0x5304d8
mov ecx, dword [esi + 0xa0]
call fcn.00545a50
mov edi, eax
test edi, edi
je 0x5304d8
push 0x6450a8
mov ecx, edi
call fcn.00546600
mov dl, 1
mov ecx, edi
call fcn.0054c570
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5304af
mov ecx, dword [esi + 0x80]
push eax
call fcn.00538f40
mov ecx, dword [ebp - 0x28]
push 1
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [edi]
test eax, eax
je 0x5304c6
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056f898
add esp, 8
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi]
test ecx, ecx
je 0x5304ed
push ecx
call fcn.004ff890
mov dword [edi], 0
push 4
push edi
call fcn.0056f898
mov edi, dword [esi + 0x78]
add esp, 8
test edi, edi
je 0x530518
mov ecx, edi
call fcn.00521780
push 0x78
push edi
call fcn.0056f898
add esp, 8
mov dword [esi + 0x78], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x530538
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x48], 0
mov al, byte [ebx + 0x21]
mov dword [ebp - 0x44], 0
test al, al
je 0x52ff10
mov edi, dword [ebp - 0x14]
test al, al
jne 0x530557
cmp dword [ebx + 0x24], 3
je 0x5305c0
mov edi, dword [edi]
test edi, edi
je 0x53059a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x530576
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
call fcn.0053dc30
push 0x18
push edi
call fcn.0056f898
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [eax], 0
jmp 0x53059d
mov eax, dword [ebp - 0x14]
push 4
push eax
call fcn.0056f898
mov ecx, dword [ebp - 0x24]
add esp, 8
mov eax, dword [esi + 0x88]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [eax + 4]
jb 0x52fe80
jmp 0x5305c7
mov dword [esi + 0x70], 6
mov ebx, 1
cmp byte [esi + 0x9f], 0
jne 0x530627
xor edi, edi
mov dl, 1
cmp dword [esi + 0xcc], edi
jbe 0x530627
cmp dl, 1
jne 0x53060f
cmp edi, dword [esi + 0xcc]
jae 0x530606
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x530606
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x530606
call fcn.00531d00
mov dl, al
inc edi
cmp edi, dword [esi + 0xcc]
jb 0x5305e1
test dl, dl
jne 0x530627
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x9f], 0
je 0x5305d5
mov ecx, esi
call fcn.0052f8d0
cmp byte [esi + 0x9f], 0
jne 0x5306c8
cmp dword [esi + 0x70], 6
je 0x5306c8
mov eax, dword [esi + 0xcc]
xor edi, edi
mov dl, 1
test eax, eax
je 0x530687
cmp dl, 1
jne 0x530683
cmp edi, dword [esi + 0xcc]
jae 0x530678
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x530678
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x530678
call fcn.00531d00
mov dl, al
mov eax, dword [esi + 0xcc]
inc edi
cmp edi, eax
jb 0x530653
test dl, dl
je 0x5306c8
xor dl, dl
xor edi, edi
test eax, eax
je 0x5306c1
nop
test dl, dl
jne 0x5306c8
cmp edi, dword [esi + 0xcc]
jae 0x5306b4
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x5306b4
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x5306b4
call fcn.00531d40
mov dl, al
inc edi
cmp edi, dword [esi + 0xcc]
jb 0x530690
test dl, dl
jne 0x5306c8
mov dword [esi + 0x70], 5
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x9f], 0
jne 0x5306ec
mov dword [esi + 0x70], 6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret