Function at 0x40d070
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 0x40d11e
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.0x40d220
jmp dword [eax*4 + 0x40f490]
mov dword [esi + 4], 0xa
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d27f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d22e
inc dword [eax + 0xc]
jmp 0x40d22e
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.0x40d220.11
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x40f394
mov dword [esi + 4], 0xb
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d2ff
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d2ae
inc dword [eax + 0xc]
jmp 0x40d2ae
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.0x40d220.12
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x40f394
mov dword [esi + 4], 0xc
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d37f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d32e
inc dword [eax + 0xc]
jmp 0x40d32e
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.0x40d220.13
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffb
jmp 0x40f394
mov dword [esi + 4], 0xd
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d3ff
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d3ae
inc dword [eax + 0xc]
jmp 0x40d3ae
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 0x40d299
cmp eax, 0x39
jg 0x40d299
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 0x40d490
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 0x40d4ab
jmp 0x40d4a7
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.0x40d220.14
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffd
jmp 0x40f394
mov dword [esi + 4], 0xe
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d511
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d4c0
inc dword [eax + 0xc]
jmp 0x40d4c0
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.0x40d220.42
cmp al, 0x31
je case.0x40d220.15
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0xf
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d599
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d548
inc dword [eax + 0xc]
jmp 0x40d548
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.0x40d220.16
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x10
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d619
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d5c8
inc dword [eax + 0xc]
jmp 0x40d5c8
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.0x40d220.17
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x11
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d699
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d648
inc dword [eax + 0xc]
jmp 0x40d648
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.0x40d220.18
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x12
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d719
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d6c8
inc dword [eax + 0xc]
jmp 0x40d6c8
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.0x40d220.19
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x13
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40d799
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d748
inc dword [eax + 0xc]
jmp 0x40d748
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 0x40d7c1
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
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 0x40d82a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d7d9
inc dword [eax + 0xc]
jmp 0x40d7d9
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 0x40d8ae
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d85d
inc dword [eax + 0xc]
jmp 0x40d85d
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 0x40d932
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d8e1
inc dword [eax + 0xc]
jmp 0x40d8e1
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 0x40d9b6
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d965
inc dword [eax + 0xc]
jmp 0x40d965
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 0x40da3a
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40d9e9
inc dword [eax + 0xc]
jmp 0x40d9e9
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 0x40daae
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40da5d
inc dword [eax + 0xc]
jmp 0x40da5d
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 0x40db2c
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40dadb
inc dword [eax + 0xc]
jmp 0x40dadb
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 0x40dba8
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40f371
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 0x40db5b
inc dword [eax + 0xc]
jmp 0x40db5b
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 0x40dbe0
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
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 0x40dc0a
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esp + 0x14], ebp
jmp 0x40dc9d
mov dword [esi + 4], 0x1c
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40dc69
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40f371
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 0x40dc1c
inc dword [eax + 0xc]
jmp 0x40dc1c
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 0x40dc8d
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0xd6c], 1
jmp 0x40dc99
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.0x40d220.28
lea edi, [esi + 0xc6c]
mov ecx, 0x40
xor eax, eax
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
jmp 0x40dd63
mov dword [esi + 4], 0x1d
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40dd1c
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40f371
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 0x40dccf
inc dword [eax + 0xc]
jmp 0x40dccf
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 0x40dd47
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.0x40d220.29
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, edx
jge 0x40dd7c
mov cl, byte [eax + esi + 0xd6c]
test cl, cl
je 0x40dd5f
mov dword [esp + 0x1c], ebp
jmp 0x40dd55
push esi
call fcn.0040f540
mov eax, dword [esi + 0xc68]
add esp, 4
cmp eax, ebp
jne 0x40dd9d
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [esi + 4], 0x1e
mov ecx, dword [esi + 0x20]
cmp ecx, 3
jge 0x40ddfc
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40ddab
inc dword [eax + 0xc]
jmp 0x40ddab
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 0x40de1e
cmp eax, 6
jle case.0x40d220.31
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x1f
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jge 0x40de82
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40f371
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 0x40de35
inc dword [eax + 0xc]
jmp 0x40de35
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 0x40deb1
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esp + 0x14], ebp
jmp 0x40df5d
mov dword [esi + 4], 0x20
xor ebp, ebp
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40df10
mov eax, dword [esi]
cmp dword [eax + 4], ebp
je 0x40f371
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 0x40dec3
inc dword [eax + 0xc]
jmp 0x40dec3
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 0x40df45
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl case.0x40d220.32
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
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 0x40df6c
mov dword [esp + 0x1c], ebp
jmp case.0x40d220.32
mov edx, dword [esp + 0x5c]
xor cl, cl
cmp edx, ebp
jle 0x40df8f
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 0x40df78
cmp edi, ebp
mov dword [esp + 0x14], ebp
jle 0x40dfe2
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 0x40dfca
mov edi, eax
mov al, byte [ecx - 1]
mov byte [ecx], al
dec ecx
dec edi
jne 0x40dfc1
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 0x40df9b
mov dword [esp + 0x2c], 0
jmp 0x40e127
mov dword [esi + 4], 0x23
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40e047
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40dff6
inc dword [eax + 0xc]
jmp 0x40dff6
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 0x40e064
inc eax
jmp 0x40e065
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jl 0x40f13b
cmp eax, 0x14
jg 0x40f13b
mov dword [esi + 4], 0x22
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40e0d7
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40e086
inc dword [eax + 0xc]
jmp 0x40e086
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.0x40d220.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 0x40e069
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x40e1b0
mov dword [esi + 4], 0x21
mov ecx, dword [esi + 0x20]
cmp ecx, 5
jge 0x40e18b
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40e13a
inc dword [eax + 0xc]
jmp 0x40e13a
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 0x40e113
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x40e24f
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 0x40e209
xor eax, eax
mov al, byte [ebx + edx]
cmp eax, ecx
jle 0x40e1fa
mov ecx, eax
cmp eax, ebp
jge 0x40e200
mov ebp, eax
mov eax, dword [esp + 0x4c]
inc edx
cmp edx, eax
jl 0x40e1ef
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.0040f580
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 0x40e1de
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, pe_nt_image_headers32
mov edx, 0xf
lea eax, [eax + eax*4]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], pe_nt_image_headers32
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 0x40e2a9
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 0x40e2a1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x50], ebp
jg 0x40e2eb
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
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 0x40e390
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40eec2
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 0x40e340
inc dword [eax + 0xc]
jmp 0x40e340
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 0x40e435
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x25
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40e410
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40eec2
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 0x40e3bf
inc dword [eax + 0xc]
jmp 0x40e3bf
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 0x40e444
mov edi, 0xfffffffc
jmp 0x40f394
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40e457
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40e3b8
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40e46b
cmp eax, 0x102
jl 0x40e526
mov edi, 0xfffffffc
jmp 0x40f394
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x29
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40e4d1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40eec2
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 0x40e480
inc dword [eax + 0xc]
jmp 0x40e480
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 0x40e503
mov edi, 0xfffffffc
jmp 0x40f394
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40e516
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40e479
mov edx, dword [esp + 0x44]
sub eax, dword [edx + ebx*4]
js 0x40e4f9
cmp eax, 0x102
jge 0x40e4f9
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 0x40eb06
test ecx, ecx
je 0x40e835
cmp ecx, 1
je 0x40e835
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
cmp edx, eax
jl 0x40e568
mov edi, 0xfffffffc
jmp 0x40f394
dec ecx
cmp ecx, 0x10
jae 0x40e624
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 0x40e5ff
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 0x40e5d0
mov edi, dword [esp + 0x7c]
test ecx, ecx
jbe 0x40e614
lea eax, [edi + esi + 0xe7c]
mov dl, byte [ecx + eax - 1]
mov byte [ecx + eax], dl
dec ecx
jne 0x40e60a
mov al, byte [esp + 0x28]
mov byte [edi + esi + 0xe7c], al
jmp 0x40e6e3
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 0x40e660
mov al, byte [ecx + esi + 0xe7b]
mov byte [ecx + esi + 0xe7c], al
mov eax, dword [edi]
dec ecx
cmp ecx, eax
jg 0x40e64b
mov ecx, dword [edi]
inc ecx
test edx, edx
mov dword [edi], ecx
jle 0x40e68b
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 0x40e66d
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 0x40e6e3
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 0x40e6c0
lea edx, [eax + 1]
mov dword [ecx], edx
sub ecx, 4
dec ebp
jne 0x40e6bb
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 0x40e722
movzx dx, byte [eax]
mov eax, dword [esi + 0xc50]
mov ecx, dword [esp + 0x18]
mov word [eax + ecx*2], dx
jmp 0x40e733
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 0x40e7a9
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40e763
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
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 0x40e811
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40eec2
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 0x40e7c1
inc dword [eax + 0xc]
jmp 0x40e7c1
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 0x40e4f4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40e85d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40e871
cmp eax, 1
jne 0x40e871
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 0x40e8e5
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40e89f
mov edi, 0xfffffffc
jmp 0x40f394
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 0x40e8f8
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x26
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jge 0x40e94f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40eec2
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 0x40e8ff
inc dword [eax + 0xc]
jmp 0x40e8ff
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 0x40e97d
mov edi, 0xfffffffc
jmp 0x40f394
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + ebx*4]
jle 0x40ea17
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40e995
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], 0x27
mov ecx, dword [esi + 0x20]
cmp ecx, 1
jge 0x40e9ed
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40eec2
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 0x40e99c
inc dword [eax + 0xc]
jmp 0x40e99c
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 0x40e96e
mov ecx, dword [esp + 0x44]
sub eax, dword [ecx + ebx*4]
js 0x40e4f9
cmp eax, 0x102
jge 0x40e4f9
mov edx, dword [esp + 0x48]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x40e845
cmp eax, 1
je 0x40e845
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 0x40eacd
test edx, edx
jle 0x40e531
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x60]
jge 0x40eabb
mov ebp, dword [esi + 0xc50]
inc eax
movzx di, cl
mov word [ebp + eax*2 - 2], di
dec edx
test edx, edx
jg 0x40ea93
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jmp 0x40e531
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov edi, 0xfffffffc
jmp 0x40f394
test edx, edx
jle 0x40e531
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jge 0x40e4f9
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 0x40eae1
jmp 0x40e531
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ecx
jl 0x40e4f9
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x40e4f9
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, pe_nt_image_headers32
mov ebp, dword [ecx - 0x408]
mov dword [ecx], ebp
add ecx, 4
dec edx
jne 0x40eb49
mov ecx, pe_nt_image_headers32
mov edx, dword [eax - 4]
mov ebp, dword [eax]
add ebp, edx
mov dword [eax], ebp
add eax, 4
dec ecx
jne 0x40eb5c
mov al, byte [esi + 0x28]
test al, al
je 0x40ede3
lea eax, [esi + 0x848]
mov ecx, 0x101
mov edx, dword [eax - 0x404]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x40eb81
xor eax, eax
test edi, edi
jle 0x40ec0f
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 0x40ebe4
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 0x40ec01
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 0x40eb95
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 0x40ecad
mov dl, byte [edi]
sar ecx, 0x10
and dl, 0xf0
or cl, dl
mov byte [edi], cl
jmp 0x40ecbb
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 0x40ec49
mov ecx, eax
mov al, byte [esi + 0x10]
test al, al
mov dword [esi + 0x38], ecx
mov dword [esi + 0x440], ebp
je 0x40ed85
lea eax, [esi + 0x444]
mov dword [esi + 0x14], ebp
push eax
push ecx
mov dword [esi + 0x18], ebp
call fcn.0040c2d0
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 0x40ed64
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx*4 + 0x419c6c]
inc ecx
cmp ecx, 0x200
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
jne 0x40ed64
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 0x40f394
lea eax, [esi + 0x444]
push eax
push ecx
call fcn.0040c2d0
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 0x40f394
xor ebp, ebp
xor edx, edx
cmp edi, ebp
mov dword [esp + 0x14], edx
jle 0x40ee2f
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 0x40edef
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 0x40eea0
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 [0x419c6c]
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 0x40f394
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 0x40f394
mov dword [esi + 4], 0x2a
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40ef21
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40eed0
inc dword [eax + 0xc]
jmp 0x40eed0
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.0x40d220.43
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x2b
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40efa1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40ef50
inc dword [eax + 0xc]
jmp 0x40ef50
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.0x40d220.44
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x2c
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40f021
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40efd0
inc dword [eax + 0xc]
jmp 0x40efd0
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.0x40d220.45
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x2d
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40f0a1
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40f050
inc dword [eax + 0xc]
jmp 0x40f050
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.0x40d220.46
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 4], 0x2e
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40f121
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40f0d0
inc dword [eax + 0xc]
jmp 0x40f0d0
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 0x40f149
mov ebx, dword [esp + 0x10]
mov edi, 0xfffffffc
jmp 0x40f394
mov dword [esi + 0xc5c], 0
mov dword [esi + 4], 0x2f
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jge 0x40f1ab
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40f15a
inc dword [eax + 0xc]
jmp 0x40f15a
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 0x40f22f
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40f1de
inc dword [eax + 0xc]
jmp 0x40f1de
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 0x40f2b3
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40f262
inc dword [eax + 0xc]
jmp 0x40f262
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 0x40f333
mov eax, dword [esi]
mov edx, dword [eax + 4]
test edx, edx
je 0x40f371
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 0x40f2e6
inc dword [eax + 0xc]
jmp 0x40f2e6
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 0x40f394
mov ebx, dword [esp + 0x10]
xor edi, edi
jmp 0x40f394
push 0xfa1
call fcn.004036b0
push 0xfa2
call fcn.004036b0
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