Function at 0x40d740
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x43e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x24], 0
je 0x40d763
mov eax, dword [edi]
jmp 0x40d7ac
xor eax, eax
mov dword [edi], eax
mov byte [edi + 0x28], 0
mov dword [edi + 4], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
pxor xmm0, xmm0
movdqu xmmword [edi + 0x48], xmm0
movdqu xmmword [edi + 0x58], xmm0
movdqu xmmword [edi + 0x68], xmm0
movdqu xmmword [edi + 0x78], xmm0
movdqu xmmword [edi + 0x88], xmm0
movdqu xmmword [edi + 0x98], xmm0
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], 0xc
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x48]
mov dword [ebp - 0x28], ecx
cmp eax, 9
ja case.default.0x40d7c6
jmp dword [eax*4 + 0x43553c]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
mov edx, dword [edi + 0xa8]
mov esi, dword [edi + 0xac]
sub esi, edx
cmp ecx, esi
cmovb esi, ecx
lea ecx, [edi + edx]
add ecx, 0xb0
add eax, dword [ebx]
push esi
push eax
push ecx
call fcn.00424430
add esp, 0xc
add dword [ebx + 4], esi
add esi, dword [edi + 0xa8]
xor eax, eax
cmp esi, dword [edi + 0xac]
cmove esi, eax
mov dword [edi + 0xa8], esi
jne 0x40e6bd
mov dword [edi], 1
mov eax, dword [edi + 0xb0]
mov ecx, 0x587a37fd
xor eax, ecx
movzx ecx, word [edi + 0xb4]
xor ecx, 0x5a
or ecx, eax
jne 0x40e741
movzx eax, byte [edi + 0xb6]
mov dword [ebp - 0x1c], eax
mov edx, 0xff
xor eax, edx
mov edx, dword [eax*4 + 0x440600]
movzx eax, byte [edi + 0xb7]
mov esi, edx
mov ecx, 0xff
and esi, ecx
mov edi, eax
mov ecx, 0xff
xor edi, ecx
xor edi, esi
shr edx, 8
xor edx, dword [edi*4 + 0x440600]
mov edi, dword [ebp + 8]
xor edx, 0xffff0000
cmp dword [edi + 0xb8], edx
jne 0x40e6b8
cmp byte [ebp - 0x1c], 0
jne 0x40e3bf
mov dword [edi + 0x20], eax
cmp al, 4
ja 0x40e3bf
movzx eax, al
mov ecx, 0x13
bt ecx, eax
mov eax, 6
jae 0x40e6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x40e66c
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax]
test ecx, ecx
je 0x40da66
lea esi, [ecx*4 + 4]
mov dword [edi + 0x40], esi
mov dword [edi + 0xac], esi
mov dword [edi + 0xa8], 0
mov dword [edi], 2
xor eax, eax
jmp 0x40d90a
mov eax, dword [edi + 0xa8]
mov esi, dword [edi + 0xac]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub edx, ecx
sub esi, eax
cmp edx, esi
cmovb esi, edx
add eax, edi
add eax, 0xb0
add ecx, dword [ebx]
push esi
push ecx
push eax
call fcn.00424430
add esp, 0xc
add dword [ebx + 4], esi
add esi, dword [edi + 0xa8]
xor ecx, ecx
cmp esi, dword [edi + 0xac]
mov eax, esi
cmove eax, ecx
mov dword [edi + 0xa8], eax
mov eax, 0
jne 0x40e6bd
add esi, 0xfffffffc
mov eax, esi
mov dword [ebp - 0x24], esi
mov dword [edi + 0xac], esi
je 0x40d999
xor ecx, ecx
xor eax, eax
dec eax
mov ebx, dword [ebp - 0x24]
movzx edx, byte [edi + ecx + 0xb0]
movzx esi, al
xor esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x440600]
inc ecx
cmp ebx, ecx
jne 0x40d96c
not eax
mov ebx, dword [ebp + 0xc]
jmp 0x40d99b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
jmp 0x40e165
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp dword [edi + ecx + 0xb0], eax
jne 0x40e6b8
mov dword [edi + 0xa8], 2
movzx eax, byte [edi + 0xb1]
test al, 0x3e
jne 0x40e3bf
mov dword [ebp - 0x2c], eax
test al, 0x40
jne 0x40d9dc
mov dword [ebp - 0x18], 2
xor esi, esi
dec esi
mov edi, esi
jmp 0x40da8f
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x40d9eb
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x24]
cmp eax, 2
mov edx, 2
cmova edx, eax
add edx, 0xfffffffe
mov dword [ebp - 0x20], edx
xor eax, eax
cmp dword [ebp - 0x20], eax
je 0x40e6b8
mov bh, byte [edi + eax + 0xb2]
mov byte [ebp - 0x1c], bh
lea edx, [eax + 3]
mov dword [ebp - 0x18], edx
mov dword [edi + 0xa8], edx
and bh, 0x7f
mov edx, edi
movzx edi, bh
xor esi, esi
shld esi, edi, cl
shl edi, cl
test cl, 0x20
cmovne esi, edi
mov ebx, 0
cmovne edi, ebx
mov bl, byte [ebp - 0x1c]
or esi, dword [edx + 0xc]
or edi, dword [edx + 8]
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
test bl, bl
jns 0x40da79
add ecx, 7
mov dword [edx + 4], ecx
inc eax
cmp ecx, 0x3f
mov ebx, dword [ebp + 0xc]
mov edi, edx
jne 0x40da01
jmp 0x40e6b8
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 0x10], eax
mov eax, 6
jmp 0x40e211
test ecx, ecx
je 0x40da85
test bl, bl
je 0x40e755
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
cmp byte [ebp - 0x2c], 0
mov edx, dword [ebp - 0x24]
js 0x40dacc
xor edi, edi
dec edi
mov eax, edi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edi
mov edi, ecx
mov eax, dword [ebp - 0x2c]
and al, 1
mov byte [ecx + 0x4b8], al
jne 0x40db65
mov eax, edx
mov ebx, dword [ebp + 0xc]
jmp 0x40dbd0
mov edi, eax
mov esi, dword [eax + 4]
test esi, esi
mov ebx, dword [ebp + 0xc]
jne 0x40dae0
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
mov edx, eax
mov eax, ecx
cmova edx, ecx
mov dword [ebp - 0x20], edx
add esi, 7
cmp dword [ebp - 0x20], eax
je 0x40e6b8
lea ecx, [esi - 7]
mov dl, byte [edi + eax + 0xb0]
mov byte [ebp - 0x1c], dl
mov ebx, eax
mov eax, edx
and al, 0x7f
movzx eax, al
mov edx, edi
xor edi, edi
shld edi, eax, cl
shl eax, cl
test cl, 0x20
mov dword [ebp - 0x18], ebx
lea ecx, [ebx + 1]
mov dword [edx + 0xa8], ecx
cmovne edi, eax
mov ebx, 0
cmovne eax, ebx
mov bl, byte [ebp - 0x1c]
or edi, dword [edx + 0xc]
or eax, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], edi
test bl, bl
jns 0x40dee6
mov dword [edx + 4], esi
add esi, 7
mov eax, ecx
cmp esi, 0x46
mov ebx, dword [ebp + 0xc]
mov edi, edx
jne 0x40daf5
jmp 0x40e6b8
mov eax, dword [ebp - 0x18]
sub edx, eax
cmp edx, 2
mov ebx, dword [ebp + 0xc]
jb 0x40e3bf
mov ecx, eax
inc eax
mov dword [edi + 0xa8], eax
cmp byte [edi + ecx + 0xb0], 4
jne 0x40e3bf
mov eax, dword [edi + 0x4b4]
mov dword [eax], 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov eax, dword [edi + 0xa8]
lea ecx, [eax + 1]
mov dword [ebp - 0x18], ecx
mov dword [edi + 0xa8], ecx
cmp byte [edi + eax + 0xb0], 0
jne 0x40e3bf
mov eax, dword [edi + 0xac]
mov ecx, eax
mov edx, dword [ebp - 0x18]
sub eax, edx
cmp eax, 2
jb 0x40e6b8
lea eax, [edx + 1]
mov dword [edi + 0xa8], eax
cmp byte [edi + edx + 0xb0], 0x21
jne 0x40e3bf
lea eax, [edx + 2]
mov dword [edi + 0xa8], eax
cmp byte [edi + edx + 0xb1], 1
jne 0x40e3bf
cmp ecx, eax
mov eax, 7
je 0x40e6bd
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 3]
mov dword [edi + 0xa8], eax
movzx ecx, byte [edi + ecx + 0xb2]
cmp ecx, 0x27
ja 0x40e3bf
mov eax, ecx
and eax, 1
or eax, 2
shr ecx, 1
add cl, 0xb
shl eax, cl
mov esi, dword [edi + 0x4b0]
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x40dc8e
cmp eax, dword [esi + 0x34]
ja 0x40e74b
mov dword [esi + 0x2c], eax
cmp ecx, 2
jne 0x40dc8e
cmp dword [esi + 0x38], eax
jae 0x40dc8e
push dword [esi + 0x18]
call fcn.0041f035
add esp, 4
push dword [esi + 0x30]
call fcn.0041f4bf
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x40e76f
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x50], 1
mov dword [esi + 0x6ee4], eax
mov ecx, dword [edi + 0xa8]
mov eax, dword [edi + 0xac]
cmp ecx, eax
cmova eax, ecx
cmp eax, ecx
je 0x40dccf
lea edx, [ecx + 1]
mov dword [edi + 0xa8], edx
cmp byte [edi + ecx + 0xb0], 0
mov ecx, edx
je 0x40dcb1
jmp 0x40e3bf
mov dword [edi + 0xa8], 0
mov eax, dword [ebp - 0x28]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [edi], 3
mov eax, dword [ebx + 4]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x14], eax
cmp byte [edi + 0x4b8], 0
mov ecx, dword [edi + 0x4b0]
je 0x40dd7e
mov dword [ebp - 0x18], ecx
mov edi, dword [edi + 0x4b4]
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [ebp - 0x1c], edi
je 0x40dd8d
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
sub esi, ecx
cmp eax, esi
cmovb esi, eax
add ecx, dword [ebx + 0xc]
lea ebx, [edi + 0x28]
push esi
push ebx
push ecx
call fcn.00424430
add esp, 0xc
mov eax, dword [ebp + 0xc]
add dword [eax + 0x10], esi
mov eax, edi
mov edi, dword [edi + 0x24]
sub edi, esi
sub dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
lea eax, [eax + esi + 0x28]
setne byte [ebp - 0x20]
push edi
push eax
push ebx
mov ebx, dword [ebp + 0xc]
call fcn.00429d50
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x20], 0
jne 0x40df58
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 1
mov eax, 1
jne 0x40dd90
jmp 0x40df58
mov edx, ebx
call fcn.0040cd90
mov dword [ebp - 0x18], eax
jmp 0x40df5e
mov edi, dword [edi + 0x24]
mov esi, dword [ebx + 0x10]
test edi, edi
je 0x40de39
mov ecx, dword [ebx + 0x14]
mov edx, ecx
sub edx, esi
cmp edi, edx
jb 0x40de39
cmp esi, ecx
jae 0x40df52
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x1c], eax
lea edi, [esi + 0x28]
mov dword [ebx + 0xc], edi
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0x10
mov ecx, dword [ebp - 0x18]
mov edx, ebx
call fcn.0040cd90
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 4]
cmp eax, 1
ja 0x40df58
mov edx, edi
mov edi, dword [ebp - 0x1c]
lea esi, [edi + 0x20]
mov ecx, edi
mov dword [ebp - 0x18], edx
push dword [edi + 0x24]
push esi
call fcn.0040d5b0
add esp, 8
cmp dword [edi + 4], 1
jne 0x40df08
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
jmp 0x40df0a
mov dword [ebp - 0x14], esi
add esi, dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
add eax, 0x28
push edi
mov dword [ebp - 0x20], eax
push eax
push esi
call fcn.00424430
add esp, 0xc
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x24]
add dword [ebx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
call fcn.0040cd90
mov dword [esi + 4], eax
cmp eax, 1
je 0x40de85
test eax, eax
jne 0x40df58
xor eax, eax
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 8], 0
jne 0x40df58
mov edx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push dword [ebx + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.0040d5b0
add esp, 8
cmp dword [esi + 4], 1
mov eax, 1
je 0x40df58
mov eax, dword [ebx + 0x10]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x24], eax
mov ecx, dword [ebx + 0x10]
sub ecx, eax
mov dword [ebx + 0x10], ecx
add ecx, dword [ebx + 0xc]
mov edi, dword [edx + 0x24]
push edi
push ecx
push dword [ebp - 0x20]
call fcn.00424430
add esp, 0xc
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
add edi, esi
xor eax, eax
cmp edi, ecx
jae 0x40ddaa
jmp 0x40df58
cmp esi, 7
je 0x40def3
test bl, bl
je 0x40e755
inc dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x24]
jmp 0x40daa6
mov eax, dword [esi]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
sub esi, ecx
cmp eax, esi
cmovb esi, eax
add ecx, dword [ebx + 0xc]
push esi
push dword [ebp - 0x18]
push ecx
call fcn.00424430
add esp, 0xc
add dword [ebx + 0x10], esi
mov eax, dword [edi + 0x24]
sub eax, esi
sub dword [edi + 0x20], esi
mov dword [edi + 0x24], eax
lea ecx, [edi + esi + 0x28]
setne bl
push eax
push ecx
push dword [ebp - 0x18]
call fcn.00429d50
add esp, 0xc
xor eax, eax
test bl, bl
mov ebx, dword [ebp + 0xc]
jne 0x40df58
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 4]
sub ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x4c]
add ecx, dword [edi + 0x48]
adc eax, 0
mov dword [ebp - 0x20], eax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov edx, dword [ebx + 0x10]
mov ebx, dword [edi + 0x14]
sub edx, ebx
mov esi, dword [edi + 0x54]
add edx, dword [edi + 0x50]
adc esi, 0
mov eax, dword [edi + 0x30]
mov dword [edi + 0x50], edx
mov dword [edi + 0x54], esi
mov dword [ebp - 0x3c], eax
cmp eax, ecx
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x4c], eax
sbb eax, dword [ebp - 0x20]
jb 0x40e734
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], esi
sbb eax, esi
jb 0x40e734
mov eax, dword [edi + 0x20]
cmp eax, 4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
je 0x40e00b
cmp eax, 1
jne 0x40e061
mov dword [ebp - 0x30], edx
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
not eax
cmp edx, ebx
je 0x40e005
mov esi, dword [ecx + 0xc]
movzx edi, byte [esi + ebx]
movzx ecx, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x440600]
inc ebx
cmp edx, ebx
jne 0x40dfed
not eax
xor esi, esi
jmp 0x40e052
mov dword [ebp - 0x30], edx
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
not esi
not eax
cmp edx, ebx
je 0x40e04e
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + ebx]
movzx edi, al
shrd eax, esi, 8
xor edi, ecx
shr esi, 8
xor eax, dword [edi*8 + 0x440a00]
xor esi, dword [edi*8 + 0x440a04]
inc ebx
cmp edx, ebx
jne 0x40e028
not eax
not esi
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
cmp eax, 1
mov ebx, dword [ebp + 0xc]
jne 0x40e6bd
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x4c]
and eax, esi
cmp eax, 0xffffffff
je 0x40e08d
mov eax, dword [ebp - 0x3c]
xor eax, ecx
xor esi, dword [ebp - 0x20]
or esi, eax
jne 0x40e6b8
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x40e0b0
mov eax, dword [ebp - 0x24]
xor eax, edx
mov esi, dword [ebp - 0x2c]
xor esi, dword [ebp - 0x34]
or esi, eax
mov eax, 7
jne 0x40e6bd
mov eax, dword [edi + 0x40]
add eax, ecx
mov esi, dword [ebp - 0x20]
adc esi, 0
add eax, dword [edi + 0x60]
adc esi, dword [edi + 0x64]
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], esi
cmp dword [ebp - 0x38], 4
je 0x40e0d8
cmp dword [ebp - 0x38], 1
jne 0x40e0e4
add eax, 4
jmp 0x40e0db
add eax, 8
adc esi, 0
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], esi
add dword [edi + 0x68], edx
mov ecx, dword [ebp - 0x34]
adc dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x70]
not ecx
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x440600]
mov eax, 0xffffffea
movzx edx, byte [edi + eax + 0x77]
movzx esi, cl
xor esi, edx
shr ecx, 8
xor ecx, dword [esi*4 + 0x440600]
test eax, eax
je 0x40e121
inc eax
jmp 0x40e106
not ecx
mov dword [edi + 0x70], ecx
add dword [edi + 0x58], 1
adc dword [edi + 0x5c], 0
mov dword [edi], 4
mov eax, dword [ebp - 0x40]
jmp 0x40e165
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x40e66c
mov ecx, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx + 4], edx
cmp byte [ecx + eax], 0
jne 0x40e6b8
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
add eax, 1
adc dword [ecx + 4], 0
mov dword [ecx], eax
test al, 3
jne 0x40e139
mov dword [edi], 5
mov ecx, dword [edi + 0x20]
cmp ecx, 1
je 0x40e1c4
xor eax, eax
inc eax
cmp ecx, 4
jne 0x40e211
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x40e66c
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov cl, byte [edi + 4]
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
cmove edx, esi
mov ecx, dword [ebx]
lea esi, [eax + 1]
mov dword [ebx + 4], esi
cmp byte [ecx + eax], dl
jne 0x40e6b8
mov eax, dword [edi + 4]
add eax, 8
mov dword [edi + 4], eax
cmp eax, 0x40
jb 0x40e183
jmp 0x40e203
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x40e66c
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov cl, byte [edi + 4]
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
cmove edx, esi
mov ecx, dword [ebx]
lea esi, [eax + 1]
mov dword [ebx + 4], esi
cmp byte [ecx + eax], dl
jne 0x40e6b8
mov eax, dword [edi + 4]
add eax, 8
mov dword [edi + 4], eax
cmp eax, 0x20
jb 0x40e1c4
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov dword [edi + 4], eax
xor eax, eax
inc eax
mov dword [edi], eax
jmp case.default.0x40d7c6
cmp dword [edi + 4], 0
sete cl
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x28], eax
test cl, 1
je 0x40e23a
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp - 0x28]
jae 0x40e3c9
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
inc ecx
mov dword [ebx + 4], ecx
mov ecx, eax
and cl, 0x7f
movzx edx, cl
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
xor ebx, ebx
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
cmovne ebx, edx
mov edi, 0
cmovne edx, edi
or ebx, dword [esi + 0xc]
or edx, dword [esi + 8]
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
test al, al
jns 0x40e296
add ecx, 7
mov dword [esi + 4], ecx
cmp ecx, 0x3f
mov ebx, dword [ebp + 0xc]
jne 0x40e23a
jmp 0x40e3d2
jne 0x40e2a0
test ecx, ecx
jne 0x40e760
mov edi, dword [ebp + 8]
mov dword [edi + 4], 0
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x40e2de
cmp eax, 1
je 0x40e313
test eax, eax
jne 0x40e326
mov dword [edi + 0x88], edx
mov dword [edi + 0x8c], ebx
mov eax, dword [edi + 0x58]
xor eax, edx
mov ecx, dword [edi + 0x5c]
xor ecx, ebx
or ecx, eax
je 0x40e35a
jmp 0x40e734
add dword [edi + 0x98], edx
adc dword [edi + 0x9c], ebx
mov eax, dword [edi + 0xa0]
not eax
xor ecx, ecx
movzx edx, byte [edi + ecx + 0x90]
movzx esi, al
xor esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x440600]
cmp ecx, 0x17
je 0x40e334
inc ecx
jmp 0x40e2f4
add dword [edi + 0x90], edx
adc dword [edi + 0x94], ebx
mov dword [edi + 0x78], 2
mov edx, dword [edi + 0x88]
mov ebx, dword [edi + 0x8c]
jmp 0x40e361
not eax
mov dword [edi + 0xa0], eax
mov edx, dword [edi + 0x88]
mov ebx, dword [edi + 0x8c]
add edx, 0xffffffff
adc ebx, 0xffffffff
mov dword [edi + 0x88], edx
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x78], 1
mov cl, 1
or edx, ebx
mov ebx, dword [ebp + 0xc]
jne 0x40e21f
mov dword [edi], 7
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 0x10]
mov edx, eax
sub edx, ecx
add edx, dword [edi + 0x80]
mov esi, dword [edi + 0x84]
adc esi, 0
test dl, 3
je 0x40e430
cmp eax, dword [ebx + 8]
je 0x40e670
mov ecx, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx + 4], edx
cmp byte [ecx + eax], 0
mov eax, edx
je 0x40e377
jmp 0x40e6b8
mov esi, dword [edi + 0xac]
jmp 0x40e510
mov eax, 6
jmp 0x40e6bd
mov dword [ebp - 0x18], 0
jmp 0x40e3d9
mov dword [ebp - 0x18], 7
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x18]
mov esi, ecx
sub esi, edx
add dword [edi + 0x80], esi
adc dword [edi + 0x84], 0
not eax
test esi, esi
je 0x40e416
mov esi, dword [ebx]
movzx edi, byte [esi + edx]
movzx ebx, al
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x440600]
inc edx
cmp ecx, edx
jne 0x40e3fe
not eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
jmp 0x40e6bd
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], esi
mov edx, dword [edi + 0x18]
not edx
cmp eax, ecx
je 0x40e45f
mov esi, dword [ebx]
movzx edi, byte [esi + ecx]
movzx ebx, dl
xor ebx, edi
shr edx, 8
xor edx, dword [ebx*4 + 0x440600]
inc ecx
cmp eax, ecx
jne 0x40e447
not edx
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], 0
movdqu xmm0, xmmword [edi + 0x90]
movdqu xmm1, xmmword [edi + 0x60]
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [edi + 0x68]
movdqu xmm2, xmmword [edi + 0x98]
pcmpeqb xmm2, xmm0
pand xmm2, xmm1
pmovmskb eax, xmm2
cmp eax, 0xffff
mov eax, 7
mov ebx, dword [ebp + 0xc]
jne 0x40e6bd
mov dword [edi], 8
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x40e66c
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov cl, byte [edi + 4]
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
cmove edx, esi
mov ecx, dword [ebx]
lea esi, [eax + 1]
mov dword [ebx + 4], esi
cmp byte [ecx + eax], dl
jne 0x40e6b8
mov eax, dword [edi + 4]
add eax, 8
mov dword [edi + 4], eax
cmp eax, 0x20
jb case.0x40d7c6.8
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov dword [edi + 4], eax
mov dword [edi + 0xac], 0xc
mov dword [edi], 9
mov esi, 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
mov edx, dword [edi + 0xa8]
sub esi, edx
cmp ecx, esi
cmovb esi, ecx
lea ecx, [edi + edx]
add ecx, 0xb0
add eax, dword [ebx]
push esi
push eax
push ecx
call fcn.00424430
add esp, 0xc
add dword [ebx + 4], esi
add esi, dword [edi + 0xa8]
xor eax, eax
cmp esi, dword [edi + 0xac]
cmove esi, eax
mov dword [edi + 0xa8], esi
jne 0x40e6bd
movzx eax, word [edi + 0xba]
cmp eax, 0x5a59
jne 0x40e6b8
movzx ecx, byte [edi + 0xb4]
mov eax, 0xff
mov dword [ebp - 0x28], ecx
xor ecx, eax
mov ebx, 0xffffff
xor ebx, dword [ecx*4 + 0x440600]
movzx edx, byte [edi + 0xb5]
mov ecx, ebx
and ecx, eax
mov dword [ebp - 0x1c], edx
xor ecx, edx
shr ebx, 8
xor ebx, dword [ecx*4 + 0x440600]
mov ecx, ebx
and ecx, eax
movzx edx, byte [edi + 0xb6]
mov dword [ebp - 0x18], edx
xor ecx, edx
shr ebx, 8
xor ebx, dword [ecx*4 + 0x440600]
mov ecx, ebx
and ecx, eax
movzx esi, byte [edi + 0xb7]
xor ecx, esi
shr ebx, 8
xor ebx, dword [ecx*4 + 0x440600]
mov edi, ebx
and edi, eax
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + 0xb8]
xor edi, ecx
shr ebx, 8
xor ebx, dword [edi*4 + 0x440600]
mov edi, dword [ebp + 8]
and eax, ebx
movzx edx, byte [edi + 0xb9]
mov dword [ebp - 0x20], edx
xor eax, edx
shr ebx, 8
xor ebx, dword [eax*4 + 0x440600]
not ebx
cmp dword [edi + 0xb0], ebx
jne 0x40e6b5
test cl, cl
mov ebx, dword [ebp + 0xc]
jne 0x40e6b8
mov ecx, dword [ebp - 0x1c]
shl ecx, 8
add ecx, dword [ebp - 0x28]
mov eax, dword [edi + 0x80]
mov edx, dword [ebp - 0x18]
shl edx, 0x10
or edx, ecx
mov ecx, dword [edi + 0x84]
shrd eax, ecx, 2
shl esi, 0x18
or esi, edx
xor esi, eax
shr ecx, 2
or esi, ecx
mov eax, 7
jne 0x40e6bd
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x20]
cmp dword [edi + 0x20], ecx
mov ecx, 7
cmove ecx, eax
mov eax, ecx
jmp 0x40e6bd
xor eax, eax
jmp 0x40e6bd
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], esi
mov edx, dword [edi + 0x18]
not edx
cmp eax, ecx
je 0x40e69f
mov esi, dword [ebx]
movzx edi, byte [esi + ecx]
movzx ebx, dl
xor ebx, edi
shr edx, 8
xor edx, dword [ebx*4 + 0x440600]
inc ecx
cmp eax, ecx
jne 0x40e687
not edx
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], 0
xor eax, eax
jmp 0x40e739
mov ebx, dword [ebp + 0xc]
mov eax, 7
cmp dword [edi + 0x24], 0
je 0x40e6f3
mov esi, eax
test eax, eax
jne 0x40e6ed
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebx + 4]
jne 0x40e6ed
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebx + 0x10]
jne 0x40e6ed
xor eax, eax
cmp byte [edi + 0x28], 0
setne al
shl eax, 3
mov esi, eax
mov byte [edi + 0x28], 1
jmp 0x40e720
mov byte [edi + 0x28], 0
jmp 0x40e720
cmp eax, 1
je 0x40e71e
test eax, eax
jne 0x40e70e
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp eax, dword [ebx + 8]
sete cl
mov eax, 8
sub eax, ecx
mov esi, eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x10], eax
jmp 0x40e720
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412b41
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 7
mov ebx, dword [ebp + 0xc]
jmp 0x40e6bd
mov eax, 5
jmp 0x40e6bd
mov eax, 4
jmp 0x40e6bd
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jmp 0x40e6b8
mov dword [ebp - 0x18], 7
mov ebx, dword [ebp + 0xc]
jmp 0x40e3d9
mov dword [esi + 0x38], 0
mov eax, 3
jmp 0x40e6bd