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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov esi, edx
mov edx, dword [esp + 0xb4]
mov eax, dword [0xbcbae0]
xor eax, esp
mov dword [esp + 0x9c], eax
mov ebp, dword [ecx + 8]
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
test ebp, ebp
jne 0x7ec425
xor edi, edi
jmp 0x7edc5e
mov dword [esp + 4], edx
mov dword [esp], ecx
test esi, esi
je case.0x7ec446.119
movzx ebx, byte [esi]
mov eax, ebx
add al, 0x78
cmp al, 0xeb
ja case.0x7ec446.119
movzx eax, al
jmp dword [eax*4 + 0xb50784]
mov eax, dword [esi + 0x28]
movsx ecx, word [esi + 0x22]
mov edi, dword [eax + 0x1c]
cmp byte [eax], 0
jne 0x7ec468
lea eax, [ecx + ecx*2]
mov edi, dword [edi + eax*8 + 0x10]
jmp 0x7edc5e
cmp byte [eax + 1], 0
je 0x7ec493
mov ebx, dword [esp + 4]
lea esi, [ecx + ecx*2]
mov ecx, ebp
mov edx, 0x59
push ebx
push dword [edi + esi*8 + 0xc]
mov edi, ebx
push dword [eax + 8]
call fcn.007c5800
add esp, 0xc
jmp 0x7edc5e
test byte [esi + 4], 8
je 0x7ec509
mov ecx, dword [esp]
mov edi, dword [esp + 4]
mov edx, dword [esi + 0xc]
push edi
call fcn.007ec3e0
add esp, 4
mov ecx, dword [esi + 0x2c]
mov ebx, eax
test ecx, ecx
je 0x7ec4c0
movsx edx, word [esi + 0x20]
call fcn.007edc80
jmp 0x7ec4c3
mov al, byte [esi + 1]
cmp al, 0x42
jge 0x7ec4ce
mov edi, ebx
jmp 0x7edc5e
movsx esi, al
cmp ebx, edi
je 0x7ec4e6
mov ecx, ebp
mov edx, 0x4e
push edi
push ebx
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, 0x5a
lea eax, [esi + esi + 0xb47e7a]
push 0xffffffffffffffff
push eax
push 0
push 1
push edi
call fcn.007ebd50
add esp, 0x14
jmp 0x7edc5e
mov edi, dword [esi + 0x1c]
test edi, edi
jns 0x7ec78d
mov eax, dword [esp]
mov edi, dword [eax + 0x34]
test edi, edi
jns 0x7ec78c
movsx edx, word [esi + 0x20]
test edx, edx
jns 0x7ec531
not edi
jmp 0x7edc5e
mov ecx, dword [esi + 0x2c]
lea esi, [edx + edx*4]
mov ebx, dword [ecx + 4]
call fcn.007edca0
cwde
sub eax, edi
mov dword [esp + 8], eax
movzx eax, word [ebx + esi*4 + 0x10]
test al, 0x60
je 0x7ec77c
lea edx, [ebx + esi*4]
test eax, 0x100
je 0x7ec745
mov esi, 0x778860
mov edi, 0x778860
movzx ecx, byte [0xbb0173]
or esi, 2
xor edi, 2
mov eax, esi
add eax, edi
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7ec72b
mov al, byte [0xbb0173]
mov ecx, esi
mov ah, 1
add ecx, edi
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0173], ah
jne 0x7ec592
mov ecx, 0x778860
mov esi, 0x778860
or ecx, 2
xor esi, 2
mov edi, ecx
add edi, esi
sete ah
or ah, 4
xor ah, 7
movzx edi, ah
movzx eax, al
bt eax, edi
jae 0x7ec5f4
mov eax, ecx
movzx edi, byte [0xbb0173]
add eax, esi
sete al
or al, 4
movzx eax, al
bt edi, eax
jae 0x7ec5d7
jmp 0x7ec72b
add ecx, esi
movzx ecx, byte [0xbb0173]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7ec706
mov eax, 0x778860
mov esi, 0x778860
xor ecx, ecx
xor esi, 2
or eax, 2
add eax, esi
mov eax, dword [0xbb0150]
sete cl
or ecx, 0x4b6e2620
add ecx, 0x13ac
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbb0150], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov eax, dword [0xbb0154]
lea edi, [esi + esi]
xor eax, esi
shr esi, 0x1e
mov dword [0xbb0154], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbb0158]
lea edi, [eax*4]
xor esi, eax
shr eax, 0x1d
mov dword [0xbb0158], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbb015c]
lea edi, [esi*8]
xor eax, esi
shr esi, 0x1c
mov dword [0xbb015c], eax
or esi, edi
not eax
mov ebp, dword [0xbb0160]
imul eax, esi
mov edi, eax
shl edi, 4
xor ebp, eax
shr eax, 0x1b
mov dword [0xbb0160], ebp
or eax, edi
not ebp
imul ebp, eax
mov eax, dword [0xbb0164]
mov edi, ebp
shl edi, 5
xor eax, ebp
shr ebp, 0x1a
mov dword [0xbb0164], eax
or ebp, edi
not eax
mov ebx, dword [0xbb0168]
imul eax, ebp
mov edi, eax
shl edi, 6
xor ebx, eax
shr eax, 0x19
mov dword [0xbb0168], ebx
or eax, edi
not ebx
imul ebx, eax
mov ah, 1
xor dword [0xbb016c], ebx
shl ah, cl
or byte [0xbb0173], ah
mov eax, 0x778860
mov ecx, 0x778860
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb0173], al
push dword [edx]
push 0xbb0150
push dword [esp + 8]
call fcn.00782570
add esp, 0xc
xor edi, edi
jmp 0x7edc5e
mov ecx, eax
lea edi, [ebx + esi*4 + 0x10]
or ecx, 0x100
test al, al
mov word [edi], cx
jns 0x7ec76a
mov ecx, dword [esp]
push dword [esp + 8]
call fcn.007edd00
add esp, 4
movzx ecx, word [edi]
and ecx, 0xfe7f
mov word [edi], cx
mov edi, dword [esp + 8]
jmp 0x7edc5e
cmp byte [ebx + esi*4 + 0xd], 0x45
je 0x7ec7c1
mov edi, dword [esp + 8]
jmp 0x7edc5e
dec edi
movzx eax, byte [esi + 2]
movsx ebx, word [esi + 0x20]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp]
push eax
push dword [esp + 8]
push edi
push ebx
call fcn.007edda0
add esp, 0x10
cmp dword [esi + 0x2c], 0
mov edi, eax
jne 0x7edc5e
cmp byte [esi + 1], 0x45
je 0x7ec7d9
jmp 0x7edc5e
mov edi, dword [esp + 4]
mov ecx, ebp
mov edx, 0x4e
push edi
push dword [esp + 0xc]
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, 0x53
push edi
call fcn.007edd80
add esp, 4
jmp 0x7edc5e
mov ecx, dword [esp]
mov edi, dword [esp + 4]
mov edx, esi
push edi
push 0
jmp 0x7eca61
mov ecx, esi
call fcn.007ee340
mov edi, dword [esp + 4]
mov ecx, ebp
mov edx, 0x45
push edi
push eax
jmp 0x7ec85c
mov edx, dword [esi + 8]
mov edi, dword [esp + 4]
mov ecx, ebp
push edi
push 0
call fcn.007ee360
add esp, 8
jmp 0x7edc5e
mov edi, dword [esp + 4]
mov ecx, ebp
mov edx, edi
push dword [esi + 8]
call fcn.007ec000
add esp, 4
jmp 0x7edc5e
mov esi, dword [esi + 0xc]
jmp 0x7ec42c
mov edi, dword [esp + 4]
mov ecx, ebp
mov edx, 0x48
push edi
push 0
call fcn.007c57e0
add esp, 8
jmp 0x7edc5e
mov esi, dword [esi + 8]
add esi, 2
mov ecx, esi
call fcn.00777870
mov ecx, ebp
mov ebx, eax
lea edi, [eax - 1]
call fcn.006cb3a0
mov ecx, eax
mov edx, esi
push edi
call fcn.007ee3d0
add esp, 4
shr edi, 0x1f
mov ecx, ebp
mov edx, 0x4a
lea esi, [ebx + edi - 1]
sar esi, 1
push 0xfffffffffffffff9
push eax
push 0
mov edi, dword [esp + 0x10]
push edi
push esi
jmp 0x7ec4fc
mov edi, dword [esp + 4]
movsx eax, word [esi + 0x20]
mov ecx, ebp
mov edx, 0x4b
push edi
push eax
call fcn.007c57e0
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 1], 0
je 0x7edc5e
mov eax, dword [esp]
movsx edx, word [esi + 0x20]
mov esi, dword [eax + 0xd8]
mov ecx, esi
call fcn.0077fb20
mov dword [esi], 0
mov ecx, ebp
mov edx, eax
push 0xffffffffffffffff
call fcn.007ec2f0
add esp, 4
jmp 0x7edc5e
mov edi, dword [esi + 0x1c]
jmp 0x7edc5e
mov edi, dword [esp + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp]
push edi
call fcn.007ec3e0
add esp, 4
cmp eax, edi
je 0x7ec932
mov ecx, ebp
mov edx, 0x4e
push edi
push eax
call fcn.007c57e0
add esp, 8
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.007ee450
movsx eax, al
mov ecx, ebp
mov edx, 0x54
push eax
push edi
jmp 0x7ec85c
xor eax, eax
cmp bl, 0x2d
mov dword [esp + 8], pe_nt_image_headers32
sete al
or eax, 0x34
mov ebx, eax
jmp 0x7ec96c
mov dword [esp + 8], 0
mov ebp, dword [esi + 0xc]
mov ecx, ebp
call fcn.007ee5a0
mov edi, dword [esp + 4]
test eax, eax
je 0x7ec998
mov ecx, dword [esp]
mov edx, esi
push dword [esp + 8]
push ebx
mov ebx, ecx
push edi
call fcn.007ee5b0
add esp, 0xc
jmp 0x7edc42
mov edi, dword [esp]
lea eax, [esp + 0x98]
mov edx, ebp
mov ecx, edi
push eax
call fcn.007ee980
add esp, 4
mov edx, dword [esi + 0x10]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x94]
mov ecx, edi
push eax
call fcn.007ee980
add esp, 4
mov edi, dword [esi + 4]
mov edx, ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp]
shr edi, 9
or ebp, 0x20
and edi, 1
push edi
mov edi, dword [esp + 8]
push ebp
push edi
push eax
push dword [esp + 0x1c]
push ebx
mov ebx, ecx
push dword [esi + 0x10]
call fcn.007eea00
add esp, 0x1c
jmp 0x7edc42
mov edi, dword [esp]
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x98]
mov ecx, edi
push eax
call fcn.007ee980
add esp, 4
mov edx, dword [esi + 0x10]
mov dword [esp + 8], eax
lea eax, [esp + 0x94]
mov ecx, edi
push eax
call fcn.007ee980
add esp, 4
mov edx, ebx
mov ebx, edi
mov edi, dword [esp + 4]
mov ecx, ebp
push edi
push dword [esp + 0xc]
push eax
call fcn.007c5800
add esp, 0xc
jmp 0x7edc42
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0x96
je 0x7eca6e
cmp al, 0x98
jne 0x7eca7f
mov ecx, dword [esp]
mov edi, dword [esp + 4]
push edi
push 1
call fcn.007eddf0
add esp, 8
jmp 0x7edc5e
mov edx, dword [edx + 8]
mov edi, dword [esp + 4]
mov ecx, ebp
push edi
push 1
jmp 0x7ec821
mov ebx, dword [esp]
lea eax, [esp + 0x98]
lea edx, [esp + 0x60]
mov byte [esp + 0x60], 0x98
mov dword [esp + 0x64], 0x4400
mov dword [esp + 0x68], 0
mov ecx, ebx
push eax
call fcn.007ee980
add esp, 4
mov edx, dword [esi + 0xc]
mov edi, eax
lea eax, [esp + 0x94]
mov ecx, ebx
push eax
call fcn.007ee980
add esp, 4
mov esi, dword [esp + 4]
mov ecx, ebp
mov edx, 0x6a
push esi
push edi
mov edi, esi
jmp 0x7eca3c
mov edx, dword [esi + 0xc]
mov esi, dword [esp]
lea eax, [esp + 0x98]
mov ecx, esi
push eax
call fcn.007ee980
add esp, 4
mov edi, dword [esp + 4]
mov edx, ebx
mov ebx, esi
mov ecx, ebp
push edi
push eax
call fcn.007c57e0
add esp, 8
jmp 0x7edc42
mov edi, dword [esp]
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x98]
mov ecx, edi
push eax
call fcn.007ee980
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [esp + 8], eax
call fcn.007ee340
xor ebx, ebx
cmp byte [esi + 2], 0x2d
mov ecx, eax
mov edx, 0x57
sete bl
xor ebx, eax
xor eax, eax
test ecx, ecx
mov ecx, ebp
sete al
push ebx
mov ebx, edi
push eax
mov edi, dword [esp + 0xc]
push edi
push dword [esp + 0x14]
call fcn.007826e0
jmp 0x7edc3f
mov edi, dword [esp + 4]
mov ecx, ebp
mov edx, 0x45
push edi
push 1
call fcn.007c57e0
add esp, 8
mov edx, dword [esi + 0xc]
mov esi, dword [esp]
lea eax, [esp + 0x98]
mov ecx, esi
push eax
call fcn.007ee980
add esp, 4
mov edx, ebx
mov ebx, esi
mov ecx, ebp
push eax
call fcn.007edd80
add esp, 4
mov esi, eax
mov ecx, ebp
mov edx, 0x45
push edi
push 0
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, esi
call fcn.007ebd40
jmp 0x7edc42
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x7ecdab
mov edx, 0x835180
xor eax, eax
movzx edi, byte [0xbb019f]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edi, eax
mov edi, dword [esp + 4]
jb 0x7ecd9a
mov al, byte [0xbb019f]
xor ecx, ecx
cmp edx, 1
mov ah, 1
seta 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 [0xbb019f], ah
jne 0x7ecbfe
mov ecx, 0x835180
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ecc6e
xor eax, eax
cmp ecx, 1
movzx ebx, byte [0xbb019f]
seta al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt ebx, eax
jae 0x7ecc4c
jmp 0x7ecd9a
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbb019f]
seta al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7ecd71
mov ecx, 0x835180
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta al
mov ecx, eax
not ecx
and ecx, 0x525
lea ecx, [eax + ecx*2 - 0x40e8dd26]
mov eax, dword [0xbb0180]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb0180], eax
not eax
imul edx, eax
mov eax, dword [0xbb0184]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0184], eax
or edi, edx
not eax
mov edx, dword [0xbb0188]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0188], edx
or edi, eax
not edx
mov eax, dword [0xbb018c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb018c], eax
or edi, edx
not eax
mov edx, dword [0xbb0190]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb0190], edx
or eax, edi
not edx
mov ebx, dword [0xbb0194]
imul edx, eax
mov edi, edx
shl edi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb0194], ebx
or edx, edi
not ebx
mov edi, dword [esp + 4]
imul ebx, edx
mov dl, 1
xor dword [0xbb0198], ebx
shl dl, cl
or byte [0xbb019f], dl
mov eax, 0x835180
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb019f], al
push dword [esi + 8]
push 0xbb0180
mov ebx, dword [esp + 8]
jmp 0x7ed1f3
movsx ecx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
shl ecx, 4
mov edi, dword [eax + ecx + 8]
jmp 0x7edc5e
mov eax, dword [esi + 4]
test eax, 0x1000000
je 0x7ecdd3
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 0x38]
jmp 0x7edc5e
mov edx, dword [esp]
mov ecx, dword [edx]
cmp byte [edx + 0x17], 0
mov bl, byte [ecx + 0x4e]
mov byte [esp + 0xc], bl
mov edi, dword [esp + 4]
je 0x7ecdfb
mov ebx, ecx
mov ecx, esi
call fcn.007eeaa0
test eax, eax
jne 0x7ece16
mov eax, dword [esi + 4]
mov ecx, ebx
test eax, 0x4000
je 0x7ece3c
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0
xor ebx, ebx
jmp 0x7ece4f
mov ecx, dword [esp]
mov edx, esi
push 0xffffffffffffffff
call fcn.007eeab0
add esp, 4
mov ecx, dword [esp + 0x9c]
mov esi, eax
xor ecx, esp
call fcn.00980459
mov eax, esi
jmp 0x7edc6e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x7ece02
mov ebx, dword [eax]
mov dword [esp + 8], eax
mov al, 1
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], edx
push 0
push eax
push ebx
call fcn.00789480
add esp, 0xc
test eax, eax
je 0x7ed065
cmp dword [eax + 0x14], 0
jne 0x7ed065
mov dword [esp + 0xc], ebx
mov edx, dword [eax + 4]
mov ecx, dword [esp]
test edx, 0x400000
je 0x7ecea1
mov edx, dword [esp + 8]
push edi
push dword [eax + 8]
call fcn.007eeb60
add esp, 8
jmp 0x7ece25
test edx, 0x280000
mov dword [esp + 0x10], eax
je 0x7ecebe
mov ecx, dword [esp]
mov edx, esi
push dword [esp + 0x10]
call fcn.007eeca0
add esp, 4
mov dword [esp + 0x14], 0
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x10]
jg 0x7ecedd
xor ebx, ebx
mov dword [esp + 0x1c], 0
jmp 0x7ecf3d
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], 0
cmp edi, 0x1f
ja 0x7ecf11
mov ecx, dword [esp + 8]
lea eax, [edi + edi*4]
mov ecx, dword [ecx + eax*4 + 4]
call fcn.007eee70
test eax, eax
je 0x7ecf0d
mov eax, dword [esp + 0x1c]
bts eax, edi
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
test ebx, ebx
jne 0x7ecf36
mov ecx, dword [edx + 4]
and ecx, 0x20
je 0x7ecf36
mov ecx, dword [esp + 8]
lea eax, [edi + edi*4]
mov edx, dword [ecx + eax*4 + 4]
mov ecx, dword [esp]
call fcn.007c8020
mov edx, dword [esp + 0x10]
mov ebx, eax
inc edi
cmp edi, dword [esp + 0xc]
jne 0x7ecee9
cmp byte [esp + 0x18], 0
je 0x7ecfad
cmp dword [esp + 0x1c], 0
je 0x7ecf61
mov edx, dword [esp]
mov eax, dword [edx + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
add eax, dword [esp + 0xc]
mov dword [edx + 0x2c], eax
jmp 0x7ecf71
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
call fcn.007eee80
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x7ecf92
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
mov dl, byte [ecx]
or dl, 2
cmp dl, 0xa6
jne 0x7ecf92
and al, 0xc0
mov byte [ecx + 2], al
mov edx, dword [esp + 8]
mov ecx, dword [esp]
push 3
push 0
push dword [esp + 0x1c]
call fcn.007eeeb0
add esp, 0xc
mov edx, dword [esp + 0x10]
cmp dword [esp + 0xc], 2
mov dword [esp + 0x24], ebx
jl 0x7ecfc7
cmp byte [esi + 4], 0
jns 0x7ecfce
mov eax, dword [esp + 8]
add eax, 0x18
jmp 0x7ecfd5
cmp dword [esp + 0xc], 1
jne 0x7ecfe9
mov eax, dword [esp + 8]
add eax, 4
mov ecx, dword [esp + 0x20]
push dword [eax]
push dword [esp + 0x10]
call fcn.007ef010
add esp, 8
mov edx, eax
mov edi, dword [esp + 4]
test byte [edx + 4], 0x20
mov ebx, edx
je 0x7ed01c
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x7ed004
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov ecx, ebp
mov edx, 0x51
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
call fcn.007ebd50
add esp, 0x14
mov ebp, dword [esp + 0x1c]
movzx eax, byte [esi + 2]
mov ecx, dword [esp]
mov edx, ebp
push eax
push ebx
mov esi, dword [esp + 0x14]
push esi
push edi
push dword [esp + 0x24]
call fcn.007ef100
add esp, 0x14
test esi, esi
je 0x7edc5e
test ebp, ebp
jne 0x7edc5e
mov ecx, dword [esp]
mov edx, dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.007ef1d0
add esp, 4
jmp 0x7edc5e
mov edx, fcn.009820e1
movzx ecx, byte [0xbb01bb]
mov ebx, dword [esp]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7ed1ea
mov al, byte [0xbb01bb]
cmp edx, 1
mov ah, 1
seta cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb01bb], ah
jne 0x7ed095
mov ecx, fcn.009820e1
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ed0f5
cmp ecx, 1
movzx edx, byte [0xbb01bb]
seta al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x7ed0d7
jmp 0x7ed1ea
cmp ecx, 1
movzx ecx, byte [0xbb01bb]
seta al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7ed1c7
mov eax, fcn.009820e1
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb01a0]
seta cl
xor ecx, 0x2924d1b3
add ecx, 0x1098
xor eax, ecx
mov dword [0xbb01a0], eax
not eax
mov edx, dword [0xbb01a4]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb01a4], edx
or esi, eax
not edx
mov eax, dword [0xbb01a8]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb01a8], eax
or esi, edx
not eax
mov edx, dword [0xbb01ac]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb01ac], edx
or esi, eax
not edx
mov eax, dword [0xbb01b0]
imul edx, esi
mov esi, edx
shl esi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbb01b0], eax
or edx, esi
not eax
imul eax, edx
mov dl, 1
xor dword [0xbb01b4], eax
shl dl, cl
or byte [0xbb01bb], dl
mov eax, fcn.009820e1
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb01bb], al
push dword [esp + 0xc]
push 0xbb01a0
push ebx
call fcn.00782570
add esp, 0xc
jmp 0x7edc42
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
cmp edx, 1
je case.0x7ec446.20
mov ebx, dword [esp]
mov ecx, ebx
push 1
call fcn.007ef1f0
add esp, 4
mov edi, dword [esp + 4]
jmp 0x7edc42
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00980459
mov ecx, dword [esp]
mov edx, esi
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007ef460
mov edx, dword [esi + 0xc]
mov ecx, dword [esp]
cmp dword [edx + 0x1c], 0
jne 0x7ed25f
call fcn.007ef460
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1c], eax
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x7ed47b
mov ecx, dword [esi + 0xc]
call fcn.007efd90
cmp edi, eax
je 0x7ed47b
mov ebx, fcn.007a0550
mov ebp, eax
mov eax, fcn.007a0550
movzx edx, byte [0xbb01e3]
and ebx, 1
xor ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7ed468
mov al, byte [0xbb01e3]
xor edx, edx
cmp ebx, 0xffffffff
sete dl
mov ecx, edx
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb01e3], dl
jne 0x7ed2b0
mov ecx, fcn.007a0550
mov edx, fcn.007a0550
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, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ed321
xor eax, eax
cmp ecx, 0xffffffff
movzx ebx, byte [0xbb01e3]
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
bt ebx, eax
jae 0x7ed300
jmp 0x7ed468
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb01e3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7ed43c
mov ecx, fcn.007a0550
mov eax, fcn.007a0550
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 0xdf09f2e9
lea ecx, [ecx + eax*2 + 0xa08]
mov eax, dword [0xbb01c0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb01c0], eax
not eax
imul edx, eax
mov eax, dword [0xbb01c4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb01c4], eax
or ebx, edx
not eax
mov edx, dword [0xbb01c8]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb01c8], edx
or ebx, eax
not edx
mov eax, dword [0xbb01cc]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb01cc], eax
or ebx, edx
not eax
mov edx, dword [0xbb01d0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb01d0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbb01d4]
mov ebx, edx
shl ebx, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb01d4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbb01d8]
mov ebx, eax
shl ebx, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb01d8], edx
or eax, ebx
not edx
imul edx, eax
xor dword [0xbb01dc], edx
mov dl, 1
shl dl, cl
or byte [0xbb01e3], dl
mov ecx, fcn.007a0550
mov eax, fcn.007a0550
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb01e3], al
push ebp
push edi
push 0xbb01c0
push dword [esp + 0xc]
call fcn.00782570
add esp, 0x10
mov eax, dword [esi + 0xc]
movsx edi, word [esi + 0x20]
add edi, dword [eax + 0x1c]
jmp 0x7edc5e
mov ebx, dword [esp]
mov ecx, ebx
call fcn.007efdc0
mov ecx, ebx
mov dword [esp + 8], eax
call fcn.007efdc0
mov dword [esp + 0xc], eax
mov ecx, ebp
mov edx, 0x48
mov edi, dword [esp + 4]
push edi
push 0
call fcn.007c57e0
add esp, 8
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, ebx
push esi
mov ebx, dword [esp + 0xc]
push ebx
call fcn.007efdd0
add esp, 8
mov ecx, ebp
mov edx, 0x45
push edi
push 1
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, ebx
call fcn.007f04f0
mov ecx, ebp
mov edx, 0x52
push 0
push edi
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, esi
call fcn.007f04f0
jmp 0x7edc5e
mov ecx, dword [esp]
mov edx, esi
push 0
push 0
mov edi, dword [esp + 0xc]
push edi
call fcn.007f0520
add esp, 0xc
jmp 0x7edc5e
mov ebx, dword [esi + 0x2c]
movsx edx, word [esi + 0x20]
movsx edi, word [ebx + 0x2a]
mov ecx, ebx
inc edi
imul edi, dword [esi + 0x1c]
mov esi, edx
call fcn.007edca0
cwde
mov ecx, ebp
mov edx, 0x94
lea eax, [eax + edi + 1]
mov edi, dword [esp + 4]
push edi
push eax
call fcn.007c57e0
add esp, 8
test esi, esi
jns 0x7ed564
mov ebx, dword [esp]
jmp 0x7edc42
mov eax, dword [ebx + 4]
mov ecx, esi
lea ecx, [esi + esi*4]
cmp byte [eax + ecx*4 + 0xd], 0x45
je 0x7ed57b
mov ebx, dword [esp]
jmp 0x7edc42
mov ecx, ebp
mov edx, 0x53
push edi
call fcn.007edd80
add esp, 4
mov ebx, dword [esp]
jmp 0x7edc42
mov edx, fcn.007c44b0
movzx ecx, byte [0xbb0207]
mov ebx, dword [esp]
mov edi, dword [esp + 4]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7ed701
mov al, byte [0xbb0207]
cmp edx, 2
mov ah, 1
sete cl
not cl
and cl, 5
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0207], ah
jne 0x7ed5c7
mov ecx, fcn.007c44b0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
not dl
and dl, 5
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ed627
cmp ecx, 2
movzx edx, byte [0xbb0207]
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x7ed609
jmp 0x7ed701
cmp ecx, 2
movzx ecx, byte [0xbb0207]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7ed6de
mov eax, fcn.007c44b0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbb01f0]
sete cl
xor ecx, 0x246a1705
or ecx, 0x80
xor eax, ecx
mov dword [0xbb01f0], eax
not eax
mov edx, dword [0xbb01f4]
imul eax, ecx
and cl, 5
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb01f4], edx
or esi, eax
not edx
mov eax, dword [0xbb01f8]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb01f8], eax
or esi, edx
not eax
mov edx, dword [0xbb01fc]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb01fc], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbb0200], edx
or byte [0xbb0207], al
mov eax, fcn.007c44b0
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
not cl
and cl, 5
xor cl, 7
rol al, cl
and byte [0xbb0207], al
push 0xbb01f0
push ebx
call fcn.00782570
add esp, 8
jmp 0x7edc42
mov ebx, dword [esp]
mov ecx, ebp
mov edx, 0x15
mov al, byte [ebx + 0x17]
mov byte [esp + 8], al
push dword [esi + 0x1c]
call fcn.007edd80
add esp, 4
mov byte [ebx + 0x17], 0
mov edi, eax
mov ecx, ebx
mov edx, dword [esi + 0xc]
push dword [esp + 4]
call fcn.007ec3e0
add esp, 4
mov cl, byte [esp + 8]
mov edx, edi
mov esi, eax
mov byte [ebx + 0x17], cl
mov ecx, ebp
call fcn.007ebd40
mov edx, edi
mov edi, esi
mov ecx, ebp
push esi
call fcn.007f0770
add esp, 4
jmp 0x7edc42
mov eax, dword [esi + 0x14]
mov ebx, dword [esp]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov edi, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.007efdc0
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x7ed7ac
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 8], 0
xor esi, esi
jmp 0x7ed879
mov ecx, edi
mov edx, eax
push 0
call fcn.007f0780
add esp, 4
cmp byte [edi + 0x51], 0
mov esi, eax
je 0x7ed7d4
mov ecx, edi
mov edx, esi
call fcn.007c00e0
mov edi, dword [esp + 4]
jmp 0x7edc42
lea eax, [esp + 0x98]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], edi
mov ecx, ebx
mov edx, esi
push eax
call fcn.007f07c0
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.007f07a0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x2c], 0x35
mov dword [esp + 0x38], esi
mov dword [esp + 0x98], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0xc]
jle 0x7ed905
xor ebx, ebx
test eax, eax
lea eax, [ebx + ebx*4]
mov eax, dword [ebp + eax*4 + 4]
jne 0x7ed89d
mov ebp, eax
jmp 0x7ed8a5
mov ebp, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov esi, dword [esp]
mov ecx, esi
call fcn.007efdc0
mov edi, eax
push 0x10
push eax
mov dword [esp + 0x10], ebp
push ebp
push esi
call fcn.007f0850
add esp, 0x10
mov ebp, dword [esp + 0xc]
mov eax, ebx
mov ecx, esi
or eax, 1
lea eax, [eax + eax*4]
mov edx, dword [ebp + eax*4 + 4]
push dword [esp + 4]
call fcn.007ebed0
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.007ebf10
mov ecx, esi
mov edx, edi
call fcn.007f04f0
add ebx, 2
mov eax, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jl 0x7ed88e
test byte [esp + 0x14], 1
mov esi, dword [esp + 0x28]
je 0x7ed937
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp]
mov edi, dword [esp + 4]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 4]
mov ecx, ebx
push edi
call fcn.007ebed0
add esp, 4
mov ebp, dword [esp + 0x18]
jmp 0x7ed954
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 4]
mov edx, 0x48
mov ecx, ebp
push edi
push 0
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp]
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.007c00e0
mov edx, dword [esp + 0x10]
mov ecx, ebp
call fcn.007f04f0
jmp 0x7edc42
mov ebx, dword [esp]
cmp dword [ebx + 0x78], 0
jne 0x7edbf2
mov edx, fcn.007a1be0
mov esi, fcn.007a1be0
movzx ecx, byte [0xbb0247]
or edx, 2
xor esi, 2
mov eax, edx
add eax, esi
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7edbe0
mov al, byte [0xbb0247]
mov ecx, edx
mov ah, 1
add ecx, esi
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0247], ah
jne 0x7ed9af
mov ecx, fcn.007a1be0
mov edx, fcn.007a1be0
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete ah
not ah
and ah, 3
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7eda17
mov eax, ecx
movzx esi, byte [0xbb0247]
add eax, edx
sete al
not al
and al, 3
movzx eax, al
bt esi, eax
jae 0x7ed9f8
jmp 0x7edbe0
add ecx, edx
movzx ecx, byte [0xbb0247]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7edbb9
mov eax, dword [0xbb0210]
mov edx, fcn.007a1be0
mov esi, fcn.007a1be0
xor ecx, ecx
xor esi, 2
or edx, 2
add edx, esi
sete cl
mov edx, eax
xor edx, ecx
xor ecx, 0x474c75bb
xor eax, ecx
xor edx, 0xb8b38a44
mov dword [0xbb0210], eax
imul edx, ecx
and cl, 3
mov eax, dword [0xbb0214]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0214], eax
or esi, edx
not eax
mov edx, dword [0xbb0218]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0218], edx
or esi, eax
not edx
mov eax, dword [0xbb021c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb021c], eax
or esi, edx
not eax
mov edx, dword [0xbb0220]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb0220], edx
or eax, esi
not edx
mov ebp, dword [0xbb0224]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbb0224], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbb0228]
mov esi, ebp
shl esi, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbb0228], edx
or ebp, esi
not edx
mov edi, dword [0xbb022c]
imul edx, ebp
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb022c], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb0230]
mov esi, edi
shl esi, 8
xor edx, edi
shr edi, 0x17
mov dword [0xbb0230], edx
or edi, esi
not edx
mov ebp, dword [0xbb0234]
imul edx, edi
mov esi, edx
shl esi, 9
xor ebp, edx
shr edx, 0x16
mov dword [0xbb0234], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [str._x_M]
mov esi, ebp
shl esi, 0xa
xor edx, ebp
shr ebp, 0x15
mov dword [str._x_M], edx
or ebp, esi
not edx
mov edi, dword [0xbb023c]
imul edx, ebp
mov esi, edx
shl esi, 0xb
xor edi, edx
shr edx, 0x14
mov dword [0xbb023c], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb0240], edi
shl dl, cl
or byte [0xbb0247], dl
mov eax, fcn.007a1be0
mov ecx, fcn.007a1be0
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb0247], al
push 0xbb0210
push ebx
call fcn.00782570
add esp, 8
xor edi, edi
jmp 0x7edc5e
mov cl, byte [esi + 1]
cmp cl, 2
jne 0x7edc04
mov ecx, ebx
call fcn.007f0b40
mov cl, byte [esi + 1]
mov eax, dword [esi + 8]
mov edi, dword [esp + 4]
cmp cl, 4
jne 0x7edc2a
mov ecx, ebp
mov edx, 0x44
push 0
push eax
push 0
push 4
push 0
call fcn.007ebd50
add esp, 0x14
jmp 0x7edc42
movsx esi, cl
mov ecx, ebx
mov edx, 0x713
push 0
push 0
push eax
push esi
call fcn.007f0b50
add esp, 0x10
mov edx, dword [esp + 0x98]
mov ecx, ebx
call fcn.007f0bc0
mov edx, dword [esp + 0x94]
mov ecx, ebx
call fcn.007f0bc0
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00980459
mov eax, edi
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret