Function at 0x7da610
Capabilities:
Encode data using xor
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [0xbcbae0]
mov esi, edx
xor eax, ebp
mov dword [esp + 0xc8], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov eax, dword [ecx]
cmp dword [ecx + 0x24], 0
mov dword [esp + 0x78], eax
je 0x7da669
mov dword [esp + 0xc], 0
jmp 0x7dc054
cmp byte [eax + 0x51], 0
mov dword [esp + 0xc], 0
jne 0x7dc054
mov edx, esi
mov edi, ecx
call fcn.008042f0
test eax, eax
je 0x7dc054
mov edx, dword [eax + 0x48]
mov ecx, dword [edi]
mov ebx, eax
mov dword [esp + 0x28], esi
call fcn.007825f0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x94]
mov ecx, edi
mov edx, ebx
push eax
push dword [ebp + 8]
push 0x7f
call fcn.00821400
add esp, 0xc
mov esi, dword [ebx + 0xc]
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x48], eax
call fcn.00800a50
test eax, eax
jne 0x7dc050
mov dword [esp + 0x88], esi
mov ecx, edi
mov edx, ebx
push dword [esp + 0x94]
call fcn.00821540
add esp, 4
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x7dc054
mov eax, dword [edi + 0x28]
mov esi, 0
mov dword [esp + 0x18], eax
inc eax
mov dword [edi + 0x28], eax
mov dword [esp + 0x5c], eax
cmp byte [ebx + 0x24], 0
jns 0x7da71a
mov ecx, ebx
call fcn.00787030
mov esi, eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], ebx
test eax, eax
jne 0x7da72d
mov ebx, dword [esp + 0x18]
xor edx, edx
jmp 0x7da748
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
xor edx, edx
cmp esi, eax
cmove ebx, ecx
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x7da737
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x68], edx
test eax, eax
je 0x7da764
mov ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [edi + 0x28], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x34], ebx
mov ebx, dword [esp + 4]
movsx eax, word [ebx + 0x2a]
add eax, ecx
lea edx, [ecx + eax*4 + 6]
mov ecx, dword [esp + 0x78]
push 0
call fcn.0078dcd0
add esp, 4
test eax, eax
jne 0x7da7a0
mov dword [esp + 0xc], 0
jmp 0x7dc050
movsx ecx, word [ebx + 0x2a]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x68]
lea ecx, [eax + ecx*4]
lea edx, [ecx + esi*4]
mov dword [esp + 0x50], ecx
lea ecx, [ecx + esi*4 + 4]
mov dword [esp + 0x20], edx
lea edx, [esi + 1]
mov dword [esp + 0x34], edx
push edx
push 1
mov dword [esp + 0x68], ecx
push ecx
mov dword [esp + 0x18], eax
call fcn.00980a60
mov edx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [esi + eax + 5], 0
cmp word [ebx + 0x2a], 0
jle 0x7da7ff
xor eax, eax
mov dword [edx + eax*4], 0xffffffff
inc eax
movsx ecx, word [ebx + 0x2a]
cmp eax, ecx
jl 0x7da7ef
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xb0], 0x200
call fcn.007ebd10
test eax, eax
je 0x7dc054
mov dword [esp], edi
mov edi, dword [ebp + 8]
mov dword [esp + 8], eax
cmp dword [edi], 0
jg 0x7da891
mov edx, dword [esp + 0xc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0
jmp 0x7daf82
mov eax, fcn.00821cb0
xor ebx, ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x70], 0
not eax
and eax, 1
mov dword [esp + 0x58], eax
lea eax, [ebx + ebx*4]
lea ecx, [esp + 0x98]
mov edx, dword [edi + eax*4 + 4]
mov dword [esp + 0x10], eax
call fcn.007f6c60
test eax, eax
jne 0x7dc054
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [edi + edx*4 + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 4]
movsx ecx, word [eax + 0x2a]
mov dword [esp + 0x20], ecx
test ecx, ecx
mov ecx, edx
jg 0x7da905
mov ebx, dword [esp + 0x24]
xor esi, esi
jmp 0x7dac1e
mov ecx, dword [edi + ecx*4 + 8]
mov eax, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
lea edi, [esi + esi*4]
mov edx, dword [esp + 0x38]
mov ebx, dword [eax + edi*4]
mov ecx, ebx
call fcn.00777e20
test eax, eax
jne 0x7dac08
mov eax, dword [esp + 4]
mov dword [esp + 0x20], ebx
movsx eax, word [eax + 0x28]
cmp esi, eax
jne 0x7da976
mov eax, dword [esp + 0x40]
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov al, 1
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [edx + esi*4], eax
mov eax, dword [esp + 4]
movzx eax, word [eax + 0x2a]
mov dword [esp + 0x20], eax
jmp 0x7dac1a
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x2c], 0
mov edx, dword [esp + 0xc]
movzx eax, word [eax + edi*4 + 0x10]
mov edi, dword [ebp + 8]
je 0x7da99f
mov ecx, eax
and ecx, 1
test cx, cx
je 0x7da99f
mov al, 1
mov dword [esp + 0x70], eax
jmp 0x7da95a
mov ebx, dword [esp + 0x24]
test al, 0x60
je 0x7da95e
mov edx, fcn.007a21a0
mov eax, fcn.007a21a0
movzx esi, byte [0xbb2beb]
and edx, 1
xor edx, eax
xor eax, eax
cmp edx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7dabf1
mov al, byte [0xbb2beb]
xor ecx, ecx
cmp edx, 0xffffffff
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb2beb], ah
jne 0x7da9e1
mov ecx, fcn.007a21a0
mov edx, fcn.007a21a0
movzx eax, al
and ecx, 1
xor ecx, edx
xor edx, edx
cmp ecx, 0xffffffff
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 6]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7daa60
xor eax, eax
cmp ecx, 0xffffffff
movzx esi, byte [0xbb2beb]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7daa39
jmp 0x7dabf1
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb2beb]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7dabc1
mov ecx, fcn.007a21a0
mov eax, fcn.007a21a0
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
not ecx
and ecx, 0x801
lea ecx, [eax + ecx*2 + 0x590a47ce]
mov eax, dword [0xbb2bc0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb2bc0], eax
not eax
imul edx, eax
mov eax, dword [0xbb2bc4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb2bc4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb2bc8]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb2bc8], edx
or eax, esi
not edx
mov edi, dword [0xbb2bcc]
imul edx, eax
lea esi, [edx*8]
xor edi, edx
shr edx, 0x1c
mov dword [0xbb2bcc], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb2bd0]
mov esi, edi
shl esi, 4
xor edx, edi
shr edi, 0x1b
mov dword [0xbb2bd0], edx
or edi, esi
not edx
mov ebx, dword [0xbb2bd4]
imul edx, edi
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb2bd4], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb2bd8]
mov esi, ebx
shl esi, 6
xor edx, ebx
shr ebx, 0x19
mov dword [0xbb2bd8], edx
or ebx, esi
not edx
mov edi, dword [0xbb2bdc]
imul edx, ebx
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb2bdc], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb2be0]
mov esi, edi
shl esi, 8
xor edx, edi
shr edi, 0x17
mov dword [0xbb2be0], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbb2be4], edx
mov dl, 1
shl dl, cl
or byte [0xbb2beb], dl
mov ecx, fcn.007a21a0
mov eax, fcn.007a21a0
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [eax + ecx*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb2beb], al
push dword [esp + 0x20]
push 0xbb2bc0
push dword [esp + 8]
call fcn.00782570
jmp 0x7dc04d
inc esi
cmp esi, dword [esp + 0x20]
jl 0x7da916
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
movsx eax, word [esp + 0x20]
cmp esi, eax
jl 0x7dadcf
cmp dword [esp + 0x2c], 0
mov edi, dword [edi + ecx*4 + 8]
jne 0x7dac65
mov ecx, edi
call fcn.0078c0e0
test eax, eax
je 0x7dac65
mov eax, dword [esp + 0x40]
mov edi, ebx
mov dword [esp + 0x20], 0xbb2c08
mov esi, 0xffffffff
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov al, 1
mov dword [esp + 0x3c], eax
jmp 0x7dade2
mov edx, fcn.00828010
movzx ecx, byte [0xbb2c07]
xor eax, eax
imul edx, edx
and edx, 3
cmp edx, 2
sete al
bt ecx, eax
jb 0x7dadb3
mov al, byte [0xbb2c07]
cmp edx, 2
mov ah, 1
sete cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb2c07], ah
jne 0x7dac8d
mov ecx, fcn.00828010
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7dacde
movzx edx, byte [0xbb2c07]
xor eax, eax
cmp ecx, 2
sete al
bt edx, eax
jae 0x7dacc5
jmp 0x7dadb3
movzx edx, byte [0xbb2c07]
xor eax, eax
cmp ecx, 2
sete al
bt edx, eax
jb 0x7dad95
mov eax, fcn.00828010
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbb2bf0]
sete cl
or ecx, 0x7392b790
add ecx, 0xd0
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb2bf0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb2bf4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb2bf4], eax
or esi, edx
not eax
mov edx, dword [0xbb2bf8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb2bf8], edx
or esi, eax
not edx
mov eax, dword [0xbb2bfc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb2bfc], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbb2c00], eax
or byte [0xbb2c07], dl
mov eax, fcn.00828010
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
xor cl, 7
rol al, cl
and byte [0xbb2c07], al
push edi
push 0xbb2bf0
mov edi, dword [esp + 8]
push edi
call fcn.00782570
add esp, 0xc
mov byte [edi + 0x11], 1
jmp 0x7dc050
mov eax, dword [esp + 4]
lea ecx, [esi + esi*4]
mov edi, ebx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x58]
xor eax, eax
movzx edx, byte [0xbb2c13]
mov ecx, ebx
add ecx, fcn.00821cb0
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7daf22
mov al, byte [0xbb2c13]
mov edx, ebx
xor ecx, ecx
add edx, fcn.00821cb0
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [ecx + edx*2 + 6]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb2c13], dl
jne 0x7dae16
mov edx, ebx
xor ecx, ecx
movzx eax, al
add edx, fcn.00821cb0
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [ecx + edx*2 + 6]
and cl, 7
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7dae95
mov ecx, ebx
xor eax, eax
movzx edx, byte [0xbb2c13]
add ecx, fcn.00821cb0
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jae 0x7dae69
jmp 0x7daf22
mov ecx, ebx
xor eax, eax
movzx edx, byte [0xbb2c13]
add ecx, fcn.00821cb0
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7daefe
mov ecx, ebx
xor eax, eax
mov dl, 1
add ecx, fcn.00821cb0
sete al
mov ecx, eax
not ecx
and ecx, 0x181
lea ecx, [eax + ecx*2 + 0x3eadac5e]
mov eax, dword [0xbb2c08]
xor eax, ecx
mov dword [0xbb2c08], eax
not eax
imul eax, ecx
and cl, 7
shl dl, cl
xor dword [0xbb2c0c], eax
or byte [0xbb2c13], dl
xor eax, eax
add ebx, fcn.00821cb0
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [eax + ecx*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb2c13], al
mov eax, dword [esp + 0x78]
mov ecx, dword [esp]
shl edi, 4
mov edx, 0x17
mov eax, dword [eax + 0x10]
push dword [eax + edi]
push dword [esp + 0x24]
mov eax, dword [esp + 0xc]
push dword [eax]
call fcn.007f4a50
add esp, 0xc
cmp eax, 2
je 0x7daf63
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
cmp eax, 1
jne 0x7daf75
jmp 0x7dc054
mov edx, dword [esp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edx + esi*4], 0xffffffff
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
inc ebx
cmp ebx, dword [edi]
jl 0x7da8b9
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 4]
movzx ecx, al
add al, byte [esp + 0x70]
test byte [ebx + 0x24], 0x60
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
je 0x7daff7
movzx eax, word [ebx + 0x2a]
xor esi, esi
test ax, ax
mov edi, 0
jle 0x7daff7
cmp dword [edx + edi*4], 0
jns 0x7dafea
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x7dafea
mov edx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
push dword [esp + 0x20]
call fcn.00824cd0
mov edx, dword [esp + 0x10]
add esp, 4
test eax, eax
je 0x7dafea
mov esi, 1
mov dword [edx + edi*4], 0x1869f
movsx eax, word [ebx + 0x2a]
inc edi
cmp edi, eax
jl 0x7dafaf
test esi, esi
jne 0x7dafa3
mov edi, edx
mov edx, ebx
xor ebx, ebx
mov ecx, dword [esp + 0x28]
movzx esi, byte [esp + 0x3c]
cmp ebx, dword [edx + 0x38]
mov dword [esp + 0x84], esi
sbb eax, eax
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x40], eax
mov ecx, dword [esp]
push esi
push edi
call fcn.00821470
add esp, 8
cmp dword [ebp + 0x10], 5
mov edx, 0
mov dword [esp + 0x38], eax
jne 0x7db044
mov edx, 1
mov dword [esp + 0x90], 1
mov eax, dword [esp + 4]
mov edi, dword [eax + 8]
test edi, edi
je 0x7db13c
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x10], edx
setne al
cmp dword [esp + 0x38], 1
setg cl
xor esi, esi
or cl, al
mov byte [esp + 0x54], cl
cmp edi, dword [esp + 0x2c]
sete al
or al, byte [esp + 0x54]
jne 0x7db0ab
mov edx, dword [esp + 0xc]
mov ecx, edi
push dword [esp + 0x20]
call fcn.00824d50
add esp, 4
test eax, eax
jne 0x7db0ab
xor ebx, ebx
cmp word [edi + 0x32], 0
jne 0x7db0cd
mov eax, dword [esp + 0x60]
lea ebx, [esi + 1]
mov byte [eax + esi + 1], 0
xor eax, eax
jmp 0x7db11d
mov ebx, dword [esp]
mov ecx, dword [ebx + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x2c], eax
movzx edx, word [edi + 0x34]
lea ecx, [ecx + edx + 1]
mov dword [ebx + 0x2c], ecx
jmp 0x7db116
movzx eax, word [edi + 0x32]
inc ebx
cmp ebx, eax
jae 0x7db09b
mov ecx, edi
mov edx, ebx
push dword [esp + 0x20]
push dword [esp + 0x10]
call fcn.00824d60
add esp, 8
test eax, eax
je 0x7db0c4
mov ebx, dword [esp]
cmp dword [ebp + 0x10], 0xb
mov ecx, dword [ebx + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x2c], eax
movzx edx, word [edi + 0x34]
lea ecx, [ecx + edx + 1]
mov dword [ebx + 0x2c], ecx
jne 0x7db116
cmp byte [edi + 0x36], 5
mov ecx, dword [esp + 0x10]
mov edx, 1
cmove ecx, edx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x7db09b
lea ebx, [esi + 1]
mov ecx, dword [esp + 0x50]
mov dword [ecx + esi*4], eax
mov esi, ebx
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x7db06f
mov edx, dword [esp + 0x10]
mov dword [esp + 0x90], edx
mov edi, dword [esp]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x2c]
inc eax
test edx, edx
mov dword [edi + 0x2c], eax
mov dword [ecx + ebx*4], eax
je 0x7db167
push dword [esp + 0x34]
push 1
push dword [esp + 0x68]
call fcn.00980a60
add esp, 0xc
cmp byte [edi + 0x12], 0
mov esi, dword [esp + 0x88]
jne 0x7db17d
mov ecx, dword [esp + 8]
call fcn.008219c0
mov eax, dword [esp + 0x48]
xor edx, edx
mov ecx, edi
or eax, dword [esp + 0x38]
setne dl
push dword [esp + 0x24]
call fcn.007f56e0
add esp, 4
mov eax, dword [esp + 4]
xor edx, edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
cmp dword [eax + 0x38], 0
mov eax, 0
jne 0x7db249
mov edi, dword [esp]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x48], 0
mov ecx, dword [edi + 0x2c]
mov eax, dword [eax + ebx*4]
lea edx, [ecx + 1]
mov dword [esp + 0x24], eax
mov dword [edi + 0x2c], edx
jne 0x7db1fb
cmp byte [esp + 0x70], 0
jne 0x7db1fb
cmp dword [esp + 0x38], 0
mov eax, edx
mov dword [esp + 0x54], 0
je 0x7db212
mov eax, dword [esp + 4]
mov edi, dword [esp]
add ecx, 2
mov dword [esp + 0x54], ecx
movsx eax, word [eax + 0x2a]
add eax, edx
mov dword [edi + 0x2c], eax
cmp dword [esp + 0x48], 0
jne 0x7db230
cmp byte [esp + 0x3c], 0
jne 0x7db230
cmp dword [esp + 0x38], 0
jne 0x7db230
mov edi, dword [esp]
mov dword [esp + 0x40], edx
jmp 0x7db23b
mov edi, dword [esp]
inc eax
mov dword [esp + 0x40], eax
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 4]
movsx ecx, word [ecx + 0x2a]
add ecx, eax
inc eax
mov dword [edi + 0x2c], ecx
test esi, esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], edx
je 0x7db286
mov esi, dword [esp]
mov edi, dword [esp + 4]
lea edx, [esp + 0xb8]
mov ecx, esi
push dword [edi]
call fcn.008219a0
add esp, 4
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov edx, edi
push dword [esp + 0x14]
push esi
call fcn.008219d0
add esp, 8
lea ecx, [esp + 0x98]
mov edx, esi
call fcn.007f6c60
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x7dc054
mov eax, dword [esp + 4]
cmp dword [eax + 0x38], 0
je 0x7db2d2
mov ecx, dword [esp]
mov edx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x80]
mov ebx, dword [ebp + 8]
push ebx
push eax
call fcn.00824da0
add esp, 0x18
jmp 0x7dc054
mov esi, dword [esp]
mov ecx, esi
call fcn.007efdc0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], 0
test byte [ecx + 0x24], 1
jne 0x7db2fa
mov esi, dword [ebp + 0x14]
jmp 0x7db336
cmp dword [esi + 0x78], 0
mov esi, dword [ebp + 0x14]
jne 0x7db336
test esi, esi
jne 0x7db336
mov eax, dword [esp]
mov al, byte [eax + 0x12]
test al, al
jne 0x7db336
mov ecx, dword [esp]
mov edx, 0x45
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], eax
push eax
push 0
call fcn.007c57e0
add esp, 8
mov eax, dword [esp + 4]
cmp byte [eax + 0x24], 0
js 0x7db37c
mov ecx, dword [esp + 8]
mov edx, 0x48
push dword [esp + 0x1c]
push dword [esp + 0x28]
push 0
call fcn.007c5800
add esp, 0xc
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], 0
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x44], 0
jmp 0x7db414
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp]
test esi, esi
mov dword [esp + 0x64], 0
movzx edx, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
movsx edi, dx
mov dword [esp + 0x30], edx
lea edx, [eax + edi + 1]
mov dword [ecx + 0x2c], edx
lea ecx, [eax + 1]
mov dword [esp + 0x44], edx
je 0x7db3b5
mov dword [esp + 0x7c], 0
jmp 0x7db410
mov edx, dword [esp]
mov dword [esp + 0x34], ecx
add eax, edi
mov esi, dword [edx + 0x28]
lea ecx, [esi + 1]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 8]
mov dword [edx + 0x28], ecx
mov edx, 0x48
mov ecx, esi
push eax
push dword [esp + 0x38]
push 0
call fcn.007c5800
add esp, 0xc
mov ecx, esi
mov esi, dword [ebp + 0x14]
mov edx, 0x64
push edi
push dword [esp + 0x68]
call fcn.007c57e0
add esp, 8
mov ecx, dword [esp]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
call fcn.007ec100
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
test esi, esi
mov dword [esp + 0x34], ecx
je 0x7db44b
push 0x10
push dword [esp + 0x50]
push dword [ebp + 0xc]
push dword [esp + 0xc]
call fcn.007f0850
add esp, 0x10
xor esi, esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x8c], 0
jmp 0x7db526
mov ecx, dword [esp]
xor eax, eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x30], edi
cmp byte [ecx + 0x12], 0
sete al
or edx, dword [esp + 0x38]
mov edx, 0x1004
lea eax, [eax*8 + 0x1004]
cmovne eax, edx
cmp byte [esp + 0x3c], 0
cmovne eax, edx
cmp dword [esp + 0x10], 0
cmovne eax, edx
mov edx, dword [esp + 0x28]
push dword [esp + 0x5c]
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.0080a3b0
add esp, 0x14
test eax, eax
je 0x7dc050
lea edx, [esp + 0xc0]
mov ecx, eax
mov esi, eax
call fcn.00821ab0
mov ecx, esi
mov edi, eax
call fcn.00825120
cmp edi, 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x6c], edi
jne 0x7db4d9
mov edi, dword [esp + 0x30]
jmp 0x7db526
mov ecx, dword [esp]
mov edi, dword [esp + 0x30]
call fcn.00804e50
cmp dword [esp + 0x6c], 2
je 0x7db4f6
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
jmp 0x7db526
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], 2
test eax, eax
js 0x7db526
cmp eax, dword [esp + 0x14]
je 0x7db526
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
xor edx, edx
cmp byte [ecx + eax], 0
sete dl
add edx, edx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], esi
cmp byte [eax + 0x24], 0
jns 0x7db58e
movsx esi, di
test si, si
jle 0x7db56b
xor edi, edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 4]
mov ecx, dword [ecx + 4]
lea eax, [edi + eax]
movsx ebx, word [ecx + edi*2]
mov ecx, dword [esp + 8]
push eax
push ebx
push dword [esp + 0x1c]
call fcn.007f0be0
add esp, 0xc
inc edi
cmp edi, esi
jne 0x7db53e
cmp dword [esp + 0x10], 0
mov dword [esp + 0x30], esi
je 0x7db60e
cmp dword [esp + 0x7c], 0
jne 0x7db5fc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
jmp 0x7db65d
mov ecx, dword [esp + 8]
mov edx, 0x7f
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.007c57e0
add esp, 8
cmp dword [esp + 0x10], 0
mov dword [esp + 0x30], 0
je 0x7db5c7
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 4]
mov edi, esi
mov esi, dword [esp]
jmp 0x7db669
mov edi, dword [esp]
mov ecx, dword [esp + 0x50]
mov edx, 0x93
mov eax, dword [edi + 0x2c]
inc eax
mov dword [edi + 0x2c], eax
mov dword [ecx + ebx*4], eax
mov ecx, dword [esp + 8]
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.007c57e0
add esp, 8
mov esi, dword [ebp + 8]
mov eax, esi
mov esi, edi
mov edi, eax
jmp 0x7db665
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x7c]
call fcn.007f3b50
jmp 0x7db581
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
call fcn.008054f0
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 8]
mov edx, 0x5b
push ebx
push eax
mov edi, dword [esp + 0x4c]
push edi
push ebx
mov esi, dword [esp + 0x44]
push esi
call fcn.007ebd50
add esp, 0x14
mov ecx, dword [esp + 8]
mov edx, 0x83
push ebx
push esi
push edi
push dword [esp + 0x70]
call fcn.007826e0
add esp, 0x10
mov dword [esp + 0x30], 0
mov esi, dword [ebp + 8]
mov edi, esi
mov esi, dword [esp]
mov ebx, dword [esp + 4]
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x34], 0
je 0x7db684
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
jmp 0x7db891
mov esi, dword [esp + 0x10]
cmp esi, 2
je 0x7db696
mov ecx, dword [esp + 0x6c]
call fcn.0080c620
cmp dword [esp + 0x88], 0
jne 0x7db70b
test esi, esi
je 0x7db6e8
mov esi, dword [esp + 0xc0]
test esi, esi
js 0x7db6bd
mov eax, esi
mov ecx, dword [esp + 0x60]
sub eax, dword [esp + 0x18]
mov byte [ecx + eax], 0
mov eax, dword [esp + 0xc4]
test eax, eax
js 0x7db6d6
mov ecx, eax
mov edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x18]
mov byte [edx + ecx], 0
cmp dword [esp + 0x10], 2
jne 0x7db6e8
not eax
shr eax, 0x1f
cmp dword [esp + 0x68], eax
ja 0x7db726
mov ecx, dword [esp]
mov edx, dword [esp + 4]
push 0
push 0
push dword [esp + 0x68]
push dword [esp + 0x24]
push 0
push 0x61
call fcn.00821ad0
add esp, 0x18
mov esi, dword [esp + 0x10]
test esi, esi
je 0x7db7e8
cmp dword [esp + 0x88], 0
jne 0x7db798
mov esi, dword [esp + 0xc0]
jmp 0x7db764
mov ecx, dword [esp + 8]
mov edx, 0x11
call fcn.007ebd30
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov edi, eax
push 0
push 0
push dword [esp + 0x68]
push dword [esp + 0x24]
push 0
push 0x61
call fcn.00821ad0
add esp, 0x18
test edi, edi
je 0x7db764
mov ecx, dword [esp + 8]
mov edx, edi
call fcn.007ebd40
cmp esi, dword [esp + 0x14]
je 0x7db798
mov eax, dword [esp + 0x14]
cmp dword [esp + 0xc4], eax
je 0x7db798
mov ecx, dword [esp + 8]
mov edx, 0x1d
push dword [esp + 0x30]
push dword [esp + 0x48]
push dword [esp + 0x54]
push dword [esp + 0x20]
call fcn.007826e0
add esp, 0x10
cmp dword [esp + 0x10], 1
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
je 0x7db7b3
mov ecx, dword [esp]
call fcn.007efdc0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 8]
mov edx, 0x32
cmove eax, dword [esp + 0x1c]
push dword [esp + 0x4c]
push eax
call fcn.007c57e0
add esp, 8
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 4]
mov edi, esi
mov esi, dword [esp]
jmp 0x7db891
cmp dword [esp + 0x2c], 0
je 0x7db84c
mov ecx, dword [esp]
call fcn.007efdc0
mov esi, dword [esp + 8]
mov dword [esp + 0x18], eax
mov edx, 0x25
mov ecx, esi
push dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
push edi
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp + 0x44]
mov ecx, esi
mov edx, 0x7e
push ebx
push edi
call fcn.007c57e0
add esp, 8
mov dword [esp + 0x34], eax
mov ecx, esi
mov edx, 0x1d
push 0
push ebx
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.007826e0
add esp, 0x10
jmp 0x7db885
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x1c]
mov edx, 0x2a
mov ecx, esi
push edi
push dword [esp + 0x50]
push dword [esp + 0x2c]
call fcn.007c5800
add esp, 0xc
mov ecx, esi
mov edx, 0x20
push edi
mov dword [esp + 0x1c], eax
push eax
push dword [esp + 0x1c]
call fcn.007c5800
add esp, 0xc
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 4]
mov edi, esi
mov esi, dword [esp]
cmp byte [esp + 0x20], 0
je 0x7db8c4
mov ecx, esi
mov edi, esi
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x74]
push esi
call fcn.007ebed0
add esp, 4
mov ecx, dword [esp + 8]
mov edx, 0xf
push esi
mov esi, edi
mov edi, dword [ebp + 8]
call fcn.007edd80
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x7db8dd
cmp byte [esp + 0x70], 0
jne 0x7db8dd
cmp dword [esp + 0x38], 0
je 0x7db9c7
cmp dword [esp + 0x38], 0
jne 0x7db8ee
mov dword [esp + 0x68], 0
jmp 0x7db8fb
mov ecx, esi
mov edx, ebx
call fcn.008223a0
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x48]
mov ecx, esi
push dword [ebp + 0x10]
push ebx
push 3
push 0
push edi
call fcn.00822320
add esp, 0x14
cmp word [ebx + 0x2a], 0
mov dword [esp + 0x24], eax
jle 0x7db998
mov eax, dword [esp + 0x68]
xor esi, esi
or dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
movsx edx, si
movzx edi, word [eax + ecx*4 + 0x10]
mov ecx, ebx
call fcn.007edca0
cwde
add eax, dword [esp + 0x54]
cmp dword [esp + 0x24], 0xffffffff
je 0x7db95d
cmp esi, 0x1f
ja 0x7db956
mov ecx, dword [esp + 0x24]
bt ecx, esi
jb 0x7db95d
mov ecx, edi
test cl, 1
je 0x7db977
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ebx
push eax
push esi
push dword [esp + 0x1c]
call fcn.007f0be0
add esp, 0xc
jmp 0x7db98f
mov ecx, dword [esp + 8]
mov edx, 0x48
push eax
push 0
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp + 4]
movsx eax, word [ebx + 0x2a]
inc esi
cmp esi, eax
jl 0x7db927
mov esi, dword [ebp + 8]
cmp dword [esp + 0x2c], 0
mov edi, esi
mov esi, dword [esp]
jne 0x7db9c7
cmp byte [esp + 0x20], 0
jne 0x7db9c7
mov ecx, dword [esp + 8]
mov edx, 0x4d
push dword [esp + 0x40]
push dword [esp + 0x20]
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x48]
mov ecx, esi
push dword [ebp + 0x10]
push ebx
push 1
push 1
push edi
call fcn.00822320
add esp, 0x14
cmp word [ebx + 0x2a], 0
jg 0x7db9ee
mov ecx, dword [esp + 4]
jmp 0x7dbac2
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edi, eax
xor esi, esi
movsx eax, word [ecx + 0x28]
cmp esi, eax
jne 0x7dba23
mov ecx, dword [esp + 8]
mov edx, 0x48
push ebx
push 0
call fcn.007c57e0
mov edx, dword [esp + 0x14]
add esp, 8
jmp 0x7dbab0
mov eax, dword [ecx + 4]
lea ecx, [esi + esi*4]
movzx eax, word [eax + ecx*4 + 0x10]
test al, 0x60
je 0x7dba3c
shl eax, 0x1a
sar eax, 0x1f
add ebx, eax
jmp 0x7dbab0
mov eax, dword [edx + esi*4]
test eax, eax
js 0x7dba5f
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 4]
mov ecx, dword [esp]
push ebx
call fcn.007ebed0
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x7dbab0
cmp esi, 0x1f
ja 0x7dba75
mov eax, dword [esp + 0x94]
and eax, 1
je 0x7dba75
bt edi, esi
jae 0x7dba98
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.007f0be0
add esp, 0xc
mov dword [esp + 0x8c], 0
jmp 0x7dbaac
mov ecx, dword [esp + 8]
mov edx, 0x48
push ebx
push 0
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
inc esi
inc ebx
movsx eax, word [ecx + 0x2a]
cmp esi, eax
jl 0x7db9fe
test byte [ecx + 0x24], 0x60
je 0x7dbada
mov eax, ecx
mov ecx, dword [esp]
mov edx, dword [esp + 0x58]
push eax
call fcn.00825130
add esp, 4
test byte [esp + 0x94], 1
mov ebx, dword [ebp + 8]
je 0x7dbbe6
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, edi
push dword [esp + 0x58]
call fcn.007f6170
add esp, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp]
mov edx, dword [esp + 0x48]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
push edi
push 1
push ebx
push 0x7f
call fcn.00822490
add esp, 0x1c
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
je 0x7dbb4a
mov ecx, dword [esp + 8]
mov edx, 0x1d
push dword [esp + 0x30]
push dword [esp + 0x48]
push esi
push eax
call fcn.007826e0
add esp, 0x10
jmp 0x7dbb61
mov ecx, dword [esp + 8]
mov edx, 0x20
push dword [esp + 0x1c]
push esi
push eax
call fcn.007c5800
add esp, 0xc
mov eax, dword [esp + 4]
movzx eax, word [eax + 0x2a]
test ax, ax
jle 0x7dbbc9
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 4]
xor esi, esi
mov ecx, dword [esp + 4]
lea edx, [esi + esi*4]
mov ecx, dword [ecx + 4]
movzx ecx, word [ecx + edx*4 + 0x10]
test cl, 0x60
je 0x7dbb96
shl ecx, 0x1a
sar ecx, 0x1f
add ebx, ecx
jmp 0x7dbbc0
mov ecx, dword [esp + 0xc]
cmp dword [ecx + esi*4], 0
jns 0x7dbbc0
movsx ecx, word [edi + 0x28]
cmp esi, ecx
je 0x7dbbc0
mov ecx, dword [esp + 8]
mov edx, edi
push ebx
push esi
push dword [esp + 0x1c]
call fcn.007f0be0
add esp, 0xc
movzx eax, word [edi + 0x2a]
inc esi
movsx ecx, ax
inc ebx
cmp esi, ecx
jl 0x7dbb78
mov eax, dword [esp + 4]
test byte [eax + 0x24], 0x60
je 0x7dbbe6
mov ecx, dword [esp]
mov edx, dword [esp + 0x58]
push dword [esp + 4]
call fcn.00825130
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x7dbdc0
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 4]
lea eax, [esp + 0x90]
movzx esi, cl
mov ecx, dword [esp]
mov edx, ebx
push 0
push dword [esp + 0x10]
push eax
push dword [esp + 0x24]
push esi
push dword [esp + 0x98]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [esp + 0x7c]
push dword [esp + 0x38]
push dword [esp + 0x78]
call fcn.008254a0
add esp, 0x2c
cmp byte [esp + 0x3c], 0
jne 0x7dbc4b
mov eax, dword [esp + 0x90]
test eax, eax
je 0x7dbc96
cmp dword [esp + 0x2c], 0
je 0x7dbc75
mov ecx, dword [esp + 8]
mov edx, 0x1d
push dword [esp + 0x30]
push dword [esp + 0x48]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.007826e0
add esp, 0x10
jmp 0x7dbc92
mov ecx, dword [esp + 8]
mov edx, 0x20
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.007c5800
add esp, 0xc
mov ebx, dword [esp + 4]
cmp dword [esp + 0x38], 0
je 0x7dbcbb
mov ecx, dword [esp]
mov edx, ebx
push dword [esp + 0x84]
push dword [esp + 0x10]
push 0
push dword [esp + 0x28]
call fcn.008224f0
add esp, 0x10
mov ecx, dword [esp]
mov edx, ebx
push 0xffffffffffffffff
push dword [esp + 0x54]
push dword [esp + 0x64]
mov esi, dword [esp + 0x20]
push esi
call fcn.00822960
add esp, 0x10
cmp dword [esp + 0x8c], 0
je 0x7dbcf3
mov ecx, dword [esp + 8]
mov edx, 0x87
push esi
call fcn.007edd80
add esp, 4
cmp byte [esp + 0x3c], 0
jne 0x7dbd01
cmp dword [esp + 0x38], 2
jl 0x7dbd15
mov ecx, dword [esp + 8]
mov edx, 0x7a
push 0
push esi
call fcn.007c57e0
add esp, 8
cmp dword [esp + 0x38], 0
je 0x7dbd8e
mov ebx, dword [esp]
mov edi, dword [esp + 4]
mov ecx, ebx
mov edx, edi
push dword [esp + 0x84]
push dword [esp + 0x10]
mov esi, dword [esp + 0x48]
push esi
push 0
call fcn.008224f0
add esp, 0x10
xor eax, eax
cmp dword [esp + 0x10], 2
mov ecx, ebx
mov edx, edi
sete al
lea eax, [eax + eax + 4]
push 0
push 0
push eax
push dword [esp + 0x5c]
push esi
push dword [esp + 0x70]
push dword [esp + 0x2c]
call fcn.008266c0
add esp, 0x1c
mov ecx, ebx
mov edx, edi
push dword [esp + 0x84]
push dword [esp + 0x10]
push dword [esp + 0x24]
mov ebx, dword [ebp + 8]
push ebx
call fcn.00822a70
add esp, 0x10
jmp 0x7dbdc0
xor eax, eax
cmp dword [esp + 0x10], 2
mov ecx, dword [esp]
mov edx, dword [esp + 4]
sete al
lea eax, [eax + eax + 4]
push 0
push 0
push eax
push dword [esp + 0x5c]
push dword [esp + 0x50]
push dword [esp + 0x70]
push dword [esp + 0x2c]
call fcn.008266c0
add esp, 0x1c
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x7dbde7
mov ecx, dword [esp + 8]
mov edx, 0x52
push 1
push esi
call fcn.007c57e0
add esp, 8
mov edx, edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esp]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x24]
push dword [esp + 0x10]
push 2
push dword [ebp + 8]
push 0x7f
call fcn.00822490
add esp, 0x1c
cmp ebx, 1
je 0x7dbe63
cmp ebx, 2
jne 0x7dbe2b
mov ecx, dword [esp + 8]
mov edx, edi
call fcn.007f04f0
mov ecx, dword [esp + 0x6c]
call fcn.0080c620
jmp 0x7dbe63
cmp dword [esp + 0x2c], 0
je 0x7dbe58
mov ebx, dword [esp + 8]
mov edx, edi
mov ecx, ebx
call fcn.007f04f0
mov ecx, ebx
mov edx, 5
push dword [esp + 0x34]
push dword [esp + 0x68]
call fcn.007c57e0
add esp, 8
jmp 0x7dbe63
mov ecx, dword [esp + 8]
mov edx, edi
call fcn.007ebf10
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
call fcn.007f04f0
mov eax, dword [esp]
cmp byte [eax + 0x12], 0
jne 0x7dbe91
cmp dword [ebp + 0x14], 0
jne 0x7dbe91
mov eax, dword [esp]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x7dbe91
mov ecx, dword [esp]
call fcn.00822130
test esi, esi
je 0x7dc050
mov edx, fcn.0077e2a0
xor eax, eax
movzx edi, byte [0xbb2c33]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edi, eax
jb 0x7dc019
mov al, byte [0xbb2c33]
xor ecx, ecx
cmp edx, 2
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb2c33], ah
jne 0x7dbeca
mov ecx, fcn.0077e2a0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7dbf41
mov esi, dword [esp + 0x80]
xor eax, eax
cmp ecx, 2
movzx edi, byte [0xbb2c33]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt edi, eax
jae 0x7dbf1f
jmp 0x7dc019
xor eax, eax
cmp ecx, 2
movzx edx, byte [0xbb2c33]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7dbfe9
mov ecx, fcn.0077e2a0
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete al
mov ecx, eax
not ecx
and ecx, 0x205
lea ecx, [eax + ecx*2 - 0x2ef75b8e]
mov eax, dword [0xbb2c20]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb2c20], eax
not eax
imul edx, eax
mov eax, dword [0xbb2c24]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb2c24], eax
or esi, edx
not eax
mov edx, dword [0xbb2c28]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb2c28], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbb2c2c], edx
or byte [0xbb2c33], al
mov eax, fcn.0077e2a0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb2c33], al
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 8]
mov edx, 0x50
mov ecx, edi
push 1
push esi
call fcn.007c57e0
add esp, 8
mov ecx, edi
mov edx, 1
call fcn.007c5ac0
mov ecx, edi
xor edx, edx
push 0
push 0xbb2c20
push 0
call fcn.007c5b20
add esp, 0xc
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xb8]
call fcn.00822140
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.00774f10
mov ecx, edi
mov edx, esi
call fcn.007c0320
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.007c00f0
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.007c00e0
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.00980459
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret