Function at 0x40dfc0
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 0x40e06e
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.0x40e170
jmp dword [eax*4 + 0x4103e0]
mov dword [esi + 4], 0xa
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e1cf
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e17e
inc dword [eax + 0xc]
jmp 0x40e17e
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.0x40e170.11
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x4102e4
mov dword [esi + 4], 0xb
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e24f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e1fe
inc dword [eax + 0xc]
jmp 0x40e1fe
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.0x40e170.12
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x4102e4
mov dword [esi + 4], 0xc
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e2cf
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e27e
inc dword [eax + 0xc]
jmp 0x40e27e
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.0x40e170.13
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x4102e4
mov dword [esi + 4], 0xd
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e34f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e2fe
inc dword [eax + 0xc]
jmp 0x40e2fe
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 0x40e1e9
cmp eax, 0x39
jg 0x40e1e9
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 0x40e3e0
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 0x40e3fb
jmp 0x40e3f7
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.0x40e170.14
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffd
jmp 0x4102e4
mov dword [esi + 4], 0xe
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e461
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e410
inc dword [eax + 0xc]
jmp 0x40e410
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.0x40e170.42
cmp al, 0x31
je case.0x40e170.15
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0xf
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e4e9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e498
inc dword [eax + 0xc]
jmp 0x40e498
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.0x40e170.16
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x10
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e569
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e518
inc dword [eax + 0xc]
jmp 0x40e518
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.0x40e170.17
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x11
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e5e9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e598
inc dword [eax + 0xc]
jmp 0x40e598
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.0x40e170.18
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x12
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e669
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e618
inc dword [eax + 0xc]
jmp 0x40e618
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.0x40e170.19
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x13
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40e6e9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e698
inc dword [eax + 0xc]
jmp 0x40e698
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 0x40e711
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
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 0x40e77a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e729
inc dword [eax + 0xc]
jmp 0x40e729
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 0x40e7fe
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e7ad
inc dword [eax + 0xc]
jmp 0x40e7ad
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 0x40e882
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e831
inc dword [eax + 0xc]
jmp 0x40e831
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 0x40e906
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e8b5
inc dword [eax + 0xc]
jmp 0x40e8b5
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 0x40e98a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e939
inc dword [eax + 0xc]
jmp 0x40e939
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 0x40e9fe
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40e9ad
inc dword [eax + 0xc]
jmp 0x40e9ad
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 0x40ea7c
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40ea2b
inc dword [eax + 0xc]
jmp 0x40ea2b
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 0x40eaf8
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x4102c1
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 0x40eaab
inc dword [eax + 0xc]
jmp 0x40eaab
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 0x40eb30
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
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 0x40eb5a
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esp + 0x14], ebp
jmp 0x40ebed
mov dword [esi + 4], 0x1c
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ebb9
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x4102c1
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 0x40eb6c
inc dword [eax + 0xc]
jmp 0x40eb6c
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 0x40ebdd
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0xd6c], 1
jmp 0x40ebe9
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.0x40e170.28
lea edi, [esi + 0xc6c]
mov ecx, 0x40
xor eax, eax
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
jmp 0x40ecb3
mov dword [esi + 4], 0x1d
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ec6c
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x4102c1
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 0x40ec1f
inc dword [eax + 0xc]
jmp 0x40ec1f
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 0x40ec97
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.0x40e170.29
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, edx
jge 0x40eccc
mov cl, byte [eax + esi + 0xd6c]
test cl, cl
je 0x40ecaf
mov dword [esp + 0x1c], ebp
jmp 0x40eca5
push esi
call fcn.00410490
mov eax, dword [esi + 0xc68]
add esp, 4
cmp eax, ebp
jne 0x40eced
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [esi + 4], 0x1e
mov ecx, dword [esi + 0x20]
cmp ecx, 3
jge 0x40ed4c
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40ecfb
inc dword [eax + 0xc]
jmp 0x40ecfb
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 0x40ed6e
cmp eax, 6
jle case.0x40e170.31
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x1f
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jge 0x40edd2
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x4102c1
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 0x40ed85
inc dword [eax + 0xc]
jmp 0x40ed85
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 0x40ee01
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esp + 0x14], ebp
jmp 0x40eead
mov dword [esi + 4], 0x20
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ee60
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x4102c1
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 0x40ee13
inc dword [eax + 0xc]
jmp 0x40ee13
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 0x40ee95
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl case.0x40e170.32
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
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 0x40eebc
mov dword [esp + 0x1c], ebp
jmp case.0x40e170.32
mov edx, dword [esp + 0x5c]
xor cl, cl
cmp edx, ebp
jle 0x40eedf
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 0x40eec8
cmp edi, ebp
mov dword [esp + 0x14], ebp
jle 0x40ef32
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 0x40ef1a
mov edi, eax
mov al, byte [ecx - 1]
mov byte [ecx], al
dec ecx
dec edi
jne 0x40ef11
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 0x40eeeb
mov dword [esp + 0x2c], 0
jmp 0x40f077
mov dword [esi + 4], 0x23
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40ef97
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40ef46
inc dword [eax + 0xc]
jmp 0x40ef46
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 0x40efb4
inc eax
jmp 0x40efb5
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jl 0x41008b
cmp eax, 0x14
jg 0x41008b
mov dword [esi + 4], 0x22
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f027
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40efd6
inc dword [eax + 0xc]
jmp 0x40efd6
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.0x40e170.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 0x40efb9
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x40f100
mov dword [esi + 4], 0x21
mov ecx, dword [esi + 0x20]
cmp ecx, 5
jge 0x40f0db
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40f08a
inc dword [eax + 0xc]
jmp 0x40f08a
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 0x40f063
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x40f19f
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 0x40f159
xor eax, eax
mov al, byte [ebx + edx]
cmp eax, ecx
jle 0x40f14a
mov ecx, eax
cmp eax, ebp
jge 0x40f150
mov ebp, eax
mov eax, dword [esp + 0x4c]
inc edx
cmp edx, eax
jl 0x40f13f
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.004104d0
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 0x40f12e
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 0x40f1f9
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 0x40f1f1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x50], ebp
jg 0x40f23b
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
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 0x40f2e0
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fe12
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 0x40f290
inc dword [eax + 0xc]
jmp 0x40f290
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 0x40f385
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x25
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f360
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fe12
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 0x40f30f
inc dword [eax + 0xc]
jmp 0x40f30f
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 0x40f394
mov edi, 0xfffffffc
jmp 0x4102e4
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f3a7
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f308
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40f3bb
cmp eax, 0x102
jl 0x40f476
mov edi, 0xfffffffc
jmp 0x4102e4
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x29
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f421
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fe12
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 0x40f3d0
inc dword [eax + 0xc]
jmp 0x40f3d0
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 0x40f453
mov edi, 0xfffffffc
jmp 0x4102e4
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f466
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f3c9
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40f449
cmp eax, 0x102
jge 0x40f449
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 0x40fa56
test ecx, ecx
je 0x40f785
cmp ecx, 1
je 0x40f785
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
cmp edx, eax
jl 0x40f4b8
mov edi, 0xfffffffc
jmp 0x4102e4
dec ecx
cmp ecx, 0x10
jae 0x40f574
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 0x40f54f
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 0x40f520
mov edi, dword [esp + 0x7c]
test ecx, ecx
jbe 0x40f564
lea eax, [edi + esi + 0xe7c]
mov dl, byte [ecx + eax - 1]
mov byte [ecx + eax], dl
dec ecx
jne 0x40f55a
mov al, byte [esp + 0x28]
mov byte [edi + esi + 0xe7c], al
jmp 0x40f633
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 0x40f5b0
mov al, byte [ecx + esi + 0xe7b]
mov byte [ecx + esi + 0xe7c], al
mov eax, dword [edi]
dec ecx
cmp ecx, eax
jg 0x40f59b
mov ecx, dword [edi]
inc ecx
test edx, edx
mov dword [edi], ecx
jle 0x40f5db
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 0x40f5bd
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 0x40f633
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 0x40f610
lea edx, [eax + 1]
mov dword [ecx], edx
sub ecx, 4
dec ebp
jne 0x40f60b
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 0x40f672
movzx dx, byte [eax]
mov eax, dword [esi + 0xc50]
mov ecx, dword [esp + 0x18]
mov word [eax + ecx*2], dx
jmp 0x40f683
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 0x40f6f9
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40f6b3
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
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 0x40f761
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fe12
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 0x40f711
inc dword [eax + 0xc]
jmp 0x40f711
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 0x40f444
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40f7ad
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40f7c1
cmp eax, 1
jne 0x40f7c1
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 0x40f835
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40f7ef
mov edi, 0xfffffffc
jmp 0x4102e4
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 0x40f848
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x26
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40f89f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fe12
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 0x40f84f
inc dword [eax + 0xc]
jmp 0x40f84f
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 0x40f8cd
mov edi, 0xfffffffc
jmp 0x4102e4
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40f967
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40f8e5
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x27
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40f93d
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40fe12
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 0x40f8ec
inc dword [eax + 0xc]
jmp 0x40f8ec
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 0x40f8be
mov ecx, dword [esp + 0x44]
sub eax, dword [ecx + ebx*4]
js 0x40f449
cmp eax, 0x102
jge 0x40f449
mov edx, dword [esp + 0x48]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x40f795
cmp eax, 1
je 0x40f795
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 0x40fa1d
test edx, edx
jle 0x40f481
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x60]
jge 0x40fa0b
mov ebp, dword [esi + 0xc50]
inc eax
movzx di, cl
mov word [ebp + eax*2 - 2], di
dec edx
test edx, edx
jg 0x40f9e3
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jmp 0x40f481
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov edi, 0xfffffffc
jmp 0x4102e4
test edx, edx
jle 0x40f481
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jge 0x40f449
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 0x40fa31
jmp 0x40f481
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ecx
jl 0x40f449
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x40f449
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 0x40fa99
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 0x40faac
mov al, byte [esi + 0x28]
test al, al
je 0x40fd33
lea eax, [esi + 0x848]
mov ecx, 0x101
mov edx, dword [eax - 0x404]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x40fad1
xor eax, eax
test edi, edi
jle 0x40fb5f
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 0x40fb34
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 0x40fb51
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 0x40fae5
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 0x40fbfd
mov dl, byte [edi]
sar ecx, 0x10
and dl, 0xf0
or cl, dl
mov byte [edi], cl
jmp 0x40fc0b
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 0x40fb99
mov ecx, eax
mov al, byte [esi + 0x10]
test al, al
mov dword [esi + 0x38], ecx
mov dword [esi + 0x440], ebp
je 0x40fcd5
lea eax, [esi + 0x444]
mov dword [esi + 0x14], ebp
push eax
push ecx
mov dword [esi + 0x18], ebp
call fcn.0040d220
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 0x40fcb4
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx*4 + 0x41ae68]
inc ecx
cmp ecx, 0x200
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
jne 0x40fcb4
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 0x4102e4
lea eax, [esi + 0x444]
push eax
push ecx
call fcn.0040d220
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 0x4102e4
xor ebp, ebp
xor edx, edx
cmp edi, ebp
mov dword [esp + 0x14], edx
jle 0x40fd7f
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 0x40fd3f
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 0x40fdf0
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 [0x41ae68]
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 0x4102e4
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 0x4102e4
mov dword [esi + 4], 0x2a
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fe71
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40fe20
inc dword [eax + 0xc]
jmp 0x40fe20
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.0x40e170.43
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x2b
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fef1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40fea0
inc dword [eax + 0xc]
jmp 0x40fea0
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.0x40e170.44
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x2c
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ff71
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40ff20
inc dword [eax + 0xc]
jmp 0x40ff20
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.0x40e170.45
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x2d
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40fff1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x40ffa0
inc dword [eax + 0xc]
jmp 0x40ffa0
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.0x40e170.46
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 4], 0x2e
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x410071
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x410020
inc dword [eax + 0xc]
jmp 0x410020
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 0x410099
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x4102e4
mov dword [esi + 0xc5c], 0
mov dword [esi + 4], 0x2f
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x4100fb
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x4100aa
inc dword [eax + 0xc]
jmp 0x4100aa
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 0x41017f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x41012e
inc dword [eax + 0xc]
jmp 0x41012e
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 0x410203
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x4101b2
inc dword [eax + 0xc]
jmp 0x4101b2
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 0x410283
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x4102c1
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 0x410236
inc dword [eax + 0xc]
jmp 0x410236
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 0x4102e4
mov ebx, dword [esp + 0x10]
xor edi, edi
jmp 0x4102e4
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