Function at 0x40cdf0
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 eax, dword [0x43d00c]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x24], 0
je 0x40ce16
mov eax, dword [ebx]
jmp 0x40cf11
xor eax, eax
mov dword [ebx], 0
mov byte [ebx + 0x28], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0xc
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0x10]
lea esi, [ebx + 0xb0]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], edx
mov dword [ebx + 0x10], edx
lea edx, [ebx + 0x48]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edx
nop
cmp eax, 9
ja case.default.0x40cf35
jmp dword [eax*4 + 0x43547c]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 0xa8]
mov esi, dword [ebx + 0xac]
sub ecx, eax
sub esi, edx
cmp ecx, esi
cmovb esi, ecx
add eax, dword [edi]
lea ecx, [ebx + edx + 0xb0]
push esi
push eax
push ecx
call fcn.00424d40
add esp, 0xc
add dword [edi + 4], esi
xor edx, edx
add esi, dword [ebx + 0xa8]
cmp esi, dword [ebx + 0xac]
cmove esi, edx
mov dword [ebx + 0xa8], esi
jne 0x40df3f
mov dword [ebx], 1
mov ecx, 0x587a37fd
mov eax, dword [ebx + 0xb0]
movzx edx, word [ebx + 0xb4]
xor eax, ecx
xor edx, 0x5a
or edx, eax
jne 0x40e003
movzx ecx, byte [ebx + 0xb6]
mov eax, ecx
xor eax, 0xff
mov edx, dword [eax*4 + 0x43faa8]
movzx eax, byte [ebx + 0xb7]
movzx esi, dl
shr edx, 8
xor esi, eax
xor esi, 0xff
xor edx, dword [esi*4 + 0x43faa8]
xor edx, 0xffff0000
cmp dword [ebx + 0xb8], edx
jne 0x40defe
mov edx, 6
test cl, cl
jne 0x40df3f
cmp al, 4
mov dword [ebx + 0x20], eax
ja 0x40df3f
movzx eax, al
mov ecx, 0x13
bt ecx, eax
jae 0x40df3f
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40dfca
mov ecx, dword [edi]
movzx ecx, byte [ecx + eax]
test ecx, ecx
je 0x40d1cb
lea esi, [ecx*4 + 4]
xor eax, eax
mov dword [ebx + 0x40], esi
mov dword [ebx + 0xac], esi
mov dword [ebx + 0xa8], 0
mov dword [ebx], 2
jmp 0x40d066
mov eax, dword [ebx + 0xa8]
mov esi, dword [ebx + 0xac]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
sub esi, eax
lea eax, [ebx + eax + 0xb0]
sub edx, ecx
cmp edx, esi
cmovb esi, edx
add ecx, dword [edi]
push esi
push ecx
push eax
call fcn.00424d40
add esp, 0xc
add dword [edi + 4], esi
xor edx, edx
add esi, dword [ebx + 0xa8]
cmp esi, dword [ebx + 0xac]
mov eax, esi
cmove eax, edx
mov dword [ebx + 0xa8], eax
jne 0x40df3f
add esi, 0xfffffffc
mov eax, 0xffffffff
mov dword [ebx + 0xac], esi
mov dword [ebp - 0x20], esi
je 0x40d0e6
mov ecx, dword [ebp - 0x4c]
mov edx, esi
nop word cs:[eax + eax]
nop dword [eax]
movzx esi, byte [ecx]
movzx edi, al
shr eax, 8
inc ecx
xor edi, esi
xor eax, dword [edi*4 + 0x43faa8]
dec edx
jne 0x40d0d0
mov ecx, dword [ebp - 0x20]
not eax
mov edx, 7
cmp dword [ebx + ecx + 0xb0], eax
jne 0x40dff1
mov dword [ebx + 0xa8], 2
mov edi, dword [ebp + 0xc]
movzx eax, byte [ebx + 0xb1]
test al, 0x3e
jne 0x40dc0d
mov esi, 0xffffffff
test al, 0x40
mov dword [ebp - 0x28], eax
jne 0x40d145
mov dword [ebp - 0x18], 2
mov edi, 0xffffffff
mov ebx, 0xffffffff
jmp 0x40d205
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
jmp 0x40d93c
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40d15a
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov esi, 0xb2
nop
lea edx, [esi - 0xb0]
cmp edx, dword [ebp - 0x20]
jae 0x40defe
mov dh, byte [ebx + esi]
lea eax, [esi - 0xaf]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
xor ebx, ebx
mov byte [ebp - 0x1c], dh
and dh, 0x7f
movzx edi, dh
mov edx, 0
shld ebx, edi, cl
shl edi, cl
test cl, 0x20
cmovne ebx, edi
cmovne edi, edx
movzx edx, byte [ebp - 0x1c]
or ebx, dword [eax + 0xc]
or edi, dword [eax + 8]
test dl, dl
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
jns 0x40d1e0
mov edi, dword [ebp + 0xc]
add ecx, 7
inc esi
mov ebx, eax
cmp ecx, 0x3f
mov dword [eax + 4], ecx
jne 0x40d160
jmp 0x40defe
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov dword [ebx + 0x10], eax
mov eax, 6
mov dword [ebx], eax
jmp case.default.0x40cf35
mov eax, edx
test ecx, ecx
mov edx, 7
je 0x40d1f3
test al, al
je 0x40e036
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov esi, 0xffffffff
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], edi
mov ebx, eax
mov eax, dword [ebp - 0x28]
test al, al
js 0x40d238
mov edi, 0xffffffff
and al, 1
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], edi
mov byte [ebx + 0x4b8], al
jne 0x40d2d4
mov edi, dword [ebp + 0xc]
jmp 0x40d351
mov esi, dword [ebx + 4]
test esi, esi
jne 0x40d24d
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
add esi, 7
nop word cs:[eax + eax]
cmp eax, dword [ebp - 0x20]
jae 0x40df3f
movzx edx, byte [ebx + eax + 0xb0]
mov dword [ebp - 0x18], eax
lea ecx, [esi - 7]
xor edi, edi
mov eax, edx
mov byte [ebp - 0x1c], dl
and al, 0x7f
movzx edx, al
mov eax, dword [ebp - 0x18]
shld edi, edx, cl
shl edx, cl
test cl, 0x20
cmovne edi, edx
lea ecx, [eax + 1]
mov eax, 0
cmovne edx, eax
mov dword [ebx + 0xa8], ecx
movzx eax, byte [ebp - 0x1c]
or edi, dword [ebx + 0xc]
or edx, dword [ebx + 8]
test al, al
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
jns 0x40d690
mov edi, dword [ebp + 0xc]
mov dword [ebx + 4], esi
add esi, 7
mov eax, ecx
mov edx, 7
cmp esi, 0x46
jne 0x40d260
jmp 0x40df3f
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, 2
jb 0x40dc0d
mov ecx, eax
inc eax
mov dword [ebx + 0xa8], eax
cmp byte [ebx + ecx + 0xb0], 4
jne 0x40dc0d
mov eax, dword [ebx + 0x4b4]
mov dword [eax], 4
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov eax, dword [ebx + 0xa8]
lea ecx, [eax + 1]
mov dword [ebx + 0xa8], ecx
mov dword [ebp - 0x18], ecx
cmp byte [ebx + eax + 0xb0], 0
jne 0x40dc0d
mov ecx, dword [ebx + 0xac]
mov esi, dword [ebp - 0x18]
mov eax, ecx
mov edx, 7
sub eax, esi
cmp eax, 2
jb 0x40df3f
lea eax, [esi + 1]
mov dword [ebx + 0xa8], eax
cmp byte [ebx + esi + 0xb0], 0x21
jne 0x40dc0d
lea eax, [esi + 2]
mov dword [ebx + 0xa8], eax
cmp byte [ebx + esi + 0xb1], 1
jne 0x40dc0d
cmp ecx, eax
je 0x40df3f
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 3]
mov dword [ebx + 0xa8], eax
movzx ecx, byte [ebx + ecx + 0xb2]
cmp ecx, 0x27
ja 0x40dc0d
mov eax, ecx
mov esi, dword [ebx + 0x4b0]
shr ecx, 1
and eax, 1
add cl, 0xb
or eax, 2
shl eax, cl
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x40d40f
cmp eax, dword [esi + 0x34]
ja 0x40e017
cmp ecx, 2
mov dword [esi + 0x2c], eax
jne 0x40d40f
cmp dword [esi + 0x38], eax
jae 0x40d40f
push dword [esi + 0x18]
call fcn.0041f641
add esp, 4
push dword [esi + 0x30]
call fcn.0041facb
add esp, 4
test eax, eax
mov dword [esi + 0x18], eax
je 0x40e04b
mov dword [esi + 0x68], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x50], 1
mov dword [esi + 0x6ee4], 0
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xac]
nop word [eax + eax]
cmp ecx, eax
jae 0x40d45e
lea edx, [ecx + 1]
mov dword [ebx + 0xa8], edx
cmp byte [ebx + ecx + 0xb0], 0
mov ecx, edx
je 0x40d440
jmp 0x40dc0d
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xa8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [ebx], 3
mov eax, dword [edi + 4]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x14], eax
cmp byte [ebx + 0x4b8], 0
mov ecx, dword [ebx + 0x4b0]
je 0x40d520
mov ebx, dword [ebx + 0x4b4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x40d52f
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub esi, ecx
cmp eax, esi
cmovb esi, eax
add ecx, dword [edi + 0xc]
lea edi, [ebx + 0x28]
push esi
push edi
push ecx
call fcn.00424d40
add esp, 0xc
mov eax, dword [ebp + 0xc]
add dword [eax + 0x10], esi
mov eax, ebx
mov ebx, dword [ebx + 0x24]
sub ebx, esi
sub dword [eax + 0x20], esi
mov dword [eax + 0x24], ebx
lea eax, [eax + esi + 0x28]
setne byte [ebp - 0x20]
push ebx
push eax
push edi
mov edi, dword [ebp + 0xc]
call fcn.0042a660
add esp, 0xc
xor edx, edx
cmp byte [ebp - 0x20], 0
jne 0x40d703
mov eax, dword [ebp - 0x18]
mov edx, 1
cmp dword [eax + 4], 1
jne 0x40d532
jmp 0x40d703
mov edx, edi
call fcn.0040c4c0
mov dword [ebp - 0x1c], eax
jmp 0x40d709
mov ebx, dword [ebx + 0x24]
mov eax, dword [edi + 0x10]
test ebx, ebx
je 0x40d5db
mov ecx, dword [edi + 0x14]
mov edx, ecx
sub edx, eax
cmp ebx, edx
jb 0x40d5db
cmp eax, ecx
jae 0x40d6fd
mov esi, dword [ebp - 0x18]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, edi
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x28]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x1c], eax
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x10
call fcn.0040c4c0
mov dword [esi + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x14], eax
mov edx, dword [esi + 4]
cmp edx, 1
ja 0x40d703
mov edx, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
lea esi, [ebx + 0x20]
mov ecx, ebx
push dword [ebx + 0x24]
push esi
call fcn.0040cc20
add esp, 8
cmp dword [ebx + 4], 1
jne 0x40d6b6
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
jmp 0x40d6b8
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x18]
add eax, dword [edi + 0xc]
lea ecx, [esi + 0x28]
push ebx
mov dword [ebp - 0x20], ecx
push ecx
push eax
call fcn.00424d40
add esp, 0xc
mov eax, dword [esi + 0x24]
mov edx, edi
add dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040c4c0
cmp eax, 1
mov dword [esi + 4], eax
je 0x40d626
mov edx, eax
test eax, eax
jne 0x40d703
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp byte [eax + 8], 0
jne 0x40d703
mov edx, dword [edi + 0xc]
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
push dword [edi + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.0040cc20
add esp, 8
cmp dword [ebx + 4], 1
mov edx, 1
je 0x40d703
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
mov ecx, dword [edi + 0x10]
sub ecx, eax
mov dword [edi + 0x10], ecx
add ecx, dword [edi + 0xc]
mov edi, dword [edx + 0x24]
push edi
push ecx
push dword [ebp - 0x20]
call fcn.00424d40
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + 0x14]
add edi, eax
cmp edi, ecx
mov edi, dword [ebp + 0xc]
jae 0x40d54c
jmp 0x40d703
mov ecx, eax
mov eax, dword [ebp - 0x28]
cmp esi, 7
je 0x40d6a2
test cl, cl
je 0x40defb
mov ecx, dword [ebp - 0x20]
inc dword [ebp - 0x18]
mov esi, edx
mov dword [ebx + 4], 0
jmp 0x40d21c
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub esi, ecx
cmp eax, esi
cmovb esi, eax
add ecx, dword [edi + 0xc]
push esi
push dword [ebp - 0x1c]
push ecx
call fcn.00424d40
add esp, 0xc
add dword [edi + 0x10], esi
lea ecx, [ebx + esi + 0x28]
mov eax, dword [ebx + 0x24]
sub eax, esi
sub dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
setne bl
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.0042a660
add esp, 0xc
xor edx, edx
test bl, bl
jne 0x40d703
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x48]
adc ecx, 0
mov dword [ebx + 0x48], eax
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x4c], ecx
mov dword [ebp - 0x20], ecx
mov ecx, ebx
mov edx, dword [edi + 0x10]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ecx + 0x30]
mov esi, dword [ecx + 0x54]
sub edx, ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
add edx, dword [ecx + 0x50]
adc esi, 0
mov dword [ecx + 0x50], edx
cmp dword [ebp - 0x38], eax
mov dword [ecx + 0x54], esi
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x48], eax
sbb eax, dword [ebp - 0x20]
jb 0x40dfdb
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x3c]
cmp dword [ebp - 0x34], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sbb eax, esi
jb 0x40dfdb
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], esi
cmp eax, 4
mov dword [ebp - 0x44], eax
je 0x40d7cc
mov edx, dword [ebp - 0x1c]
cmp eax, 1
jne 0x40d824
mov eax, dword [ebp + 8]
mov ecx, edi
mov edi, dword [edi + 0x10]
mov eax, dword [eax + 0x18]
cmp edi, ebx
not eax
je 0x40d7c6
mov esi, dword [ecx + 0xc]
add esi, ebx
sub ebx, edi
nop word [eax + eax]
movzx edi, byte [esi]
movzx ecx, al
shr eax, 8
inc esi
xor ecx, edi
xor eax, dword [ecx*4 + 0x43faa8]
inc ebx
jne 0x40d7b0
not eax
xor esi, esi
jmp 0x40d818
mov eax, dword [ebp + 8]
mov ecx, eax
mov eax, dword [eax + 0x18]
mov esi, dword [ecx + 0x1c]
mov ecx, dword [edi + 0x10]
not eax
not esi
cmp ecx, ebx
je 0x40d811
mov edi, dword [edi + 0xc]
add edi, ebx
sub ebx, ecx
nop dword [eax]
movzx ecx, byte [edi]
movzx edx, al
shrd eax, esi, 8
shr esi, 8
inc edi
xor edx, ecx
xor eax, dword [edx*8 + 0x43fea8]
xor esi, dword [edx*8 + 0x43feac]
inc ebx
jne 0x40d7f0
mov edx, dword [ebp - 0x1c]
not eax
not esi
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x34]
cmp edx, 1
jne 0x40df3f
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, ecx
cmp eax, 0xffffffff
je 0x40d850
xor edx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x20]
or ecx, edx
jne 0x40defe
mov eax, esi
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x40d870
mov eax, dword [ebp - 0x28]
xor esi, dword [ebp - 0x2c]
mov edx, 7
xor eax, dword [ebp - 0x30]
or eax, esi
jne 0x40df3f
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
adc edx, 0
add eax, dword [ebx + 0x60]
adc edx, dword [ebx + 0x64]
xor esi, esi
mov dword [ebx + 0x60], eax
mov ecx, edx
mov dword [ebx + 0x64], edx
mov edx, dword [ebp - 0x44]
cmp edx, 1
je 0x40d8a3
cmp edx, 4
mov edx, dword [ebp - 0x2c]
jne 0x40d8b8
mov edi, 8
jmp 0x40d8ab
mov edx, dword [ebp - 0x2c]
mov edi, 4
add eax, edi
mov edi, dword [ebp + 0xc]
adc ecx, esi
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], ecx
add dword [ebx + 0x68], edx
mov ecx, dword [ebp - 0x30]
adc dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x70]
not ecx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43faa8]
mov eax, 0xffffffe9
nop word [eax + eax]
movzx edx, byte [ebx + eax + 0x78]
movzx esi, cl
shr ecx, 8
xor esi, edx
xor ecx, dword [esi*4 + 0x43faa8]
inc eax
jne 0x40d8e0
not ecx
mov dword [ebx + 0x70], ecx
add dword [ebx + 0x58], 1
adc dword [ebx + 0x5c], 0
mov dword [ebx], 4
mov eax, dword [ebp - 0x18]
jmp 0x40d93c
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40dfca
mov ecx, dword [edi]
lea edx, [eax + 1]
mov dword [edi + 4], edx
cmp byte [ecx + eax], 0
jne 0x40defe
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
add eax, 1
mov dword [ecx], eax
adc dword [ecx + 4], 0
test al, 3
jne 0x40d910
mov dword [ebx], 5
mov ecx, dword [ebx + 0x20]
mov eax, 1
cmp ecx, 1
je 0x40d9c0
cmp ecx, 4
jne 0x40da24
nop dword [eax]
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x40dfca
mov dword [ebp - 0x18], ecx
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
movzx ecx, byte [ebx + 4]
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
mov ecx, dword [edi]
cmove edx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x18]
lea esi, [ecx + 1]
mov dword [edi + 4], esi
mov edi, dword [ebp - 0x1c]
cmp byte [edi + ecx], dl
jne 0x40defb
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
add ecx, 8
cmp ecx, 0x40
mov dword [ebx + 4], ecx
jb 0x40d960
jmp 0x40da0f
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x40dfca
mov dword [ebp - 0x18], ecx
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
movzx ecx, byte [ebx + 4]
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
mov ecx, dword [edi]
cmove edx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x18]
lea esi, [ecx + 1]
mov dword [edi + 4], esi
mov edi, dword [ebp - 0x1c]
cmp byte [edi + ecx], dl
jne 0x40defb
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
add ecx, 8
cmp ecx, 0x20
mov dword [ebx + 4], ecx
jb 0x40d9c0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 4], 0
mov dword [ebx], eax
jmp case.default.0x40cf35
mov ecx, dword [ebx + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
test ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
jne 0x40da50
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
nop dword [eax + eax]
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
cmp ecx, dword [ebp - 0x18]
jae 0x40dc21
mov eax, dword [ebp - 0x24]
mov esi, ebx
mov edi, 0
movzx eax, byte [eax + ecx]
inc ecx
mov dword [edx + 4], ecx
mov ecx, eax
and cl, 0x7f
movzx edx, cl
mov ecx, dword [ebx + 4]
xor ebx, ebx
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
cmovne ebx, edx
cmovne edx, edi
or ebx, dword [esi + 0xc]
or edx, dword [esi + 8]
test al, al
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
jns 0x40daae
add ecx, 7
mov ebx, esi
cmp ecx, 0x3f
mov dword [esi + 4], ecx
jne 0x40da50
jmp 0x40dc2c
jne 0x40dab8
test ecx, ecx
jne 0x40e02b
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], 0
mov eax, dword [eax + 0x78]
cmp eax, 2
je 0x40db0b
cmp eax, 1
je 0x40db7b
test eax, eax
jne 0x40db91
mov esi, dword [ebp + 8]
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], ebx
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
xor eax, edx
xor ecx, ebx
or ecx, eax
jne 0x40e066
mov dword [esi + 0x78], 1
jmp 0x40dba0
mov eax, dword [ebp + 8]
mov ecx, 0xffffffe8
add dword [eax + 0x98], edx
adc dword [eax + 0x9c], ebx
mov ebx, eax
mov eax, dword [eax + 0xa0]
not eax
nop dword [eax]
movzx edx, byte [ebx + ecx + 0xa8]
movzx esi, al
shr eax, 8
xor esi, edx
xor eax, dword [esi*4 + 0x43faa8]
inc ecx
jne 0x40db30
not eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
mov edx, dword [ebx + 0x88]
mov ebx, dword [ebx + 0x8c]
add edx, 0xffffffff
adc ebx, 0xffffffff
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x78], 1
jmp 0x40dba0
mov eax, dword [ebp + 8]
add dword [eax + 0x90], edx
adc dword [eax + 0x94], ebx
mov dword [eax + 0x78], 2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
xor ecx, ecx
or edx, ebx
mov ebx, dword [ebp + 8]
jne 0x40da2e
mov dword [ebx], 7
mov eax, dword [edi + 4]
nop word cs:[eax + eax]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x84]
mov esi, ebx
mov ebx, eax
sub ebx, ecx
add ebx, dword [esi + 0x80]
adc edx, 0
test bl, 3
je 0x40dc97
cmp eax, dword [edi + 8]
je 0x40df85
mov ecx, dword [edi]
lea edx, [eax + 1]
mov ebx, dword [ebp + 8]
mov dword [edi + 4], edx
cmp byte [ecx + eax], 0
mov eax, edx
je 0x40dbc0
jmp 0x40defe
mov esi, dword [ebx + 0xac]
jmp 0x40dd9a
mov edx, 6
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov dword [ebp - 0x1c], 0
mov edi, edx
jmp 0x40dc36
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 7
mov esi, dword [edi + 4]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
mov edx, esi
not eax
sub edx, ecx
add dword [ebx + 0x80], edx
adc dword [ebx + 0x84], 0
test edx, edx
je 0x40dc76
mov edx, dword [edi]
add edx, ecx
sub ecx, esi
nop dword [eax]
movzx esi, byte [edx]
movzx edi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x43faa8]
inc ecx
jne 0x40dc60
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
not eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov esi, dword [ebp + 8]
cmp eax, ecx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], edx
mov edx, dword [esi + 0x18]
not edx
je 0x40dcd8
mov esi, dword [edi]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edi, byte [esi + ecx]
movzx ebx, dl
shr edx, 8
inc ecx
xor ebx, edi
xor edx, dword [ebx*4 + 0x43faa8]
cmp eax, ecx
jne 0x40dcc0
mov ebx, dword [ebp + 8]
not edx
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], 0
mov edx, 7
movdqu xmm0, xmmword [ebx + 0x90]
movdqu xmm1, xmmword [ebx + 0x60]
movdqu xmm3, xmmword [ebx + 0x68]
movdqu xmm2, xmmword [ebx + 0x98]
pcmpeqb xmm1, xmm0
pcmpeqb xmm2, xmm3
pand xmm2, xmm1
pmovmskb eax, xmm2
cmp eax, 0xffff
jne 0x40df3f
mov dword [ebx], 8
nop word [eax + eax]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40df3d
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
movzx ecx, byte [ebx + 4]
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
mov ecx, dword [edi]
cmove edx, esi
lea esi, [eax + 1]
mov dword [edi + 4], esi
cmp byte [ecx + eax], dl
jne 0x40defe
mov eax, dword [ebx + 4]
add eax, 8
cmp eax, 0x20
mov dword [ebx + 4], eax
jb case.0x40cf35.8
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0xac], 0xc
mov dword [ebx], 9
mov esi, 0xc
mov edx, dword [ebx + 0xa8]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, eax
sub esi, edx
cmp ecx, esi
cmovb esi, ecx
add eax, dword [edi]
lea ecx, [ebx + edx + 0xb0]
push esi
push eax
push ecx
call fcn.00424d40
add esp, 0xc
add dword [edi + 4], esi
xor edx, edx
add esi, dword [ebx + 0xa8]
cmp esi, dword [ebx + 0xac]
cmove esi, edx
mov dword [ebx + 0xa8], esi
jne 0x40df3f
movzx eax, word [ebx + 0xba]
mov edx, 7
cmp eax, 0x5a59
jne 0x40df3f
movzx eax, byte [ebx + 0xb4]
mov ebx, 0xffffff
mov dword [ebp - 0x18], eax
xor eax, 0xff
xor ebx, dword [eax*4 + 0x43faa8]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb5]
movzx eax, bl
shr ebx, 8
xor eax, ecx
mov dword [ebp - 0x24], ecx
xor ebx, dword [eax*4 + 0x43faa8]
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb6]
movzx eax, bl
shr ebx, 8
xor eax, edx
xor ebx, dword [eax*4 + 0x43faa8]
mov eax, dword [ebp + 8]
movzx esi, byte [eax + 0xb7]
movzx eax, bl
shr ebx, 8
xor eax, esi
xor ebx, dword [eax*4 + 0x43faa8]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xb8]
movzx edi, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x43faa8]
mov edi, dword [ebp + 8]
movzx ecx, byte [edi + 0xb9]
movzx edi, bl
shr ebx, 8
xor edi, ecx
mov dword [ebp - 0x1c], ecx
xor ebx, dword [edi*4 + 0x43faa8]
mov edi, dword [ebp + 8]
not ebx
cmp dword [edi + 0xb0], ebx
mov ebx, dword [ebp + 8]
jne 0x40defb
mov edi, dword [ebp + 0xc]
test al, al
jne 0x40defe
mov eax, dword [ebp - 0x24]
shl edx, 0x10
mov ecx, dword [ebx + 0x84]
shl esi, 0x18
shl eax, 8
add eax, dword [ebp - 0x18]
or edx, eax
mov eax, dword [ebx + 0x80]
or esi, edx
mov edx, 7
shrd eax, ecx, 2
shr ecx, 2
xor esi, eax
or esi, ecx
jne 0x40df3f
mov eax, dword [ebp - 0x1c]
mov edx, 7
cmp dword [ebx + 0x20], eax
mov eax, 1
cmove edx, eax
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edi, dword [ebp + 0xc]
mov edx, 7
cmp dword [ebx + 0x24], 0
jne 0x40df45
test edx, edx
je 0x40df1b
cmp edx, 1
mov eax, edx
mov edx, 1
jne 0x40df2d
jmp 0x40df6f
mov eax, dword [edi + 4]
xor ecx, ecx
cmp eax, dword [edi + 8]
mov eax, 8
sete cl
sub eax, ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [edi + 4], ecx
mov dword [edi + 0x10], edx
mov edx, eax
jmp 0x40df6f
xor edx, edx
cmp dword [ebx + 0x24], 0
je 0x40df09
test edx, edx
jne 0x40df6b
mov eax, dword [ebp - 0x40]
cmp eax, dword [edi + 4]
jne 0x40df6b
mov eax, dword [ebp - 0x3c]
cmp eax, dword [edi + 0x10]
jne 0x40df6b
xor edx, edx
cmp byte [ebx + 0x28], 0
mov byte [ebx + 0x28], 1
setne dl
shl edx, 3
jmp 0x40df6f
mov byte [ebx + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov esi, edx
xor ecx, ebp
call fcn.00412fa1
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 8]
cmp eax, ecx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], edx
mov edx, dword [esi + 0x18]
not edx
je 0x40dfb8
mov esi, dword [edi]
nop
movzx edi, byte [esi + ecx]
movzx ebx, dl
shr edx, 8
inc ecx
xor ebx, edi
xor edx, dword [ebx*4 + 0x43faa8]
cmp eax, ecx
jne 0x40dfa0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
not edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], 0
xor edx, edx
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edx, 7
mov ebx, ecx
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edx, 5
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edx, 4
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
jmp 0x40dc2f
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov dword [esi + 0x38], 0
mov edx, 3
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09
mov edx, 7
mov ebx, esi
cmp dword [ebx + 0x24], 0
jne 0x40df45
jmp 0x40df09