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

Disassembly:
mov eax, dword [0x21af7b0]
mov ecx, dword [0x21af7ac]
sub esp, 0x48
inc eax
cmp eax, ecx
mov dword [0x21af7b0], eax
push ebx
push ebp
push esi
push edi
jg 0x4058b4
mov cl, byte [0x21af790]
test cl, cl
jne 0x4058b4
mov ecx, eax
mov esi, dword [0x21af79c]
shl ecx, 5
add ecx, eax
lea ecx, [eax + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [edx*4 + 0x465c40]
mov dword [esp + 0x24], ecx
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
mov eax, dword [0x416034]
cdq
lea ebp, [ecx + ecx*4]
mov ecx, dword [0x21af798]
shl ebp, 6
add ebp, 0x41c540
add ecx, 1
adc esi, 0
push edx
push eax
push esi
push ecx
mov dword [esp + 0x20], ebp
mov dword [0x21af798], ecx
mov dword [0x21af79c], esi
call fcn.0040b1d0
mov ebx, dword [esp + 0x5c]
or eax, edx
jne 0x403e7c
push ebx
call fcn.00409170
add esp, 4
lea edx, [ebx + ebx*4]
lea esi, [ebp + 0xd4]
mov ecx, 1
lea edi, [ebx + edx*4]
mov dword [esi], ebx
shl edi, 6
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp dword [edx*4 + 0x1d282d8], ecx
jl 0x403ef9
lea edx, [eax + eax*4]
add eax, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
mov eax, dword [edx*4 + 0x1d282dc]
cmp ebx, eax
je 0x403edd
mov edx, dword [esp + 0x18]
mov dword [esi + 4], eax
inc edx
add esi, 4
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x11861d0]
inc ecx
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp ecx, dword [edx*4 + 0x1d282d8]
jle 0x403eb5
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x404883
mov edx, dword [0x21af7b0]
mov ecx, 0x14f
mov esi, edx
xor eax, eax
shl esi, 5
add esi, edx
lea edx, [edx + esi*2]
lea edx, [edx + edx*4]
lea edi, [edx*4 + 0x465c40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
mov ecx, 0x34
mov edi, ebp
lea esi, [eax + 0x11863c8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x8a0]
mov ecx, 0xd0
mov edi, esi
mov dword [esp + 0x40], esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
cmp eax, 1
mov dword [esp + 0x50], ecx
mov byte [esp + 0x54], cl
jl 0x40401a
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], eax
lea ebp, [edx + 0xd4]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ebp]
cmp ecx, eax
je 0x403fef
mov al, byte [0x416030]
mov edx, 1
cmp al, dl
jb 0x403fef
mov cl, byte [0x416031]
mov edi, 0x1a
mov eax, 1
cmp cl, al
jb 0x403fd9
mov ecx, dword [esp + 0x10]
lea esi, [edi + ecx]
mov ecx, dword [ebp]
lea ebx, [ecx + ecx*4]
lea ecx, [ecx + ebx*4]
mov bl, byte [esi + eax]
shl ecx, 6
add ecx, edi
mov cl, byte [ecx + eax + 0x11863c8]
or bl, cl
mov byte [esi + eax], bl
mov cl, byte [0x416031]
xor ebx, ebx
inc eax
mov bl, cl
cmp eax, ebx
jle 0x403fad
mov eax, dword [0x416030]
inc edx
and eax, 0xff
add edi, 0x1a
cmp edx, eax
jle 0x403f9d
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x50]
push esi
push ecx
push edx
push eax
call fcn.00406670
mov eax, dword [esp + 0x78]
add esp, 0x14
add ebp, 4
dec eax
mov dword [esp + 0x64], eax
jne 0x403f79
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + 0x11861d4], 1
jbe 0x4040d7
mov al, byte [0x416030]
mov ebp, dword [esp + 0x10]
cmp al, 1
mov dword [esp + 0x1c], 1
jb 0x4040db
lea edi, [ebp + 0x1a]
xor ecx, ecx
mov eax, 1
mov cl, byte [0x416031]
cmp ecx, eax
jl 0x4040b5
cmp byte [edi + eax], 0
jne 0x4040a8
xor edx, edx
mov dl, byte [ebx + 0x11861d4]
lea edx, [edx + eax - 1]
cmp edx, ecx
jle 0x404087
cmp eax, ecx
mov esi, eax
jg 0x4040a8
xor ecx, ecx
mov byte [edi + esi], 1
mov cl, byte [0x416031]
inc esi
cmp esi, ecx
jle 0x404074
jmp 0x4040a8
cmp eax, edx
mov dword [0x21af6b4], edx
mov ecx, eax
jg 0x4040a8
cmp byte [edi + ecx], 1
jne 0x4040a3
mov byte [edi + eax], 1
mov edx, dword [0x21af6b4]
inc ecx
cmp ecx, edx
jle 0x404093
xor ecx, ecx
inc eax
mov cl, byte [0x416031]
cmp eax, ecx
jle 0x404058
mov eax, dword [esp + 0x1c]
mov edx, dword [0x416030]
inc eax
and edx, 0xff
add edi, 0x1a
cmp eax, edx
mov dword [esp + 0x1c], eax
jle 0x404047
jmp 0x4040db
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jl 0x40412a
lea esi, [ebp + 0xd4]
mov edi, ebx
mov eax, dword [esi]
push 0
push ebp
push eax
call fcn.00406ed0
mov ecx, dword [esi]
push 0
push ebp
push ecx
call fcn.004096f0
add esp, 0x18
add esi, 4
dec edi
jne 0x4040ec
cmp ebx, 1
jl 0x40412a
lea esi, [ebp + 0xd4]
mov edi, ebx
mov edx, dword [esi]
push ebp
push edx
call fcn.00407190
add esp, 8
add esi, 4
dec edi
jne 0x404118
mov ecx, dword [0x416030]
xor edi, edi
and ecx, 0xff
mov dword [esp + 0x34], edi
cmp ecx, 1
jl 0x4058af
xor eax, eax
lea edx, [ebp + 0x1a]
mov al, byte [0x416031]
mov esi, ecx
mov ecx, 1
cmp eax, ecx
jl 0x404166
cmp byte [edx + ecx], 0
jne 0x404161
inc edi
inc ecx
cmp ecx, eax
jle 0x40415a
add edx, 0x1a
dec esi
jne 0x404151
test edi, edi
mov dword [esp + 0x34], edi
je 0x4058af
mov ecx, dword [esp + 0x24]
mov edx, 1
mov ebx, 0x99
add ecx, 0x268
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], ecx
mov ebp, 1
cmp eax, ebp
jl 0x4043dd
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
lea esi, [eax + 0x90c]
lea eax, [eax + ebx - 0x7f]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
cmp byte [ecx + ebp], 0
jne 0x4043b4
mov cl, byte [esp + edx + 0x4b]
lea eax, [esp + edx + 0x4d]
test cl, cl
jne 0x4041f6
cmp byte [eax], 0
jne 0x4041f6
mov eax, dword [esp + 0x24]
lea edx, [ebx + ebp]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax], ecx
mov cl, byte [esi + 0x11861d4]
cmp cl, 1
jbe 0x404223
mov eax, ebp
and ecx, 0xff
cdq
idiv ecx
cmp edx, 1
jne 0x404223
mov edx, dword [esp + 0x24]
lea ecx, [ebx + ebp]
lea eax, [edx + ecx*4]
mov ecx, dword [edx + ecx*4]
add ecx, 7
mov dword [eax], ecx
mov eax, dword [0x416030]
mov dword [esp + 0x30], 1
and eax, 0xff
cmp eax, 1
mov dword [esp + 0x28], eax
jl 0x4042b7
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov cl, byte [esi + 0x11861d4]
mov dword [esp + 0x3c], edx
lea edi, [ecx + ebp - 1]
cmp ebp, edi
mov esi, ebp
jg 0x40429f
mov eax, dword [edx]
test eax, eax
jle 0x40428f
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + ecx*4 + 0xd0]
lea ebx, [ecx + ecx*4]
lea ecx, [ecx + ebx*4]
lea ebx, [eax + eax*4]
shl ecx, 6
lea eax, [eax + ebx*4]
mov ebx, dword [ecx + 0x11861cc]
shl eax, 6
mov eax, dword [eax + 0x11861cc]
cmp eax, ebx
je 0x4042c8
inc esi
add edx, 4
cmp esi, edi
jle 0x404258
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
inc ecx
add edx, 0x68
cmp ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edx
jle 0x404252
mov ecx, dword [esp + 0x24]
add ebx, ebp
lea eax, [ecx + ebx*4]
mov ecx, dword [ecx + ebx*4]
add ecx, 3
mov dword [eax], ecx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], 1
cmp byte [esi + 0x11861e0], 1
jb 0x4043ac
lea edx, [esi + 0x11861ec]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov edi, 1
mov eax, dword [eax]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*8]
shl edx, 2
cmp byte [edx + 0x19b309b], 1
jb 0x404388
lea esi, [edx + 0x19b30a4]
mov eax, dword [esi]
mov cl, byte [eax*2 + 0x4a7fe8]
test cl, 1
je 0x404374
mov ebx, dword [esp + 0x1c]
shr ecx, 2
and ecx, 0xf
cmp ecx, ebx
jne 0x404374
lea ebx, [eax + eax*4]
lea ecx, [eax*2 + 0x4a7fe9]
lea eax, [eax + ebx*4]
xor ebx, ebx
shl eax, 6
mov bl, byte [eax + 0x11861d4]
mov al, byte [ecx]
and eax, 0x1f
add ebx, eax
cmp ebx, ebp
jne 0x404357
mov eax, dword [esp + 0x64]
inc dword [eax]
mov ebx, dword [esp + 0x2c]
mov cl, byte [ecx]
xor eax, eax
and ecx, 0x1f
mov al, byte [ebx + 0x11861d4]
add eax, ebp
cmp eax, ecx
jne 0x404374
mov eax, dword [esp + 0x64]
inc dword [eax]
xor eax, eax
inc edi
mov al, byte [edx + 0x19b309b]
add esi, 4
cmp edi, eax
jle 0x404312
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
xor ecx, ecx
inc eax
mov cl, byte [esi + 0x11861e0]
add edi, 4
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
jle 0x4042eb
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
mov eax, 4
inc ebp
add ecx, eax
add edi, eax
xor eax, eax
mov dword [esp + 0x20], ecx
mov al, byte [0x416031]
mov dword [esp + 0x64], edi
cmp ebp, eax
jle 0x4041c7
mov esi, dword [0x416030]
mov ecx, dword [esp + 0x40]
inc edx
and esi, 0xff
add ecx, 0x68
add ebx, 0x1a
cmp edx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ebx
jle 0x40419c
cmp dword [esp + 0x18], 1
jl 0x4044a3
mov edx, dword [esp + 0x10]
lea eax, [edx + 0xd4]
mov ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [ebx]
mov ebp, 1
lea ecx, [eax + eax*4]
lea esi, [eax + ecx*4]
shl esi, 6
cmp byte [esi + 0x11861e0], 1
jb 0x404495
lea edi, [esi + 0x11861ec]
mov ecx, dword [edi]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [ecx + edx*8]
mov al, byte [eax*4 + 0x19b309c]
test al, al
jbe 0x404485
and eax, 0xff
imul eax, eax, 0x7d8
cmp dword [eax + 0x1cad9e4], 2
jne 0x404485
mov edx, dword [esp + 0x24]
add edx, 0x1fc
push edx
push ecx
call fcn.00403c50
add esp, 8
xor eax, eax
inc ebp
mov al, byte [esi + 0x11861e0]
add edi, 4
cmp ebp, eax
jle 0x404446
mov eax, dword [esp + 0x64]
add ebx, 4
dec eax
mov dword [esp + 0x64], eax
jne 0x404427
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x11861d8]
mov dword [0x46c5c4], eax
lea ecx, [eax + eax*4]
shl ecx, 5
add ecx, eax
mov ebp, dword [ecx*8 + 0x1b7260c]
test ebp, ebp
je 0x4045c4
mov ecx, 8
xor eax, eax
mov edi, 0x46c5e8
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x11861dc]
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 6
mov ecx, dword [eax + 0x1b08788]
cmp ecx, 1
jl 0x404556
lea esi, [eax + 0x1b088cc]
mov edi, ecx
mov ecx, dword [esi]
mov al, byte [ecx*2 + 0x4a7fe8]
test al, 1
je 0x40454c
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*4]
shl ecx, 6
mov edx, dword [ecx + 0x11861d8]
mov dword [0x46c5c0], edx
lea ebx, [edx + edx*4]
shl ebx, 5
add ebx, edx
cmp ebp, dword [ebx*8 + 0x1b7260c]
jne 0x40454c
shr eax, 2
and eax, 0xf
xor edx, edx
mov dl, byte [ecx + 0x11861d4]
mov ecx, dword [eax*4 + 0x46c5e8]
lea eax, [eax*4 + 0x46c5e8]
add ecx, edx
mov dword [eax], ecx
add esi, 4
dec edi
jne 0x4044f9
mov ebx, dword [esp + 0x2c]
mov al, byte [0x416030]
mov edx, 1
cmp al, dl
jb 0x4045c4
mov esi, 0x99
mov edi, 0x46c5ec
mov al, byte [0x416031]
mov ecx, 1
cmp al, cl
jb 0x4045a9
mov eax, dword [esp + 0x10]
lea ebp, [esi + eax - 0x7f]
cmp byte [ecx + ebp], 0
jne 0x40459d
mov ebx, dword [esp + 0x24]
lea eax, [esi + ecx]
lea eax, [ebx + eax*4]
mov ebx, 0x14
sub ebx, dword [edi]
add dword [eax], ebx
xor eax, eax
inc ecx
mov al, byte [0x416031]
cmp ecx, eax
jle 0x404584
mov ecx, dword [0x416030]
inc edx
and ecx, 0xff
add edi, 4
add esi, 0x1a
cmp edx, ecx
jle 0x40456e
mov ebx, dword [esp + 0x2c]
mov al, byte [0x21af7aa]
test al, al
je 0x404726
mov ecx, 8
xor eax, eax
mov edi, 0x46c5c8
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jl 0x4046bd
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
lea eax, [edx + 0xd4]
mov dword [esp + 0x64], eax
mov eax, dword [eax]
mov edi, 1
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*4]
shl edx, 6
cmp byte [edx + 0x11861e0], 1
jb 0x4046a3
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*4]
shl edx, 4
add edx, edi
mov ecx, dword [edx*4 + 0x11861e8]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [ecx + edx*8]
xor edx, edx
shl ecx, 2
mov dl, byte [ecx + 0x19b309b]
cmp edx, 1
jl 0x404689
lea esi, [ecx + 0x19b30a4]
mov eax, dword [esi]
mov cl, byte [eax*2 + 0x4a7fe8]
test cl, 1
je 0x404683
lea ebp, [eax + eax*4]
lea ebp, [eax + ebp*4]
shl ebp, 6
mov ebp, dword [ebp + 0x11861dc]
cmp ebp, dword [ebx + 0x11861dc]
jne 0x404683
shr ecx, 2
and ecx, 0xf
mov dword [ecx*4 + 0x46c5c8], 1
add esi, 4
dec edx
jne 0x40464d
lea ecx, [eax + eax*4]
inc edi
lea edx, [eax + ecx*4]
xor ecx, ecx
shl edx, 6
mov cl, byte [edx + 0x11861e0]
cmp edi, ecx
jle 0x40461b
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
add eax, 4
dec ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], ecx
jne 0x4045fe
mov al, byte [0x416030]
mov ebp, 1
cmp al, 1
jb 0x404726
mov esi, 0x99
mov edx, 0x46c5cc
mov al, byte [0x416031]
mov ecx, 1
cmp al, cl
jb 0x40470f
mov eax, dword [esp + 0x10]
lea edi, [esi + eax - 0x7f]
cmp byte [edi + ecx], 0
jne 0x404703
cmp dword [edx], 0
jne 0x404703
mov ebx, dword [esp + 0x24]
lea eax, [esi + ecx]
lea eax, [ebx + eax*4]
add dword [eax], 0x64
xor eax, eax
inc ecx
mov al, byte [0x416031]
cmp ecx, eax
jle 0x4046eb
mov ecx, dword [0x416030]
inc ebp
and ecx, 0xff
add edx, 4
add esi, 0x1a
cmp ebp, ecx
jle 0x4046d5
mov dword [esp + 0x3c], 0
mov eax, dword [0x416030]
mov ebx, dword [esp + 0x24]
and eax, 0xff
mov ebp, 0xffff8300
cmp eax, 1
mov byte [esp + 0x64], 0
mov dword [esp + 0x40], ebp
jl 0x404910
xor edx, edx
mov ecx, ebx
mov dl, byte [0x416031]
mov edi, 0x99
mov esi, edx
mov edx, dword [esp + 0x10]
sub ecx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov eax, 1
cmp esi, eax
jl 0x4047af
mov ecx, dword [esp + 0x10]
lea edx, [ecx + edi - 0x7f]
mov ecx, dword [esp + 0x44]
add ecx, edx
cmp byte [ecx + eax], 0
jne 0x4047aa
lea ecx, [edi + eax]
mov ecx, dword [ebx + ecx*4]
cmp ecx, ebp
jle 0x4047aa
cmp byte [edx + eax], 0
jne 0x4047aa
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x64], 1
mov ebp, ecx
inc eax
cmp eax, esi
jle 0x404783
mov eax, dword [esp + 0x40]
add edi, 0x1a
dec eax
mov dword [esp + 0x40], eax
jne 0x404772
mov al, byte [esp + 0x64]
mov dword [esp + 0x40], ebp
test al, al
je 0x404910
mov edx, dword [esp + 0x48]
add ebx, 0x1b
mov dword [esp + 0x1c], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x64], ebx
mov ecx, 1
cmp esi, ecx
jl 0x40484b
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x38]
sub edx, esi
mov edi, esi
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x40]
mov esi, dword [ebp]
cmp esi, edx
jne 0x404838
mov edx, dword [esp + 0x44]
cmp byte [edx + eax], 0
jne 0x404838
mov esi, dword [esp + 0x3c]
mov dl, byte [esp + 0x1c]
inc esi
mov dword [esp + 0x3c], esi
mov byte [esi + edi + 0xd0], dl
mov byte [esi + edi + 0x166], cl
mov byte [eax], 1
xor edx, edx
inc ecx
mov dl, byte [0x416031]
add ebp, 4
mov esi, edx
inc eax
cmp ecx, esi
jle 0x404805
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x416030]
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x38]
inc eax
and ecx, 0xff
add ebp, 0x1a
add ebx, 0x68
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x38], ebx
jle 0x4047e4
jmp 0x40472e
mov eax, dword [esp + 0x18]
cmp eax, 1
jl 0x4048d6
lea esi, [ebp + 0xd4]
mov edi, eax
mov edx, dword [esi]
push 0
push ebp
push edx
call fcn.00406ed0
mov eax, dword [esi]
push 0
push ebp
push eax
call fcn.004096f0
add esp, 0x18
add esi, 4
dec edi
jne 0x404894
mov eax, dword [esp + 0x18]
cmp eax, 1
jl 0x4048d6
lea esi, [ebp + 0xd4]
mov edi, eax
mov ecx, dword [esi]
push ebp
push ecx
call fcn.00407190
add esp, 8
add esi, 4
dec edi
jne 0x4048c4
mov ecx, dword [esp + 0x64]
lea edx, [ebx + ebx*2]
lea eax, [ebx + edx*4]
lea edx, [ebp + eax*2]
lea eax, [edx + ecx]
mov dl, byte [edx + ecx]
cmp dl, 1
je 0x4058af
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], 1
mov byte [edx + 0xd1], bl
mov byte [edx + 0x167], cl
mov byte [eax], 0
mov ebx, edx
mov ecx, dword [esp + 0x34]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x30], eax
jl 0x4058af
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + eax + 0xd0]
mov dl, byte [ebx + eax + 0x166]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + ecx*2]
mov dword [esp + 0x20], edx
lea eax, [ecx + eax*4]
lea eax, [edx + eax*2]
cmp byte [eax + esi], 0
jne 0x4052c9
mov al, byte [0x21af7a9]
mov dword [esp + 0x14], 0
test al, al
je 0x4051b5
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 1
mov bl, byte [ecx + 0x11861e0]
mov eax, dword [ecx + 0x11861dc]
cmp bl, 1
jb 0x4051ac
lea eax, [eax + eax*2]
lea ecx, [ecx + 0x11861ec]
mov dword [esp + 0x3c], ecx
mov ebx, esi
lea eax, [eax + eax*8]
shl eax, 6
mov dword [esp + 0x40], eax
jmp 0x4049ab
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [eax + 0x1b08788]
mov ecx, dword [ecx]
mov dword [esp + 0x48], ecx
mov ecx, 1
cmp esi, ecx
mov dword [esp + 0x64], ecx
jl 0x404a89
lea ecx, [eax + 0x1b088cc]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x38]
mov edi, 1
mov esi, dword [ecx]
lea ecx, [esi + esi*4]
lea ecx, [esi + ecx*4]
shl ecx, 6
lea ebp, [ecx + 0x11861e0]
mov cl, byte [ecx + 0x11861e0]
cmp cl, 1
jb 0x404a67
mov al, byte [esi*2 + 0x4a7fe8]
test al, 1
je 0x404a59
mov ecx, dword [esp + 0x1c]
shr eax, 2
and eax, 0xf
cmp eax, ecx
jne 0x404a59
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0xbe0]
push edx
push eax
push esi
call fcn.00403460
add esp, 0xc
test al, al
jne 0x404a55
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0x48]
lea edx, [esi + ecx*4]
shl edx, 4
add edx, edi
cmp dword [edx*4 + 0x11861e8], eax
jne 0x404a55
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov dword [ebx + eax*4 + 0xbe0], esi
mov edx, dword [esp + 0x20]
xor ecx, ecx
inc edi
mov cl, byte [ebp]
cmp edi, ecx
jle 0x4049fb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
mov esi, dword [eax + 0x1b08788]
inc ecx
add edi, 4
cmp ecx, esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], edi
jle 0x4049d6
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
xor eax, eax
mov al, byte [ecx + 0x11861e0]
inc esi
add edi, 4
cmp esi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], edi
jle 0x4049a7
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, 1
jl 0x404cbf
lea eax, [ebx + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov eax, dword [eax]
lea esi, [eax + eax*4]
lea edi, [eax + esi*4]
shl edi, 6
mov eax, dword [edi + 0x1186554]
cmp eax, 1
jl 0x404b94
lea ebp, [edi + 0x118655c]
mov dword [esp + 0x64], eax
mov esi, dword [ebp]
mov al, byte [esi*2 + 0x4a7fe8]
test al, 1
je 0x404b7e
shr eax, 2
and eax, 0xf
cmp eax, ecx
jne 0x404b7e
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0xbe0]
push edx
push eax
push esi
call fcn.00403460
add esp, 0xc
test al, al
jne 0x404b7a
mov al, byte [esi*2 + 0x4a7fe9]
mov ecx, dword [esp + 0x20]
and eax, 0x1f
cmp ecx, eax
je 0x404b6a
jle 0x404b56
lea edx, [esi + esi*4]
xor ebx, ebx
lea edx, [esi + edx*4]
shl edx, 6
mov bl, byte [edx + 0x11861d4]
lea edx, [ebx + eax - 1]
mov ebx, dword [esp + 0x10]
cmp edx, ecx
jge 0x404b6a
cmp ecx, eax
jge 0x404b7a
xor edx, edx
mov dl, byte [edi + 0x11861d4]
lea ecx, [edx + ecx - 1]
cmp ecx, eax
jl 0x404b7a
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov dword [ebx + eax*4 + 0xbe0], esi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
add ebp, 4
dec eax
mov dword [esp + 0x64], eax
jne 0x404af4
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add eax, 4
dec esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
jne 0x404ad0
mov esi, dword [esp + 0x18]
cmp esi, 1
jl 0x404cbf
lea eax, [ebx + 0xd4]
mov ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
mov edi, 1
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*4]
shl eax, 6
mov eax, dword [eax + 0x11861dc]
lea eax, [eax + eax*2]
lea esi, [eax + eax*8]
shl esi, 6
cmp dword [esi + 0x1b08788], edi
jl 0x404ca1
lea ecx, [esi + 0x1b088cc]
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov al, byte [ecx*2 + 0x4a7fe8]
test al, 1
je 0x404c87
mov ebx, dword [esp + 0x1c]
shr eax, 2
and eax, 0xf
cmp eax, ebx
jne 0x404c87
mov al, byte [ecx*2 + 0x4a7fe9]
and eax, 0x1f
cmp edx, eax
je 0x404c73
jle 0x404c48
lea ebx, [ecx + ecx*4]
lea ebp, [ecx + ebx*4]
xor ebx, ebx
shl ebp, 6
mov bl, byte [ebp + 0x11861d4]
lea ebx, [ebx + eax - 1]
cmp ebx, edx
jge 0x404c73
cmp edx, eax
jge 0x404c87
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
lea ebx, [edx + edx*4]
lea edx, [edx + ebx*4]
xor ebx, ebx
shl edx, 6
mov bl, byte [edx + 0x11861d4]
mov edx, dword [esp + 0x20]
lea edx, [ebx + edx - 1]
cmp edx, eax
mov edx, dword [esp + 0x20]
jl 0x404c87
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
mov dword [ebx + eax*4 + 0xbe0], ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x1b08788]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x64], ecx
jle 0x404c00
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add eax, 4
dec ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jne 0x404bcb
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jl 0x404da8
lea eax, [ebx + 0xd4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov ebx, 1
mov eax, dword [eax]
lea ecx, [eax + eax*4]
lea edi, [eax + ecx*4]
shl edi, 6
cmp byte [edi + 0x11866e8], bl
jb 0x404d8e
lea ebp, [edi + 0x11866f0]
mov esi, dword [ebp]
mov al, byte [esi*2 + 0x4a7fe8]
test al, 1
je 0x404d7a
mov ecx, dword [esp + 0x1c]
shr eax, 2
and eax, 0xf
cmp eax, ecx
jne 0x404d7a
mov al, byte [esi*2 + 0x4a7fe9]
and eax, 0x1f
cmp eax, edx
jne 0x404d45
lea ecx, [esi + esi*4]
lea eax, [esi + ecx*4]
shl eax, 6
mov cl, byte [eax + 0x11861d4]
mov eax, dword [esp + 0x2c]
cmp cl, byte [eax + 0x11861d4]
je 0x404d7a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0xbe0
push ecx
push edx
push esi
call fcn.00403460
add esp, 0xc
test al, al
jne 0x404d76
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
mov dword [ecx + eax*4 + 0xbe0], esi
mov edx, dword [esp + 0x20]
xor eax, eax
inc ebx
mov al, byte [edi + 0x11866e8]
add ebp, 4
cmp ebx, eax
jle 0x404d00
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
add ecx, 4
dec eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], eax
jne 0x404cda
mov esi, dword [esp + 0x18]
mov ebx, 1
cmp esi, ebx
jl 0x4050a1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], esi
lea eax, [ecx + 0xd4]
mov ebp, eax
mov eax, dword [ebp]
mov dword [esp + 0x28], ebx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*4]
shl eax, 6
cmp byte [eax + 0x11861e0], 1
jb 0x404f13
mov eax, dword [ebp]
mov dword [esp + 0x64], ebx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x28]
shl eax, 4
add eax, ecx
mov eax, dword [eax*4 + 0x11861e8]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edi, [eax + ecx*8]
shl edi, 2
cmp byte [edi + 0x19b309b], 1
jb 0x404eed
lea eax, [edi + 0x19b30a4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx]
mov al, byte [esi*2 + 0x4a7fe8]
test al, 1
je 0x404ec4
mov ecx, dword [esp + 0x1c]
shr eax, 2
and eax, 0xf
cmp eax, ecx
jne 0x404ec4
mov al, byte [esi*2 + 0x4a7fe9]
and eax, 0x1f
cmp edx, eax
je 0x404e93
jle 0x404e73
lea ecx, [esi + esi*4]
xor ebx, ebx
lea ecx, [esi + ecx*4]
shl ecx, 6
mov bl, byte [ecx + 0x11861d4]
lea ecx, [ebx + eax - 1]
cmp ecx, edx
jge 0x404e93
cmp edx, eax
jge 0x404ec4
mov ecx, dword [ebp]
lea ebx, [ecx + ecx*4]
lea ecx, [ecx + ebx*4]
xor ebx, ebx
shl ecx, 6
mov bl, byte [ecx + 0x11861d4]
lea ecx, [ebx + edx - 1]
cmp ecx, eax
jl 0x404ec4
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0xbe0]
push edx
push eax
push esi
call fcn.00403460
add esp, 0xc
test al, al
jne 0x404ec0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov dword [ebx + eax*4 + 0xbe0], esi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
inc eax
mov cl, byte [edi + 0x19b309b]
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], ebx
jle 0x404e27
mov ebx, 1
mov eax, ebp
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
lea esi, [eax + eax*4]
lea esi, [eax + esi*4]
xor eax, eax
shl esi, 6
mov al, byte [esi + 0x11861e0]
cmp ecx, eax
jle 0x404de6
mov eax, dword [esp + 0x40]
add ebp, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x404dc9
mov esi, dword [esp + 0x18]
cmp esi, ebx
jl 0x4050a1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], esi
lea eax, [ecx + 0xd4]
mov ebp, eax
mov eax, dword [ebp]
mov dword [esp + 0x28], ebx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*4]
shl eax, 6
cmp byte [eax + 0x11861e1], 1
jb 0x40508b
mov eax, dword [ebp]
mov dword [esp + 0x64], ebx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x28]
shl eax, 4
add eax, ecx
mov eax, dword [eax*4 + 0x1186378]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edi, [eax + ecx*2]
shl edi, 3
cmp byte [edi + 0x186f83c], 1
jb 0x405065
lea eax, [edi + 0x186f844]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx]
mov al, byte [esi*2 + 0x4a7fe8]
test al, 1
je 0x40503c
mov ecx, dword [esp + 0x1c]
shr eax, 2
and eax, 0xf
cmp eax, ecx
jne 0x40503c
mov al, byte [esi*2 + 0x4a7fe9]
and eax, 0x1f
cmp edx, eax
je 0x40500b
jle 0x404feb
lea ecx, [esi + esi*4]
xor ebx, ebx
lea ecx, [esi + ecx*4]
shl ecx, 6
mov bl, byte [ecx + 0x11861d4]
lea ecx, [ebx + eax - 1]
cmp ecx, edx
jge 0x40500b
cmp edx, eax
jge 0x40503c
mov ecx, dword [ebp]
lea ebx, [ecx + ecx*4]
lea ecx, [ecx + ebx*4]
xor ebx, ebx
shl ecx, 6
mov bl, byte [ecx + 0x11861d4]
lea ecx, [ebx + edx - 1]
cmp ecx, eax
jl 0x40503c
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0xbe0]
push edx
push eax
push esi
call fcn.00403460
add esp, 0xc
test al, al
jne 0x405038
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov dword [ebx + eax*4 + 0xbe0], esi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
inc eax
mov cl, byte [edi + 0x186f83c]
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], ebx
jle 0x404f9f
mov ebx, 1
mov eax, ebp
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
lea esi, [eax + eax*4]
lea esi, [eax + esi*4]
xor eax, eax
shl esi, 6
mov al, byte [esi + 0x11861e1]
cmp ecx, eax
jle 0x404f5e
mov eax, dword [esp + 0x40]
add ebp, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x404f41
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea edi, [ecx + 0xbe0]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push edx
mov edx, dword [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x50], edi
call fcn.004036e0
add esp, 0x14
cmp esi, ebx
jl 0x405105
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
lea esi, [eax + 0xd4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push edi
push ecx
push ebx
push edx
call fcn.004038d0
mov ecx, dword [esi]
lea eax, [esp + 0x24]
push edi
push eax
push ebx
push ecx
call fcn.00409930
add esp, 0x20
add esi, 4
dec ebp
jne 0x4050da
lea edx, [esp + 0x14]
push edi
push edx
call fcn.00403490
mov edx, dword [esp + 0x1c]
add esp, 8
test edx, edx
jle 0x4052c9
mov ecx, dword [esp + 0x18]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x64], eax
jl 0x4051cb
mov eax, dword [esp + 0x10]
add eax, 0xd4
mov dword [esp + 0x40], eax
mov edi, 1
cmp edx, edi
jl 0x40518e
mov eax, dword [eax]
lea ecx, [eax + eax*4]
lea esi, [eax + ecx*4]
mov eax, dword [esp + 0x10]
shl esi, 6
lea ecx, [eax + 0xbe4]
mov ebp, dword [esi + 0x11861cc]
mov eax, dword [ecx]
lea ebx, [eax + eax*4]
lea eax, [eax + ebx*4]
shl eax, 6
cmp ebp, dword [eax + 0x11861cc]
jne 0x405186
mov bl, byte [esi + 0x11861d4]
cmp bl, byte [eax + 0x11861d4]
je 0x4051be
inc edi
add ecx, 4
cmp edi, edx
jle 0x405165
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], eax
jg 0x4051cb
jmp 0x405141
mov ebx, dword [esp + 0x10]
jmp 0x404ab1
mov ebx, dword [esp + 0x10]
jmp 0x404ab5
mov dword [esp + 0x14], 0
jmp 0x4052c9
mov edi, dword [0x21af7b0]
mov ecx, dword [0x4a31bc]
mov esi, 0x4a7fea
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
lea edi, [eax*2 + 0x46d614]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp edx, 1
rep movsb byte es:[edi], byte [esi]
jl 0x40522a
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0xbe4]
mov ecx, edx
mov esi, dword [eax]
add eax, 4
dec ecx
mov word [esi*2 + 0x4a7fe8], 0
lea esi, [esi*2 + 0x4a7fe8]
jne 0x405211
mov ebx, dword [esp + 0x18]
mov esi, 1
cmp ebx, esi
jl 0x405261
mov edx, dword [esp + 0x10]
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00402260
add esp, 8
test al, al
je 0x40528c
inc esi
add edi, 4
cmp esi, ebx
jle 0x405241
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x4052c9
cmp ebx, 1
jl 0x40534c
mov dl, byte [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
and dl, 0xf
shl dl, 2
mov byte [esp + 0x64], dl
lea eax, [ecx + 0xd4]
jmp 0x4052eb
mov dword [esp + 0x14], 0
mov edx, dword [0x21af7b0]
mov ecx, dword [0x4a31bc]
mov edi, 0x4a7fea
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov eax, ecx
shr ecx, 2
lea esi, [edx*2 + 0x46d614]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jg 0x4058af
mov ebx, dword [esp + 0x24]
jmp 0x404925
mov dl, byte [esp + 0x64]
mov ecx, dword [eax]
add eax, 4
mov bl, byte [ecx*2 + 0x4a7fe8]
or bl, 1
mov byte [ecx*2 + 0x4a7fe8], bl
mov ecx, dword [eax - 4]
mov bl, byte [ecx*2 + 0x4a7fe8]
or bl, 2
mov byte [ecx*2 + 0x4a7fe8], bl
mov esi, dword [eax - 4]
mov bl, byte [esp + 0x20]
mov cl, byte [esi*2 + 0x4a7fe8]
and cl, 0xc3
or cl, dl
mov byte [esi*2 + 0x4a7fe8], cl
mov esi, dword [eax - 4]
mov cl, byte [esi*2 + 0x4a7fe9]
mov dl, cl
xor dl, bl
and dl, 0x1f
xor dl, cl
dec edi
mov byte [esi*2 + 0x4a7fe9], dl
jne 0x4052e7
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmp ecx, ebx
jl 0x40537b
mov eax, dword [esp + 0x10]
add eax, 0xbe4
mov edx, dword [eax]
add eax, 4
dec ecx
mov word [edx*2 + 0x4a7fe8], 0
lea edx, [edx*2 + 0x4a7fe8]
jne 0x405362
mov eax, dword [esp + 0x18]
mov byte [esp + 0x64], 1
cmp eax, ebx
mov dword [esp + 0x40], ebx
jl 0x405528
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
lea esi, [eax + 0xd4]
mov dword [esp + 0x20], esi
mov ecx, dword [esi]
push edi
push ecx
call fcn.004013f0
add esp, 8
test al, al
jne 0x40550c
mov eax, dword [esi]
mov dword [esp + 0x28], ebx
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
cmp byte [eax + 0x11861e0], 1
jb 0x4054b2
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ebp, 1
mov eax, dword [ecx]
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 4
add eax, edi
mov eax, dword [eax*4 + 0x11861e8]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edi, [eax + ecx*8]
shl edi, 2
cmp byte [edi + 0x19b309b], 1
jb 0x405486
lea ebx, [edi + 0x19b30a4]
mov al, byte [edi + 0x19b309a]
mov esi, dword [ebx]
test al, al
jbe 0x405476
mov al, byte [esi*2 + 0x4a7fe8]
test al, 1
je 0x405476
lea edx, [esi + esi*4]
lea ecx, [esi + edx*4]
shl ecx, 6
mov dl, byte [ecx + 0x11861d5]
test dl, dl
jne 0x405476
test al, 2
jne 0x405476
mov ecx, dword [esp + 0x1c]
shr eax, 2
and eax, 0xf
cmp eax, ecx
jne 0x405476
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00403460
add esp, 0xc
test al, al
jne 0x405476
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
mov dword [ecx + eax*4 + 0xbe0], esi
xor edx, edx
inc ebp
mov dl, byte [edi + 0x19b309b]
add ebx, 4
cmp ebp, edx
jle 0x40540f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
xor edx, edx
shl eax, 6
mov dl, byte [eax + 0x11861e0]
cmp ecx, edx
jle 0x4053d2
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00403490
mov ecx, dword [esp + 0x1c]
mov ebx, 1
add esp, 8
cmp ecx, ebx
jl 0x4054f4
mov edx, dword [esp + 0x10]
lea eax, [edx + 0xbe4]
mov edx, dword [eax]
add eax, 4
dec ecx
mov word [edx*2 + 0x4a7fe8], 0
lea edx, [edx*2 + 0x4a7fe8]
jne 0x4054db
mov esi, dword [esp + 0x20]
push edi
mov eax, dword [esi]
push eax
call fcn.004013f0
add esp, 8
test al, al
je 0x4055ce
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], esi
jle 0x4053a2
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4055d3
mov eax, dword [esp + 0x18]
mov ebp, 1
cmp eax, ebp
jl 0x4055d3
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + 0xd4]
mov eax, dword [ebx]
mov edi, 1
lea edx, [eax + eax*4]
lea ecx, [eax + edx*4]
shl ecx, 6
cmp byte [ecx + 0x11861e0], 1
jb 0x4055c0
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 4
add eax, edi
mov eax, dword [eax*4 + 0x11861e8]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea esi, [eax + ecx*8]
mov ecx, dword [esi*4 + 0x19b3090]
test ecx, ecx
jl 0x4055a8
push eax
call fcn.004015c0
mov ecx, dword [esi*4 + 0x19b3090]
and eax, 0xff
add esp, 4
cmp eax, ecx
jg 0x4055ce
mov eax, dword [ebx]
inc edi
lea edx, [eax + eax*4]
lea ecx, [eax + edx*4]
xor edx, edx
shl ecx, 6
mov dl, byte [ecx + 0x11861e0]
cmp edi, edx
jle 0x405568
mov eax, dword [esp + 0x18]
inc ebp
add ebx, 4
cmp ebp, eax
jg 0x4055d3
jmp 0x40554f
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x14]
mov edx, 1
cmp eax, edx
jl 0x40560f
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0xbe4]
mov eax, dword [ecx]
lea esi, [eax + eax*4]
lea eax, [eax + esi*4]
shl eax, 6
mov bl, byte [eax + 0x11861d5]
test bl, bl
jne 0x4057a8
mov eax, dword [esp + 0x14]
inc edx
add ecx, 4
cmp edx, eax
jle 0x4055ea
mov al, byte [esp + 0x64]
test al, al
je 0x405294
mov eax, dword [esp + 0x14]
mov ebx, 1
cmp eax, ebx
jl 0x4057ee
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x68]
lea esi, [ecx + 0xbe4]
mov eax, dword [esi]
test byte [eax*2 + 0x4a7fe8], 1
jne 0x405797
push edi
push 0
push 0
push eax
call fcn.00402310
add esp, 0x10
test al, al
je 0x4056f4
mov eax, dword [esi]
mov cl, byte [eax*2 + 0x4a7fe8]
or cl, 2
mov byte [eax*2 + 0x4a7fe8], cl
mov eax, dword [esi]
mov ecx, 1
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
mov eax, dword [eax + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp dword [edx*4 + 0x1d282d8], ecx
jl 0x405797
lea edx, [eax + eax*4]
add eax, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
mov eax, dword [edx*4 + 0x1d282dc]
mov dl, byte [eax*2 + 0x4a7fe8]
or dl, 2
inc ecx
mov byte [eax*2 + 0x4a7fe8], dl
mov eax, dword [esi]
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
mov eax, dword [eax + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp ecx, dword [edx*4 + 0x1d282d8]
jle 0x4056a2
jmp 0x405797
mov eax, dword [esi]
push edi
push 0
push 0
push eax
call fcn.00403de0
add esp, 0x10
test al, al
je 0x405294
mov eax, dword [esi]
mov cl, byte [eax*2 + 0x4a7fe8]
or cl, 2
mov byte [eax*2 + 0x4a7fe8], cl
mov eax, dword [esi]
mov ecx, 1
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
mov eax, dword [eax + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp dword [edx*4 + 0x1d282d8], ecx
jl 0x405797
lea edx, [eax + eax*4]
add eax, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
mov eax, dword [edx*4 + 0x1d282dc]
mov dl, byte [eax*2 + 0x4a7fe8]
or dl, 2
inc ecx
mov byte [eax*2 + 0x4a7fe8], dl
mov eax, dword [esi]
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
mov eax, dword [eax + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp ecx, dword [edx*4 + 0x1d282d8]
jle 0x40574a
mov eax, dword [esp + 0x14]
inc ebx
add esi, 4
cmp ebx, eax
jg 0x4057ee
jmp 0x40563a
mov edx, dword [0x21af7b0]
mov ecx, dword [0x4a31bc]
mov edi, 0x4a7fea
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
lea esi, [eax*2 + 0x46d614]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec edx
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [0x21af7b0], edx
xor al, al
pop ebx
add esp, 0x48
ret
mov edi, dword [esp + 0x14]
cmp edi, 1
jl 0x40589a
mov ecx, dword [esp + 0x10]
mov bl, 0xfd
lea esi, [ecx + 0xbe4]
mov eax, dword [esi]
mov cl, byte [eax*2 + 0x4a7fe8]
and cl, bl
mov byte [eax*2 + 0x4a7fe8], cl
mov eax, dword [esi]
mov ecx, 1
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
mov eax, dword [eax + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp dword [edx*4 + 0x1d282d8], ecx
jl 0x405890
lea edx, [eax + eax*4]
add eax, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
mov eax, dword [edx*4 + 0x1d282dc]
mov dl, byte [eax*2 + 0x4a7fe8]
and dl, bl
inc ecx
mov byte [eax*2 + 0x4a7fe8], dl
mov eax, dword [esi]
lea edx, [eax + eax*4]
lea eax, [eax + edx*4]
shl eax, 6
mov eax, dword [eax + 0x11861d0]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
cmp ecx, dword [edx*4 + 0x1d282d8]
jle 0x405844
add esi, 4
dec edi
jne 0x405807
mov eax, dword [0x21af7b0]
pop edi
dec eax
pop esi
mov dword [0x21af7b0], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x48
ret
mov eax, dword [0x21af7b0]
dec eax
pop edi
pop esi
mov dword [0x21af7b0], eax
pop ebp
xor al, al
pop ebx
add esp, 0x48
ret