Function at 0x40c700
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 ecx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x24], 0
je 0x40c723
mov edx, dword [ebx]
jmp 0x40c750
xor edx, edx
lea edi, [ebx + 0x48]
mov eax, 0
mov ecx, 0x19
mov dword [ebx], edx
mov byte [ebx + 0x28], 0
mov dword [ebx + 4], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x18], edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xac], 0xc
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 0x10]
lea ecx, [ebx + 0x48]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], esi
mov dword [ebx + 0x10], esi
lea esi, [ebx + 0xb0]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], esi
cmp edx, 9
ja case.default.0x40c773
jmp dword [edx*4 + 0x43545c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 0xa8]
mov esi, dword [ebx + 0xac]
mov edi, eax
mov eax, dword [eax + 4]
sub esi, edx
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, esi
cmovb esi, ecx
add eax, dword [edi]
lea ecx, [ebx + edx + 0xb0]
push esi
push eax
push ecx
call fcn.00424320
add esp, 0xc
add dword [edi + 4], esi
xor eax, eax
add esi, dword [ebx + 0xa8]
cmp esi, dword [ebx + 0xac]
cmove esi, eax
mov dword [ebx + 0xa8], esi
jne 0x40d65f
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 0x40d5fc
movzx eax, byte [ebx + 0xb6]
mov edi, 0xff
mov ecx, 0xff
mov dword [ebp - 0x18], eax
xor eax, edi
mov edx, dword [eax*4 + 0x43f600]
movzx eax, byte [ebx + 0xb7]
mov esi, edx
shr edx, 8
and esi, edi
mov edi, eax
xor edi, ecx
xor edi, esi
xor edx, dword [edi*4 + 0x43f600]
xor edx, 0xffff0000
cmp dword [ebx + 0xb8], edx
jne 0x40d5f5
cmp byte [ebp - 0x18], 0
jne 0x40d356
cmp al, 4
mov dword [ebx + 0x20], eax
ja 0x40d356
movzx eax, al
mov ecx, 0x13
bt ecx, eax
mov eax, 6
jae 0x40d65f
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x40d5ee
mov ecx, dword [esi]
movzx ecx, byte [ecx + eax]
test ecx, ecx
je 0x40ca0b
lea edi, [ecx*4 + 4]
xor eax, eax
mov dword [ebx + 0x40], edi
mov dword [ebx + 0xac], edi
mov dword [ebx + 0xa8], 0
mov dword [ebx], 2
jmp 0x40c8b8
mov eax, dword [ebx + 0xa8]
mov edi, dword [ebx + 0xac]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
sub edi, eax
lea eax, [ebx + eax + 0xb0]
sub edx, ecx
cmp edx, edi
cmovb edi, edx
add ecx, dword [esi]
push edi
push ecx
push eax
call fcn.00424320
add esp, 0xc
add dword [esi + 4], edi
xor ecx, ecx
add edi, dword [ebx + 0xa8]
cmp edi, dword [ebx + 0xac]
mov eax, edi
cmove eax, ecx
mov dword [ebx + 0xa8], eax
mov eax, 0
jne 0x40d65f
add edi, 0xfffffffc
mov dword [ebx + 0xac], edi
mov dword [ebp - 0x1c], edi
je 0x40c93f
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov edx, edi
dec eax
movzx esi, byte [ecx]
movzx edi, al
shr eax, 8
inc ecx
xor edi, esi
xor eax, dword [edi*4 + 0x43f600]
dec edx
jne 0x40c918
not eax
jmp 0x40c941
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x40d0f1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ebx + ecx + 0xb0], eax
jne 0x40d5f5
mov dword [ebx + 0xa8], 2
mov eax, ecx
movzx ecx, byte [ebx + 0xb1]
test cl, 0x3e
jne 0x40d356
test cl, 0x40
mov dword [ebp - 0x2c], ecx
jne 0x40c984
xor esi, esi
mov edx, 2
dec esi
mov ebx, esi
jmp 0x40ca3c
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40c996
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 2
mov edx, 2
cmova edx, eax
xor eax, eax
add edx, 0xfffffffe
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], eax
je 0x40d5f5
mov edi, ebx
mov bl, byte [ebx + eax + 0xb2]
lea edx, [eax + 3]
xor esi, esi
mov dword [ebp - 0x20], edx
mov dword [edi + 0xa8], edx
mov edx, 0
mov byte [ebp - 0x18], bl
and bl, 0x7f
movzx ebx, bl
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne esi, ebx
cmovne ebx, edx
mov dl, byte [ebp - 0x18]
or esi, dword [edi + 0xc]
or ebx, dword [edi + 8]
test dl, dl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], esi
jns 0x40ca1e
add ecx, 7
inc eax
mov ebx, edi
cmp ecx, 0x3f
mov dword [edi + 4], ecx
jne 0x40c9a9
jmp 0x40d5f5
lea ecx, [eax + 1]
mov edx, 6
mov dword [esi + 4], ecx
mov dword [ebx + 0x10], eax
jmp 0x40d1a5
mov eax, edx
mov edx, dword [ebp - 0x20]
test ecx, ecx
je 0x40ca2f
test al, al
je 0x40d5f2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
test cl, cl
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
js 0x40ca72
xor ebx, ebx
dec ebx
mov eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x3c], ebx
mov ebx, ecx
and al, 1
mov byte [ecx + 0x4b8], al
jne 0x40cafa
mov eax, dword [ebp - 0x1c]
jmp 0x40cb5f
mov esi, dword [eax + 4]
mov ebx, eax
test esi, esi
jne 0x40ca83
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
cmp edx, eax
cmova eax, edx
add esi, 7
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], edx
je 0x40d5f5
mov al, byte [ebx + edx + 0xb0]
mov edi, ebx
lea ecx, [esi - 7]
xor ebx, ebx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x18], al
and al, 0x7f
movzx eax, al
shld ebx, eax, cl
shl eax, cl
test cl, 0x20
lea ecx, [edx + 1]
mov edx, 0
cmovne ebx, eax
cmovne eax, edx
mov dword [edi + 0xa8], ecx
mov dl, byte [ebp - 0x18]
or ebx, dword [edi + 0xc]
or eax, dword [edi + 8]
test dl, dl
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
jns 0x40ce71
mov dword [edi + 4], esi
add esi, 7
mov edx, ecx
mov ebx, edi
cmp esi, 0x46
jne 0x40ca91
jmp 0x40d5f5
mov eax, dword [ebp - 0x1c]
sub eax, edx
cmp eax, 2
jb 0x40d356
lea eax, [edx + 1]
mov dword [ebx + 0xa8], eax
cmp byte [ebx + edx + 0xb0], 4
jne 0x40d356
mov eax, dword [ebx + 0x4b4]
xor ecx, ecx
mov dword [eax], 4
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 [ebx + 0xa8]
lea edx, [eax + 1]
mov dword [ebx + 0xa8], edx
cmp byte [ebx + eax + 0xb0], 0
jne 0x40d356
mov eax, dword [ebx + 0xac]
mov ecx, eax
sub eax, edx
cmp eax, 2
jb 0x40d5f5
lea eax, [edx + 1]
mov dword [ebx + 0xa8], eax
cmp byte [ebx + edx + 0xb0], 0x21
jne 0x40d356
lea eax, [edx + 2]
mov dword [ebx + 0xa8], eax
cmp byte [ebx + edx + 0xb1], 1
jne 0x40d356
cmp ecx, eax
mov eax, 7
je 0x40d65f
lea eax, [edx + 3]
mov dword [ebx + 0xa8], eax
movzx ecx, byte [ebx + edx + 0xb2]
cmp ecx, 0x27
ja 0x40d356
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 0x40cc17
cmp eax, dword [esi + 0x34]
ja 0x40d603
cmp ecx, 2
mov dword [esi + 0x2c], eax
jne 0x40cc17
cmp dword [esi + 0x38], eax
jae 0x40cc17
push dword [esi + 0x18]
call fcn.0041ed02
add esp, 4
push dword [esi + 0x30]
call fcn.0041f18c
add esp, 4
test eax, eax
mov dword [esi + 0x18], eax
je 0x40d6dd
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 [ebx + 0xa8]
mov eax, dword [ebx + 0xac]
cmp ecx, eax
cmova eax, ecx
cmp eax, ecx
je 0x40cc58
lea edx, [ecx + 1]
mov dword [ebx + 0xa8], edx
cmp byte [ebx + ecx + 0xb0], 0
mov ecx, edx
je 0x40cc3a
jmp 0x40d356
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebx + 0xa8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [ebx], 3
mov edi, dword [ebp + 0xc]
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 0x40cd02
mov ebx, dword [ebx + 0x4b4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x40cd0e
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 eax, [ebx + 0x28]
mov dword [ebp - 0x20], eax
push esi
push eax
push ecx
call fcn.00424320
add esp, 0xc
add dword [edi + 0x10], esi
lea eax, [ebx + esi + 0x28]
mov edi, dword [ebx + 0x24]
sub edi, esi
sub dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edi
setne byte [ebp - 0x24]
push edi
push eax
push dword [ebp - 0x20]
call fcn.00429c40
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x24], 0
jne 0x40cee3
cmp dword [ebx + 4], 1
mov eax, 1
jne 0x40cd11
jmp 0x40cee3
mov edx, edi
call fcn.0040bf00
jmp 0x40cee9
mov edi, dword [ebx + 0x24]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 0xc]
test edi, edi
mov esi, dword [ebx + 0x10]
je 0x40cdc0
mov ecx, dword [ebx + 0x14]
mov edx, ecx
sub edx, esi
cmp edi, edx
jb 0x40cdc0
mov ebx, dword [ebp - 0x1c]
cmp esi, ecx
jae 0x40cee0
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 0x28]
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
mov edx, esi
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x10
call fcn.0040bf00
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 4]
cmp eax, 1
ja 0x40cee3
lea esi, [ebx + 0x20]
mov ecx, ebx
mov dword [ebp - 0x18], edi
mov edx, edi
push dword [ebx + 0x24]
push esi
call fcn.0040c560
add esp, 8
cmp dword [ebx + 4], 1
jne 0x40ce93
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
jmp 0x40ce95
mov dword [ebp - 0x14], esi
add esi, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x1c]
lea eax, [ebx + 0x28]
push edi
mov dword [ebp - 0x20], eax
push eax
push esi
call fcn.00424320
add esp, 0xc
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
add dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
call fcn.0040bf00
cmp eax, 1
mov dword [ebx + 4], eax
je 0x40ce07
test eax, eax
jne 0x40cee3
xor eax, eax
cmp byte [ebx + 8], 0
jne 0x40cee3
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov edx, dword [eax + 0xc]
push dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.0040c560
add esp, 8
cmp dword [ebx + 4], 1
mov eax, 1
je 0x40cee3
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebx + 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x10], ecx
add ecx, dword [ebx + 0xc]
mov edi, dword [eax + 0x24]
push edi
push ecx
push dword [ebp - 0x20]
call fcn.00424320
add esp, 0xc
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov ebx, dword [ebp - 0x1c]
xor eax, eax
add edi, esi
cmp edi, ecx
jae 0x40cd34
jmp 0x40cee3
mov ecx, edx
mov edx, dword [ebp - 0x20]
cmp esi, 7
je 0x40ce83
test cl, cl
je 0x40d5f2
mov ecx, dword [ebp + 8]
inc edx
mov dword [ecx + 4], 0
jmp 0x40ca4e
mov eax, dword [esi]
mov edi, dword [ebp + 0xc]
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 - 0x18]
push ecx
call fcn.00424320
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 - 0x18]
call fcn.00429c40
add esp, 0xc
xor eax, eax
test bl, bl
mov ebx, dword [ebp - 0x1c]
jne 0x40cee3
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x4c]
sub ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0x48]
adc eax, 0
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov dword [ebp - 0x20], eax
mov edx, dword [edi + 0x10]
mov edi, dword [ebx + 0x14]
mov esi, dword [ebx + 0x54]
mov eax, dword [ebx + 0x30]
sub edx, edi
mov dword [ebp - 0x48], eax
add edx, dword [ebx + 0x50]
adc esi, 0
mov dword [ebx + 0x50], edx
cmp eax, ecx
mov dword [ebx + 0x54], esi
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x44], eax
sbb eax, dword [ebp - 0x20]
jb 0x40d5f5
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x3c]
cmp dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sbb eax, esi
jb 0x40d5f5
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x2c], ecx
cmp eax, 4
mov dword [ebp - 0x40], eax
je 0x40cf9b
cmp eax, 1
jne 0x40cfed
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x30], edx
mov ebx, dword [ecx + 0x10]
not eax
cmp ebx, edi
je 0x40cf95
mov esi, dword [ecx + 0xc]
add esi, edi
sub edi, ebx
movzx ebx, byte [esi]
movzx edx, al
shr eax, 8
inc esi
xor edx, ebx
xor eax, dword [edx*4 + 0x43f600]
inc edi
jne 0x40cf7f
not eax
xor esi, esi
jmp 0x40cfde
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x30], edx
mov edx, dword [ecx + 0x10]
not esi
not eax
cmp edx, edi
je 0x40cfda
mov ebx, dword [ecx + 0xc]
add ebx, edi
sub edi, edx
movzx edx, byte [ebx]
movzx ecx, al
shrd eax, esi, 8
shr esi, 8
inc ebx
xor ecx, edx
xor eax, dword [ecx*8 + 0x43fa00]
xor esi, dword [ecx*8 + 0x43fa04]
inc edi
jne 0x40cfb9
not eax
not esi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x40d65f
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
je 0x40d015
xor esi, dword [ebp - 0x20]
xor edi, ecx
or esi, edi
jne 0x40d5f5
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x40d038
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
xor edi, dword [ebp - 0x34]
xor eax, edx
or edi, eax
mov eax, 7
jne 0x40d65f
mov eax, dword [ebx + 0x40]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x40]
add eax, ecx
adc esi, 0
add eax, dword [ebx + 0x60]
adc esi, dword [ebx + 0x64]
cmp edi, 4
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], esi
je 0x40d061
cmp edi, 1
jne 0x40d06d
add eax, 4
jmp 0x40d064
add eax, 8
adc esi, 0
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], esi
add dword [ebx + 0x68], edx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
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 + 0x43f600]
mov eax, 0xffffffea
movzx edx, byte [ebx + eax + 0x77]
movzx esi, cl
shr ecx, 8
xor esi, edx
xor ecx, dword [esi*4 + 0x43f600]
test eax, eax
je 0x40d0ad
inc eax
jmp 0x40d092
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 - 0x2c]
jmp 0x40d0f1
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40d5ee
mov ecx, dword [edi]
lea edx, [eax + 1]
mov dword [edi + 4], edx
cmp byte [ecx + eax], 0
jne 0x40d5f5
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
add eax, 1
mov dword [ecx], eax
adc dword [ecx + 4], 0
test al, 3
jne 0x40d0c5
mov dword [ebx], 5
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x40d155
mov edi, dword [ebp + 0xc]
cmp eax, 4
mov edx, 1
jne 0x40d1a5
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40d5ee
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
mov cl, 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 0x40d5f5
mov eax, dword [ebx + 4]
add eax, 8
cmp eax, 0x40
mov dword [ebx + 4], eax
jb 0x40d114
jmp 0x40d197
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40d5ee
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
mov cl, 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 0x40d5f5
mov eax, dword [ebx + 4]
add eax, 8
cmp eax, 0x20
mov dword [ebx + 4], eax
jb 0x40d158
xor eax, eax
xor edx, edx
inc edx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 4], eax
mov dword [ebx], edx
jmp case.default.0x40c773
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
test ecx, ecx
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 8]
jne 0x40d1c6
xor ecx, ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 4]
cmp ecx, eax
jae 0x40d360
mov edx, dword [ebp - 0x28]
mov esi, 0
mov bl, byte [edx + ecx]
inc ecx
mov dword [edi + 4], ecx
xor edi, edi
mov ecx, ebx
and cl, 0x7f
movzx edx, cl
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
shld edi, edx, cl
shl edx, cl
test cl, 0x20
cmovne edi, edx
cmovne edx, esi
mov esi, dword [ebp + 8]
or edi, dword [esi + 0xc]
mov esi, dword [ebp + 8]
or edx, dword [esi + 8]
test bl, bl
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
jns 0x40d22a
mov edi, dword [ebp + 0xc]
add ecx, 7
cmp ecx, 0x3f
mov dword [ebx + 4], ecx
jne 0x40d1c6
jmp 0x40d60d
jne 0x40d234
test ecx, ecx
jne 0x40d60a
mov dword [ebx + 4], 0
mov eax, dword [ebx + 0x78]
cmp eax, 2
je 0x40d26f
cmp eax, 1
je 0x40d2a6
test eax, eax
jne 0x40d2b9
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], edi
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
xor eax, edx
xor ecx, edi
or ecx, eax
je 0x40d2ed
jmp 0x40d5f5
add dword [ebx + 0x98], edx
mov ecx, 0xffffffe9
adc dword [ebx + 0x9c], edi
mov eax, dword [ebx + 0xa0]
not eax
movzx edx, byte [ebx + ecx + 0xa7]
movzx esi, al
shr eax, 8
xor esi, edx
xor eax, dword [esi*4 + 0x43f600]
test ecx, ecx
je 0x40d2c7
inc ecx
jmp 0x40d288
add dword [ebx + 0x90], edx
adc dword [ebx + 0x94], edi
mov dword [ebx + 0x78], 2
mov edx, dword [ebx + 0x88]
mov edi, dword [ebx + 0x8c]
jmp 0x40d2f4
not eax
mov dword [ebx + 0xa0], eax
mov edx, dword [ebx + 0x88]
mov edi, dword [ebx + 0x8c]
add edx, 0xffffffff
adc edi, 0xffffffff
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], edi
mov dword [ebx + 0x78], 1
xor ecx, ecx
or edx, edi
jne 0x40d1af
mov dword [ebx], 7
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x84]
mov edi, ebx
mov ebx, eax
sub ebx, ecx
add ebx, dword [edi + 0x80]
adc edx, 0
test bl, 3
je 0x40d36c
cmp eax, dword [esi + 8]
je 0x40d5ad
mov ecx, dword [esi]
lea edx, [eax + 1]
mov ebx, dword [ebp + 8]
mov dword [esi + 4], edx
cmp byte [ecx + eax], 0
mov eax, edx
je 0x40d30a
jmp 0x40d5f5
mov esi, dword [ebx + 0xac]
mov edi, dword [ebp + 0xc]
jmp 0x40d44f
mov eax, 6
jmp 0x40d65f
mov dword [ebp - 0x18], 0
jmp 0x40d614
mov edi, dword [ebp + 8]
cmp eax, ecx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], edx
mov edx, dword [edi + 0x18]
not edx
je 0x40d39e
mov esi, dword [esi]
movzx edi, byte [esi + ecx]
movzx ebx, dl
shr edx, 8
inc ecx
xor ebx, edi
xor edx, dword [ebx*4 + 0x43f600]
cmp eax, ecx
jne 0x40d386
mov ebx, dword [ebp + 8]
not edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], 0
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
mov eax, 7
jne 0x40d65f
mov dword [ebx], 8
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40d5ee
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
mov cl, 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 0x40d5f5
mov eax, dword [ebx + 4]
add eax, 8
cmp eax, 0x20
mov dword [ebx + 4], eax
jb 0x40d3f0
xor eax, eax
mov esi, 0xc
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0xac], 0xc
mov dword [ebx], 9
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.00424320
add esp, 0xc
add dword [edi + 4], esi
xor eax, eax
add esi, dword [ebx + 0xa8]
cmp esi, dword [ebx + 0xac]
cmove esi, eax
mov dword [ebx + 0xa8], esi
jne 0x40d65f
movzx eax, word [ebx + 0xba]
cmp eax, 0x5a59
mov eax, 7
jne 0x40d65f
movzx ecx, byte [ebx + 0xb4]
mov eax, 0xff
mov edi, 0xffffff
mov dword [ebp - 0x28], ecx
xor ecx, eax
xor edi, dword [ecx*4 + 0x43f600]
movzx ecx, byte [ebx + 0xb5]
mov edx, edi
shr edi, 8
mov dword [ebp - 0x18], ecx
and edx, eax
xor edx, ecx
movzx ecx, byte [ebx + 0xb6]
xor edi, dword [edx*4 + 0x43f600]
mov edx, ebx
mov dword [ebp - 0x20], ecx
mov esi, edi
shr edi, 8
and esi, eax
xor esi, ecx
xor edi, dword [esi*4 + 0x43f600]
movzx esi, byte [edx + 0xb7]
mov ebx, edi
shr edi, 8
and ebx, eax
xor ebx, esi
xor edi, dword [ebx*4 + 0x43f600]
movzx ebx, byte [edx + 0xb8]
mov ecx, edi
shr edi, 8
and ecx, eax
xor ecx, ebx
xor edi, dword [ecx*4 + 0x43f600]
movzx ecx, byte [edx + 0xb9]
and eax, edi
shr edi, 8
xor eax, ecx
xor edi, dword [eax*4 + 0x43f600]
not edi
cmp dword [edx + 0xb0], edi
jne 0x40d5f2
test bl, bl
jne 0x40d5f2
mov eax, dword [ebp - 0x18]
mov edx, ecx
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
shl esi, 0x18
shl eax, 8
shl ecx, 0x10
mov edi, dword [ebx + 0x84]
add eax, dword [ebp - 0x28]
or ecx, eax
mov eax, dword [ebx + 0x80]
or esi, ecx
shrd eax, edi, 2
shr edi, 2
xor esi, eax
mov eax, 7
or esi, edi
jne 0x40d65f
xor eax, eax
mov ecx, 7
inc eax
cmp dword [ebx + 0x20], edx
cmove ecx, eax
mov eax, ecx
jmp 0x40d65f
mov edi, dword [ebp + 8]
cmp eax, ecx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], edx
mov edx, dword [edi + 0x18]
not edx
je 0x40d5df
mov esi, dword [esi]
movzx edi, byte [esi + ecx]
movzx ebx, dl
shr edx, 8
inc ecx
xor ebx, edi
xor edx, dword [ebx*4 + 0x43f600]
cmp eax, ecx
jne 0x40d5c7
mov ebx, dword [ebp + 8]
not edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], 0
xor eax, eax
jmp 0x40d65f
mov ebx, dword [ebp + 8]
mov eax, 7
jmp 0x40d65f
mov eax, 5
jmp 0x40d65f
mov eax, 4
jmp 0x40d65f
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 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 0x40d650
mov edx, dword [edi]
add edx, ecx
sub ecx, esi
movzx esi, byte [edx]
movzx edi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x43f600]
inc ecx
jne 0x40d63a
not eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x24], 0
je 0x40d698
mov esi, eax
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x40d692
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 4]
jne 0x40d692
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x10]
jne 0x40d692
xor eax, eax
cmp byte [ebx + 0x28], 0
mov byte [ebx + 0x28], 1
setne al
shl eax, 3
mov esi, eax
jmp 0x40d6c9
mov byte [ebx + 0x28], 0
jmp 0x40d6c9
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x40d6a9
cmp eax, 1
jne 0x40d6bb
xor esi, esi
inc esi
jmp 0x40d6c9
mov eax, dword [edx + 4]
xor ecx, ecx
cmp eax, dword [edx + 8]
mov eax, 8
sete cl
sub eax, ecx
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov esi, eax
mov dword [edx + 4], edi
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412591
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x38], 0
mov eax, 3
jmp 0x40d65f