Function at 0x5a8e50
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5cfabc
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.005a8850
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
push 0xffffffffffffffff
push 0
mov dword [esi + 8], ecx
lea edi, [esi + 0x6c]
push ebx
mov ecx, edi
mov dword [esi + 4], eax
mov dword [esi + 0x60], edx
call fcn.004018d0
push edi
mov eax, 0xffff
mov dword [esi + 0x3c], 0xffffffff
call fcn.00405620
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x5a8f03
lea edx, [ebp - 0xd8]
push ebx
push edx
call fcn.00405580
add esp, 8
lea edi, [esi + 0x44]
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004012e0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc4], 0x10
jb 0x5a8efa
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0052d217
add esp, 4
push edi
call fcn.00405380
add esp, 4
xor edi, edi
mov dword [ebp - 0xbc], vtable.CFile.0
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], edi
push edi
push edi
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
push ebx
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005ad1b0
test al, al
je 0x5a900b
mov byte [ebp + 0x17], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.005ad120
mov esi, dword [ebp - 0x28]
mov ebx, 3
cmp esi, ebx
jae 0x5a8f76
mov ebx, esi
mov ecx, esi
jmp 0x5a8f78
mov ecx, ebx
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x5a8f84
lea eax, [ebp - 0x38]
push ecx
push 0x641d88
push eax
call fcn.00404f50
add esp, 0xc
cmp eax, edi
jne 0x5a8fac
cmp ebx, 3
jb 0x5a8fac
xor eax, eax
cmp ebx, 3
setne al
cmp eax, edi
je 0x5a9039
mov ebx, 3
cmp esi, ebx
jae 0x5a8fb9
mov ebx, esi
jmp 0x5a8fbb
mov esi, ebx
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x5a8fc7
lea eax, [ebp - 0x38]
push esi
push 0x641d8c
push eax
call fcn.00404f50
add esp, 0xc
cmp eax, edi
jne 0x5a8feb
cmp ebx, 3
jb 0x5a8feb
xor eax, eax
cmp ebx, 3
setne al
cmp eax, edi
je 0x5a9035
cmp dword [ebp - 0x24], 0x10
jb 0x5a8ffd
mov eax, dword [ebp - 0x38]
push eax
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x38], 0
lea esi, [ebp - 0xbc]
mov dword [ebp - 0xbc], vtable.CFile.0
call fcn.005ac630
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov byte [ebp + 0x17], 1
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
mov eax, ecx
cmp esi, 0x10
jae 0x5a91f5
lea eax, [ebp - 0x38]
mov edx, eax
cmp esi, 0x10
jae 0x5a9057
lea ecx, [ebp - 0x38]
movsx eax, byte [eax + 8]
movsx edx, byte [edx + 0xa]
movsx ecx, byte [ecx + 0xb]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0x14d0]
push 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
call fcn.005aca10
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov eax, esi
lea edi, [ebx + 0xc]
call fcn.00401f10
test esi, esi
jle 0x5a9388
xor edi, edi
mov dword [ebp - 0x14], esi
jmp 0x5a90b0
mov ecx, dword [ebx + 0xc]
add ecx, edi
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
push 4
lea eax, [edi + edx + 0x14]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov ecx, dword [ebx + 0xc]
lea edx, [edi + ecx + 0x18]
push 4
push edx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov eax, dword [ebx + 0xc]
lea ecx, [edi + eax + 0x1c]
push 0x10
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
push 4
lea eax, [edi + edx + 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov ecx, dword [ebx + 0xc]
lea edx, [edi + ecx + 0x30]
push 4
push edx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov eax, dword [ebx + 0xc]
lea ecx, [edi + eax + 0x34]
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
cmp byte [ebp + 0x17], 0
je 0x5a9212
mov edx, dword [ebx + 0xc]
push 4
lea eax, [edi + edx + 0x48]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov esi, dword [ebp - 0x1c]
cmp esi, 0xcb
jl 0x5a91c1
mov ecx, dword [ebx + 0xc]
lea eax, [edi + ecx + 0x4c]
lea ecx, [eax + 4]
cmp eax, ecx
je 0x5a918f
lea esp, [esp]
mov edx, 0xffff
mov word [eax], dx
add eax, 2
cmp eax, ecx
jne 0x5a9180
mov eax, dword [ebx + 0xc]
lea ecx, [edi + eax + 0x4c]
push 2
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
cmp esi, 0xce
jl 0x5a91c1
mov edx, dword [ebx + 0xc]
push 2
lea eax, [edi + edx + 0x4e]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005aca10
cmp esi, 0xcc
jl 0x5a91fc
mov ecx, dword [ebx + 0xc]
lea edx, [edi + ecx + 0x50]
push 1
push edx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov eax, dword [ebx + 0xc]
lea ecx, [edi + eax + 0x54]
push 0x10
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
jmp 0x5a9212
mov edx, ecx
jmp 0x5a904f
mov edx, dword [ebx + 0xc]
mov byte [edi + edx + 0x50], 0
mov eax, dword [ebx + 0xc]
lea ecx, [edi + eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 4
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
cmp dword [ebp + 0xc], 0
je 0x5a9274
mov eax, dword [ebx + 0xc]
lea esi, [edi + eax + 0x38]
call fcn.00401d20
mov dword [ebp + 0x18], 1
xor esi, esi
mov ecx, dword [ebp + 0xc]
test dword [ebp + 0x18], ecx
je 0x5a9261
mov edx, dword [ebx + 0xc]
mov edx, dword [edi + edx + 0x38]
add edx, esi
lea ecx, [ebp - 0xbc]
call fcn.00586610
mov eax, dword [ebp + 0x18]
add esi, 0x10
rol eax, 1
mov dword [ebp + 0x18], eax
cmp esi, 0x200
jl 0x5a9245
mov ecx, dword [ebx + 0xc]
lea eax, [edi + ecx]
lea esi, [eax + 4]
mov eax, dword [eax]
call fcn.00401c60
mov edx, dword [ebx + 0xc]
cmp dword [edi + edx], 0
mov dword [ebp + 0xc], 0
jle 0x5a937c
xor esi, esi
lea ebx, [ebx]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + eax + 4]
add ecx, esi
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 4]
push 0x10
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 0x24]
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 0x28]
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 0x14]
push 0x10
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 0x2c]
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 0x30]
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov edx, dword [ebx + 0xc]
mov eax, dword [edi + edx + 4]
lea ecx, [eax + esi + 0x34]
push 4
push ecx
lea ecx, [ebp - 0xbc]
call fcn.005aca10
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 0xc]
inc eax
add esi, 0x38
mov dword [ebp + 0xc], eax
cmp eax, dword [edi + edx]
jl 0x5a92a0
add edi, 0x64
dec dword [ebp - 0x14]
jne 0x5a90b0
push 4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
mov edi, dword [ebp + 0xc]
mov esi, ebx
add esi, 0x2c
mov eax, edi
call fcn.00402110
test edi, edi
jle 0x5a95c8
xor esi, esi
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x18], edi
mov eax, esi
jmp 0x5a93cc
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x2c]
mov dword [eax + ecx + 0x1c], esi
mov edx, dword [edi + 0x2c]
mov dword [eax + edx + 0x20], esi
mov ecx, dword [edi + 0x2c]
mov dword [eax + ecx + 0x24], esi
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.005ad120
lea edx, [ebp - 0xf4]
cmp dword [ebp + 0x10], esi
jne 0x5a9511
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
add ecx, 0x44
push ecx
push edx
call fcn.00402dd0
add esp, 0xc
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 4
call fcn.00405080
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x60]
cmp ecx, esi
je 0x5a94aa
cmp dword [ebp - 0x4c], 0x10
jb 0x5a9456
mov edx, dword [ebp - 0x60]
push edx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp dword [esi + 0x14], 0x10
jae 0x5a9482
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0052d5a0
add esp, 0xc
jmp 0x5a948d
mov ecx, dword [esi]
mov dword [ebp - 0x60], ecx
mov dword [esi], 0
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x4c], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0xc4], 0x10
jb 0x5a94c2
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.0052d217
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0xe0], 0x10
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xd8], 0
jb 0x5a94f9
mov edx, dword [ebp - 0xf4]
push edx
call fcn.0052d217
add esp, 4
mov ecx, dword [edi + 0x2c]
add ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.004018d0
jmp 0x5a95a5
lea ecx, [ebp - 0x60]
push ecx
push edx
call fcn.00404b30
add esp, 8
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2c]
add esi, dword [ebp + 0xc]
cmp esi, edi
je 0x5a958d
cmp dword [esi + 0x14], 0x10
jb 0x5a953e
mov eax, dword [esi]
push eax
call fcn.0052d217
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [edi + 0x14], 0x10
jae 0x5a9566
mov eax, dword [edi + 0x10]
inc eax
push eax
push edi
push esi
call fcn.0052d5a0
add esp, 0xc
jmp 0x5a9570
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp - 0xe0], 0x10
jb 0x5a95a5
mov eax, dword [ebp - 0xf4]
push eax
call fcn.0052d217
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 0x10
jb 0x5a95bb
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0052d217
add esp, 4
add dword [ebp + 0xc], 0x28
dec dword [ebp + 0x18]
jne 0x5a93c7
push 4
lea edx, [ebp + 0x10]
xor esi, esi
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0x10], esi
call fcn.005aca10
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xbc]
mov dword [edi + 0x64], eax
mov dword [ebp - 0x14], esi
call fcn.005aca10
mov eax, dword [ebp - 0x14]
add edi, 0x1c
mov esi, edi
call fcn.00402010
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0
jle 0x5a983e
mov dword [ebp + 0x10], 0
mov edx, dword [edi]
mov esi, dword [ebp + 0x10]
lea eax, [esi + edx + 4]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005ad120
push 4
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
mov eax, dword [ebp + 0xc]
mov edx, dword [edi]
push 4
lea ecx, [ebp + 0xc]
push ecx
mov dword [esi + edx], eax
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
mov eax, dword [ebp + 0xc]
mov edx, dword [edi]
push 4
lea ecx, [ebp + 0xc]
push ecx
mov dword [esi + edx + 0x20], eax
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
mov edx, dword [edi]
mov eax, dword [ebp + 0xc]
mov dword [esi + edx + 0x24], eax
mov ecx, dword [edi]
lea eax, [esi + ecx]
lea esi, [eax + 0x28]
mov eax, dword [eax]
call fcn.00401e30
mov edx, dword [edi]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx], 0
mov dword [ebp - 0x44], 0
jle 0x5a981b
mov dword [ebp + 0x18], 0
push 4
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
mov edx, dword [edi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx + 0x28]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi + 0x10], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [edi]
mov esi, dword [eax + ecx + 0x28]
add esi, dword [ebp + 0x18]
mov dword [ebp + 0xc], edx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp dword [ebp + 0xc], eax
jae 0x5a9740
mov eax, dword [ebp + 0xc]
lea edi, [edx + eax*4]
cmp edi, ecx
je 0x5a97bc
mov eax, ecx
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
push eax
push ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.0052d5a0
add esp, 0xc
add edi, dword [ebp + 0xc]
mov dword [esi + 4], edi
jmp 0x5a97bc
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jae 0x5a97bc
sub ecx, eax
mov dword [ebp - 0x40], eax
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, dword [ebp - 0x40]
jb 0x5a9834
mov edi, dword [ebp - 0x40]
add edi, ecx
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jbe 0x5a9790
mov eax, ecx
shr eax, 1
mov edx, 0x3fffffff
sub edx, eax
cmp edx, ecx
jae 0x5a9780
xor ecx, ecx
jmp 0x5a9782
add ecx, eax
cmp ecx, edi
jae 0x5a9788
mov ecx, edi
push ecx
mov ecx, esi
call fcn.0040e8d0
mov edi, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov edx, edi
sub edx, dword [esi]
mov ecx, eax
sar edx, 2
sub ecx, edx
je 0x5a97aa
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edx, ecx
sub edx, dword [esi]
sar edx, 2
sub eax, edx
lea eax, [ecx + eax*4]
mov dword [esi + 4], eax
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x64], esi
jle 0x5a97fa
push 4
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0xc], 0
call fcn.005aca10
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx + 0x28]
mov edx, dword [ebp + 0x18]
mov eax, dword [ecx + edx]
mov ecx, dword [ebp + 0xc]
mov dword [eax + esi*4], ecx
inc esi
cmp esi, dword [edi + 0x64]
jl 0x5a97c6
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0x18], 0x14
mov esi, edi
mov edx, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ecx + edx]
jl 0x5a96c3
jmp 0x5a981e
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
add dword [ebp + 0x10], 0x38
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x14]
jl 0x5a9620
jmp 0x5a9841
push str.vector_T__too_long
call fcn.0051b104
mov esi, dword [ebp + 8]
cmp byte [ebp + 0x17], 0
je 0x5a9960
push 2
lea edx, [ebp + 8]
xor edi, edi
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 8], edi
call fcn.005aca10
mov ax, word [ebp + 8]
push 2
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0xbc]
mov word [esi + 0x3c], ax
mov dword [ebp + 8], edi
call fcn.005aca10
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov word [esi + 0x3e], ax
cmp edi, 0xcb
jge 0x5a9906
cmp edi, 0xc9
jl 0x5a98bc
push 2
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp + 8], 0
call fcn.005aca10
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
jmp 0x5a98c2
movzx ecx, ax
mov dword [ebp + 8], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x5a9906
xor edx, edx
mov dword [ebp + 0x10], eax
mov edi, edi
mov eax, dword [ebx + 0xc]
lea eax, [edx + eax + 0x4c]
lea ecx, [eax + 4]
cmp eax, ecx
je 0x5a98f2
mov edi, edi
mov edi, 0xffff
mov word [eax], di
add eax, 2
cmp eax, ecx
jne 0x5a98e0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xc]
mov ax, word [ebp + 8]
mov word [edx + ecx + 0x4c], ax
add edx, 0x64
dec dword [ebp + 0x10]
jne 0x5a98d0
cmp edi, 0xca
jl 0x5a992f
push 1
lea ecx, [ebp + 0xb]
push ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp + 0xb], 0
call fcn.005aca10
cmp byte [ebp + 0xb], 0
setne dl
mov byte [esi + 0x40], dl
jmp 0x5a9933
mov byte [esi + 0x40], 0
cmp edi, 0xce
jl 0x5a995c
push 1
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp + 0xb], 0
call fcn.005aca10
cmp byte [ebp + 0xb], 0
setne cl
mov byte [esi + 0x41], cl
jmp 0x5a9960
mov byte [esi + 0x41], 0
cmp dword [ebp - 0x24], 0x10
jb 0x5a9972
mov edx, dword [ebp - 0x38]
push edx
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
je 0x5a99bb
dec eax
je 0x5a99a3
dec eax
jne 0x5a99cc
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x5a99cc
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x5a99cc
cmp byte [ebp - 0x6c], 0
je 0x5a99cc
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x5a99cc
push eax
call fcn.0052eb6c
add esp, 4
jmp 0x5a99cc
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x5a99cc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14