Function at 0x52f6d4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], 1
mov eax, dword [ebx]
test edi, edi
mov dword [ebp - 0x40], eax
je 0x52f705
mov edx, dword [ebp - 0x40]
cmp byte [edx + 0x1e], 0
jne 0x52f705
cmp dword [ebx + 0x40], 0
je 0x52f70f
mov eax, 1
jmp 0x5305a5
push 0
push 0
push 0
push 0x15
push ebx
call fcn.0051f634
add esp, 0x14
test eax, eax
je 0x52f72e
mov eax, 1
jmp 0x5305a5
push 0x2c
push 0
lea edx, [ebp - 0xfc]
push edx
call fcn.004e90c7
add esp, 0xc
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [ecx]
cmp eax, 4
jg 0x52f768
mov edx, dword [edi + 0x18]
push edx
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0051adbc
add esp, 8
xor eax, eax
mov dword [edi + 0x18], eax
and word [edi + 6], 0xfffe
push 0
push edi
push ebx
call fcn.0052f39c
add esp, 0xc
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x20], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], ecx
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x40], 0
jne 0x530559
mov edx, dword [ebp - 0x40]
cmp byte [edx + 0x1e], 0
je 0x52f79d
jmp 0x530559
test byte [edi + 6], 4
setne cl
and ecx, 1
mov dword [ebp - 0x10], ecx
push ebx
call fcn.0052cfb8
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x530559
xor esi, esi
jmp 0x52f8aa
mov eax, esi
shl eax, 3
sub eax, esi
shl eax, 3
add eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
je 0x52f8a9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x14], 0
jne 0x52f8a9
push edi
call fcn.00519fe4
pop ecx
add dword [ebx + 0x204], eax
mov edx, dword [ebp - 0x48]
test byte [edx + 6], 4
setne cl
and ecx, 1
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x10]
push edx
push esi
push edi
push ebx
call fcn.0052e550
add esp, 0x14
test eax, eax
je 0x52f843
cmp dword [ebp - 0x4c], 0
je 0x52f83e
mov dword [ebp - 0x10], 1
or word [edi + 6], 4
or esi, 0xffffffff
jmp 0x52f876
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x10c]
mov edx, dword [eax + 0x18]
push edx
push 9
push ecx
call fcn.0052b82c
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
mov edx, dword [ebp - 0x48]
push edx
push ebx
call fcn.0052f6d4
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x14], 1
mov eax, dword [ebp - 0x40]
cmp byte [eax + 0x1e], 0
je 0x52f884
jmp 0x530559
push edi
call fcn.00519fe4
pop ecx
sub dword [ebx + 0x204], eax
mov edx, dword [edi + 8]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [ecx]
cmp eax, 4
jle 0x52f8a9
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x20], edx
inc esi
cmp dword [edi + 0x1c], 0
jne 0x52f8be
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx]
cmp esi, eax
jl 0x52f7c5
mov edx, dword [edi]
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x24], eax
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x28], edx
test byte [edi + 6], 1
setne cl
and ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [edi + 0x1c], 0
je 0x52f956
cmp dword [edi + 0x24], 0
jne 0x52f943
xor eax, eax
mov dword [ebp - 0x50], eax
xor edx, edx
mov dword [ebp - 0x54], edx
mov eax, edi
test eax, eax
je 0x52f914
mov dword [eax + 0x24], edi
mov edx, dword [ebp - 0x50]
mov dword [eax + 0x20], edx
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x1c]
inc dword [ebp - 0x54]
test eax, eax
jne 0x52f8fe
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x52f943
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x58]
jle 0x52f943
push str.too_many_terms_in_compound_SELECT
push ebx
call fcn.004fe284
add esp, 8
mov eax, 1
jmp 0x5305a5
mov edx, dword [ebp + 0x10]
push edx
push edi
push ebx
call fcn.0052d168
add esp, 0xc
jmp 0x5305a5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push eax
mov edx, dword [ebp + 0x10]
push edx
push ebx
call fcn.0052bfcc
add esp, 0xc
test eax, eax
je 0x52f972
jmp 0x530559
movzx ecx, word [edi + 6]
and ecx, 5
dec ecx
jne 0x52f9a1
push 0
mov eax, dword [edi]
push eax
mov edx, dword [ebp - 0x40]
push edx
call fcn.0051a804
add esp, 0xc
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x24], ecx
and word [edi + 6], 0xfffe
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0
je 0x52f9f1
mov edx, dword [ebp - 0x20]
push edx
push ebx
call fcn.0052c41c
add esp, 8
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebx + 0x44]
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], ecx
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x5c]
push edx
push 0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
add eax, 2
push eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 8]
push ecx
push 0x76
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e910
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [edi + 0x40], eax
jmp 0x52f9f8
mov dword [ebp - 0x38], 0xffffffff
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 9
jne 0x52fa1f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
push eax
push 0x76
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e94c
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
push edi
push ebx
call fcn.0052cfec
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x52fa76
mov edx, dword [ebx + 0x44]
inc dword [ebx + 0x44]
mov dword [ebp - 0x30], edx
mov ecx, dword [edi]
push ecx
push ebx
call fcn.0052c41c
add esp, 8
mov dword [ebp - 0x60], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x60]
push eax
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
push 0x76
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e910
add esp, 0x1c
jmp 0x52fa7d
mov dword [ebp - 0x30], 0xffffffff
cmp dword [ebp - 0x10], 0
jne 0x52fb13
cmp dword [ebp - 0x24], 0
jne 0x52fb13
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call fcn.005370a8
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x530559
cmp dword [ebp - 0x38], 0
jl 0x52fada
cmp dword [ebp - 0x20], 0
jne 0x52fada
push 1
mov eax, dword [ebp - 0x38]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050ed94
add esp, 0xc
mov dword [edi + 0x40], 0xffffffff
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x14]
push eax
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push edi
push ebx
call fcn.0052c004
add esp, 0x28
mov eax, dword [ebp - 8]
push eax
call fcn.00537870
pop ecx
jmp 0x530526
cmp dword [ebp - 0x24], 0
je 0x52fb55
mov edx, edi
mov eax, edi
mov edx, dword [edx]
mov eax, dword [eax]
mov edx, dword [edx]
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x52fb38
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x52fb2a
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov edx, dword [edx]
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x52fb55
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x52fb47
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e94c
pop ecx
mov dword [ebp - 0x78], eax
push 0x24
push 0
lea ecx, [ebp - 0x130]
push ecx
call fcn.004e90c7
mov dword [ebp - 0x130], ebx
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x114], edx
cmp dword [ebp - 0x24], 0
je 0x52fb9e
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
inc eax
jmp 0x52fba0
xor eax, eax
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xf4], edx
mov ecx, dword [ebp - 0x14]
push ecx
lea eax, [ebp - 0x130]
push eax
call fcn.0051d720
add esp, 8
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x130]
push ecx
call fcn.0051d720
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x52fbee
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x130]
push edx
call fcn.0051d6f0
add esp, 8
mov ecx, dword [ebp - 0xe8]
xor esi, esi
mov dword [ebp - 0xe0], ecx
jmp 0x52fc20
mov eax, esi
shl eax, 4
mov edx, dword [ebp - 0xdc]
mov ecx, dword [edx + eax]
mov eax, dword [ecx + 0x10]
push eax
lea edx, [ebp - 0x130]
push edx
call fcn.0051d720
add esp, 8
inc esi
cmp esi, dword [ebp - 0xd8]
jl 0x52fbfe
mov ecx, dword [ebp - 0x40]
cmp byte [ecx + 0x1e], 0
jne 0x530559
cmp dword [ebp - 0x24], 0
je 0x53023a
mov eax, dword [ebx + 0x44]
inc dword [ebx + 0x44]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x24]
push edx
push ebx
call fcn.0052c41c
add esp, 8
mov dword [ebp - 0x7c], eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x7c]
push ecx
push 0
mov eax, dword [ebp - 0xf0]
push eax
mov edx, dword [ebp - 0xf8]
push edx
push 0x76
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e910
add esp, 0x1c
mov dword [ebp - 0x94], eax
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x6c], eax
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
mov dword [ebp - 0x70], edx
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e94c
pop ecx
mov dword [ebp - 0x84], eax
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e94c
pop ecx
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
add dword [ebx + 0x48], ecx
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
add dword [ebx + 0x48], ecx
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0x30
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
push ecx
push 0
push 0x30
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8f0
add esp, 0x10
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x9c]
push ecx
push 0x2f
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8f0
add esp, 0x10
lea edx, [ebp - 0x24]
push 0
push edx
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ebp - 0x18]
push eax
push ebx
call fcn.005370a8
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x530559
cmp dword [ebp - 0x24], 0
jne 0x52fd6b
mov edx, dword [edi + 0x10]
xor ecx, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x74], ecx
jmp 0x52ff30
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0xac]
inc ecx
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 4], eax
xor esi, esi
mov eax, dword [ebp - 0xec]
add eax, 0xc
jmp 0x52fdb5
mov edx, dword [eax]
cmp edx, dword [ebp - 4]
jl 0x52fdb1
inc dword [ebp - 0xa8]
inc dword [ebp - 4]
inc esi
add eax, 0x18
cmp esi, dword [ebp - 0xe8]
jl 0x52fda1
mov ecx, dword [ebp - 0xa8]
push ecx
push ebx
call fcn.0051d7bc
add esp, 8
mov dword [ebp - 0xa0], eax
push ebx
call fcn.0051bb40
pop ecx
push 0
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x24]
push edx
push ebx
call fcn.0051cc98
add esp, 0x10
mov ecx, dword [ebp - 0xa0]
add ecx, dword [ebp - 0xac]
push ecx
mov eax, dword [ebp - 0xf8]
push eax
push 6
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
mov ecx, dword [ebp - 0xac]
add esp, 0x10
inc ecx
xor esi, esi
mov dword [ebp - 4], ecx
jmp 0x52fe84
mov eax, esi
shl eax, 3
lea eax, [eax + eax*2]
add eax, dword [ebp - 0xec]
mov edx, dword [eax + 0xc]
cmp edx, dword [ebp - 4]
jl 0x52fe83
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], ecx
push 0
mov edx, dword [ebp - 0xb0]
push edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax + 8]
push edx
mov eax, dword [eax]
push eax
push ebx
call fcn.0051ba44
add esp, 0x18
cmp eax, dword [ebp - 0xb0]
je 0x52fe80
mov ecx, dword [ebp - 0xb0]
push ecx
push eax
push 9
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8f0
add esp, 0x10
inc dword [ebp - 4]
inc esi
cmp esi, dword [ebp - 0xe8]
jl 0x52fe20
push ebx
call fcn.0051d754
pop ecx
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0xa8]
push ecx
mov eax, dword [ebp - 0xa0]
push eax
push 0x4f
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e854
add esp, 0x14
mov ecx, dword [ebp - 0xa4]
push ecx
mov eax, dword [ebp - 0xf8]
push eax
push 0x6c
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
mov ecx, dword [ebp - 0xa4]
push ecx
push ebx
call fcn.0051d778
add esp, 8
mov eax, dword [ebp - 0xa8]
push eax
mov edx, dword [ebp - 0xa0]
push edx
push ebx
call fcn.0051d804
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.00537870
pop ecx
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp - 0xf8]
push edx
push 0x12
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8f0
add esp, 0x10
mov byte [ebp - 0xfb], 1
push ebx
call fcn.0051bb40
pop ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050eb4c
pop ecx
mov dword [ebp - 0x90], eax
push ebx
call fcn.0051bb40
pop ecx
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x52ffa0
cmp dword [ebp - 0x74], 0
je 0x52ff76
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 4]
push ecx
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 0xf8]
push edx
push 3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e854
add esp, 0x14
jmp 0x52ff9d
mov byte [ebp - 0xfc], 1
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0xc]
lea edx, [edx + edx*4]
mov edx, dword [eax + edx*4]
push edx
push ebx
call fcn.0051cabc
add esp, 0xc
inc dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
cmp eax, dword [ebp - 4]
jg 0x52ff4e
push 0xfffffffffffffffa
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
push eax
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x64]
push ecx
push 0x5f
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e910
add esp, 0x1c
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050eb4c
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
inc ecx
push ecx
push 0
mov eax, dword [ebp - 0x80]
inc eax
push eax
push 0x84
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e854
add esp, 0x14
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
push eax
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x68]
push ecx
push ebx
call fcn.0051bba8
add esp, 0x10
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x88]
push edx
push 0x2f
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8f0
add esp, 0x10
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp - 0x70]
push edx
push 0x81
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8f0
add esp, 0x10
mov eax, dword [ebp - 0x98]
push eax
mov edx, dword [ebp - 0x9c]
push edx
push 0x2f
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8f0
add esp, 0x10
mov eax, dword [ebp - 0x80]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050ecb0
add esp, 8
lea ecx, [ebp - 0xfc]
push ecx
push ebx
call fcn.0052f520
add esp, 8
mov eax, dword [ebp - 0x6c]
push eax
push 1
push 0x30
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
cmp dword [ebp - 0x74], 0
je 0x5300b6
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, dword [ebp - 0xf8]
push eax
push 0x6a
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
jmp 0x5300d5
mov ecx, dword [ebp - 8]
push ecx
call fcn.00537870
pop ecx
push 1
mov eax, dword [ebp - 0x94]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050ed94
add esp, 0xc
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ebp - 0x88]
push eax
push 0x2f
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
mov ecx, dword [ebp - 0x78]
push ecx
push 0
push 0x60
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8f0
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050eb4c
pop ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x70]
push ecx
push 1
push 0x30
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8f0
add esp, 0x10
mov edx, dword [ebp - 0x88]
push edx
push 0x19
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8d0
add esp, 0xc
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e9b0
add esp, 8
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050eb4c
pop ecx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
add eax, 2
push eax
mov edx, dword [ebp - 0x6c]
push edx
push 0x81
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8f0
add esp, 0x10
mov eax, dword [ebp - 0x88]
push eax
push 0x19
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8d0
add esp, 0xc
lea ecx, [ebp - 0xfc]
push ecx
push ebx
call fcn.0052f4c8
add esp, 8
push 8
mov eax, dword [ebp - 0x84]
inc eax
push eax
mov edx, dword [ebp - 0x28]
push edx
push ebx
call fcn.0051cfc8
add esp, 0x10
mov ecx, dword [ebp - 0x8c]
push ecx
mov eax, dword [ebp - 0x84]
inc eax
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x30]
push ecx
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
mov edx, dword [edi]
push edx
push edi
push ebx
call fcn.0052c004
add esp, 0x28
mov ecx, dword [ebp - 0x88]
push ecx
push 0x19
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8d0
add esp, 0xc
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e9b0
add esp, 8
lea eax, [ebp - 0xfc]
push eax
push ebx
call fcn.0052f3f8
add esp, 8
mov edx, dword [ebp - 0x9c]
push edx
push 0x19
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8d0
add esp, 0xc
jmp 0x530516
xor eax, eax
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xb4], eax
push edx
push edi
call fcn.0052ec28
add esp, 8
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x53039f
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x48]
push ecx
mov eax, dword [ebx]
push eax
call fcn.0052b20c
add esp, 8
mov dword [ebp - 0xbc], eax
mov edx, dword [ebx + 0x44]
inc dword [ebx + 0x44]
mov dword [ebp - 0xc0], edx
xor ecx, ecx
mov dword [ebp - 0xc4], ecx
xor esi, esi
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0xbc]
push ecx
push ebx
call fcn.00523088
add esp, 8
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax + 4]
push edx
push 0
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx + 0x18]
push eax
mov edx, dword [ebp - 0xbc]
push edx
push ebx
call fcn.0051f71c
add esp, 0x14
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5302f8
test esi, esi
je 0x5302ef
mov edx, dword [eax + 4]
cmp edx, dword [esi + 4]
jge 0x5302f1
mov esi, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x5302e3
test esi, esi
je 0x530323
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xb8]
cmp eax, dword [edx + 0xc]
jge 0x530323
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0xc8], ecx
push esi
push ebx
call fcn.005233bc
add esp, 8
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
push eax
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0xc0]
push ecx
push 0xd
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e854
add esp, 0x14
cmp dword [ebp - 0xc4], 0
je 0x530366
push 0xfffffffffffffff0
mov edx, dword [ebp - 0xc4]
push edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050edf0
add esp, 0x10
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x6b
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050e8f0
add esp, 0x10
mov edx, dword [ebp - 0xc0]
push edx
push 0x21
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e8d0
add esp, 0xc
jmp 0x5304ca
xor eax, eax
mov dword [ebp - 0xcc], eax
push edi
call fcn.0052eb84
pop ecx
mov byte [ebp - 0xcd], al
cmp byte [ebp - 0xcd], 0
je 0x530425
push 0
mov edx, dword [edi]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push edx
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0051a804
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xcc], 0
je 0x530425
mov edx, dword [ebp - 0x40]
cmp byte [edx + 0x1e], 0
jne 0x530425
xor ecx, ecx
mov cl, byte [ebp - 0xcd]
dec ecx
je 0x530409
mov al, 1
jmp 0x53040b
xor eax, eax
mov edx, dword [ebp - 0xcc]
mov ecx, dword [edx + 0xc]
mov byte [ecx + 0xc], al
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov byte [ecx], 0x97
lea eax, [ebp - 0xfc]
push eax
push ebx
call fcn.0052f3f8
add esp, 8
xor edx, edx
mov dl, byte [ebp - 0xcd]
lea ecx, [ebp - 0xcc]
push edx
push ecx
mov eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0x18]
push edx
push ebx
call fcn.005370a8
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x530477
mov ecx, dword [ebp - 0xb4]
push ecx
mov eax, dword [ebp - 0x40]
push eax
call fcn.0051adbc
add esp, 8
jmp 0x530559
lea edx, [ebp - 0xfc]
push edx
push ebx
call fcn.0052f520
add esp, 8
cmp dword [ebp - 0xcc], 0
jne 0x5304b0
cmp byte [ebp - 0xcd], 0
je 0x5304b0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x14]
push eax
push 0
push 0x60
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050e8f0
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.00537870
pop ecx
lea eax, [ebp - 0xfc]
push eax
push ebx
call fcn.0052f4c8
add esp, 8
xor edx, edx
mov dword [ebp - 0x20], edx
push 8
mov ecx, dword [ebp - 0x78]
push ecx
mov eax, dword [ebp - 0x28]
push eax
push ebx
call fcn.0051cfc8
add esp, 0x10
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x78]
push ecx
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
push 0
push 0
push 0
mov edx, dword [edi]
push edx
push edi
push ebx
call fcn.0052c004
add esp, 0x28
mov ecx, dword [ebp - 0xb4]
push ecx
mov eax, dword [ebp - 0x40]
push eax
call fcn.0051adbc
add esp, 8
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e9b0
add esp, 8
cmp dword [ebp - 0x20], 0
je 0x530544
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
push ecx
mov eax, dword [ebp - 0xc]
push eax
push edi
push ebx
call fcn.0052c4cc
add esp, 0x14
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050e9b0
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x53057c
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 5
jne 0x53057c
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x18]
push edx
push ebx
call fcn.0052c9cc
add esp, 0xc
mov ecx, dword [ebp - 0xec]
push ecx
mov eax, dword [ebp - 0x40]
push eax
call fcn.004fc3d4
add esp, 8
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004fc3d4
add esp, 8
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret