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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov eax, dword [ecx]
mov esi, edx
mov dword [esp + 4], ecx
mov dword [esp + 0x60], eax
call fcn.007ebd10
mov ebx, dword [esi + 0x24]
movsx edx, word [esi + 0x2a]
mov dword [esp + 8], eax
mov dword [esp], esi
test bl, bl
mov dword [esp + 0x20], edx
js 0x8254e3
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], 1
jmp 0x8254fa
mov ecx, esi
call fcn.00787030
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x58], eax
mov al, byte [esp + 0xbc]
mov ebp, dword [esp + 0xc8]
test ebx, 0x800
mov byte [esp + 0xf], al
je 0x82589e
mov eax, dword [esp + 0xb0]
mov ecx, 3
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0
inc eax
mov dword [esp + 0x24], eax
mov eax, fcn.0079cee0
sub ecx, eax
mov eax, dword [esp]
mov dword [esp + 0x28], ecx
test dx, dx
mov dword [esp + 0x30], esi
jle 0x825850
cmp dword [esp + 0x10], 0
sete byte [esp + 0x54]
xor ebx, ebx
mov edi, dword [eax + 4]
lea esi, [ebx + ebx*4]
mov cl, byte [edi + esi*4 + 0xc]
test cl, cl
je 0x825847
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x825584
mov eax, dword [esp]
jmp 0x825847
movzx eax, word [edi + esi*4 + 0x10]
cmp dword [esp + 0x10], 0
jne 0x8255aa
mov edx, eax
and edx, 0x60
test dx, dx
mov edx, dword [esp + 0x20]
je 0x8255aa
inc dword [esp + 0x38]
mov eax, dword [esp]
jmp 0x825847
test ebp, ebp
je 0x8255c6
test al, 0x60
jne 0x8255c6
mov edx, dword [ebp + ebx*4]
test edx, edx
mov edx, dword [esp + 0x20]
jns 0x8255c6
mov eax, dword [esp]
jmp 0x825847
cmp cl, 0xb
mov ch, 2
je 0x8255cf
mov ch, cl
cmp byte [esp + 0xbc], 0xb
je 0x8255e2
mov cl, byte [esp + 0xbc]
mov ch, cl
cmp ch, 5
jne 0x825660
cmp dword [esp + 0x10], 0
jne 0x82564e
cmp dword [edi + esi*4 + 4], 0
je 0x82564e
mov ecx, dword [esp]
lea eax, [edi + esi*4 + 4]
movsx edx, bx
mov dword [esp + 0x18], eax
call fcn.007edca0
movsx esi, ax
mov edi, dword [esp + 8]
mov edx, 0x33
add esi, dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.007edd80
add esp, 4
mov ecx, dword [esp + 0x18]
inc dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov ecx, dword [esp + 4]
push esi
call fcn.007ebed0
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007ebd40
jmp 0x825840
mov ecx, dword [esp]
movsx edx, bx
call fcn.007edca0
cwde
add eax, dword [esp + 0x24]
jmp 0x8256b0
mov cl, byte [esp + 0x54]
test al, 0x60
sete al
xor cl, 1
test al, cl
je 0x825678
mov eax, dword [esp]
jmp 0x825847
movzx eax, ch
mov byte [esp + 0x14], ch
mov ecx, dword [esp]
movsx edx, bx
mov dword [esp + 0x18], eax
call fcn.007edca0
cwde
mov cl, byte [esp + 0x14]
add eax, dword [esp + 0x24]
cmp cl, 1
jne 0x8256a2
mov dword [esp + 0x14], eax
jmp 0x8256c5
cmp cl, 3
je 0x82569c
cmp cl, 2
jne 0x825827
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], eax
call fcn.007f0b40
mov dword [esp + 0x18], 2
mov ebp, dword [esp + 0x28]
movzx ecx, byte [0xbb2c6f]
mov eax, ebp
xor eax, fcn.0079cee0
sete al
not al
and al, 7
movzx eax, al
bt ecx, eax
jb 0x8257c6
mov al, byte [0xbb2c6f]
mov ecx, ebp
mov dl, 1
xor ecx, fcn.0079cee0
sete cl
not cl
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb2c6f], dl
jne 0x8256ef
mov ecx, ebp
movzx eax, al
xor ecx, fcn.0079cee0
sete cl
not cl
and cl, 7
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x82574f
mov eax, ebp
movzx ecx, byte [0xbb2c6f]
xor eax, fcn.0079cee0
sete al
not al
and al, 7
movzx eax, al
bt ecx, eax
jae 0x825730
jmp 0x8257c6
mov eax, ebp
movzx ecx, byte [0xbb2c6f]
xor eax, fcn.0079cee0
sete al
not al
and al, 7
movzx eax, al
bt ecx, eax
jb 0x8257aa
mov eax, ebp
xor ecx, ecx
mov edx, dword [0xbb2c64]
xor eax, fcn.0079cee0
sete cl
xor ecx, 0x2044d0df
lea eax, [ecx + 0xe00]
and cl, 7
xor edx, eax
mov dword [0xbb2c64], edx
not edx
imul edx, eax
xor dword [0xbb2c68], edx
mov dl, 1
shl dl, cl
or byte [0xbb2c6f], dl
mov eax, ebp
xor eax, fcn.0079cee0
mov al, 0xfe
sete cl
not cl
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb2c6f], al
push dword [edi + esi*4]
mov esi, dword [esp + 4]
push dword [esi]
push 0xbb2c64
push dword [esp + 0x6c]
call fcn.00782620
add esp, 0x10
mov ebp, dword [esp + 8]
mov edi, eax
mov edx, 0x43
mov ecx, ebp
push dword [esp + 0x14]
push dword [esp + 0x1c]
push 0x513
call fcn.007c5800
add esp, 0xc
mov ecx, ebp
mov edx, edi
push 0xfffffffffffffff9
call fcn.007ec2f0
add esp, 4
mov ecx, ebp
mov edx, 1
call fcn.00782720
mov ebp, dword [esp + 0xc8]
mov eax, esi
jmp 0x825843
mov ecx, dword [esp + 8]
mov edx, 0x32
push dword [esp + 0xc0]
push eax
call fcn.007c57e0
add esp, 8
mov eax, dword [esp]
mov edx, dword [esp + 0x20]
inc ebx
cmp ebx, edx
jne 0x825562
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x30]
jne 0x82589e
mov eax, esi
or eax, dword [esp + 0x38]
je 0x82589e
mov eax, dword [esp]
test esi, esi
mov dword [esp + 0x10], 1
jle 0x825549
test byte [eax + 0x24], 0x60
je 0x825549
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 4]
push eax
call fcn.00825130
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 4]
add esp, 4
jmp 0x825549
mov eax, dword [esp]
mov esi, dword [esp + 0xcc]
mov ebx, dword [esp + 8]
mov edi, dword [eax + 0x18]
mov eax, dword [esp + 0xb0]
test edi, edi
je 0x8259de
mov ecx, dword [esp + 0x60]
test byte [ecx + 0x21], 2
jne 0x8259de
mov ecx, dword [esp + 4]
not eax
mov dword [ecx + 0x34], eax
cmp dword [edi], 0
jle 0x8259cc
cmp byte [esp + 0xbc], 0xb
mov al, 2
je 0x8258f1
mov al, byte [esp + 0xbc]
movzx ecx, byte [esp + 0xb8]
movzx eax, al
xor ebp, ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc8]
lea esi, [ebp + ebp*4]
mov ebx, dword [edi + esi*4 + 4]
test edx, edx
je 0x825938
mov ecx, ebx
push dword [esp + 0x18]
call fcn.00824cd0
add esp, 4
test eax, eax
jne 0x825938
mov ebx, dword [esp + 8]
jmp 0x8259c3
mov edi, dword [esp + 4]
mov ecx, edi
call fcn.007efdc0
push 0x10
mov dword [esp + 0x24], eax
push eax
push ebx
push edi
call fcn.007f4780
add esp, 0x10
mov ebx, dword [esp + 0x10]
cmp ebx, 4
jne 0x82597d
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc0]
mov ecx, ebx
call fcn.007ebf10
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], 4
jmp 0x8259b8
mov edi, dword [esp + 0x38]
mov eax, dword [edi + esi*4 + 8]
test eax, eax
jne 0x82598e
mov eax, dword [esp]
mov eax, dword [eax]
cmp ebx, 5
mov ecx, 2
mov edx, 0x113
cmove ebx, ecx
mov ecx, dword [esp + 4]
push 3
push 0
push eax
mov dword [esp + 0x1c], ebx
push ebx
call fcn.007f0b50
add esp, 0x10
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.007f04f0
inc ebp
cmp ebp, dword [edi]
jl 0x82590a
mov eax, dword [esp + 4]
mov esi, dword [esp + 0xcc]
mov dword [eax + 0x34], 0
test esi, esi
jne 0x8259f6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x30], 0
xor esi, esi
jmp 0x825a37
cmp dword [esi], 0
jne 0x825a0a
mov dword [esp + 0x5c], 0
mov byte [esp + 0xf], 4
jmp 0x8259ea
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x825a27
mov dword [esp + 0x5c], 0
mov dword [esp + 0x30], 0
jmp 0x825a37
mov ecx, ebx
mov edx, 0xb
call fcn.007ebd30
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], esi
mov eax, dword [eax + 0x20]
test eax, 0x6000
jne 0x825a60
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
xor ecx, ecx
jmp 0x825b00
test eax, 0x2000
je 0x825aab
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [esp + 0x50], 0
push 0
push 0
push 0x7e
call fcn.00821400
add esp, 0xc
mov cl, 1
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x825aa6
mov ecx, dword [esp + 4]
mov edx, dword [esp]
push 0
push 0
call fcn.00821470
add esp, 8
test eax, eax
setne cl
movzx eax, cl
jmp 0x825ace
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [esp + 0x50], 0
push 0
push 0
call fcn.00821470
add esp, 8
mov dword [esp + 0x4c], 0
test eax, eax
jne 0x825ad6
xor ecx, ecx
jmp 0x825b00
mov esi, dword [esp + 4]
mov ecx, ebx
mov edx, 0x45
mov edi, dword [esi + 0x2c]
inc edi
mov dword [esi + 0x2c], edi
push edi
push 0
call fcn.007c57e0
add esp, 8
mov ecx, esi
call fcn.007efdc0
mov ecx, edi
mov dword [esp + 0x50], eax
xor edi, edi
mov eax, dword [esp]
cmp byte [esp + 0xb8], 0
mov esi, 0
mov ebp, 0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
je 0x825dc1
cmp dword [esp + 0x1c], 0
mov esi, 0
mov ebp, 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jne 0x825dc1
mov ecx, dword [esp + 4]
mov esi, eax
call fcn.007efdc0
mov cl, byte [esi + 0x32]
mov dword [esp + 0x10], eax
mov al, 2
cmp cl, 0xb
je 0x825b71
mov eax, ecx
cmp byte [esp + 0xf], 0xb
je 0x825b7c
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x825ba1
cmp dword [ecx + 0x10], 0
jne 0x825ba1
xor eax, eax
cmp dword [ecx + 8], 0
mov dword [esp + 0x2c], 0
setne al
lea ecx, [eax + eax + 4]
jmp 0x825be0
cmp byte [esp + 0xf], 5
movzx ecx, al
jne 0x825bb5
mov dword [esp + 0x2c], 0
jmp 0x825be0
cmp cl, 5
jne 0x825bab
mov eax, dword [esp]
mov ecx, 5
cmp dword [eax + 8], 0
je 0x825bab
mov ecx, dword [esp + 8]
mov edx, 0xb
call fcn.007ebd30
mov ecx, 5
inc eax
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
test ebp, ebp
je 0x825c23
mov ecx, esi
mov edx, 0x35
push ebp
push ebx
push eax
call fcn.007c5800
add esp, 0xc
mov ecx, esi
mov edx, 0x90
call fcn.00782720
mov eax, dword [esp + 0xb0]
mov edx, 0x20
mov ecx, esi
push eax
push ebx
push dword [esp + 0xb0]
call fcn.007c5800
add esp, 0xc
mov edx, dword [esp + 0x20]
mov esi, ebx
mov eax, edx
dec al
cmp al, 5
ja case.default.0x825c4c
movzx eax, al
jmp dword [eax*4 + 0xb517e8]
mov edx, 2
mov ecx, dword [esp + 4]
push dword [esp]
call fcn.008268f0
add esp, 4
mov ebx, dword [esp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x825d8f
mov eax, dword [esp + 0x64]
test eax, eax
je 0x825cf8
mov esi, dword [esp + 4]
mov ebp, eax
mov ecx, esi
call fcn.00804e50
mov edx, dword [esp]
mov ecx, esi
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x6c]
call fcn.00821cb0
add esp, 0x24
mov ebx, dword [esp + 8]
mov edx, 0x52
mov ecx, ebx
push 1
push ebp
call fcn.007c57e0
add esp, 8
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
jmp 0x825d93
mov esi, dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], 0
cmp dword [esi + 8], 0
jne 0x825d1f
mov esi, dword [esp + 0x10]
jmp 0x825d93
mov edi, dword [esp + 4]
mov ecx, edi
call fcn.00804e50
mov ecx, edi
xor edi, edi
mov edx, esi
push 0xffffffffffffffff
push 0
push dword [esp + 0xb4]
push dword [esp + 0xb4]
call fcn.00822960
add esp, 0x10
mov esi, dword [esp + 0x10]
jmp 0x825d93
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x68]
push dword [esp + 0xa8]
push 0
push dword [esp + 8]
call fcn.00826bc0
add esp, 0xc
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc0]
mov ecx, ebx
call fcn.007ebf10
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov ebp, dword [esp + 0x2c]
mov ecx, ebx
mov edx, esi
call fcn.007f04f0
test ebp, ebp
jne 0x825da6
xor esi, esi
xor ebp, ebp
jmp 0x825dbe
mov ecx, ebx
mov edx, 0xb
call fcn.007ebd30
lea edx, [ebp - 1]
mov ecx, ebx
mov esi, eax
call fcn.007ebd40
mov eax, dword [esp]
mov dword [esp + 0x2c], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x88], esi
test ebp, ebp
jne 0x825de8
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], eax
jmp 0x826572
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x80], 0
inc ecx
test eax, eax
mov edx, eax
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xb0]
sete al
cmp dword [esp + 0x4c], 0
lea esi, [ecx + 1]
not ecx
mov dword [esp + 0x38], esi
lea esi, [edx + 1]
sete dl
xor edi, edi
mov dword [esp + 0x20], ecx
or dl, al
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], esi
mov byte [esp + 0x4b], dl
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
cmp dword [eax + edi*4], 0
je 0x826566
cmp dword [esp + 0x30], ebp
jne 0x825e86
mov ecx, ebx
xor edx, edx
call fcn.007ebf10
mov edx, dword [esp + 0x5c]
mov ecx, ebx
mov dword [esp + 0x80], eax
call fcn.007ebd40
mov eax, dword [esp + 0x84]
jmp 0x825e8f
mov ecx, dword [esp + 4]
call fcn.007efdc0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
cmp ecx, ebp
sete al
test ecx, ecx
sete cl
or cl, al
cmp cl, 1
jne 0x825ec6
cmp byte [esp + 0x54], 0
jne 0x825ec6
mov edx, dword [esp]
mov ecx, ebx
push dword [esp + 0x38]
call fcn.007f6170
add esp, 4
mov al, 1
mov dword [esp + 0x54], eax
cmp dword [ebp + 0x24], 0
mov ebx, dword [esp + 0xa4]
je 0x825f0c
mov ecx, dword [esp + 8]
mov edx, 0x48
push dword [ebx + edi*4]
push 0
call fcn.007c57e0
add esp, 8
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov ecx, esi
mov edx, dword [ebp + 0x24]
push dword [esp + 0x18]
call fcn.00805430
add esp, 4
mov dword [esi + 0x34], 0
mov ecx, dword [ebx + edi*4]
mov dword [esp + 0x14], edi
xor edi, edi
cmp word [ebp + 0x34], 0
lea eax, [ecx + 1]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x10], eax
jne 0x825f32
mov ebx, dword [esp + 8]
mov eax, ecx
jmp 0x825fdf
mov ebx, dword [esp + 8]
mov eax, dword [ebp + 4]
movzx eax, word [eax + edi*2]
cmp ax, 0xffff
je 0x825f82
cmp ax, 0xfffe
jne 0x825f79
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x20]
lea ecx, [edi + edi*4]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + ecx*4 + 4]
mov eax, dword [esp + 0x10]
mov ecx, esi
lea eax, [edi + eax]
push eax
call fcn.00805590
add esp, 4
mov dword [esi + 0x34], 0
jmp 0x825fc2
mov ecx, dword [esp]
cmp ax, word [ecx + 0x28]
jne 0x825f9a
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov edx, 0x4f
lea eax, [edi + eax]
push eax
push dword [esp + 0xb4]
jmp 0x825fba
mov ecx, dword [esp]
movsx edx, ax
call fcn.007edca0
mov ecx, dword [esp + 0x10]
cwde
mov edx, 0x4e
add eax, dword [esp + 0x38]
lea esi, [edi + ecx]
mov ecx, ebx
push esi
push eax
call fcn.007c57e0
add esp, 8
movzx ecx, word [ebp + 0x34]
inc edi
cmp edi, ecx
jb 0x825f36
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xa4]
mov edi, ecx
mov eax, dword [edx + eax*4]
movzx esi, di
mov ecx, ebx
mov edx, 0x5b
push eax
push esi
push dword [esp + 0x18]
call fcn.007c5800
add esp, 0xc
cmp byte [esp + 0xb8], 0
jne 0x826025
cmp dword [esp + 0xb4], 0
je 0x826025
cmp dword [esp + 0x1c], ebp
jne 0x826025
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.007f04f0
mov edi, dword [esp + 0x14]
jmp 0x82655f
mov cl, byte [ebp + 0x36]
test cl, cl
je 0x826011
mov edi, dword [esp + 0x14]
cmp cl, 0xb
mov al, 2
je 0x826039
mov eax, ecx
cmp byte [esp + 0xf], 0xb
je 0x826044
mov al, byte [esp + 0xf]
cmp dword [esp + 0x30], ebp
je 0x82604f
movzx eax, al
jmp 0x826060
mov ecx, dword [esp + 0x68]
xor eax, eax
cmp dword [ecx + 8], 0
setne al
lea eax, [eax + eax + 4]
test edi, edi
mov dword [esp + 0x6c], eax
jne 0x8260d4
cmp dword [esp + 0x1c], ebp
jne 0x8260d4
cmp eax, 5
jne 0x8260d4
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x8260d4
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
test eax, 0x2000
je 0x8260a8
mov ecx, dword [esp + 4]
mov edx, dword [esp]
push 0
push 0
push 0x7e
call fcn.00821400
add esp, 0xc
test eax, eax
jne 0x8260d4
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
test eax, 0x4000
je 0x8260c4
mov eax, dword [esp]
cmp dword [eax + 0x10], 0
jne 0x8260d4
mov ecx, dword [esp]
call fcn.008065d0
test eax, eax
jne 0x8260d4
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.007f04f0
jmp 0x82655f
mov eax, dword [esp + 0xac]
mov ecx, ebx
mov edx, 0x1c
lea edi, [edi + eax]
movzx eax, word [ebp + 0x32]
push eax
mov eax, dword [esp + 0x14]
mov esi, eax
push eax
push dword [esp + 0x20]
mov dword [esp + 0x50], edi
push edi
call fcn.007826e0
add esp, 0x10
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x70], eax
mov eax, esi
je 0x82611b
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x58]
call fcn.007eee80
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x24], eax
jne 0x826134
cmp dword [esp + 0x6c], 5
jne 0x8262c4
mov eax, dword [esp]
cmp byte [eax + 0x24], 0
js 0x826197
mov ecx, dword [esp + 8]
mov edx, 0x86
push dword [esp + 0x24]
push dword [esp + 0x48]
call fcn.007c57e0
add esp, 8
cmp dword [esp + 0xb4], 0
je 0x8262c4
mov esi, dword [esp + 8]
mov edx, 0x35
mov ecx, esi
push dword [esp + 0xb4]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call fcn.007c5800
add esp, 0xc
mov ecx, esi
mov edx, 0x90
call fcn.00782720
jmp 0x8262c4
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x8261eb
xor esi, esi
cmp word [eax + 0x32], 0
je 0x8261eb
mov eax, dword [esp + 0x1c]
mov ecx, ebp
mov eax, dword [eax + 4]
movsx edx, word [eax + esi*2]
call fcn.007f0f30
mov ecx, dword [esp + 0x24]
cwde
mov edx, 0x59
lea edi, [esi + ecx]
mov ecx, dword [esp + 8]
push edi
push eax
push ebx
call fcn.007c5800
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc esi
movzx eax, word [eax + 0x32]
cmp esi, eax
jb 0x8261b0
cmp dword [esp + 0xb4], 0
je 0x8262c4
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
and edx, 3
movzx esi, word [eax + 0x32]
cmp edx, 2
cmove ecx, dword [esp + 0x10]
test esi, esi
mov dword [esp + 0x74], ecx
je 0x8262c4
mov ecx, dword [esp + 8]
call fcn.007f2430
mov ebx, eax
mov edi, 0x34
add ebx, esi
xor esi, esi
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + esi*4]
call fcn.007ec390
mov dword [esp + 0x7c], eax
movzx eax, word [ebx + 0x32]
mov ecx, dword [esp]
dec eax
cmp esi, eax
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x28]
movsx edx, word [eax + esi*2]
cmove ebx, dword [esp + 0x18]
mov eax, 0x35
cmove edi, eax
call fcn.007edca0
mov ecx, dword [esp + 0x74]
cwde
mov edx, edi
add eax, dword [esp + 0x8c]
lea ecx, [esi + ecx]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 8]
push 0xfffffffffffffffe
push dword [esp + 0x80]
push dword [esp + 0x30]
push ebx
push eax
call fcn.007ebd50
add esp, 0x14
mov ecx, dword [esp + 8]
mov edx, 0x90
call fcn.00782720
mov eax, dword [esp + 0x1c]
inc esi
movzx eax, word [eax + 0x32]
cmp esi, eax
jb 0x826233
mov edx, dword [esp + 0x6c]
mov eax, edx
dec al
cmp al, 3
jb 0x8266a3
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x34]
cmp dl, 4
je 0x8262ff
cmp dl, 6
jne 0x826312
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x68]
push dword [esp + 0x44]
push ebp
push dword [esp + 8]
call fcn.00826bc0
add esp, 0xc
mov edx, dword [esp + 0xc0]
mov ecx, ebx
call fcn.007ebf10
jmp 0x826510
mov ecx, ebx
call fcn.007f2430
cmp dword [esp + 0x64], 0
mov ebx, eax
je 0x82632f
mov ecx, dword [esp + 4]
call fcn.00804e50
inc dword [esp + 0x3c]
cmp byte [esp + 0x4b], 0
je 0x826375
xor eax, eax
cmp dword [esp + 0x1c], ebp
movsx esi, word [esp + 0x58]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
sete al
push dword [esp + 0x44]
push eax
push 5
push 0
push esi
push dword [esp + 0x38]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x6c]
call fcn.00821cb0
add esp, 0x24
jmp 0x8263e2
xor eax, eax
cmp dword [esp + 0x1c], ebp
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xa8]
mov edx, 0x9f
sete al
mov ecx, esi
mov dword [esp + 0x28], eax
push edi
call fcn.007edd80
add esp, 4
movsx eax, word [esp + 0x58]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
push dword [esp + 0x44]
push dword [esp + 0x2c]
push 5
push 0
push eax
push dword [esp + 0x38]
push dword [esp + 0xc4]
push edi
push dword [esp + 0x6c]
call fcn.00821cb0
add esp, 0x24
mov ecx, esi
mov edx, 0xa0
push edi
mov edi, dword [esp + 0x38]
call fcn.007edd80
add esp, 4
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], 1
test eax, eax
jne 0x8263ff
mov ebx, dword [esp + 8]
jmp 0x826510
mov esi, dword [esp + 8]
sub ebx, ecx
mov edx, 0x52
mov ecx, esi
push 1
push eax
call fcn.007c57e0
add esp, 8
mov ecx, esi
mov edx, 0xb
call fcn.007ebd30
mov ecx, esi
mov edx, edi
mov dword [esp + 0x44], eax
call fcn.007f04f0
mov ecx, dword [esp + 4]
call fcn.007efdc0
cmp dword [ebp + 0x24], 0
mov edi, eax
je 0x826455
mov ecx, esi
mov edx, 0x32
push edi
push dword [esp + 0x7c]
call fcn.007c57e0
add esp, 8
mov esi, dword [esp + 0x70]
test ebx, ebx
mov dword [esp + 0x34], edi
jle 0x8264ef
mov ecx, dword [esp + 8]
mov edx, esi
call fcn.007ebf40
movzx edx, byte [eax]
cmp edx, 0x86
je 0x8264e7
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x70], esi
movsx esi, byte [eax + 1]
test byte [edx + 0xb445b1], 1
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], esi
mov esi, edi
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x6c], ecx
movzx ecx, word [eax + 2]
mov dword [esp + 0x28], ecx
jne 0x8264b2
mov esi, dword [eax + 8]
mov edi, dword [esp + 8]
mov ecx, edi
push dword [esp + 0x74]
push dword [esp + 0x7c]
push dword [esp + 0x74]
push esi
push dword [esp + 0x8c]
call fcn.007ebd50
add esp, 0x14
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00782720
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x70]
inc esi
dec ebx
jg 0x826465
mov ecx, dword [esp + 4]
mov edx, 2
push ebp
call fcn.00804fc0
add esp, 4
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.007ebd40
cmp dword [esp + 0x30], ebp
mov ecx, ebx
mov dword [esp + 0x34], edi
jne 0x826538
mov edx, dword [esp + 0x84]
call fcn.007ebf10
mov edx, dword [esp + 0x80]
mov ecx, ebx
call fcn.007ebd40
jmp 0x826541
mov edx, dword [esp + 0x18]
call fcn.007f04f0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
cmp edx, dword [esp + 0x10]
je 0x82655f
mov ecx, dword [esp + 4]
push dword [esp + 0x58]
call fcn.007ef1d0
add esp, 4
mov eax, dword [esp + 0xa4]
mov ebp, dword [ebp + 0x14]
inc edi
test ebp, ebp
jne 0x825e52
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
test edx, edx
je 0x826593
mov ecx, ebx
call fcn.007ebf10
mov edx, dword [esp + 0x88]
mov ecx, ebx
call fcn.007ebd40
cmp dword [esp + 0x3c], 0
mov edi, dword [esp + 0x50]
je 0x826632
mov ecx, ebx
mov edx, 0x14
push dword [esp + 0x34]
push dword [esp + 0x68]
call fcn.007c57e0
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x82661e
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
test eax, eax
je 0x8265f0
mov ecx, ebx
mov edx, 0x35
push eax
push edi
push esi
call fcn.007c5800
add esp, 0xc
mov ecx, ebx
mov edx, 0x90
call fcn.00782720
mov ecx, ebx
mov edx, 0x20
push esi
push edi
push dword [esp + 0xb0]
call fcn.007c5800
add esp, 0xc
mov ecx, dword [esp + 4]
mov edx, 2
push dword [esp]
call fcn.008268f0
add esp, 4
jmp 0x826627
mov ecx, ebx
mov edx, edi
call fcn.007ebf10
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.007f04f0
mov eax, dword [esp]
mov esi, dword [esp + 0xc4]
cmp byte [eax + 0x24], 0
js 0x826692
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp]
mov ebp, ebx
mov esi, dword [esp + 0x14]
mov edx, 0x5b
mov edi, ecx
mov ecx, ebx
mov ebx, dword [esp + 0xa4]
movsx eax, word [eax + 0x2c]
inc edi
push dword [ebx + esi*4]
mov esi, dword [esp + 0xc8]
push eax
push edi
call fcn.007c5800
mov edx, dword [esp + 0xc]
add esp, 0xc
cmp byte [esp + 0x54], 0
jne 0x826692
mov ecx, ebp
push 0
call fcn.007f6170
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esi], eax
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 4]
push ebp
call fcn.00804fc0
add esp, 4
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x34]
jmp 0x826510