Function at 0x408a10
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 0x408abe
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.0x408bc0
jmp dword [eax*4 + 0x40aec0]
mov dword [esi + 4], 0xa
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408c1f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408bce
inc dword [eax + 0xc]
jmp 0x408bce
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.0x408bc0.11
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x40adc7
mov dword [esi + 4], 0xb
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408c9f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408c4e
inc dword [eax + 0xc]
jmp 0x408c4e
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.0x408bc0.12
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x40adc7
mov dword [esi + 4], 0xc
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408d1f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408cce
inc dword [eax + 0xc]
jmp 0x408cce
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.0x408bc0.13
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x40adc7
mov dword [esi + 4], 0xd
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408d9f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408d4e
inc dword [eax + 0xc]
jmp 0x408d4e
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 0x408c39
cmp eax, 0x39
jg 0x408c39
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 0x408e30
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 0x408e4b
jmp 0x408e47
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.0x408bc0.14
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffd
jmp 0x40adc7
mov dword [esi + 4], 0xe
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408eb1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408e60
inc dword [eax + 0xc]
jmp 0x408e60
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.0x408bc0.42
cmp al, 0x31
je case.0x408bc0.15
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0xf
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408f39
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408ee8
inc dword [eax + 0xc]
jmp 0x408ee8
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.0x408bc0.16
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x10
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x408fb9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408f68
inc dword [eax + 0xc]
jmp 0x408f68
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.0x408bc0.17
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x11
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x409039
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x408fe8
inc dword [eax + 0xc]
jmp 0x408fe8
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.0x408bc0.18
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x12
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x4090b9
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x409068
inc dword [eax + 0xc]
jmp 0x409068
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.0x408bc0.19
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x13
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x409139
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x4090e8
inc dword [eax + 0xc]
jmp 0x4090e8
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 0x409161
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
inc edx
cmp ecx, 2
mov dword [esi + 0x2c], edx
mov eax, edx
jl 0x40918a
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push str._n______d:_huffmtf
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov dword [esi + 0xc58], 0
mov dword [esi + 4], 0x14
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x4091ec
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40919b
inc dword [eax + 0xc]
jmp 0x40919b
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 0x409270
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40921f
inc dword [eax + 0xc]
jmp 0x40921f
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 0x4092f4
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x4092a3
inc dword [eax + 0xc]
jmp 0x4092a3
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 0x409378
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x409327
inc dword [eax + 0xc]
jmp 0x409327
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 0x4093fc
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x4093ab
inc dword [eax + 0xc]
jmp 0x4093ab
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 0x409470
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40941f
inc dword [eax + 0xc]
jmp 0x40941f
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 0x4094ee
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40949d
inc dword [eax + 0xc]
jmp 0x40949d
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 0x40956a
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40ada4
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 0x40951d
inc dword [eax + 0xc]
jmp 0x40951d
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 0x4095a2
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
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 0x4095cc
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esp + 0x14], ebp
jmp 0x40965f
mov dword [esi + 4], 0x1c
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40962b
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40ada4
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 0x4095de
inc dword [eax + 0xc]
jmp 0x4095de
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 0x40964f
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0xd6c], 1
jmp 0x40965b
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.0x408bc0.28
lea edi, [esi + 0xc6c]
mov ecx, 0x40
xor eax, eax
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
jmp 0x409725
mov dword [esi + 4], 0x1d
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x4096de
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40ada4
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 0x409691
inc dword [eax + 0xc]
jmp 0x409691
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 0x409709
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.0x408bc0.29
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, edx
jge 0x40973e
mov cl, byte [eax + esi + 0xd6c]
test cl, cl
je 0x409721
mov dword [esp + 0x1c], ebp
jmp 0x409717
push esi
call fcn.0040af70
mov eax, dword [esi + 0xc68]
add esp, 4
cmp eax, ebp
jne 0x40975f
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [esi + 4], 0x1e
mov ecx, dword [esi + 0x20]
cmp ecx, 3
jge 0x4097be
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40976d
inc dword [eax + 0xc]
jmp 0x40976d
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 0x4097e0
cmp eax, 6
jle case.0x408bc0.31
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x1f
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jge 0x409844
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40ada4
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 0x4097f7
inc dword [eax + 0xc]
jmp 0x4097f7
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 0x409873
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esp + 0x14], ebp
jmp 0x40991f
mov dword [esi + 4], 0x20
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x4098d2
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40ada4
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 0x409885
inc dword [eax + 0xc]
jmp 0x409885
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 0x409907
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl case.0x408bc0.32
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
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 0x40992e
mov dword [esp + 0x1c], ebp
jmp case.0x408bc0.32
mov edx, dword [esp + 0x5c]
xor cl, cl
cmp edx, ebp
jle 0x409951
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 0x40993a
cmp edi, ebp
mov dword [esp + 0x14], ebp
jle 0x4099a4
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 0x40998c
mov edi, eax
mov al, byte [ecx - 1]
mov byte [ecx], al
dec ecx
dec edi
jne 0x409983
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 0x40995d
mov dword [esp + 0x2c], 0
jmp 0x409ae9
mov dword [esi + 4], 0x23
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x409a09
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x4099b8
inc dword [eax + 0xc]
jmp 0x4099b8
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 0x409a26
inc eax
jmp 0x409a27
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jl 0x40ab6e
cmp eax, 0x14
jg 0x40ab6e
mov dword [esi + 4], 0x22
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x409a99
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x409a48
inc dword [eax + 0xc]
jmp 0x409a48
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.0x408bc0.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 0x409a2b
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x409b72
mov dword [esi + 4], 0x21
mov ecx, dword [esi + 0x20]
cmp ecx, 5
jge 0x409b4d
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x409afc
inc dword [eax + 0xc]
jmp 0x409afc
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 0x409ad5
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x409c11
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 0x409bcb
xor eax, eax
mov al, byte [ebx + edx]
cmp eax, ecx
jle 0x409bbc
mov ecx, eax
cmp eax, ebp
jge 0x409bc2
mov ebp, eax
mov eax, dword [esp + 0x4c]
inc edx
cmp edx, eax
jl 0x409bb1
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.0040ce30
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 0x409ba0
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 0x409c6b
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 0x409c63
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x50], ebp
jg 0x409cad
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
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 0x409d52
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a8f5
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 0x409d02
inc dword [eax + 0xc]
jmp 0x409d02
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 0x409df7
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x25
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x409dd2
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a8f5
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 0x409d81
inc dword [eax + 0xc]
jmp 0x409d81
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 0x409e06
mov edi, 0xfffffffc
jmp 0x40adc7
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x409e19
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x409d7a
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x409e2d
cmp eax, 0x102
jl 0x409ef0
mov edi, 0xfffffffc
jmp 0x40adc7
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x29
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x409e93
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a8f5
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 0x409e42
inc dword [eax + 0xc]
jmp 0x409e42
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 0x409ec5
mov edi, 0xfffffffc
jmp 0x40adc7
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x409ed8
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x409e3b
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40a607
cmp eax, 0x102
jge 0x40a607
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 0x40a4d0
test ecx, ecx
je 0x40a1ff
cmp ecx, 1
je 0x40a1ff
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
cmp edx, eax
jl 0x409f32
mov edi, 0xfffffffc
jmp 0x40adc7
dec ecx
cmp ecx, 0x10
jae 0x409fee
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 0x409fc9
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 0x409f9a
mov edi, dword [esp + 0x7c]
test ecx, ecx
jbe 0x409fde
lea eax, [edi + esi + 0xe7c]
mov dl, byte [ecx + eax - 1]
mov byte [ecx + eax], dl
dec ecx
jne 0x409fd4
mov al, byte [esp + 0x28]
mov byte [edi + esi + 0xe7c], al
jmp 0x40a0ad
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 0x40a02a
mov al, byte [ecx + esi + 0xe7b]
mov byte [ecx + esi + 0xe7c], al
mov eax, dword [edi]
dec ecx
cmp ecx, eax
jg 0x40a015
mov ecx, dword [edi]
inc ecx
test edx, edx
mov dword [edi], ecx
jle 0x40a055
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 0x40a037
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 0x40a0ad
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 0x40a08a
lea edx, [eax + 1]
mov dword [ecx], edx
sub ecx, 4
dec ebp
jne 0x40a085
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 0x40a0ec
movzx dx, byte [eax]
mov eax, dword [esi + 0xc50]
mov ecx, dword [esp + 0x18]
mov word [eax + ecx*2], dx
jmp 0x40a0fd
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 0x40a173
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40a12d
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
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 0x40a1db
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a8f5
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 0x40a18b
inc dword [eax + 0xc]
jmp 0x40a18b
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 0x409eb6
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40a227
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40a23b
cmp eax, 1
jne 0x40a23b
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 0x40a2af
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40a269
mov edi, 0xfffffffc
jmp 0x40adc7
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 0x40a2c2
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x26
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40a319
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a8f5
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 0x40a2c9
inc dword [eax + 0xc]
jmp 0x40a2c9
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 0x40a347
mov edi, 0xfffffffc
jmp 0x40adc7
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40a3e1
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40a35f
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x27
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40a3b7
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a8f5
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 0x40a366
inc dword [eax + 0xc]
jmp 0x40a366
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 0x40a338
mov ecx, dword [esp + 0x44]
sub eax, dword [ecx + ebx*4]
js 0x40a607
cmp eax, 0x102
jge 0x40a607
mov edx, dword [esp + 0x48]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x40a20f
cmp eax, 1
je 0x40a20f
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 0x40a497
test edx, edx
jle 0x409efb
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x60]
jge 0x40a485
mov ebp, dword [esi + 0xc50]
inc eax
movzx di, cl
mov word [ebp + eax*2 - 2], di
dec edx
test edx, edx
jg 0x40a45d
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jmp 0x409efb
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov edi, 0xfffffffc
jmp 0x40adc7
test edx, edx
jle 0x409efb
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp ecx, edi
jge 0x40a607
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 0x40a4ab
jmp 0x409efb
mov eax, dword [esi + 0x34]
test eax, eax
jl 0x40a607
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x40a607
lea eax, [esi + 0x448]
mov dword [esi + 0x444], 0
mov ecx, eax
mov edx, 0x100
mov ebp, dword [ecx - 0x408]
mov dword [ecx], ebp
add ecx, 4
dec edx
jne 0x40a4fe
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 0x40a511
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [esi + 0x444]
mov edx, dword [ecx]
cmp edx, ebp
jl 0x40a603
cmp edx, edi
jg 0x40a603
inc eax
add ecx, 4
cmp eax, 0x100
jle 0x40a52e
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], eax
mov eax, 2
mov dword [esi + 0xc], ebp
cmp ecx, eax
mov byte [esi + 8], 0
mov dword [esi + 0xc60], 0xffffffff
mov dword [esi + 4], eax
jl 0x40a586
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.rtrld
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
mov al, byte [esi + 0x28]
test al, al
je 0x40a818
lea eax, [esi + 0x848]
mov ecx, 0x101
mov edx, dword [eax - 0x404]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x40a59c
xor eax, eax
cmp edi, ebp
jle 0x40a640
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 0x40a611
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 0x40a62e
mov dword [esp + 0x14], eax
mov edi, 0xfffffffc
jmp 0x40adc7
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 0x40a5b4
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 0x40a6de
mov dl, byte [edi]
sar ecx, 0x10
and dl, 0xf0
or cl, dl
mov byte [edi], cl
jmp 0x40a6ec
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 0x40a67a
mov ecx, eax
mov al, byte [esi + 0x10]
test al, al
mov dword [esi + 0x38], ecx
mov dword [esi + 0x440], ebp
je 0x40a7b8
lea eax, [esi + 0x444]
mov dword [esi + 0x14], ebp
push eax
push ecx
mov dword [esi + 0x18], ebp
call fcn.00404930
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 0x40a795
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx*4 + 0x411ba0]
inc ecx
cmp ecx, 0x200
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
jne 0x40a795
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 ebp, ebp
mov dword [esi + 0x3c], edx
xor edi, edi
jmp 0x40adc7
lea eax, [esi + 0x444]
push eax
push ecx
call fcn.00404930
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
xor ebp, ebp
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 0x40adc7
xor edx, edx
cmp edi, ebp
mov dword [esp + 0x14], edx
jle 0x40a862
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 0x40a822
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 0x40a8d3
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 [0x411ba0]
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 0x40adc7
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 0x40adc7
mov dword [esi + 4], 0x2a
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40a954
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40a903
inc dword [eax + 0xc]
jmp 0x40a903
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.0x408bc0.43
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x2b
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40a9d4
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40a983
inc dword [eax + 0xc]
jmp 0x40a983
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.0x408bc0.44
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x2c
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40aa54
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40aa03
inc dword [eax + 0xc]
jmp 0x40aa03
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.0x408bc0.45
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x2d
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40aad4
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40aa83
inc dword [eax + 0xc]
jmp 0x40aa83
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.0x408bc0.46
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 4], 0x2e
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ab54
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40ab03
inc dword [eax + 0xc]
jmp 0x40ab03
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 0x40ab7c
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40adc7
mov dword [esi + 0xc5c], 0
mov dword [esi + 4], 0x2f
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40abde
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40ab8d
inc dword [eax + 0xc]
jmp 0x40ab8d
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 0x40ac62
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40ac11
inc dword [eax + 0xc]
jmp 0x40ac11
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 0x40ace6
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40ac95
inc dword [eax + 0xc]
jmp 0x40ac95
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 0x40ad66
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40ada4
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 0x40ad19
inc dword [eax + 0xc]
jmp 0x40ad19
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 0x40adc7
mov ebx, dword [esp + 0x10]
xor edi, edi
jmp 0x40adc7
push 0xfa1
call fcn.00403eb0
push 0xfa2
call fcn.00403eb0
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