Function at 0x40de50
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 0x40defe
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.0x40e000
jmp dword [eax*4 + 0x410270]
mov dword [esi + 4], 0xa
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e05f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e00e
inc dword [eax + 0xc]
jmp 0x40e00e
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.0x40e000.11
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x410174
mov dword [esi + 4], 0xb
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e0df
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e08e
inc dword [eax + 0xc]
jmp 0x40e08e
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.0x40e000.12
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x410174
mov dword [esi + 4], 0xc
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e15f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e10e
inc dword [eax + 0xc]
jmp 0x40e10e
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.0x40e000.13
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x410174
mov dword [esi + 4], 0xd
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e1df
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e18e
inc dword [eax + 0xc]
jmp 0x40e18e
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 0x40e079
cmp eax, 0x39
jg 0x40e079
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 0x40e270
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 0x40e28b
jmp 0x40e287
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.0x40e000.14
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffd
jmp 0x410174
mov dword [esi + 4], 0xe
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e2f1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e2a0
inc dword [eax + 0xc]
jmp 0x40e2a0
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.0x40e000.42
cmp al, 0x31
je case.0x40e000.15
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0xf
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e379
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e328
inc dword [eax + 0xc]
jmp 0x40e328
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.0x40e000.16
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x10
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e3f9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e3a8
inc dword [eax + 0xc]
jmp 0x40e3a8
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.0x40e000.17
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x11
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e479
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e428
inc dword [eax + 0xc]
jmp 0x40e428
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.0x40e000.18
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x12
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e4f9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e4a8
inc dword [eax + 0xc]
jmp 0x40e4a8
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.0x40e000.19
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x13
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e579
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e528
inc dword [eax + 0xc]
jmp 0x40e528
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 0x40e5a1
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
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 0x40e60a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e5b9
inc dword [eax + 0xc]
jmp 0x40e5b9
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 0x40e68e
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e63d
inc dword [eax + 0xc]
jmp 0x40e63d
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 0x40e712
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e6c1
inc dword [eax + 0xc]
jmp 0x40e6c1
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 0x40e796
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e745
inc dword [eax + 0xc]
jmp 0x40e745
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 0x40e81a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e7c9
inc dword [eax + 0xc]
jmp 0x40e7c9
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 0x40e88e
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e83d
inc dword [eax + 0xc]
jmp 0x40e83d
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 0x40e90c
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40e8bb
inc dword [eax + 0xc]
jmp 0x40e8bb
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 0x40e988
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410151
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 0x40e93b
inc dword [eax + 0xc]
jmp 0x40e93b
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 0x40e9c0
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
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 0x40e9ea
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esp + 0x14], ebp
jmp 0x40ea7d
mov dword [esi + 4], 0x1c
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ea49
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410151
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 0x40e9fc
inc dword [eax + 0xc]
jmp 0x40e9fc
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 0x40ea6d
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0xd6c], 1
jmp 0x40ea79
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.0x40e000.28
lea edi, [esi + 0xc6c]
mov ecx, 0x40
xor eax, eax
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
jmp 0x40eb43
mov dword [esi + 4], 0x1d
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40eafc
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410151
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 0x40eaaf
inc dword [eax + 0xc]
jmp 0x40eaaf
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 0x40eb27
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.0x40e000.29
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, edx
jge 0x40eb5c
mov cl, byte [eax + esi + 0xd6c]
test cl, cl
je 0x40eb3f
mov dword [esp + 0x1c], ebp
jmp 0x40eb35
push esi
call fcn.00410320
mov eax, dword [esi + 0xc68]
add esp, 4
cmp eax, ebp
jne 0x40eb7d
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [esi + 4], 0x1e
mov ecx, dword [esi + 0x20]
cmp ecx, 3
jge 0x40ebdc
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40eb8b
inc dword [eax + 0xc]
jmp 0x40eb8b
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 0x40ebfe
cmp eax, 6
jle case.0x40e000.31
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x1f
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jge 0x40ec62
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410151
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 0x40ec15
inc dword [eax + 0xc]
jmp 0x40ec15
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 0x40ec91
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esp + 0x14], ebp
jmp 0x40ed3d
mov dword [esi + 4], 0x20
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ecf0
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x410151
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 0x40eca3
inc dword [eax + 0xc]
jmp 0x40eca3
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 0x40ed25
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl case.0x40e000.32
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
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 0x40ed4c
mov dword [esp + 0x1c], ebp
jmp case.0x40e000.32
mov edx, dword [esp + 0x5c]
xor cl, cl
cmp edx, ebp
jle 0x40ed6f
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 0x40ed58
cmp edi, ebp
mov dword [esp + 0x14], ebp
jle 0x40edc2
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 0x40edaa
mov edi, eax
mov al, byte [ecx - 1]
mov byte [ecx], al
dec ecx
dec edi
jne 0x40eda1
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 0x40ed7b
mov dword [esp + 0x2c], 0
jmp 0x40ef07
mov dword [esi + 4], 0x23
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ee27
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40edd6
inc dword [eax + 0xc]
jmp 0x40edd6
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 0x40ee44
inc eax
jmp 0x40ee45
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jl 0x40ff1b
cmp eax, 0x14
jg 0x40ff1b
mov dword [esi + 4], 0x22
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40eeb7
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40ee66
inc dword [eax + 0xc]
jmp 0x40ee66
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.0x40e000.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 0x40ee49
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x40ef90
mov dword [esi + 4], 0x21
mov ecx, dword [esi + 0x20]
cmp ecx, 5
jge 0x40ef6b
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40ef1a
inc dword [eax + 0xc]
jmp 0x40ef1a
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 0x40eef3
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x40f02f
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 0x40efe9
xor eax, eax
mov al, byte [ebx + edx]
cmp eax, ecx
jle 0x40efda
mov ecx, eax
cmp eax, ebp
jge 0x40efe0
mov ebp, eax
mov eax, dword [esp + 0x4c]
inc edx
cmp edx, eax
jl 0x40efcf
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.00410360
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 0x40efbe
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 0x40f089
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 0x40f081
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x50], ebp
jg 0x40f0cb
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
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 0x40f170
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fca2
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 0x40f120
inc dword [eax + 0xc]
jmp 0x40f120
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 0x40f215
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x25
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f1f0
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fca2
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 0x40f19f
inc dword [eax + 0xc]
jmp 0x40f19f
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 0x40f224
mov edi, 0xfffffffc
jmp 0x410174
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f237
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f198
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40f24b
cmp eax, 0x102
jl 0x40f306
mov edi, 0xfffffffc
jmp 0x410174
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x29
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f2b1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fca2
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 0x40f260
inc dword [eax + 0xc]
jmp 0x40f260
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 0x40f2e3
mov edi, 0xfffffffc
jmp 0x410174
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f2f6
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f259
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40f2d9
cmp eax, 0x102
jge 0x40f2d9
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 0x40f8e6
test ecx, ecx
je 0x40f615
cmp ecx, 1
je 0x40f615
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
cmp edx, eax
jl 0x40f348
mov edi, 0xfffffffc
jmp 0x410174
dec ecx
cmp ecx, 0x10
jae 0x40f404
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 0x40f3df
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 0x40f3b0
mov edi, dword [esp + 0x7c]
test ecx, ecx
jbe 0x40f3f4
lea eax, [edi + esi + 0xe7c]
mov dl, byte [ecx + eax - 1]
mov byte [ecx + eax], dl
dec ecx
jne 0x40f3ea
mov al, byte [esp + 0x28]
mov byte [edi + esi + 0xe7c], al
jmp 0x40f4c3
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 0x40f440
mov al, byte [ecx + esi + 0xe7b]
mov byte [ecx + esi + 0xe7c], al
mov eax, dword [edi]
dec ecx
cmp ecx, eax
jg 0x40f42b
mov ecx, dword [edi]
inc ecx
test edx, edx
mov dword [edi], ecx
jle 0x40f46b
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 0x40f44d
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 0x40f4c3
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 0x40f4a0
lea edx, [eax + 1]
mov dword [ecx], edx
sub ecx, 4
dec ebp
jne 0x40f49b
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 0x40f502
movzx dx, byte [eax]
mov eax, dword [esi + 0xc50]
mov ecx, dword [esp + 0x18]
mov word [eax + ecx*2], dx
jmp 0x40f513
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 0x40f589
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40f543
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
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 0x40f5f1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fca2
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 0x40f5a1
inc dword [eax + 0xc]
jmp 0x40f5a1
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 0x40f2d4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40f63d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40f651
cmp eax, 1
jne 0x40f651
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 0x40f6c5
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40f67f
mov edi, 0xfffffffc
jmp 0x410174
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 0x40f6d8
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x26
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40f72f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fca2
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 0x40f6df
inc dword [eax + 0xc]
jmp 0x40f6df
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 0x40f75d
mov edi, 0xfffffffc
jmp 0x410174
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f7f7
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f775
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x27
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f7cd
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fca2
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 0x40f77c
inc dword [eax + 0xc]
jmp 0x40f77c
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 0x40f74e
mov ecx, dword [esp + 0x44]
sub eax, dword [ecx + ebx*4]
js 0x40f2d9
cmp eax, 0x102
jge 0x40f2d9
mov edx, dword [esp + 0x48]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x40f625
cmp eax, 1
je 0x40f625
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 0x40f8ad
test edx, edx
jle 0x40f311
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x60]
jge 0x40f89b
mov ebp, dword [esi + 0xc50]
inc eax
movzx di, cl
mov word [ebp + eax*2 - 2], di
dec edx
test edx, edx
jg 0x40f873
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jmp 0x40f311
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov edi, 0xfffffffc
jmp 0x410174
test edx, edx
jle 0x40f311
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jge 0x40f2d9
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 0x40f8c1
jmp 0x40f311
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ecx
jl 0x40f2d9
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x40f2d9
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 0x40f929
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 0x40f93c
mov al, byte [esi + 0x28]
test al, al
je 0x40fbc3
lea eax, [esi + 0x848]
mov ecx, 0x101
mov edx, dword [eax - 0x404]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x40f961
xor eax, eax
test edi, edi
jle 0x40f9ef
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 0x40f9c4
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 0x40f9e1
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 0x40f975
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 0x40fa8d
mov dl, byte [edi]
sar ecx, 0x10
and dl, 0xf0
or cl, dl
mov byte [edi], cl
jmp 0x40fa9b
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 0x40fa29
mov ecx, eax
mov al, byte [esi + 0x10]
test al, al
mov dword [esi + 0x38], ecx
mov dword [esi + 0x440], ebp
je 0x40fb65
lea eax, [esi + 0x444]
mov dword [esi + 0x14], ebp
push eax
push ecx
mov dword [esi + 0x18], ebp
call fcn.0040d0b0
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 0x40fb44
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx*4 + 0x41add4]
inc ecx
cmp ecx, 0x200
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
jne 0x40fb44
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 0x410174
lea eax, [esi + 0x444]
push eax
push ecx
call fcn.0040d0b0
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 0x410174
xor ebp, ebp
xor edx, edx
cmp edi, ebp
mov dword [esp + 0x14], edx
jle 0x40fc0f
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 0x40fbcf
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 0x40fc80
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 [0x41add4]
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 0x410174
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 0x410174
mov dword [esi + 4], 0x2a
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fd01
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40fcb0
inc dword [eax + 0xc]
jmp 0x40fcb0
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.0x40e000.43
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x2b
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fd81
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40fd30
inc dword [eax + 0xc]
jmp 0x40fd30
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.0x40e000.44
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x2c
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fe01
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40fdb0
inc dword [eax + 0xc]
jmp 0x40fdb0
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.0x40e000.45
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x2d
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fe81
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40fe30
inc dword [eax + 0xc]
jmp 0x40fe30
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.0x40e000.46
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 4], 0x2e
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ff01
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40feb0
inc dword [eax + 0xc]
jmp 0x40feb0
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 0x40ff29
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x410174
mov dword [esi + 0xc5c], 0
mov dword [esi + 4], 0x2f
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ff8b
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40ff3a
inc dword [eax + 0xc]
jmp 0x40ff3a
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 0x41000f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x40ffbe
inc dword [eax + 0xc]
jmp 0x40ffbe
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 0x410093
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x410042
inc dword [eax + 0xc]
jmp 0x410042
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 0x410113
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x410151
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 0x4100c6
inc dword [eax + 0xc]
jmp 0x4100c6
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 0x410174
mov ebx, dword [esp + 0x10]
xor edi, edi
jmp 0x410174
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