Function at 0x40de70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, dword [esp + 0x88]
push edi
xor edi, edi
mov eax, dword [esi + 4]
mov ebp, dword [esi]
cmp eax, 0xa
jne 0x40df1e
mov dword [esi + 0xfa14], edi
mov dword [esi + 0xfa18], edi
mov dword [esi + 0xfa1c], edi
mov dword [esi + 0xfa20], edi
mov dword [esi + 0xfa24], edi
mov dword [esi + 0xfa28], edi
mov dword [esi + 0xfa2c], edi
mov dword [esi + 0xfa30], edi
mov dword [esi + 0xfa34], edi
mov dword [esi + 0xfa38], edi
mov dword [esi + 0xfa3c], edi
mov dword [esi + 0xfa40], edi
mov dword [esi + 0xfa44], edi
mov dword [esi + 0xfa48], edi
mov dword [esi + 0xfa4c], edi
mov dword [esi + 0xfa50], edi
mov dword [esi + 0xfa54], edi
mov dword [esi + 0xfa58], edi
mov dword [esi + 0xfa5c], edi
mov dword [esi + 0xfa60], edi
mov dword [esi + 0xfa64], edi
mov dword [esi + 0xfa68], edi
mov dword [esi + 0xfa6c], edi
mov dword [esi + 0xfa70], edi
mov eax, dword [esi + 0xfa14]
mov ecx, dword [esi + 0xfa18]
mov edx, dword [esi + 0xfa1c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xfa20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xfa24]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xfa2c]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0xfa28]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xfa38]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xfa30]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xfa44]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0xfa34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0xfa3c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xfa50]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xfa40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0xfa48]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0xfa60]
mov ebx, dword [esi + 0xfa54]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0xfa4c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0xfa58]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xfa6c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0xfa5c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xfa64]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0xfa68]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0xfa70]
add eax, 0xfffffff6
mov dword [esp + 0x10], ebx
cmp eax, 0x28
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
ja case.default.0x40e020
jmp dword [eax*4 + 0x410290]
mov dword [esi + 4], 0xa
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e07f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e02e
inc dword [eax + 0xc]
jmp 0x40e02e
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x42
je case.0x40e020.11
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x410194
mov dword [esi + 4], 0xb
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e0ff
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e0ae
inc dword [eax + 0xc]
jmp 0x40e0ae
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x5a
je case.0x40e020.12
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x410194
mov dword [esi + 4], 0xc
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e17f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e12e
inc dword [eax + 0xc]
jmp 0x40e12e
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x68
je case.0x40e020.13
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x410194
mov dword [esi + 4], 0xd
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e1ff
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e1ae
inc dword [eax + 0xc]
jmp 0x40e1ae
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp eax, 0x31
mov dword [esi + 0x24], eax
jl 0x40e099
cmp eax, 0x39
jg 0x40e099
add eax, 0xffffffd0
mov cl, byte [esi + 0x28]
mov dword [esi + 0x24], eax
push 1
lea eax, [eax + eax*4]
test cl, cl
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
je 0x40e290
mov ecx, dword [ebp + 0x2c]
lea eax, [eax + eax*4]
shl eax, 6
push eax
push ecx
call dword [ebp + 0x24]
mov dword [esi + 0xc50], eax
mov eax, dword [esi + 0x24]
push 1
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x2c]
shl edx, 5
inc edx
sar edx, 1
push edx
push eax
call dword [ebp + 0x24]
mov ecx, dword [esi + 0xc50]
add esp, 0x18
test ecx, ecx
mov dword [esi + 0xc54], eax
je 0x40e2ab
jmp 0x40e2a7
mov edx, dword [ebp + 0x2c]
lea ecx, [eax + eax*4]
shl ecx, 7
push ecx
push edx
call dword [ebp + 0x24]
add esp, 0xc
mov dword [esi + 0xc4c], eax
test eax, eax
jne case.0x40e020.14
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffd
jmp 0x410194
mov dword [esi + 4], 0xe
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e311
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e2c0
inc dword [eax + 0xc]
jmp 0x40e2c0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x17
je case.0x40e020.42
cmp al, 0x31
je case.0x40e020.15
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0xf
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e399
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e348
inc dword [eax + 0xc]
jmp 0x40e348
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x41
je case.0x40e020.16
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x10
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e419
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e3c8
inc dword [eax + 0xc]
jmp 0x40e3c8
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x59
je case.0x40e020.17
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x11
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e499
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e448
inc dword [eax + 0xc]
jmp 0x40e448
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x26
je case.0x40e020.18
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x12
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e519
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e4c8
inc dword [eax + 0xc]
jmp 0x40e4c8
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x53
je case.0x40e020.19
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x13
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e599
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e548
inc dword [eax + 0xc]
jmp 0x40e548
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x59
je 0x40e5c1
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xc58], 0
inc eax
mov dword [esi + 0x2c], eax
mov dword [esi + 4], 0x14
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e62a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e5d9
inc dword [eax + 0xc]
jmp 0x40e5d9
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc58]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc58], ecx
mov dword [esi + 4], 0x15
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e6ae
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e65d
inc dword [eax + 0xc]
jmp 0x40e65d
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc58]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc58], ecx
mov dword [esi + 4], 0x16
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e732
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e6e1
inc dword [eax + 0xc]
jmp 0x40e6e1
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc58]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc58], ecx
mov dword [esi + 4], 0x17
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e7b6
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e765
inc dword [eax + 0xc]
jmp 0x40e765
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc58]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc58], ecx
mov dword [esi + 4], 0x18
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40e83a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e7e9
inc dword [eax + 0xc]
jmp 0x40e7e9
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x34], 0
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
dec edx
mov dword [esi + 0x20], edx
mov byte [esi + 0x10], al
mov dword [esi + 4], 0x19
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e8ae
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e85d
inc dword [eax + 0xc]
jmp 0x40e85d
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0x34], ecx
mov dword [esi + 4], 0x1a
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e92c
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e8db
inc dword [eax + 0xc]
jmp 0x40e8db
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0x34], ecx
mov dword [esi + 4], 0x1b
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e9a8
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
cmp dword [eax + 8], ebp
jne 0x40e95b
inc dword [eax + 0xc]
jmp 0x40e95b
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
lea ecx, [eax - 8]
add eax, 0xfffffff8
shr edx, cl
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
shl eax, 8
and edx, 0xff
and edx, 0xff
or eax, edx
mov dword [esi + 0x34], eax
jge 0x40e9e0
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov ecx, dword [esi + 0x24]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 5
add ecx, 0xa
cmp eax, ecx
jle 0x40ea0a
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esp + 0x14], ebp
jmp 0x40ea9d
mov dword [esi + 4], 0x1c
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ea69
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
cmp dword [eax + 8], ebp
jne 0x40ea1c
inc dword [eax + 0xc]
jmp 0x40ea1c
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
dec edx
cmp al, 1
mov dword [esi + 0x20], edx
jne 0x40ea8d
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0xd6c], 1
jmp 0x40ea99
mov ecx, dword [esp + 0x14]
mov byte [ecx + esi + 0xd6c], 0
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov edx, 0x10
cmp eax, edx
jl case.0x40e020.28
lea edi, [esi + 0xc6c]
mov ecx, 0x40
xor eax, eax
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
jmp 0x40eb63
mov dword [esi + 4], 0x1d
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40eb1c
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
cmp dword [eax + 8], ebp
jne 0x40eacf
inc dword [eax + 0xc]
jmp 0x40eacf
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
dec edx
cmp al, 1
mov dword [esi + 0x20], edx
jne 0x40eb47
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
shl eax, 4
add eax, ecx
mov byte [eax + esi + 0xc6c], 1
mov eax, dword [esp + 0x1c]
mov edx, 0x10
inc eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], edx
jl case.0x40e020.29
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, edx
jge 0x40eb7c
mov cl, byte [eax + esi + 0xd6c]
test cl, cl
je 0x40eb5f
mov dword [esp + 0x1c], ebp
jmp 0x40eb55
push esi
call fcn.00410340
mov eax, dword [esi + 0xc68]
add esp, 4
cmp eax, ebp
jne 0x40eb9d
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [esi + 4], 0x1e
mov ecx, dword [esi + 0x20]
cmp ecx, 3
jge 0x40ebfc
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40ebab
inc dword [eax + 0xc]
jmp 0x40ebab
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 3]
add edx, 0xfffffffd
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 7
cmp eax, 2
mov dword [esp + 0x5c], eax
jl 0x40ec1e
cmp eax, 6
jle case.0x40e020.31
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x1f
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jge 0x40ec82
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
cmp dword [eax + 8], ebp
jne 0x40ec35
inc dword [eax + 0xc]
jmp 0x40ec35
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 0xf]
add edx, 0xfffffff1
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0x7fff
mov edi, eax
cmp eax, 1
mov dword [esp + 0x34], edi
jge 0x40ecb1
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esp + 0x14], ebp
jmp 0x40ed5d
mov dword [esi + 4], 0x20
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ed10
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
cmp dword [eax + 8], ebp
jne 0x40ecc3
inc dword [eax + 0xc]
jmp 0x40ecc3
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
dec edx
test al, al
mov dword [esi + 0x20], edx
je 0x40ed45
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl case.0x40e020.32
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x1c]
mov edi, dword [esp + 0x34]
mov byte [eax + esi + 0x650e], cl
inc eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], edi
jge 0x40ed6c
mov dword [esp + 0x1c], ebp
jmp case.0x40e020.32
mov edx, dword [esp + 0x5c]
xor cl, cl
cmp edx, ebp
jle 0x40ed8f
xor eax, eax
mov byte [esp + eax + 0x7c], cl
inc cl
mov byte [esp + 0x2c], cl
mov eax, dword [esp + 0x2c]
and eax, 0xff
cmp eax, edx
jl 0x40ed78
cmp edi, ebp
mov dword [esp + 0x14], ebp
jle 0x40ede2
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dl, byte [esi + edx + 0x650e]
mov byte [esp + 0x2c], dl
mov eax, dword [esp + 0x2c]
and eax, 0xff
test dl, dl
mov bl, byte [esp + eax + 0x7c]
lea ecx, [esp + eax + 0x7c]
jbe 0x40edca
mov edi, eax
mov al, byte [ecx - 1]
mov byte [ecx], al
dec ecx
dec edi
jne 0x40edc1
mov eax, dword [esp + 0x14]
mov byte [esp + 0x7c], bl
mov byte [eax + esi + 0x1ebc], bl
inc eax
cmp eax, ebp
mov dword [esp + 0x14], eax
jl 0x40ed9b
mov dword [esp + 0x2c], 0
jmp 0x40ef27
mov dword [esi + 4], 0x23
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ee47
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40edf6
inc dword [eax + 0xc]
jmp 0x40edf6
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
dec edx
test al, al
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], edx
jne 0x40ee64
inc eax
jmp 0x40ee65
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jl 0x40ff3b
cmp eax, 0x14
jg 0x40ff3b
mov dword [esi + 4], 0x22
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40eed7
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40ee86
inc dword [eax + 0xc]
jmp 0x40ee86
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
dec edx
test al, al
mov dword [esi + 0x20], edx
jne case.0x40e020.35
mov eax, dword [esp + 0x2c]
mov ecx, eax
shl ecx, 7
add ecx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax + ecx*2]
mov cl, byte [esp + 0x30]
inc eax
mov byte [edx + esi + 0xab60], cl
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
cmp edx, eax
jl 0x40ee69
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x40efb0
mov dword [esi + 4], 0x21
mov ecx, dword [esi + 0x20]
cmp ecx, 5
jge 0x40ef8b
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40ef3a
inc dword [eax + 0xc]
jmp 0x40ef3a
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], 0
lea ecx, [edx - 5]
shr eax, cl
and eax, 0x1f
add edx, 0xfffffffb
mov dword [esi + 0x20], edx
mov dword [esp + 0x30], eax
jmp 0x40ef13
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x40f04f
lea ecx, [esi + 0xf9fc]
lea edi, [esi + 0xc99c]
mov dword [esp + 0x6c], ecx
lea ebx, [esi + 0xab60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
xor ecx, ecx
xor edx, edx
mov ebp, 0x20
test eax, eax
jle 0x40f009
xor eax, eax
mov al, byte [ebx + edx]
cmp eax, ecx
jle 0x40effa
mov ecx, eax
cmp eax, ebp
jge 0x40f000
mov ebp, eax
mov eax, dword [esp + 0x4c]
inc edx
cmp edx, eax
jl 0x40efef
mov edx, dword [esp + 0x4c]
lea eax, [edi + 0x1830]
push edx
push ecx
push ebp
push ebx
push eax
lea ecx, [edi - 0x1830]
push edi
push ecx
call fcn.00410380
mov eax, dword [esp + 0x88]
add esp, 0x1c
add ebx, 0x102
add edi, 0x408
mov dword [eax], ebp
add eax, 4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x40efde
mov eax, dword [esi + 0xc68]
xor ebp, ebp
inc eax
lea edi, [esi + 0x40]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x24]
mov ecx, 0x100
mov edx, 0xf
lea eax, [eax + eax*4]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], 0x100
mov dword [esp + 0x50], edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 5
mov dword [esp + 0x60], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, 0xfff
lea edi, [esi + 0x1eb8]
mov ecx, 0xf
shl dl, 4
mov bl, cl
add bl, dl
mov byte [eax + esi + 0xe7c], bl
dec eax
dec ecx
jns 0x40f0a9
lea edx, [eax + 1]
mov dword [edi], edx
mov edx, dword [esp + 0x50]
dec edx
sub edi, 4
cmp edx, ebp
mov dword [esp + 0x50], edx
jge 0x40f0a1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x50], ebp
jg 0x40f0eb
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
xor eax, eax
mov dword [esp + 0x38], 0x31
mov al, byte [esi + 0x1ebc]
mov edx, eax
mov dword [esp + 0x68], eax
mov ecx, dword [esi + eax*4 + 0xf9fc]
shl edx, 7
add edx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], ecx
lea eax, [esi + edx*8]
lea edx, [eax + 0xb16c]
mov dword [esp + 0x40], edx
lea edx, [eax + 0xe1cc]
add eax, 0xc99c
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x24
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40f190
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fcc2
mov edi, dword [eax]
mov ebp, dword [esi + 0x1c]
xor edx, edx
add ecx, 8
mov dl, byte [edi]
mov dword [esi + 0x20], ecx
shl ebp, 8
or ebp, edx
mov dword [esi + 0x1c], ebp
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40f140
inc dword [eax + 0xc]
jmp 0x40f140
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
sub edx, ebx
mov edi, 1
mov ecx, edx
mov dword [esi + 0x20], edx
shr eax, cl
mov ecx, ebx
shl edi, cl
dec edi
and eax, edi
mov dword [esp + 0x24], eax
jmp 0x40f235
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x25
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f210
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fcc2
mov edi, dword [eax]
mov ebp, dword [esi + 0x1c]
xor edx, edx
add ecx, 8
mov dl, byte [edi]
mov dword [esi + 0x20], ecx
shl ebp, 8
or ebp, edx
mov dword [esi + 0x1c], ebp
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40f1bf
inc dword [eax + 0xc]
jmp 0x40f1bf
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
mov ecx, dword [esp + 0x24]
and eax, 1
dec edx
mov dword [esi + 0x20], edx
lea edx, [ecx + ecx]
or edx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edx
mov eax, edx
cmp ebx, 0x14
jle 0x40f244
mov edi, 0xfffffffc
jmp 0x410194
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f257
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f1b8
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40f26b
cmp eax, 0x102
jl 0x40f326
mov edi, 0xfffffffc
jmp 0x410194
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x29
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f2d1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fcc2
mov edi, dword [eax]
mov ebp, dword [esi + 0x1c]
xor edx, edx
add ecx, 8
mov dl, byte [edi]
mov dword [esi + 0x20], ecx
shl ebp, 8
or ebp, edx
mov dword [esi + 0x1c], ebp
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40f280
inc dword [eax + 0xc]
jmp 0x40f280
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
mov ecx, dword [esp + 0x24]
and eax, 1
dec edx
mov dword [esi + 0x20], edx
lea edx, [ecx + ecx]
mov dword [esp + 0x64], eax
or eax, edx
mov dword [esp + 0x24], eax
cmp ebx, 0x14
jle 0x40f303
mov edi, 0xfffffffc
jmp 0x410194
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f316
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f279
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40f2f9
cmp eax, 0x102
jge 0x40f2f9
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
je 0x40f906
test ecx, ecx
je 0x40f635
cmp ecx, 1
je 0x40f635
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
cmp edx, eax
jl 0x40f368
mov edi, 0xfffffffc
jmp 0x410194
dec ecx
cmp ecx, 0x10
jae 0x40f424
mov edi, dword [esi + 0x1e7c]
cmp ecx, 3
mov dword [esp + 0x7c], edi
lea eax, [edi + ecx]
mov dl, byte [eax + esi + 0xe7c]
mov byte [esp + 0x28], dl
jbe 0x40f3ff
lea edx, [esi + 0xe7b]
mov edi, esi
sub edi, edx
add eax, edx
add edi, 0xe7c
mov dword [esp + 0x70], edi
mov edi, esi
sub edi, edx
lea ebp, [edi + 0xe7a]
mov edi, esi
sub edi, edx
add edi, 0xe78
mov dword [esp + 0x78], edi
mov edi, esi
sub edi, edx
add edi, 0xe79
mov dword [esp + 0x74], edi
mov edi, ecx
shr edi, 2
mov ebx, dword [esp + 0x70]
mov dl, byte [eax]
sub ecx, 4
mov byte [ebx + eax], dl
mov dl, byte [eax + ebp]
mov byte [eax], dl
mov edx, dword [esp + 0x74]
mov bl, byte [edx + eax]
mov byte [eax + ebp], bl
mov ebx, dword [esp + 0x78]
mov bl, byte [ebx + eax]
mov byte [edx + eax], bl
sub eax, 4
dec edi
jne 0x40f3d0
mov edi, dword [esp + 0x7c]
test ecx, ecx
jbe 0x40f414
lea eax, [edi + esi + 0xe7c]
mov dl, byte [ecx + eax - 1]
mov byte [ecx + eax], dl
dec ecx
jne 0x40f40a
mov al, byte [esp + 0x28]
mov byte [edi + esi + 0xe7c], al
jmp 0x40f4e3
mov edx, ecx
and ecx, 0xf
shr edx, 4
mov ebp, dword [esi + edx*4 + 0x1e7c]
lea edi, [esi + edx*4 + 0x1e7c]
add ecx, ebp
cmp ecx, ebp
mov bl, byte [ecx + esi + 0xe7c]
mov byte [esp + 0x28], bl
jle 0x40f460
mov al, byte [ecx + esi + 0xe7b]
mov byte [ecx + esi + 0xe7c], al
mov eax, dword [edi]
dec ecx
cmp ecx, eax
jg 0x40f44b
mov ecx, dword [edi]
inc ecx
test edx, edx
mov dword [edi], ecx
jle 0x40f48b
mov eax, edi
mov edi, edx
mov edx, dword [eax]
add eax, 0xfffffffc
dec edx
dec edi
mov dword [eax + 4], edx
mov ecx, edx
mov edx, dword [eax]
mov dl, byte [esi + edx + 0xe8b]
mov byte [ecx + esi + 0xe7c], dl
jne 0x40f46d
mov ecx, dword [esi + 0x1e7c]
dec ecx
mov eax, ecx
mov dword [esi + 0x1e7c], ecx
mov byte [eax + esi + 0xe7c], bl
mov eax, dword [esi + 0x1e7c]
test eax, eax
jne 0x40f4e3
mov eax, 0xfff
lea ecx, [esi + 0x1eb8]
mov ebp, 0x10
mov edi, 0xf
mov ebx, dword [ecx]
mov edx, edi
add edx, ebx
dec eax
dec edi
mov dl, byte [edx + esi + 0xe7c]
mov byte [eax + esi + 0xe7d], dl
jns 0x40f4c0
lea edx, [eax + 1]
mov dword [ecx], edx
sub ecx, 4
dec ebp
jne 0x40f4bb
mov eax, dword [esp + 0x28]
xor ecx, ecx
and eax, 0xff
mov cl, byte [eax + esi + 0xd7c]
lea eax, [eax + esi + 0xd7c]
mov edx, dword [esi + ecx*4 + 0x40]
lea ecx, [esi + ecx*4 + 0x40]
inc edx
mov dword [ecx], edx
mov cl, byte [esi + 0x28]
test cl, cl
je 0x40f522
movzx dx, byte [eax]
mov eax, dword [esi + 0xc50]
mov ecx, dword [esp + 0x18]
mov word [eax + ecx*2], dx
jmp 0x40f533
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dl, byte [eax]
mov eax, dword [esi + 0xc4c]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x40f5a9
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40f563
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
xor edx, edx
mov ecx, 0x32
mov dl, byte [eax + esi + 0x1ebc]
mov eax, edx
mov dword [esp + 0x68], eax
mov edx, dword [esi + eax*4 + 0xf9fc]
mov dword [esp + 0x58], edx
mov edx, eax
shl edx, 7
add edx, eax
lea eax, [esi + edx*8]
lea edx, [eax + 0xb16c]
mov dword [esp + 0x40], edx
lea edx, [eax + 0xe1cc]
add eax, 0xc99c
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
dec ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x28
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40f611
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fcc2
mov edi, dword [eax]
mov ebp, dword [esi + 0x1c]
xor edx, edx
add ecx, 8
mov dl, byte [edi]
mov dword [esi + 0x20], ecx
shl ebp, 8
or ebp, edx
mov dword [esi + 0x1c], ebp
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40f5c1
inc dword [eax + 0xc]
jmp 0x40f5c1
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
sub edx, ebx
mov edi, 1
mov ecx, edx
mov dword [esi + 0x20], edx
shr eax, cl
mov ecx, ebx
shl edi, cl
dec edi
and eax, edi
mov dword [esp + 0x24], eax
jmp 0x40f2f4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40f65d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40f671
cmp eax, 1
jne 0x40f671
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
lea eax, [ecx + edx*2]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x54]
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x54], edx
jne 0x40f6e5
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40f69f
mov edi, 0xfffffffc
jmp 0x410194
xor edx, edx
mov ecx, 0x32
mov dl, byte [eax + esi + 0x1ebc]
mov eax, edx
mov dword [esp + 0x68], eax
mov edx, dword [esi + eax*4 + 0xf9fc]
mov dword [esp + 0x58], edx
mov edx, eax
shl edx, 7
add edx, eax
lea eax, [esi + edx*8]
lea edx, [eax + 0xb16c]
mov dword [esp + 0x40], edx
lea edx, [eax + 0xe1cc]
add eax, 0xc99c
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x58]
dec ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], ebx
jmp 0x40f6f8
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x26
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40f74f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fcc2
mov edi, dword [eax]
mov ebp, dword [esi + 0x1c]
xor edx, edx
add ecx, 8
mov dl, byte [edi]
mov dword [esi + 0x20], ecx
shl ebp, 8
or ebp, edx
mov dword [esi + 0x1c], ebp
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40f6ff
inc dword [eax + 0xc]
jmp 0x40f6ff
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
sub edx, ebx
mov edi, 1
mov ecx, edx
mov dword [esi + 0x20], edx
shr eax, cl
mov ecx, ebx
shl edi, cl
dec edi
and eax, edi
mov dword [esp + 0x24], eax
cmp ebx, 0x14
jle 0x40f77d
mov edi, 0xfffffffc
jmp 0x410194
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f817
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f795
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x27
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f7ed
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fcc2
mov edi, dword [eax]
mov ebp, dword [esi + 0x1c]
xor edx, edx
add ecx, 8
mov dl, byte [edi]
mov dword [esi + 0x20], ecx
shl ebp, 8
or ebp, edx
mov dword [esi + 0x1c], ebp
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40f79c
inc dword [eax + 0xc]
jmp 0x40f79c
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
mov ecx, dword [esp + 0x24]
and eax, 1
dec edx
mov dword [esi + 0x20], edx
lea edx, [ecx + ecx]
or edx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edx
mov eax, edx
jmp 0x40f76e
mov ecx, dword [esp + 0x44]
sub eax, dword [ecx + ebx*4]
js 0x40f2f9
cmp eax, 0x102
jge 0x40f2f9
mov edx, dword [esp + 0x48]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x40f645
cmp eax, 1
je 0x40f645
mov eax, dword [esi + 0x1e7c]
xor ecx, ecx
mov edx, dword [esp + 0x20]
mov cl, byte [eax + esi + 0xe7c]
inc edx
mov dword [esp + 0x20], edx
mov cl, byte [ecx + esi + 0xd7c]
mov byte [esp + 0x28], cl
mov eax, dword [esp + 0x28]
and eax, 0xff
mov ebp, dword [esi + eax*4 + 0x40]
add ebp, edx
mov dword [esi + eax*4 + 0x40], ebp
cmp byte [esi + 0x28], 0
je 0x40f8cd
test edx, edx
jle 0x40f331
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x60]
jge 0x40f8bb
mov ebp, dword [esi + 0xc50]
inc eax
movzx di, cl
mov word [ebp + eax*2 - 2], di
dec edx
test edx, edx
jg 0x40f893
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jmp 0x40f331
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov edi, 0xfffffffc
jmp 0x410194
test edx, edx
jle 0x40f331
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jge 0x40f2f9
mov ebp, dword [esi + 0xc4c]
inc ecx
dec edx
mov dword [esp + 0x18], ecx
mov dword [ebp + ecx*4 - 4], eax
mov dword [esp + 0x20], edx
test edx, edx
jg 0x40f8e1
jmp 0x40f331
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ecx
jl 0x40f2f9
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x40f2f9
lea eax, [esi + 0x448]
mov dword [esi + 0xc], ecx
mov byte [esi + 8], cl
mov dword [esi + 0x444], ecx
mov dword [esi + 0xc60], 0xffffffff
mov dword [esi + 4], 2
mov ecx, eax
mov edx, 0x100
mov ebp, dword [ecx - 0x408]
mov dword [ecx], ebp
add ecx, 4
dec edx
jne 0x40f949
mov ecx, 0x100
mov edx, dword [eax - 4]
mov ebp, dword [eax]
add ebp, edx
mov dword [eax], ebp
add eax, 4
dec ecx
jne 0x40f95c
mov al, byte [esi + 0x28]
test al, al
je 0x40fbe3
lea eax, [esi + 0x848]
mov ecx, 0x101
mov edx, dword [eax - 0x404]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x40f981
xor eax, eax
test edi, edi
jle 0x40fa0f
mov ecx, dword [esi + 0xc50]
mov dl, byte [ecx + eax*2]
lea ecx, [ecx + eax*2]
mov byte [esp + 0x28], dl
mov edx, dword [esp + 0x28]
and edx, 0xff
test al, 1
lea edi, [esi + edx*4 + 0x848]
mov dx, word [esi + edx*4 + 0x848]
mov word [ecx], dx
mov ecx, eax
jne 0x40f9e4
mov edx, dword [esi + 0xc54]
sar ecx, 1
lea ebp, [edx + ecx]
mov ecx, dword [edi]
sar ecx, 0x10
mov dl, byte [ebp]
and dl, 0xf0
or cl, dl
mov byte [ebp], cl
jmp 0x40fa01
mov edx, dword [esi + 0xc54]
sar ecx, 1
lea ebp, [edx + ecx]
mov ecx, dword [edi]
sar ecx, 0xc
mov dl, byte [ebp]
xor dl, cl
and dl, 0xf
xor dl, cl
mov byte [ebp], dl
mov ebx, dword [edi]
mov ecx, dword [esp + 0x18]
inc ebx
inc eax
cmp eax, ecx
mov dword [edi], ebx
jl 0x40f995
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0xc54]
mov eax, edx
xor ebx, ebx
sar eax, 1
xor edi, edi
mov dword [esp + 0x14], edx
mov bl, byte [eax + ecx]
mov cl, dl
and cl, 1
mov eax, ebx
shl cl, 2
shr eax, cl
mov ecx, dword [esi + 0xc50]
mov di, word [ecx + edx*2]
and eax, 0xf
shl eax, 0x10
or eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc50]
mov edx, eax
mov ebx, eax
lea edi, [ecx + eax*2]
mov eax, dword [esi + 0xc54]
sar edx, 1
xor ecx, ecx
and ebx, 1
mov cl, byte [edx + eax]
xor ebp, ebp
mov eax, ecx
mov cl, bl
shl cl, 2
shr eax, cl
xor ecx, ecx
mov dword [esp + 0x7c], edi
mov cx, word [edi]
and eax, 0xf
shl eax, 0x10
or eax, ecx
mov cx, word [esp + 0x14]
mov word [edi], cx
mov ecx, dword [esi + 0xc54]
cmp ebx, ebp
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x14]
jne 0x40faad
mov dl, byte [edi]
sar ecx, 0x10
and dl, 0xf0
or cl, dl
mov byte [edi], cl
jmp 0x40fabb
mov dl, byte [edi]
sar ecx, 0xc
xor dl, cl
and dl, 0xf
xor dl, cl
mov byte [edi], dl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jne 0x40fa49
mov ecx, eax
mov al, byte [esi + 0x10]
test al, al
mov dword [esi + 0x38], ecx
mov dword [esi + 0x440], ebp
je 0x40fb85
lea eax, [esi + 0x444]
mov dword [esi + 0x14], ebp
push eax
push ecx
mov dword [esi + 0x18], ebp
call fcn.0040d0d0
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0xc54]
mov ecx, edx
xor ebx, ebx
shr ecx, 1
mov dword [esi + 0x3c], eax
add esp, 8
mov bl, byte [ecx + edi]
mov cl, dl
and cl, 1
xor edi, edi
shl cl, 2
shr ebx, cl
mov ecx, dword [esi + 0xc50]
mov di, word [ecx + edx*2]
mov edx, dword [esi + 0x440]
mov ecx, dword [esi + 0x14]
and ebx, 0xf
shl ebx, 0x10
or ebx, edi
inc edx
cmp ecx, ebp
mov dword [esi + 0x38], ebx
mov dword [esi + 0x440], edx
jne 0x40fb64
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx*4 + 0x41ae4c]
inc ecx
cmp ecx, 0x200
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
jne 0x40fb64
mov dword [esi + 0x18], ebp
mov ebx, dword [esi + 0x14]
xor edx, edx
dec ebx
mov ecx, ebx
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x10]
cmp ecx, 1
sete dl
xor edx, eax
xor edi, edi
mov dword [esi + 0x3c], edx
jmp 0x410194
lea eax, [esi + 0x444]
push eax
push ecx
call fcn.0040d0d0
mov edx, dword [esi + 0xc54]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov ecx, eax
add esp, 8
shr ecx, 1
mov bl, byte [ecx + edx]
mov cl, al
and cl, 1
xor edx, edx
shl cl, 2
shr ebx, cl
mov ecx, dword [esi + 0xc50]
mov dx, word [ecx + eax*2]
mov eax, dword [esi + 0x440]
and ebx, 0xf
shl ebx, 0x10
or ebx, edx
inc eax
mov dword [esi + 0x38], ebx
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x440], eax
xor edi, edi
jmp 0x410194
xor ebp, ebp
xor edx, edx
cmp edi, ebp
mov dword [esp + 0x14], edx
jle 0x40fc2f
mov ecx, dword [esi + 0xc4c]
mov al, byte [ecx + edx*4]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x28]
and eax, 0xff
mov edi, dword [esi + eax*4 + 0x444]
lea eax, [esi + eax*4 + 0x444]
lea ecx, [ecx + edi*4]
mov edi, edx
shl edi, 8
or dword [ecx], edi
mov edi, dword [eax]
inc edi
inc edx
mov dword [eax], edi
mov eax, dword [esp + 0x18]
cmp edx, eax
jl 0x40fbef
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xc4c]
mov ecx, dword [esi + 0x34]
mov edx, dword [eax + ecx*4]
mov cl, byte [esi + 0x10]
shr edx, 8
test cl, cl
mov dword [esi + 0x38], edx
mov dword [esi + 0x440], ebp
je 0x40fca0
mov ecx, edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov edx, dword [eax + ecx*4]
xor eax, eax
mov edi, edx
mov dword [esi + 0x38], edx
shr edi, 8
mov dword [esi + 0x38], edi
mov al, dl
mov edi, 1
mov dword [esi + 0x3c], eax
mov dword [esi + 0x440], edi
mov ecx, dword [0x41ae4c]
mov edx, ecx
mov dword [esi + 0x14], ecx
dec edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edx
mov eax, edx
xor edx, edx
cmp eax, edi
mov eax, dword [esi + 0x3c]
sete dl
xor eax, edx
xor edi, edi
mov dword [esi + 0x3c], eax
jmp 0x410194
mov ecx, dword [esi + 0x38]
mov edx, dword [eax + ecx*4]
xor eax, eax
mov al, dl
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov eax, edx
shr eax, 8
mov dword [esi + 0x38], eax
mov dword [esi + 0x440], 1
xor edi, edi
jmp 0x410194
mov dword [esi + 4], 0x2a
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fd21
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40fcd0
inc dword [eax + 0xc]
jmp 0x40fcd0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x72
je case.0x40e020.43
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x2b
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fda1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40fd50
inc dword [eax + 0xc]
jmp 0x40fd50
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x45
je case.0x40e020.44
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x2c
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fe21
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40fdd0
inc dword [eax + 0xc]
jmp 0x40fdd0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x38
je case.0x40e020.45
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x2d
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fea1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40fe50
inc dword [eax + 0xc]
jmp 0x40fe50
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x50
je case.0x40e020.46
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 4], 0x2e
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ff21
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40fed0
inc dword [eax + 0xc]
jmp 0x40fed0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov dword [esi + 0x20], edx
and eax, 0xff
cmp al, 0x90
je 0x40ff49
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410194
mov dword [esi + 0xc5c], 0
mov dword [esi + 4], 0x2f
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ffab
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40ff5a
inc dword [eax + 0xc]
jmp 0x40ff5a
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc5c]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc5c], ecx
mov dword [esi + 4], 0x30
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x41002f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40ffde
inc dword [eax + 0xc]
jmp 0x40ffde
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc5c]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc5c], ecx
mov dword [esi + 4], 0x31
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x4100b3
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x410062
inc dword [eax + 0xc]
jmp 0x410062
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc5c]
mov dword [esi + 0x20], edx
shl ecx, 8
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc5c], ecx
mov dword [esi + 4], 0x32
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x410133
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410171
mov edi, dword [eax]
mov edx, dword [esi + 0x1c]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi]
mov dword [esi + 0x20], ecx
shl edx, 8
or edx, ebx
mov dword [esi + 0x1c], edx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
mov eax, dword [esi]
mov edi, dword [eax + 4]
dec edi
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4100e6
inc dword [eax + 0xc]
jmp 0x4100e6
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 1
lea ecx, [edx - 8]
add edx, 0xfffffff8
shr eax, cl
mov ecx, dword [esi + 0xc5c]
mov dword [esi + 0x20], edx
shl ecx, 8
mov edi, 4
and eax, 0xff
and eax, 0xff
or ecx, eax
mov dword [esi + 0xc5c], ecx
jmp 0x410194
mov ebx, dword [esp + 0x10]
xor edi, edi
jmp 0x410194
push 0xfa1
call fcn.00403960
push 0xfa2
call fcn.00403960
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xfa14], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0xfa18], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xfa1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xfa20], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xfa24], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xfa28], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xfa2c], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xfa30], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xfa34], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xfa38], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xfa3c], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0xfa40], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xfa44], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 0xfa48], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xfa4c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0xfa58], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xfa50], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 0xfa64], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xfa5c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0xfa60], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0xfa70], eax
mov eax, edi
mov dword [esi + 0xfa54], ebx
mov dword [esi + 0xfa68], ecx
mov dword [esi + 0xfa6c], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret