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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x32a2c]
mov ecx, dword [ebp + 0x32a28]
cmp ecx, eax
je 0x41f9f6
lea ecx, [eax + eax*4]
pop edi
pop esi
mov edx, dword [ebp + ecx*8 + 0x38]
sub edx, eax
mov eax, dword [esp + 0xa0]
mov dword [eax], edx
mov eax, dword [ebp + 0x32a2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x9c]
mov edx, dword [ebp + ecx*8 + 0x3c]
mov dword [eax], edx
mov eax, dword [ebp + 0x32a2c]
lea ecx, [eax + eax*4]
xor eax, eax
mov edx, dword [ebp + ecx*8 + 0x38]
mov dword [ebp + 0x32a2c], edx
pop ebp
pop ebx
add esp, 0x8c
ret 0xc
mov al, byte [ebp + 0x32a30]
xor edi, edi
test al, al
mov dword [ebp + 0x32a2c], edi
mov dword [ebp + 0x32a28], edi
jne 0x41fa2b
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.00420ad0
cmp eax, edi
je 0x41fa3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0xc
mov ecx, dword [ebp + 0x32a20]
mov byte [ebp + 0x32a30], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
lea ebx, [ebp + 0x14]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x28028]
push 0x111
lea esi, [edi*4]
mov edx, dword [ecx]
push eax
push 0xffffffffffffffff
push ecx
mov dword [esp + esi + 0x64], eax
call dword [edx + 0x1c]
test edi, edi
mov dword [esp + esi + 0x8c], eax
je 0x41fa80
mov ecx, dword [esp + 0x30]
cmp eax, dword [esp + ecx + 0x8c]
jbe 0x41fa88
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], esi
inc edi
add ebx, 4
cmp edi, 4
jb 0x41fa47
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x32a1c]
mov eax, dword [esp + edx*4 + 0x8c]
cmp eax, ecx
mov dword [esp + 0x40], eax
jbe 0x41fad4
mov ecx, dword [esp + 0xa4]
mov dword [ecx], edx
mov ecx, dword [esp + 0xa8]
mov dword [ecx], eax
dec eax
push eax
mov ecx, ebp
call fcn.0041f8b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jbe 0x41fb14
mov ecx, dword [ebp + ecx*4 + 0x325d0]
mov edx, dword [esp + 0xa4]
add ecx, 4
dec eax
mov dword [edx], ecx
push eax
mov ecx, ebp
call fcn.0041f8b0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0xc
mov eax, dword [ebp + 0x28028]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov edi, dword [ebp + 0x14]
mov bl, al
mov al, byte [ebp + 0x10]
mov edx, 0xfffffffe
mov byte [ebp + 0x28], al
mov eax, dword [ebp + 0x28028]
sub edx, edi
mov byte [esp + 0x2c], bl
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov edi, dword [ebp + 0x33680]
mov esi, dword [esp + 0xa0]
mov byte [esp + 0x30], al
xor eax, eax
mov al, byte [ebp + 0x10]
and edi, esi
shl eax, 4
add eax, edi
mov dl, byte [ebp + 0x11]
mov byte [esp + 0x14], dl
mov edx, dword [ebp + 0x325c4]
mov ecx, dword [ebp + eax*4 + 0x28060]
mov al, byte [ebp + 0x12]
shr ecx, 2
and ecx, 0x1ff
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], edi
mov esi, dword [ecx*4 + 0x465a34]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov cl, 8
sub cl, dl
and eax, 0xff
shr eax, cl
mov ecx, dword [ebp + 0x325cc]
and ecx, dword [esp + 0xac]
mov dword [esp + 0x38], ecx
mov ecx, edx
mov edx, dword [esp + 0x38]
shl edx, cl
add eax, edx
mov edx, dword [ebp + 0x325c0]
lea ecx, [eax + eax*2]
shl ecx, 0xa
add ecx, edx
call fcn.0041e4c0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add eax, esi
mov dword [ebp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x64], 0xffffffff
mov byte [ebp + 0x51], 0
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x40], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x4c], eax
mov cl, byte [ebp + 0x10]
mov eax, ecx
and eax, 0xff
mov edx, eax
shl edx, 4
add edx, edi
mov edx, dword [ebp + edx*4 + 0x28060]
dec edx
not edx
shr edx, 2
mov eax, dword [ebp + eax*4 + 0x28360]
and edx, 0x1ff
dec eax
mov esi, dword [edx*4 + 0x465a34]
mov dl, byte [esp + 0x30]
not eax
shr eax, 2
and eax, 0x1ff
mov eax, dword [eax*4 + 0x465a34]
add eax, esi
cmp dl, bl
mov dword [esp + 0x14], eax
jne 0x41fcbe
mov byte [esp + 0x2c], cl
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
mov edx, ecx
mov ebx, dword [ebp + ecx*4 + 0x28390]
shl edx, 4
add edx, edi
shr ebx, 2
mov edx, dword [ebp + edx*4 + 0x28420]
and ebx, 0x1ff
shr edx, 2
and edx, 0x1ff
mov ecx, dword [edx*4 + 0x465a34]
mov edx, dword [ebx*4 + 0x465a34]
add ecx, edx
add ecx, eax
mov eax, dword [ebp + 0x5c]
cmp ecx, eax
jae 0x41fcbe
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x51], 0
mov edx, dword [esp + 0x3c]
cmp edx, 2
jae 0x41fcef
mov ecx, dword [esp + 0xa4]
mov eax, dword [ebp + 0x64]
mov edx, dword [esp + 0xa8]
pop edi
pop esi
mov dword [ecx], eax
pop ebp
mov dword [edx], 1
xor eax, eax
pop ebx
add esp, 0x8c
ret 0xc
xor eax, eax
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + eax*4 + 0x28360]
mov eax, dword [esp + 0x40]
shr ecx, 2
and ecx, 0x1ff
mov ebx, dword [ecx*4 + 0x465a34]
add ebx, esi
cmp edx, eax
mov dword [esp + 0x4c], ebx
ja 0x41fd1f
xor edx, edx
mov dword [esp + 0x3c], edx
mov eax, 2
cmp edx, eax
jb 0x41fe1a
lea edx, [eax + eax*4]
lea edx, [ebp + edx*8]
mov dword [esp + 0x2c], edx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp + eax*4 + 0x325d0]
add ecx, 4
cmp eax, 2
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp + eax*4 + 0x325d0]
jne 0x41fd69
cmp ecx, 0x80
jb 0x41fd69
mov ecx, 0xfffffff
jmp 0x41fe04
lea esi, [eax - 2]
cmp esi, 4
jb 0x41fd76
mov esi, 3
cmp ecx, 0x80
jae 0x41fd8c
shl esi, 7
add esi, ecx
mov esi, dword [ebp + esi*4 + 0x32e34]
jmp 0x41fdf4
cmp ecx, 0x10000
jae 0x41fda8
mov edx, ecx
xor ebx, ebx
shr edx, 6
mov bl, byte [edx + 0x466238]
mov edx, ebx
add edx, 0xc
jmp 0x41fdd4
cmp ecx, 0x2000000
mov edx, ecx
jae 0x41fdc4
shr edx, 0xf
xor ebx, ebx
mov bl, byte [edx + 0x466238]
mov edx, ebx
add edx, 0x1e
jmp 0x41fdd4
shr edx, 0x18
xor ebx, ebx
mov bl, byte [edx + 0x466238]
mov edx, ebx
add edx, 0x30
shl esi, 6
mov ebx, dword [esp + 0x4c]
add esi, edx
and ecx, 0xf
mov esi, dword [ebp + esi*4 + 0x32a34]
mov edx, dword [ebp + ecx*4 + 0x33634]
add esi, edx
mov edx, dword [esp + 0x2c]
mov ecx, eax
shl ecx, 4
add ecx, edi
mov ecx, dword [ebp + ecx*4 + 0x294b0]
add ecx, esi
add ecx, ebx
inc eax
mov dword [edx + 0x34], ecx
mov byte [edx + 0x29], 0
mov edx, dword [esp + 0x3c]
cmp eax, edx
jbe 0x41fd2c
mov ecx, dword [esp + 0x40]
cmp edx, ecx
jae 0x41fe28
mov edx, ecx
mov dword [esp + 0x3c], edx
cmp eax, edx
ja 0x41fe45
lea edx, [eax + eax*4]
lea ecx, [ebp + edx*8 + 0x34]
mov dword [ecx], 0xfffffff
mov edx, dword [esp + 0x3c]
inc eax
add ecx, 0x28
cmp eax, edx
jbe 0x41fe33
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + eax*4 + 0x8c]
cmp ecx, 2
jb 0x41ff7e
lea edx, [ebp + edi*4 + 0x2e17c]
dec ecx
lea ebx, [ebp + 0x84]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x1c]
mov cl, byte [ebp + 0x10]
test eax, eax
mov esi, dword [edx]
mov byte [esp + 0x30], cl
jne 0x41fec8
mov eax, dword [esp + 0x30]
and eax, 0xff
mov ecx, eax
shl ecx, 4
add ecx, edi
mov eax, dword [ebp + eax*4 + 0x28390]
shr eax, 2
mov edx, dword [ebp + ecx*4 + 0x28420]
and eax, 0x1ff
dec edx
not edx
shr edx, 2
and edx, 0x1ff
mov ecx, dword [edx*4 + 0x465a34]
mov edx, dword [eax*4 + 0x465a34]
add ecx, edx
add esi, ecx
jmp 0x41ff35
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
and edi, 0xff
mov edx, dword [ebp + edi*4 + 0x28390]
dec edx
not edx
shr edx, 2
and edx, 0x1ff
mov ecx, dword [edx*4 + 0x465a34]
add esi, ecx
cmp eax, 1
jne 0x41ff0f
mov eax, dword [ebp + edi*4 + 0x283c0]
shr eax, 2
and eax, 0x1ff
add esi, dword [eax*4 + 0x465a34]
jmp 0x41ff35
push 1
lea ecx, [ebp + edi*4 + 0x283c0]
call fcn.00422510
mov ecx, dword [esp + 0x20]
add esi, eax
add ecx, 0xfffffffe
push ecx
lea ecx, [ebp + edi*4 + 0x283f0]
call fcn.00422510
add esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
add esi, edx
cmp esi, eax
jae 0x41ff55
mov eax, dword [esp + 0x20]
mov dword [ebx], esi
mov dword [ebx + 4], 0
mov dword [ebx + 8], eax
mov byte [ebx - 0xb], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
add ebx, 0x28
add ecx, 0x40
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
jne 0x41fe71
mov edx, dword [esp + 0x3c]
inc eax
cmp eax, 4
mov dword [esp + 0x20], eax
jb 0x41fe4b
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
je 0x420a89
mov edx, dword [esp + 0xa0]
lea ecx, [esi + esi*4]
inc edx
mov eax, dword [ebp + ecx*8 + 0x38]
lea ebx, [ebp + ecx*8]
mov dword [esp + 0xa0], edx
mov dl, byte [ebx + 0x29]
test dl, dl
je 0x42002b
mov cl, byte [ebx + 0x2a]
dec eax
test cl, cl
je 0x42000d
mov ecx, dword [ebx + 0x2c]
inc ecx
lea ecx, [ecx + ecx*4]
mov cl, byte [ebp + ecx*8]
mov byte [esp + 0x10], cl
mov ecx, dword [ebx + 0x30]
cmp ecx, 4
mov ecx, dword [esp + 0x10]
jae 0x41ffff
and ecx, 0xff
mov cl, byte [ecx + 0x452838]
jmp 0x420015
and ecx, 0xff
mov cl, byte [ecx + 0x45282c]
jmp 0x420015
lea ecx, [eax + eax*4 + 5]
mov cl, byte [ebp + ecx*8]
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov cl, byte [ecx + 0x452820]
jmp 0x420033
lea ecx, [eax + eax*4 + 5]
mov cl, byte [ebp + ecx*8]
mov byte [esp + 0x10], cl
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x420081
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x420063
mov edx, dword [esp + 0x10]
mov byte [esp + 0x64], 1
and edx, 0xff
mov al, byte [edx + 0x452844]
mov byte [esp + 0x10], al
jmp 0x42012d
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x64], 0
and ecx, 0xff
mov dl, byte [ecx + 0x452820]
mov byte [esp + 0x10], dl
jmp 0x42012d
test dl, dl
mov byte [esp + 0x64], 1
je 0x4200a9
mov cl, byte [ebx + 0x2a]
test cl, cl
je 0x4200a9
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
and ecx, 0xff
mov cl, byte [ecx + 0x452838]
jmp 0x4200cf
mov edx, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x10]
cmp edx, 4
jae 0x4200c3
and ecx, 0xff
mov cl, byte [ecx + 0x452838]
jmp 0x4200cf
and ecx, 0xff
mov cl, byte [ecx + 0x45282c]
cmp edx, 4
mov byte [esp + 0x10], cl
jae 0x42051b
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esp + 0x2c], ecx
lea esi, [ecx + edx]
mov esi, dword [ebp + esi*4 + 0x40]
mov dword [esp + 0x54], esi
mov esi, 1
cmp edx, esi
jb 0x420114
lea eax, [eax + eax*4]
mov ecx, edx
lea edi, [esp + 0x58]
lea esi, [ebp + eax*8 + 0x40]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 1]
cmp esi, 4
jae 0x420129
mov ecx, dword [esp + 0x2c]
add ecx, esi
lea edi, [esp + esi*4 + 0x54]
lea eax, [ebp + ecx*4 + 0x40]
mov ecx, 4
sub ecx, esi
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov cl, byte [esp + 0x10]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea eax, [esi + 1]
lea eax, [eax + eax*4]
mov byte [ebp + eax*8], cl
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], eax
lea edx, [esp + 0x48]
mov dword [ebx + 0x4c], ecx
push edx
mov ecx, ebp
call fcn.00420ad0
test eax, eax
jne 0x420abc
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x32a1c]
cmp eax, ecx
ja 0x420a94
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28028]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, eax
mov esi, dword [esp + 0xa0]
dec ebx
mov eax, ebx
mov dword [esp + 0x2c], ebx
mov dl, byte [ebx]
sub eax, edi
mov edi, dword [esp + 0x10]
mov byte [esp + 0x6c], dl
mov cl, byte [eax - 1]
mov eax, dword [ebp + 0x33680]
and edi, 0xff
and eax, esi
mov edx, edi
mov dword [esp + 0x4c], eax
shl edx, 4
add eax, edx
mov dl, byte [ebx - 1]
mov dword [esp + 0x50], eax
mov byte [esp + 0x70], cl
mov eax, dword [ebp + eax*4 + 0x28060]
mov byte [esp + 0x84], dl
shr eax, 2
and eax, 0x1ff
mov edx, dword [ebp + 0x325c4]
mov dword [esp + 0x40], edi
mov ecx, dword [eax*4 + 0x465a34]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x68]
push ecx
push eax
mov eax, dword [esp + 0x90]
mov cl, 8
sub cl, dl
and eax, 0xff
shr eax, cl
mov ecx, dword [ebp + 0x325cc]
and ecx, esi
mov dword [esp + 0x20], ecx
mov ecx, edx
mov edx, dword [esp + 0x20]
shl edx, cl
add eax, edx
mov edx, dword [ebp + 0x325c0]
lea ecx, [eax + eax*2]
shl ecx, 0xa
add ecx, edx
call fcn.0041e4c0
mov ecx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x24]
add esi, ecx
mov ecx, dword [esp + 0x18]
add esi, eax
mov byte [esp + 0x37], 0
lea eax, [ecx + ecx*4 + 0xa]
mov edx, dword [ebp + eax*8 + 0xc]
lea eax, [ebp + eax*8]
cmp esi, edx
jae 0x420285
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xffffffff
mov byte [eax + 1], 0
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x50]
mov edx, dword [ebp + ecx*4 + 0x28060]
dec edx
not edx
shr edx, 2
and edx, 0x1ff
mov ecx, dword [edx*4 + 0x465a34]
mov edx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [ebp + edi*4 + 0x28360]
dec edx
mov dword [esp + 0x68], ecx
not edx
shr edx, 2
and edx, 0x1ff
mov edx, dword [edx*4 + 0x465a34]
add edx, ecx
mov cl, byte [esp + 0x6c]
mov dword [esp + 0x38], edx
mov dl, byte [esp + 0x70]
cmp dl, cl
jne 0x42033f
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jae 0x4202eb
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x42033f
mov ecx, dword [esp + 0x50]
mov edx, dword [ebp + edi*4 + 0x28390]
shr edx, 2
mov ecx, dword [ebp + ecx*4 + 0x28420]
and edx, 0x1ff
shr ecx, 2
and ecx, 0x1ff
mov ecx, dword [ecx*4 + 0x465a34]
add ecx, dword [edx*4 + 0x465a34]
mov edx, dword [esp + 0x38]
add ecx, edx
mov edx, dword [eax + 0xc]
cmp ecx, edx
ja 0x42033f
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x28028]
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, 0xfff
inc eax
sub ecx, edx
cmp ecx, eax
mov dword [esp + 0x20], eax
jae 0x420363
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
cmp ecx, 2
jb 0x41ff98
mov eax, dword [ebp + 0x32a1c]
cmp ecx, eax
jbe 0x420380
mov ecx, eax
mov dword [esp + 0x20], ecx
cmp ecx, 3
jb 0x4204fc
mov al, byte [esp + 0x37]
test al, al
jne 0x4204fc
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x14], eax
mov eax, 1
cmp ecx, eax
jbe 0x4203c0
mov edx, dword [esp + 0x14]
mov ecx, eax
sub ecx, edx
mov dl, byte [eax + ebx]
cmp dl, byte [ecx + ebx]
jne 0x4203c0
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
jb 0x4203a7
dec eax
cmp eax, 2
mov dword [esp + 0x24], eax
jb 0x4204fc
mov al, byte [edi + 0x452820]
mov ecx, dword [esp + 0xa0]
mov edi, dword [ebp + 0x33680]
mov byte [esp + 0x80], al
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x80]
and ecx, 0xff
and eax, edi
mov edx, ecx
mov edi, dword [ebp + ecx*4 + 0x28360]
shl edx, 4
add edx, eax
dec edi
not edi
shr edi, 2
and edi, 0x1ff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edi
mov edi, dword [ebp + edx*4 + 0x28060]
mov edx, dword [esp + 0x14]
dec edi
not edi
mov edx, dword [edx*4 + 0x465a34]
shr edi, 2
and edi, 0x1ff
add edx, dword [edi*4 + 0x465a34]
mov edi, dword [esp + 0x18]
add edx, esi
mov esi, dword [esp + 0x24]
lea esi, [esi + edi + 1]
mov edi, dword [esp + 0x28]
cmp edi, esi
jae 0x42047e
lea edi, [edi + edi*4]
lea edi, [ebp + edi*8 + 0x34]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
sub esi, edi
add edi, esi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x14]
add edi, 0x28
dec esi
mov dword [edi], 0xfffffff
jne 0x420472
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + ecx*4 + 0x28390]
shr edi, 2
mov esi, dword [ebp + esi*4 + 0x28420]
and edi, 0x1ff
dec esi
not esi
shr esi, 2
and esi, 0x1ff
mov ecx, dword [esi*4 + 0x465a34]
mov esi, dword [edi*4 + 0x465a34]
add ecx, esi
mov esi, dword [esp + 0x24]
mov edi, esi
shl edi, 4
add edi, eax
add ecx, dword [ebp + edi*4 + 0x2e0fc]
add ecx, edx
mov edx, dword [esp + 0x18]
lea eax, [esi + edx + 2]
lea eax, [eax + eax*4]
mov esi, dword [ebp + eax*8 + 0xc]
lea eax, [ebp + eax*8]
cmp ecx, esi
jae 0x4204f8
mov dword [eax + 0xc], ecx
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov byte [eax + 1], 1
mov byte [eax + 2], 0
mov edi, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x44], esi
mov eax, dword [esp + esi*4 + 0x54]
mov edx, dword [esp + 0x20]
inc eax
xor ecx, ecx
test edx, edx
mov dword [esp + 0x14], eax
jbe 0x4206c5
jmp 0x420548
lea ecx, [eax + eax*4]
add edx, 0xfffffffc
mov dword [esp + 0x54], edx
mov edx, dword [ebp + ecx*8 + 0x40]
lea eax, [ebp + ecx*8 + 0x40]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
jmp 0x42012d
mov eax, dword [esp + 0x14]
mov edx, ecx
sub edx, eax
mov al, byte [ecx + ebx]
cmp al, byte [edx + ebx]
jne 0x42055d
mov eax, dword [esp + 0x20]
inc ecx
cmp ecx, eax
jb 0x420544
cmp ecx, 2
jb 0x4206c5
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
lea eax, [ecx + edx]
mov edx, ecx
shl edx, 4
add edx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
lea eax, [eax + eax*4]
lea edx, [ebp + edx*4 + 0x2e0fc]
dec ecx
lea eax, [ebp + eax*8 + 0x34]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jae 0x4205c8
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, esi
lea edx, [esi + esi*4]
add esi, ecx
mov dword [esp + 0x28], esi
lea edx, [ebp + edx*8 + 0x34]
add edx, 0x28
dec ecx
mov dword [edx], 0xfffffff
jne 0x4205b8
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
test esi, esi
mov ecx, dword [ecx]
jne 0x42060b
mov edx, dword [esp + 0x50]
mov esi, dword [ebp + edi*4 + 0x28390]
shr esi, 2
mov edx, dword [ebp + edx*4 + 0x28420]
and esi, 0x1ff
dec edx
not edx
shr edx, 2
and edx, 0x1ff
mov edx, dword [edx*4 + 0x465a34]
add edx, dword [esi*4 + 0x465a34]
add ecx, edx
jmp 0x42067f
mov edx, dword [ebp + edi*4 + 0x28390]
dec edx
not edx
shr edx, 2
and edx, 0x1ff
add ecx, dword [edx*4 + 0x465a34]
cmp esi, 1
jne 0x420643
mov edx, dword [ebp + edi*4 + 0x283c0]
shr edx, 2
and edx, 0x1ff
add ecx, dword [edx*4 + 0x465a34]
jmp 0x420683
lea edx, [esi - 2]
mov esi, dword [ebp + edi*4 + 0x283f0]
sub esi, edx
neg edx
xor esi, edx
mov edx, dword [ebp + edi*4 + 0x283c0]
shr esi, 2
and esi, 0x1ff
dec edx
not edx
mov esi, dword [esi*4 + 0x465a34]
shr edx, 2
and edx, 0x1ff
add esi, dword [edx*4 + 0x465a34]
add ecx, esi
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
add ecx, edx
mov edx, dword [eax]
cmp ecx, edx
jae 0x42069f
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov byte [eax - 0xb], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
sub eax, 0x28
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
sub edx, 0x40
dec ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
jne 0x420597
inc esi
cmp esi, 4
mov dword [esp + 0x44], esi
jb 0x420502
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
cmp esi, eax
jbe 0x4206e5
mov esi, eax
mov dword [esp + 0x48], esi
cmp esi, 2
jb 0x41ff98
jne 0x420700
cmp dword [ebp + 0x325d8], 0x80
jae 0x41ff98
mov edx, dword [ebp + edi*4 + 0x28360]
mov edi, dword [esp + 0x68]
shr edx, 2
and edx, 0x1ff
mov ecx, dword [esp + 0x28]
mov eax, dword [edx*4 + 0x465a34]
add eax, edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
add eax, esi
cmp ecx, eax
jae 0x42074a
sub eax, ecx
lea edx, [ecx + ecx*4]
add ecx, eax
lea edx, [ebp + edx*8 + 0x34]
mov dword [esp + 0x28], ecx
add edx, 0x28
dec eax
mov dword [edx], 0xfffffff
jne 0x42073e
mov edi, dword [ebp + esi*4 + 0x325d0]
cmp esi, 2
mov dword [esp + 0x7c], edi
jne 0x42076c
cmp edi, 0x80
jb 0x42076c
mov eax, 0xfffffff
jmp 0x420801
lea ecx, [esi - 2]
cmp ecx, 4
jb 0x420779
mov ecx, 3
cmp edi, 0x80
jae 0x42078f
shl ecx, 7
add ecx, edi
mov ecx, dword [ebp + ecx*4 + 0x32e34]
jmp 0x4207ed
cmp edi, 0x10000
jae 0x4207a9
mov eax, edi
xor edx, edx
shr eax, 6
mov dl, byte [eax + 0x466238]
add edx, 0xc
jmp 0x4207d5
cmp edi, 0x2000000
mov edx, edi
jae 0x4207c5
shr edx, 0xf
xor eax, eax
mov al, byte [edx + 0x466238]
mov edx, eax
add edx, 0x1e
jmp 0x4207d5
shr edx, 0x18
xor eax, eax
mov al, byte [edx + 0x466238]
mov edx, eax
add edx, 0x30
shl ecx, 6
add ecx, edx
mov edx, edi
and edx, 0xf
mov ecx, dword [ebp + ecx*4 + 0x32a34]
add ecx, dword [ebp + edx*4 + 0x33634]
mov edx, dword [esp + 0x4c]
mov eax, esi
shl eax, 4
add eax, edx
mov eax, dword [ebp + eax*4 + 0x294b0]
add eax, ecx
mov ecx, dword [esp + 0x68]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x50], edx
add eax, esi
mov dword [esp + 0x44], eax
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0xc]
cmp edx, eax
lea ecx, [ebp + ecx*8]
jae 0x42083a
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x18]
lea eax, [edi + 4]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov byte [ecx + 1], 0
mov al, byte [ebp + 0x32a19]
test al, al
je 0x420a7a
mov eax, dword [esp + 0x20]
lea ecx, [esi + 1]
inc edi
cmp ecx, eax
mov dword [esp + 0x38], edi
jae 0x42086d
mov al, byte [ecx + ebx]
mov edx, ecx
sub edx, edi
cmp al, byte [edx + ebx]
jne 0x42086d
mov eax, dword [esp + 0x20]
inc ecx
cmp ecx, eax
jb 0x420858
sub ecx, esi
dec ecx
cmp ecx, 2
mov dword [esp + 0x14], ecx
jb 0x420a7a
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xa0]
mov dl, byte [ecx + 0x45282c]
mov byte [esp + 0x30], dl
mov edi, dword [esp + 0x30]
lea edx, [esi + eax]
mov eax, dword [ebp + 0x33680]
mov ecx, edx
and edi, 0xff
and ecx, eax
mov eax, edi
shl eax, 4
add ecx, eax
mov ecx, dword [ebp + ecx*4 + 0x28060]
shr ecx, 2
and ecx, 0x1ff
mov eax, dword [ecx*4 + 0x465a34]
mov cl, byte [ebx + esi - 1]
mov dword [esp + 0x24], eax
mov byte [esp + 0x78], cl
mov ecx, dword [esp + 0x38]
mov eax, esi
sub eax, ecx
mov cl, byte [eax + ebx]
mov al, byte [esi + ebx]
mov ebx, dword [ebp + 0x325c4]
mov byte [esp + 0x88], al
mov byte [esp + 0x74], cl
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
push ecx
push eax
mov eax, dword [esp + 0x80]
mov cl, 8
and eax, 0xff
sub cl, bl
push 1
shr eax, cl
mov ecx, dword [ebp + 0x325cc]
and ecx, edx
mov edx, ecx
mov ecx, ebx
mov ebx, dword [ebp + 0x325c0]
shl edx, cl
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 0xa
add ecx, ebx
call fcn.0041e4c0
mov edx, dword [esp + 0xa0]
mov cl, byte [edi + 0x452820]
mov edi, dword [ebp + 0x33680]
mov byte [esp + 0x30], cl
lea edx, [esi + edx + 1]
and edx, edi
mov edi, dword [esp + 0x30]
and edi, 0xff
mov ecx, edi
shl ecx, 4
add ecx, edx
mov ebx, dword [ebp + edi*4 + 0x28360]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + ecx*4 + 0x28060]
dec ecx
not ecx
shr ecx, 2
and ecx, 0x1ff
dec ebx
not ebx
mov ecx, dword [ecx*4 + 0x465a34]
shr ebx, 2
and ebx, 0x1ff
add ecx, dword [ebx*4 + 0x465a34]
mov ebx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x50]
add ecx, ebx
add ecx, eax
mov eax, dword [esp + 0x14]
lea eax, [eax + esi + 1]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
add eax, ebx
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jae 0x4209eb
lea ebx, [ebx + ebx*4]
lea ebx, [ebp + ebx*8 + 0x34]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x28]
sub eax, ebx
add ebx, eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x38]
add ebx, 0x28
dec eax
mov dword [ebx], 0xfffffff
jne 0x4209df
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + edi*4 + 0x28390]
shr edi, 2
mov eax, dword [ebp + eax*4 + 0x28420]
and edi, 0x1ff
dec eax
mov ebx, dword [edi*4 + 0x465a34]
mov edi, dword [esp + 0x14]
not eax
shr eax, 2
and eax, 0x1ff
shl edi, 4
mov eax, dword [eax*4 + 0x465a34]
add edi, edx
add eax, ebx
mov edx, dword [ebp + edi*4 + 0x2e0fc]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + edx + 1]
lea ecx, [ecx + ecx*4]
mov edi, dword [ebp + ecx*8 + 0xc]
lea ecx, [ebp + ecx*8]
cmp eax, edi
jae 0x420a76
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x44]
add edx, 4
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0
mov byte [ecx + 1], 1
mov byte [ecx + 2], 1
mov dword [ecx + 8], edx
mov ebx, dword [esp + 0x2c]
dec esi
cmp esi, 2
jae 0x42074a
jmp 0x41ff98
mov eax, dword [esp + 0xa4]
push esi
push eax
jmp 0x420aaa
mov edx, dword [esp + 0xa4]
push esi
mov dword [ebp + 0x32a20], eax
mov byte [ebp + 0x32a30], 1
push edx
mov ecx, ebp
call fcn.0041f8f0
mov ecx, dword [esp + 0xa8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0xc