Function at 0x7ba9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov eax, dword [0xbcbae0]
xor eax, ebp
cmp dword [ebp + 8], 0
mov dword [esp + 0x158], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x88], 0
jne 0x7baa18
mov esi, 7
jmp 0x7bbae0
movzx ebx, byte [ecx + 0xc]
movzx eax, word [ecx + 0x18]
mov edi, dword [ecx + 0x34]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], ecx
lea esi, [eax + ebx]
mov dword [esp + 0x14], edi
cmp esi, 2
jae 0x7baa41
mov edi, dword [esp + 0x34]
jmp 0x7baa71
mov edi, dword [esp + 0x34]
test edx, edx
jne 0x7baa53
mov dword [esp + 0x38], 0
jmp 0x7baa69
cmp esi, edx
jne 0x7baa64
mov ecx, dword [ebp + 0x10]
lea ecx, [edx + ecx - 2]
mov dword [esp + 0x38], ecx
jmp 0x7baa69
dec edx
mov dword [esp + 0x38], edx
mov esi, 2
sub esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], esi
sub edx, ebx
mov ebx, dword [edi + 0x38]
add edx, esi
cmp edx, eax
jne 0x7baa8d
movzx eax, byte [edi + 9]
add eax, 8
jmp 0x7baaa8
mov eax, dword [edi + 0x40]
movzx ecx, word [edi + 0x1a]
movzx esi, byte [eax + edx*2]
movzx eax, byte [eax + edx*2 + 1]
shl esi, 8
or eax, esi
mov esi, dword [esp + 0x1c]
and eax, ecx
add ebx, eax
lea eax, [esi + 1]
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.0055d990
mov ecx, dword [esp + 0x14]
lea edi, [esp + esi*4 + 0x14c]
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov edx, eax
push 0
push 0
push edi
call fcn.007b7e60
add esp, 0xc
mov dword [esp + 0x74], eax
test eax, eax
mov eax, esi
jne 0x7bab19
mov dword [esp + 0x40], ebx
mov ebx, dword [esp]
mov ecx, dword [edi]
cmp dword [ecx + 0x14], 0
jns 0x7bab3f
call fcn.007b9540
test eax, eax
mov dword [esp + 0x74], eax
je 0x7bab3f
mov dword [esp + 0x70], ebx
shl esi, 2
lea eax, [esp + 0x14c]
push esi
push 0
push eax
jmp 0x7bab2b
mov eax, esi
mov dword [esp + 0x70], ebx
lea eax, [eax*4 + 4]
lea ecx, [esp + 0x14c]
push eax
push 0
push ecx
call fcn.00980a60
add esp, 0xc
mov dword [esp], 0
jmp 0x7bbaa3
test esi, esi
je 0x7bac75
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [esi - 1]
mov dword [esp + 4], edx
movzx eax, byte [ebx + 0xc]
lea edx, [edx + ecx]
test eax, eax
je 0x7bab9a
movzx ecx, word [ebx + 0x1c]
cmp edx, ecx
jne 0x7bab9a
mov edi, ebx
mov ebx, dword [ebx + 0x24]
mov ecx, ebx
mov dword [esp + esi*4 + 0x12c], ebx
call fcn.0055d990
mov dword [esp], eax
push ebx
push edi
call dword [edi + 0x4c]
add esp, 8
movzx eax, ax
mov dword [esp + esi*4 + 0xf0], eax
mov byte [edi + 0xc], 0
jmp 0x7bac43
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0xc], edx
sub edx, eax
movzx eax, byte [ecx + edx*2]
movzx edi, byte [ecx + edx*2 + 1]
shl eax, 8
or edi, eax
movzx eax, word [ebx + 0x1a]
and edi, eax
add edi, dword [ebx + 0x38]
mov ecx, edi
mov dword [esp + esi*4 + 0x12c], edi
call fcn.0055d990
mov dword [esp], eax
push edi
push ebx
call dword [ebx + 0x4c]
add esp, 8
movzx ecx, ax
mov eax, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + esi*4 + 0xf0], ecx
mov dword [esp + 8], ecx
test byte [eax + 0x18], 0xc
je 0x7bac26
mov eax, edi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
sub eax, dword [ebx + 0x38]
lea ecx, [eax + ecx]
cmp ecx, dword [edx + 0x28]
jg 0x7bbaf8
mov ecx, dword [ebp + 8]
add eax, ecx
push dword [esp + 8]
push edi
push eax
call fcn.009806e0
add esp, 0xc
sub edi, dword [ebx + 0x38]
add edi, dword [ebp + 8]
mov dword [esp + esi*4 + 0x12c], edi
movzx eax, byte [ebx + 0xc]
mov edx, dword [esp + 0xc]
mov ecx, ebx
sub edx, eax
lea eax, [esp + 0x74]
push eax
push dword [esp + 0xc]
call fcn.007b9960
add esp, 8
mov esi, dword [esp + 4]
mov ebx, dword [esp]
mov ecx, dword [esp + 0x14]
lea edi, [esp + esi*4 + 0x14c]
mov edx, ebx
push 0
push 0
push edi
call fcn.007b7e60
add esp, 0xc
test eax, eax
mov dword [esp + 0x74], eax
jne 0x7bab13
jmp 0x7baaea
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ebx
mov edx, 0xaaaaaaab
mov ecx, dword [eax + 0x24]
lea eax, [ecx - 8]
mul edx
mov esi, edx
shr esi, 2
add esi, 4
imul esi, dword [esp + 0x3c]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + esi*2]
lea edx, [ecx + eax*2]
xor ecx, ecx
mov eax, edx
sar eax, 0x1f
push eax
call fcn.00784570
add esp, 4
test eax, eax
mov dword [esp + 0x88], eax
jne 0x7bacd2
mov dword [esp], 0
mov dword [esp + 0x74], 7
jmp 0x7bbaa3
mov edx, dword [esp + 0x14c]
lea eax, [eax + esi*4]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x24], edx
movzx ecx, byte [edx + 8]
movzx ebx, byte [edx + 3]
lea edi, [ecx*4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], ebx
jns 0x7bad44
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x28]
lea eax, [edi + eax - 0xc]
mov dword [esp + 0x28], eax
mov eax, ecx
jmp 0x7bb27a
mov ecx, 0x1e12
call fcn.00799c70
mov dword [esp + 0x74], 0xb
mov dword [esp], 0
jmp 0x7bbaa3
lea ecx, [eax + esi*2]
mov esi, dword [edx + 0x38]
movzx ebx, word [edx + 0x12]
movzx edi, di
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], edi
lea edi, [edx + 0x12]
mov dword [esp + 0x48], ecx
lea ecx, [edx + 0x38]
mov dword [esp + 0x20], edi
mov edi, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], ecx
mov dword [esp], esi
add ebx, esi
mov esi, dword [esp + 0x80]
movzx ecx, word [edi + 0x1a]
movzx edx, word [edi + 0x18]
lea eax, [eax + esi*2]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi + 0xc]
mov dword [esp + 8], edx
add ecx, edx
add ecx, ecx
push ecx
push 0
push eax
call fcn.00980a60
add esp, 0xc
cmp byte [edi + 0xc], 0
mov dword [esp + 4], edi
je 0x7bae46
movzx eax, word [edi + 0x1c]
cmp word [esp + 8], ax
jb 0x7bbb58
test ax, ax
je 0x7bae1a
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, byte [ebx]
movzx edi, byte [ebx + 1]
inc ecx
add ebx, 2
shl edx, 8
or edi, edx
mov edx, dword [esp + 0x88]
and edi, eax
add edi, dword [esp]
mov dword [edx + esi*4], edi
mov esi, dword [esp + 0x80]
inc esi
cmp ecx, dword [esp + 8]
mov dword [esp + 0x80], esi
jne 0x7baddc
mov eax, dword [esp + 4]
cmp byte [eax + 0xc], 0
je 0x7bae46
mov edi, dword [esp + 4]
xor eax, eax
mov ecx, dword [edi + eax*4 + 0x24]
mov edx, dword [esp + 0x88]
inc eax
mov dword [edx + esi*4], ecx
mov esi, dword [esp + 0x80]
inc esi
mov dword [esp + 0x80], esi
movzx ecx, byte [edi + 0xc]
cmp eax, ecx
jb 0x7bae20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov edi, dword [esp]
movzx eax, word [eax]
movzx ecx, word [ecx + 0x18]
add eax, edi
lea eax, [eax + ecx*2]
cmp ebx, eax
jae 0x7bae9b
mov dword [esp], edi
mov edi, eax
mov eax, dword [esp + 0x28]
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
add ebx, 2
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 0x88]
and edx, eax
add edx, dword [esp]
mov dword [ecx + esi*4], edx
mov esi, dword [esp + 0x80]
inc esi
cmp ebx, edi
mov dword [esp + 0x80], esi
jb 0x7bae6a
mov ebx, dword [esp + 0xc]
cmp byte [esp + 0x2c], 0
mov dword [esp + ebx*4 + 0x108], esi
je 0x7baeba
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
jmp 0x7baf94
cmp ebx, dword [esp + 0x1c]
mov eax, ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
jl 0x7baed5
mov ebx, eax
jmp 0x7baf94
mov dword [esp + 0xc], eax
mov eax, dword [esp + eax*4 + 0xf4]
mov ecx, dword [esp + 0x8c]
movzx eax, ax
mov word [ecx + esi*2], ax
lea esi, [ebx + edx]
add edx, eax
mov dword [esp + 0x10], edx
push eax
mov eax, dword [esp + 0x10]
push dword [esp + eax*4 + 0x134]
push esi
call fcn.009806e0
add esp, 0xc
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
add esi, edi
mov dword [ecx + eax*4], esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
sub word [ecx + eax*2], di
mov eax, dword [esp + 4]
cmp byte [eax + 8], 0
je 0x7bbb16
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
cmp word [eax + esi*2], 4
jae 0x7baf84
mov byte [ebx + edx], 0
inc edx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
inc word [ecx + eax*2]
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x8c]
cmp word [eax + esi*2], 4
jb 0x7baf58
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0xc]
inc esi
mov dword [esp + 0x80], esi
cmp ebx, dword [esp + 0x1c]
jge 0x7bb005
mov eax, dword [esp + ebx*4 + 0x150]
mov ecx, dword [esp + 0x44]
mov edi, dword [eax + 0x38]
mov dword [esp + 4], eax
mov ecx, dword [ecx]
mov al, byte [edi]
mov byte [esp], al
mov al, byte [esp]
cmp al, byte [ecx]
jne 0x7bad26
mov eax, dword [esp + 4]
inc ebx
mov dword [esp], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
lea ecx, [eax + 0x12]
movzx ebx, word [ecx]
mov dword [esp + 0x20], ecx
add ebx, edi
mov edi, eax
mov eax, dword [esp + 0x8c]
lea ecx, [edi + 0x38]
mov dword [esp + 0x18], ecx
jmp 0x7bad89
cmp dword [esp + 0x1c], 0
jns 0x7bb0e0
mov edi, dword [esp + 0x30]
mov eax, ecx
jmp 0x7bb276
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
mov eax, dword [eax + 0x28]
lea eax, [edi + eax - 0xc]
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, dword [esi + 0x3c]
mov edi, dword [esp + edx*4 + 0x108]
test eax, eax
mov dword [esp + eax*4 + 0x90], ecx
mov ecx, 0
mov dword [esp + eax*4 + 0xa8], edi
je 0x7bb04a
cmp edi, dword [esp + eax*4 + 0xa4]
lea ecx, [eax - 1]
cmovne ecx, eax
cmp byte [esp + 0x2c], 0
mov dword [esp + 8], edi
jne 0x7bb06c
mov eax, dword [esp + 0x34]
inc edi
mov eax, dword [eax + 0x3c]
mov dword [esp + ecx*4 + 0x94], eax
mov dword [esp + ecx*4 + 0xac], edi
inc ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ecx
sub ebx, dword [esi + 0x14]
mov dword [esp + edx*4 + 0xf4], ebx
cmp byte [esi + 0xc], 0
je 0x7bb0b1
mov edi, esi
xor esi, esi
mov dword [esp], edx
push dword [edi + esi*4 + 0x24]
push edi
call dword [edi + 0x4c]
mov edx, dword [esp + 8]
add esp, 8
movzx eax, ax
inc esi
lea ebx, [ebx + eax + 2]
mov dword [esp + edx*4 + 0xf4], ebx
movzx eax, byte [edi + 0xc]
cmp esi, eax
jb 0x7bb08b
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edx*4 + 0x11c], eax
lea eax, [edx + 1]
cmp eax, ecx
je 0x7bafef
mov ecx, dword [esp + 4]
mov esi, dword [esp + edx*4 + 0x150]
mov edx, eax
inc ecx
mov eax, ecx
jmp 0x7bb01c
mov edi, dword [esp + 0x30]
xor edx, edx
mov eax, ecx
mov ebx, dword [esp + edx*4 + 0xf4]
mov dword [esp], edx
cmp ebx, dword [esp + 0x28]
jg 0x7bb147
mov esi, dword [esp + edx*4 + 0x11c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
cmp esi, eax
jge 0x7bb137
lea ecx, [esp + 0x80]
mov edx, esi
call fcn.007bbde0
movzx eax, ax
lea ebx, [eax + ebx + 2]
cmp ebx, dword [esp + 0x28]
jle 0x7bb205
mov eax, dword [esp + 0x80]
mov edx, dword [esp]
cmp esi, eax
jl 0x7bb24c
inc edx
mov eax, edx
jmp 0x7bb276
lea ecx, [edx + 1]
lea esi, [edx + 2]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
cmp dword [esp + 8], eax
jl 0x7bb189
mov ecx, dword [esp + 4]
cmp ecx, 6
jb 0x7bb16e
mov ecx, 0x1e8f
jmp 0x7bad2b
mov eax, dword [esp + 0x80]
mov dword [esp + edx*4 + 0xf8], 0
mov dword [esp + edx*4 + 0x120], eax
mov eax, ecx
mov edi, dword [esp + edx*4 + 0x11c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], eax
lea esi, [edi - 1]
mov edx, esi
call fcn.007bbde0
movzx eax, ax
mov edx, dword [esp]
add eax, 2
sub ebx, eax
cmp byte [esp + 0x2c], 0
mov dword [esp + edx*4 + 0xf4], ebx
jne 0x7bb1e0
xor eax, eax
cmp edi, dword [esp + 0x80]
jge 0x7bb1e0
lea ecx, [esp + 0x80]
mov edx, edi
call fcn.007bbde0
mov edx, dword [esp]
movzx eax, ax
add eax, 2
add dword [esp + edx*4 + 0xf8], eax
cmp ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [esp + edx*4 + 0x11c], esi
jle 0x7bb0ff
jmp 0x7bb155
inc esi
mov edx, dword [esp]
cmp byte [esp + 0x2c], 0
mov dword [esp + edx*4 + 0xf4], ebx
mov dword [esp + edx*4 + 0x11c], esi
jne 0x7bb23d
xor eax, eax
cmp esi, dword [esp + 0x80]
jge 0x7bb240
lea ecx, [esp + 0x80]
mov edx, esi
call fcn.007bbde0
mov edx, dword [esp]
movzx eax, ax
add eax, 2
sub dword [esp + edx*4 + 0xf8], eax
jmp 0x7bb103
test edx, edx
jne 0x7bb254
xor eax, eax
jmp 0x7bb25b
mov eax, dword [esp + edx*4 + 0x118]
cmp esi, eax
jg 0x7bb269
mov ecx, 0x1eb0
jmp 0x7bad2b
mov eax, dword [esp + 0x18]
inc edx
cmp edx, eax
jl 0x7bb0e8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], eax
dec eax
mov dword [esp + 0x48], eax
test eax, eax
jle 0x7bb3b3
mov ebx, dword [esp + eax*4 + 0x118]
mov edi, dword [esp + eax*4 + 0xf0]
mov esi, dword [esp + eax*4 + 0xf4]
lea ecx, [eax - 1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x80]
mov dword [esp], ebx
sub ebx, dword [esp + 0x2c]
mov edx, ebx
call fcn.007bbde0
mov edx, dword [esp + 0xc]
xor eax, eax
mov ecx, dword [esp]
cmp edx, dword [esp + 0x48]
sete al
lea eax, [eax + eax - 2]
mov dword [esp + 0x10], eax
lea edx, [ecx - 1]
mov dword [esp], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], edx
call fcn.007bbde0
test esi, esi
jne 0x7bb32f
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp]
movzx eax, word [ecx + ebx*2]
movzx ecx, word [ecx + edx*2 - 2]
add eax, 2
add edi, 0xfffffffe
mov edx, dword [esp + 8]
dec ebx
mov esi, eax
sub edi, ecx
mov ecx, dword [esp + 0xc]
test edx, edx
mov dword [esp + ecx*4 + 0x118], edx
mov ecx, edx
jg 0x7bb2e0
jmp 0x7bb373
mov edx, dword [esp]
cmp dword [ebp + 0x10], 0
je 0x7bb33c
mov eax, esi
jmp 0x7bb373
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x20], esi
movzx eax, word [ecx + ebx*2]
movzx ecx, word [ecx + edx*2 - 2]
lea eax, [esi + eax + 2]
mov esi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
lea edx, [edi + edx]
sub edx, ecx
cmp dword [esp + 4], edx
jle 0x7bb310
mov eax, dword [esp + 0x20]
mov edx, esi
mov esi, edx
mov edx, dword [esp + 0xc]
mov dword [esp + edx*4 + 0xf4], eax
xor eax, eax
cmp edx, 2
mov dword [esp + edx*4 + 0xf0], edi
jl 0x7bb395
mov eax, dword [esp + edx*4 + 0x114]
cmp esi, eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
jg 0x7bb28b
mov ecx, 0x1eda
jmp 0x7bad2b
mov eax, dword [edx + 0x38]
cmp dword [esp + 0x18], 0
movzx eax, byte [eax]
mov dword [esp + 8], eax
jg 0x7bb3ed
xor ebx, ebx
mov dword [esp + 0x24], 0
jmp 0x7bb5d0
mov ebx, dword [esp]
xor edx, edx
test ebx, ebx
jg 0x7bb4fe
mov dword [esp + 0x24], 0
jmp 0x7bb5d0
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp], 0
cmp ebx, dword [esp + 0x1c]
jg 0x7bb439
mov eax, dword [esp + ebx*4 + 0x14c]
mov dword [esp + ebx*4 + 0x14c], 0
mov dword [esp + ebx*4 + 0x138], eax
mov dword [esp + 0x6c], eax
mov ecx, dword [eax + 0x48]
call fcn.0077ca90
inc dword [esp]
test eax, eax
mov dword [esp + 0x74], eax
je 0x7bb4c7
jmp 0x7bbaa3
cmp dword [ebp + 0x10], 0
mov eax, 1
jne 0x7bb448
mov eax, dword [esp + 0x70]
mov ecx, esi
lea edx, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0x78]
push eax
call fcn.007a0bb0
add esp, 0xc
test eax, eax
mov dword [esp + 0x74], eax
jne 0x7bbaa3
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.0079f690
mov eax, dword [esp + 0x80]
mov dword [esp + ebx*4 + 0x138], edi
inc dword [esp]
mov dword [esp + ebx*4 + 0x108], eax
cmp byte [esi + 0x11], 0
jne 0x7bb49d
mov edi, dword [esp + 0x40]
jmp 0x7bb4c7
mov edx, dword [edi + 4]
lea eax, [esp + 0x74]
mov ecx, esi
push eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push 5
call fcn.007a1650
add esp, 0xc
cmp dword [esp + 0x74], 0
mov edi, dword [esp + 0x40]
jne 0x7bbaa3
inc ebx
cmp ebx, dword [esp + 0x18]
jge 0x7bb3d3
jmp 0x7bb3fa
inc ecx
mov esi, edx
cmp ecx, edx
jae 0x7bb52d
cmp dword [esp + ecx*4 + 0xe0], eax
jne 0x7bb4d7
mov ecx, 0x1f24
call fcn.00799c70
mov dword [esp + 0x74], 0xb
jmp 0x7bbaa3
mov ecx, dword [esp + edx*4 + 0x138]
mov esi, edx
mov eax, dword [ecx + 4]
mov dword [esp + edx*4 + 0xe0], eax
mov dword [esp + edx*4 + 0xcc], eax
mov ecx, dword [ecx + 0x48]
movzx ecx, word [ecx + 0x1c]
mov word [esp + edx*2 + 0xc2], cx
xor ecx, ecx
test edx, edx
jne 0x7bb4de
inc edx
cmp edx, ebx
jl 0x7bb4fe
xor edi, edi
cmp ebx, 1
mov eax, 1
mov ebx, 0
je 0x7bb55f
mov ecx, dword [esp + eax*4 + 0xcc]
cmp ecx, dword [esp + ebx*4 + 0xcc]
mov ecx, eax
jb 0x7bb557
mov ecx, ebx
inc eax
mov ebx, ecx
cmp eax, dword [esp]
jne 0x7bb543
mov esi, dword [esp + ebx*4 + 0xcc]
cmp ebx, edi
mov dword [esp + ebx*4 + 0xcc], 0xffffffff
je 0x7bb5b6
jle 0x7bb596
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + ebx*4 + 0x138]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + 0x48]
lea edx, [ebx + eax + 1]
push 0
call fcn.007bbe00
add esp, 4
movzx eax, word [esp + ebx*2 + 0xc2]
mov ebx, dword [esp + edi*4 + 0x138]
mov edx, esi
mov ecx, dword [ebx + 0x48]
push eax
call fcn.007bbe00
add esp, 4
mov dword [ebx + 4], esi
mov ebx, dword [esp]
inc edi
cmp edi, ebx
jne 0x7bb534
mov edi, dword [esp + 0x40]
mov al, 1
mov dword [esp + 0x70], esi
mov dword [esp + 0x24], eax
mov esi, dword [esp + ebx*4 + 0x134]
mov ecx, edi
mov edx, dword [esi + 4]
call fcn.007979e0
test byte [esp + 8], 8
jne 0x7bb616
cmp dword [esp + 0x3c], ebx
je 0x7bb616
cmp ebx, dword [esp + 0x3c]
lea eax, [esp + 0x138]
lea ecx, [esp + 0x14c]
cmovg ecx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp], ebx
cmp byte [eax + 0x11], 0
je 0x7bb7b7
mov eax, dword [esp + 0x80]
test eax, eax
mov dword [esp + 0x20], eax
jle 0x7bb7b7
mov ebx, dword [esp + 0x138]
xor eax, eax
movzx ecx, byte [ebx + 0xc]
movzx edi, word [ebx + 0x18]
mov dword [esp + 0xc], ebx
add edi, ecx
cmp byte [esp + 0x2c], 0
sete al
xor edx, edx
xor esi, esi
mov dword [esp + 0x44], eax
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], eax
cmp edx, edi
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x10], eax
je 0x7bb67d
mov ecx, edx
jmp 0x7bb6bb
mov eax, dword [esp + 0x44]
mov ecx, edx
lea eax, [edx + eax]
mov edx, esi
mov dword [esp + 8], eax
mov eax, dword [esp]
lea esi, [edx + 1]
lea edi, [esp + edx*4 + 0x13c]
lea edx, [esp + edx*4 + 0x150]
cmp esi, eax
cmovl edx, edi
mov ebx, dword [edx]
movzx edx, word [ebx + 0x18]
movzx edi, byte [ebx + 0xc]
add edx, dword [esp + 8]
add edi, edx
mov edx, esi
cmp ecx, edi
je 0x7bb68f
mov eax, dword [esp + 4]
mov edx, ecx
cmp ecx, dword [esp + eax*4 + 0x11c]
jne 0x7bb6ef
mov eax, dword [esp + 4]
cmp byte [esp + 0x2c], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x13c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
lea eax, [eax + 1]
je 0x7bb7aa
cmp esi, dword [esp]
mov dword [esp + 4], eax
jge 0x7bb727
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
cmp ecx, dword [esp + esi*4 + 0xe0]
mov ecx, dword [esp + 0x20]
jne 0x7bb727
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0x38], eax
ja 0x7bb727
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0x3c], eax
jbe 0x7bb727
mov eax, dword [esp + 4]
jmp 0x7bb7aa
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x18], edx
jne 0x7bb763
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
call fcn.0055d990
mov ecx, dword [esp + 0x14]
mov edx, eax
lea eax, [esp + 0x74]
push eax
push dword [esp + 0xc]
push 5
call fcn.007a1650
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.007bbde0
mov ecx, dword [esp + 0xc]
cmp ax, word [ecx + 0x10]
jbe 0x7bb790
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x74]
mov edx, ebx
push eax
push dword [esp + 0x14]
call fcn.007a19d0
add esp, 8
cmp dword [esp + 0x74], 0
mov eax, dword [esp + 4]
jne 0x7bbaa3
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x20], ecx
cmp edx, ecx
jl 0x7bb663
mov eax, dword [esp]
dec eax
test eax, eax
mov dword [esp + 0x18], eax
jle 0x7bb8d2
xor ebx, ebx
xor eax, eax
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + ebx*4 + 0x11c]
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + ebx*4 + 0x138]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], esi
mov esi, dword [esi + ecx*4]
movzx edx, word [edx + ecx*2]
cmp byte [edi + 8], 0
mov dword [esp + 8], esi
mov esi, dword [esp + 0x30]
lea esi, [esi + edx]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 8]
lea esi, [esi + eax]
mov dword [esp + 4], esi
jne 0x7bb827
mov ecx, dword [esp + 8]
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x7bb892
mov eax, dword [esp + 8]
cmp byte [esp + 0x2c], 0
je 0x7bb870
lea edx, [esp + 0x50]
push edx
mov eax, dword [esp + 0x24]
push dword [eax + ecx*4 - 4]
push edi
call dword [edi + 0x50]
add esp, 0xc
mov edx, dword [esp + 0x50]
lea ecx, [esi + 4]
push dword [esp + 0x54]
call fcn.007b0f70
add esp, 4
mov ecx, dword [esp + 4]
mov esi, eax
mov dword [esp + 4], 0
add esi, 4
mov dword [esp + 8], ecx
jmp 0x7bb892
add eax, 0xfffffffc
cmp dx, 4
mov dword [esp + 8], eax
je 0x7bb883
mov esi, dword [esp + 0x10]
jmp 0x7bb892
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [eax + 0x4c]
add esp, 8
movzx esi, ax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [ebx + eax]
lea eax, [esp + 0x74]
push eax
push dword [edi + 4]
push dword [esp + 0xc]
push esi
push dword [esp + 0x18]
call fcn.007b9a60
add esp, 0x14
cmp dword [esp + 0x74], 0
jne 0x7bbaa3
mov eax, dword [esp + 0xc]
inc ebx
add eax, esi
cmp ebx, dword [esp + 0x18]
jl 0x7bb7cb
mov eax, dword [esp]
mov ebx, 1
mov ecx, dword [esp + 0x1c]
sub ebx, eax
cmp ebx, eax
mov eax, dword [esp + 0x14]
jge 0x7bb9db
xor edx, edx
cmp byte [esp + 0x2c], 0
mov esi, dword [esp + 0x11c]
sete dl
mov dword [esp + 0x38], esi
mov dword [esp + 0xc], edx
mov edi, ebx
neg edi
cmovl edi, ebx
cmp byte [esp + edi + 0x78], 0
jne 0x7bb9d1
test ebx, ebx
jns 0x7bb933
mov eax, dword [esp + edi*4 + 0x104]
cmp eax, dword [esp + edi*4 + 0x118]
mov eax, dword [esp + 0x14]
jl 0x7bb9d1
test edi, edi
jne 0x7bb94b
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0
xor edx, edx
mov dword [esp + 4], eax
jmp 0x7bb989
cmp edi, ecx
jg 0x7bb961
mov edx, dword [esp + edi*4 + 0x104]
mov ecx, dword [esp + 0xc]
lea eax, [edi - 1]
add edx, ecx
jmp 0x7bb96f
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0xc]
lea eax, [edi - 1]
mov eax, dword [esp + eax*4 + 0x11c]
mov esi, dword [esp + edi*4 + 0x11c]
add eax, ecx
sub esi, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov esi, dword [esp + edi*4 + 0x138]
lea eax, [esp + 0x80]
mov ecx, esi
push eax
push dword [esp + 8]
push dword [esp + 0x10]
call fcn.007bbe10
add esp, 0xc
test eax, eax
mov dword [esp + 0x74], eax
jne 0x7bbaa3
mov eax, dword [esp + 0x28]
mov byte [esp + edi + 0x78], 1
mov ecx, dword [esp + 0x1c]
sub eax, dword [esp + edi*4 + 0xf4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, dword [esp]
jl 0x7bb905
cmp dword [ebp + 0xc], 0
mov edi, dword [esp + 0x34]
je 0x7bba2f
cmp word [edi + 0x18], 0
jne 0x7bba2f
movzx eax, byte [edi + 9]
mov esi, dword [esp + 0x138]
cmp dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
jl 0x7bba2f
mov ecx, esi
mov edx, 0xffffffff
call fcn.007ba300
mov edx, edi
lea edi, [esp + 0x74]
mov dword [esp + 0x74], eax
mov ecx, esi
push edi
call fcn.007bbb70
add esp, 4
mov ecx, esi
mov edx, edi
call fcn.007b8420
mov ebx, dword [esp]
jmp 0x7bba7e
cmp byte [eax + 0x11], 0
mov ebx, dword [esp]
setne al
cmp byte [esp + 0x4c], 0
sete cl
and cl, al
mov eax, dword [esp + 0x24]
and al, cl
cmp al, 1
jne 0x7bba7e
xor esi, esi
mov edi, dword [esp + esi*4 + 0x138]
mov ecx, dword [edi + 0x38]
add ecx, 8
call fcn.0055d990
mov ecx, dword [esp + 0x14]
mov edx, eax
lea eax, [esp + 0x74]
push eax
push dword [edi + 4]
push 5
call fcn.007a1650
add esp, 0xc
inc esi
cmp esi, ebx
jne 0x7bba4f
cmp ebx, dword [esp + 0x1c]
jg 0x7bbaa3
mov edi, ebx
mov ebx, dword [esp + 0x1c]
lea esi, [esp + 0x74]
mov ecx, dword [esp + edi*4 + 0x14c]
mov edx, esi
call fcn.007b8420
cmp edi, ebx
lea edi, [edi + 1]
jl 0x7bba8e
mov edx, dword [esp + 0x88]
xor ecx, ecx
xor esi, esi
call fcn.00774f10
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x3c]
jns 0x7bbb42
mov edi, dword [esp]
test edi, edi
jle 0x7bbadc
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x138]
call fcn.007a0b90
inc esi
cmp esi, edi
jne 0x7bbacb
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00980459
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp]
mov ecx, 0x1dcf
mov dword [esp + 0x70], eax
call fcn.00799c70
mov dword [esp + 0x74], 0xb
jmp 0x7bab03
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [eax], ecx
mov esi, dword [esp + 0x80]
jmp 0x7baf84
mov ecx, dword [esp + esi*4 + 0x14c]
call fcn.007a0b90
inc esi
cmp esi, edi
jne 0x7bbb42
jmp 0x7bbac2
mov ecx, 0x1e2a
jmp 0x7bad2b