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

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
push edi
push 0x18
mov dword [esp + 0xa8], ecx
call fcn.0043a99d
mov ebx, dword [esp + 0xc8]
mov esi, eax
mov eax, dword [esp + 0xc4]
xor ebp, ebp
add esp, 4
cmp esi, ebp
je 0x41f5da
mov dword [esi + 8], eax
add eax, 7
sar eax, 3
mov dword [esi + 0x10], eax
imul eax, ebx
push eax
mov dword [esi + 4], ebp
mov dword [esi], 0x451748
mov dword [esi + 0xc], ebx
call fcn.004397e0
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x41f5dc
xor esi, esi
mov ecx, dword [esi + 0xc]
imul ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc8]
xor eax, eax
cmp ecx, ebp
sete al
cmp ebx, ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x14], ebp
lea eax, [eax*8 + 8]
mov dword [esp + 0xb8], eax
jle 0x42055d
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov ecx, eax
neg ecx
mov dword [esp + 0xb4], ecx
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x90], ecx
jmp 0x41f650
mov eax, dword [esp + 0xc8]
xor ebp, ebp
cmp eax, ebp
je 0x41fcfd
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
lea eax, [edi - 1]
cmp eax, ebp
jl 0x41f695
cmp eax, dword [ebx + 0xc]
jge 0x41f695
cmp dword [ebx + 8], ebp
jle 0x41f695
mov ecx, dword [ebx + 0x10]
imul ecx, eax
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], ebp
jmp 0x41f699
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.0041e190
cmp edi, ebp
mov dword [esp + 0x8c], eax
jl 0x41f6dc
cmp edi, dword [ebx + 0xc]
jge 0x41f6dc
mov eax, dword [ebx + 8]
or ecx, 0xffffffff
cmp eax, ecx
jle 0x41f6dc
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
imul eax, edi
add eax, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], ecx
jmp 0x41f6e0
mov dword [esp + 0x4c], ebp
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xb4]
sub edi, edx
lea eax, [esp + 0x74]
push eax
lea ebp, [edi - 1]
push ebp
push ecx
mov ecx, esi
call fcn.0041e120
mov ebx, dword [esp + 0x90]
lea edx, [esp + 0x60]
push edx
push edi
push ebx
mov ecx, esi
call fcn.0041e120
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0041e190
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.0041e190
mov edx, dword [esp + 0x70]
lea ecx, [edx + edx]
or eax, ecx
mov dword [esp + 0x70], eax
lea edx, [esp + 0x80]
lea eax, [edi + 1]
push edx
push eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
push eax
mov ecx, esi
call fcn.0041e120
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.0041e190
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x6c], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
je 0x41f86c
lea edx, [esp + 0x40]
push edx
push ebp
push ebx
mov ecx, esi
call fcn.0041e120
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041e190
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041e190
mov edx, dword [esp + 0x10]
mov ebp, eax
lea ecx, [esp + 0x40]
lea eax, [edx + edx]
push ecx
mov ecx, esi
or ebp, eax
call fcn.0041e190
lea edx, [ebp + ebp]
or eax, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x34]
push eax
push edi
push ebx
mov ecx, esi
call fcn.0041e120
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0041e190
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov ebp, eax
call fcn.0041e190
mov edi, eax
lea ecx, [esp + 0x34]
lea eax, [ebp + ebp]
push ecx
mov ecx, esi
or edi, eax
call fcn.0041e190
mov ecx, dword [esp + 0x94]
lea edx, [edi + edi]
or eax, edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041e120
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0041e190
mov ebx, eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0041e190
mov edi, eax
lea ecx, [ebx + ebx]
lea edx, [esp + 0x28]
or edi, ecx
push edx
mov ecx, esi
call fcn.0041e190
lea ecx, [edi + edi]
or eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
xor ebp, ebp
test eax, eax
jle 0x420534
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x20]
jne 0x41f898
xor eax, eax
jmp 0x41f8e5
test edx, edx
jge 0x41f8a5
inc edx
mov dword [esp + 0x20], edx
xor eax, eax
jmp 0x41f8e5
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
mov cl, byte [esp + 0x1c]
shr eax, cl
mov ecx, dword [edi + 8]
and eax, 1
inc edx
cmp edx, ecx
mov dword [esp + 0x20], edx
jne 0x41f8cb
mov dword [esp + 0x18], 0
jmp 0x41f8e5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x41f8e1
inc dword [esp + 0x18]
mov dword [esp + 0x1c], 7
jmp 0x41f8e5
dec dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x60]
and edx, 7
test eax, eax
mov dword [esp + 0x8c], edx
jne 0x41f907
xor eax, eax
jmp 0x41f958
mov edx, dword [esp + 0x68]
test edx, edx
jge 0x41f918
inc edx
mov dword [esp + 0x68], edx
xor eax, eax
jmp 0x41f958
mov eax, dword [esp + 0x60]
movzx eax, byte [eax]
mov cl, byte [esp + 0x64]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edx
cmp edx, ecx
mov dword [esp + 0x68], edx
jne 0x41f93e
mov dword [esp + 0x60], 0
jmp 0x41f958
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x41f954
inc dword [esp + 0x60]
mov dword [esp + 0x64], 7
jmp 0x41f958
dec dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x80]
and edx, 7
test eax, eax
mov dword [esp + 0x70], edx
jne 0x41f977
xor eax, eax
jmp 0x41f9e6
mov edx, dword [esp + 0x88]
test edx, edx
jge 0x41f98e
inc edx
mov dword [esp + 0x88], edx
xor eax, eax
jmp 0x41f9e6
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
mov cl, byte [esp + 0x84]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edx
cmp edx, ecx
mov dword [esp + 0x88], edx
jne 0x41f9c0
mov dword [esp + 0x80], 0
jmp 0x41f9e6
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x41f9df
inc dword [esp + 0x80]
mov dword [esp + 0x84], 7
jmp 0x41f9e6
dec dword [esp + 0x84]
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0xcc]
and edx, 3
test eax, eax
mov dword [esp + 0x6c], edx
je 0x41fbd4
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x41fa11
xor eax, eax
jmp 0x41fa62
mov edx, dword [esp + 0x48]
test edx, edx
jge 0x41fa22
inc edx
mov dword [esp + 0x48], edx
xor eax, eax
jmp 0x41fa62
mov eax, dword [esp + 0x40]
movzx eax, byte [eax]
mov cl, byte [esp + 0x44]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edx
cmp edx, ecx
mov dword [esp + 0x48], edx
jne 0x41fa48
mov dword [esp + 0x40], 0
jmp 0x41fa62
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x41fa5e
inc dword [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x41fa62
dec dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x34]
and edx, 7
test eax, eax
mov dword [esp + 0x10], edx
jne 0x41fa7e
xor eax, eax
jmp 0x41facf
mov edx, dword [esp + 0x3c]
test edx, edx
jge 0x41fa8f
inc edx
mov dword [esp + 0x3c], edx
xor eax, eax
jmp 0x41facf
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
mov cl, byte [esp + 0x38]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edx
cmp edx, ecx
mov dword [esp + 0x3c], edx
jne 0x41fab5
mov dword [esp + 0x34], 0
jmp 0x41facf
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x41facb
inc dword [esp + 0x34]
mov dword [esp + 0x38], 7
jmp 0x41facf
dec dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x28]
and edx, 7
test eax, eax
mov dword [esp + 0x24], edx
jne 0x41faeb
xor eax, eax
jmp 0x41fb3c
mov edx, dword [esp + 0x30]
test edx, edx
jge 0x41fafc
inc edx
mov dword [esp + 0x30], edx
xor eax, eax
jmp 0x41fb3c
mov eax, dword [esp + 0x28]
movzx eax, byte [eax]
mov cl, byte [esp + 0x2c]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edx
cmp edx, ecx
mov dword [esp + 0x30], edx
jne 0x41fb22
mov dword [esp + 0x28], 0
jmp 0x41fb3c
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x41fb38
inc dword [esp + 0x28]
mov dword [esp + 0x2c], 7
jmp 0x41fb3c
dec dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0xb8]
or edx, eax
mov eax, dword [ebx + 0x40]
push eax
and edx, 7
push ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x64], edx
call fcn.0041d610
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41fba2
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41fbd4
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x41fbd4
mov edx, dword [edi + 0x10]
imul edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, ebp
sar eax, 3
add edx, eax
lea eax, [edx + ecx]
mov ecx, ebp
and ecx, 7
mov edx, 0x7f7f
sar edx, cl
mov cl, byte [eax]
and cl, dl
jmp 0x41fce6
mov ecx, dword [esp + 0x10]
mov eax, 7
cmp ecx, eax
jne 0x41fbd4
cmp dword [esp + 0x24], eax
jne 0x41fbd4
cmp dword [esp + 0x5c], eax
jne 0x41fbd4
mov eax, dword [edi + 0x10]
imul eax, dword [esp + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, ebp
sar ecx, 3
add eax, ecx
add eax, edx
jmp 0x41fcd3
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x41fbe0
xor edx, edx
jmp 0x41fc2d
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x41fbf1
inc eax
mov dword [esp + 0x54], eax
xor edx, edx
jmp 0x41fc2d
movzx edx, byte [ecx]
mov cl, byte [esp + 0x50]
shr edx, cl
mov ecx, dword [edi + 8]
and edx, 1
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jne 0x41fc13
mov dword [esp + 0x4c], 0
jmp 0x41fc2d
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x41fc29
inc dword [esp + 0x4c]
mov dword [esp + 0x50], 7
jmp 0x41fc2d
dec dword [esp + 0x50]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41fc39
xor eax, eax
jmp 0x41fc8c
mov eax, dword [esp + 0x7c]
test eax, eax
jge 0x41fc4a
inc eax
mov dword [esp + 0x7c], eax
xor eax, eax
jmp 0x41fc8c
mov eax, dword [esp + 0x74]
movzx eax, byte [eax]
mov cl, byte [esp + 0x78]
shr eax, cl
mov ecx, dword [esp + 0x7c]
and eax, 1
inc ecx
cmp ecx, dword [esi + 8]
mov dword [esp + 0x7c], ecx
jne 0x41fc72
mov dword [esp + 0x74], 0
jmp 0x41fc8c
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x41fc88
inc dword [esp + 0x74]
mov dword [esp + 0x78], 7
jmp 0x41fc8c
dec dword [esp + 0x78]
mov ecx, dword [ebx + 0x40]
push ecx
mov ecx, dword [esp + 0x90]
add ecx, ecx
or ecx, edx
shl ecx, 1
or ecx, eax
mov eax, dword [esp + 0x74]
shl ecx, 3
or ecx, eax
mov eax, dword [esp + 0x70]
shl ecx, 2
or ecx, eax
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.0041d610
test eax, eax
je 0x41fce8
mov edx, dword [edi + 0x10]
imul edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, ebp
sar eax, 3
add edx, eax
lea eax, [edx + ecx]
mov ecx, 7
mov edx, ebp
and edx, ecx
sub ecx, edx
mov dl, 1
shl dl, cl
mov cl, byte [eax]
or cl, dl
mov byte [eax], cl
mov eax, dword [esp + 0xc0]
inc ebp
cmp ebp, eax
jl 0x41f888
jmp 0x420534
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
lea eax, [ebx - 1]
cmp eax, ebp
jl 0x41fd31
cmp eax, dword [edi + 0xc]
jge 0x41fd31
cmp dword [edi + 8], ebp
jle 0x41fd31
mov ecx, dword [edi + 0x10]
imul ecx, eax
add ecx, dword [edi + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], ebp
jmp 0x41fd35
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0041e190
cmp ebx, ebp
mov dword [esp + 0x8c], eax
jl 0x41fd78
cmp ebx, dword [edi + 0xc]
jge 0x41fd78
mov eax, dword [edi + 8]
or ecx, 0xffffffff
cmp eax, ecx
jle 0x41fd78
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
imul eax, ebx
add eax, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], ecx
jmp 0x41fd7c
mov dword [esp + 0x4c], ebp
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x74]
sub edi, ebx
push eax
lea ebp, [edi - 1]
push ebp
push ecx
mov ecx, esi
call fcn.0041e120
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.0041e190
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x60]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0041e120
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.0041e190
mov ebx, eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0041e190
lea ecx, [ebx + ebx]
or eax, ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x94]
lea ebx, [edi + 1]
push ebx
push eax
mov ecx, esi
call fcn.0041e120
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.0041e190
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.0041e190
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0xe0]
or eax, edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0xe0]
add edx, ecx
mov ecx, dword [eax]
push edx
push ecx
mov ecx, dword [esp + 0x64]
call fcn.0041e120
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x98]
push edx
sub ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
add ecx, eax
mov eax, dword [edx + 4]
push ecx
sub eax, dword [esp + 0xdc]
push eax
mov ecx, esi
call fcn.0041e120
mov ecx, dword [esp + 0xcc]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
je 0x41ffa0
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x40]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.0041e120
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041e190
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041e190
mov edx, dword [esp + 0x10]
mov ebp, eax
lea ecx, [esp + 0x40]
lea eax, [edx + edx]
push ecx
mov ecx, esi
or ebp, eax
call fcn.0041e190
mov ecx, dword [esp + 0x90]
lea edx, [ebp + ebp]
or eax, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x34]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0041e120
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0041e190
mov ebp, eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0041e190
mov edi, eax
lea ecx, [ebp + ebp]
lea edx, [esp + 0x34]
or edi, ecx
push edx
mov ecx, esi
call fcn.0041e190
lea ecx, [edi + edi]
or eax, ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
push ebx
push eax
mov ecx, esi
call fcn.0041e120
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0041e190
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov ebx, eax
call fcn.0041e190
mov edi, eax
lea ecx, [esp + 0x28]
lea eax, [ebx + ebx]
push ecx
mov ecx, esi
or edi, eax
call fcn.0041e190
lea edx, [edi + edi]
or eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
xor ebx, ebx
test eax, eax
jle 0x420534
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
test edx, edx
mov edi, dword [esp + 0x20]
jne 0x41ffc5
xor eax, eax
jmp 0x42000f
test edi, edi
jge 0x41ffd2
inc edi
mov dword [esp + 0x20], edi
xor eax, eax
jmp 0x42000f
movzx eax, byte [edx]
mov cl, byte [esp + 0x1c]
shr eax, cl
mov ecx, dword [ebp + 8]
and eax, 1
inc edi
cmp edi, ecx
mov dword [esp + 0x20], edi
jne 0x41fff4
mov dword [esp + 0x18], 0
jmp 0x42000f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x42000b
inc edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 7
jmp 0x42000f
dec dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + ecx]
or edx, eax
and edx, 3
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x420031
xor eax, eax
jmp 0x42007f
mov edi, dword [esp + 0x7c]
test edi, edi
jge 0x420042
inc edi
mov dword [esp + 0x7c], edi
xor eax, eax
jmp 0x42007f
movzx eax, byte [edx]
mov cl, byte [esp + 0x78]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edi
cmp edi, ecx
mov dword [esp + 0x7c], edi
jne 0x420064
mov dword [esp + 0x74], 0
jmp 0x42007f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x42007b
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 7
jmp 0x42007f
dec dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
lea edx, [ecx + ecx]
or edx, eax
and edx, 3
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x60]
test edx, edx
jne 0x4200a1
xor eax, eax
jmp 0x4200ef
mov edi, dword [esp + 0x68]
test edi, edi
jge 0x4200b2
inc edi
mov dword [esp + 0x68], edi
xor eax, eax
jmp 0x4200ef
movzx eax, byte [edx]
mov cl, byte [esp + 0x64]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edi
cmp edi, ecx
mov dword [esp + 0x68], edi
jne 0x4200d4
mov dword [esp + 0x60], 0
jmp 0x4200ef
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x4200eb
inc edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 7
jmp 0x4200ef
dec dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ecx]
or edx, eax
and edx, 7
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x80]
test edx, edx
jne 0x42010e
xor eax, eax
jmp 0x420177
mov edi, dword [esp + 0x88]
test edi, edi
jge 0x420125
inc edi
mov dword [esp + 0x88], edi
xor eax, eax
jmp 0x420177
movzx eax, byte [edx]
mov cl, byte [esp + 0x84]
shr eax, cl
mov ecx, dword [esi + 8]
and eax, 1
inc edi
cmp edi, ecx
mov dword [esp + 0x88], edi
jne 0x420150
mov dword [esp + 0x80], 0
jmp 0x420177
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x420170
inc edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 7
jmp 0x420177
dec dword [esp + 0x84]
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0xcc]
and edx, 7
test eax, eax
mov dword [esp + 0x6c], edx
je 0x42034a
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
jne 0x4201a4
xor eax, eax
jmp 0x4201f2
mov eax, dword [esp + 0x48]
cmp eax, edi
jge 0x4201b5
inc eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x4201f2
mov eax, dword [esp + 0x40]
movzx eax, byte [eax]
mov edx, dword [esp + 0x44]
mov cl, dl
shr eax, cl
mov ecx, dword [esp + 0x48]
and eax, 1
inc ecx
cmp ecx, dword [esi + 8]
mov dword [esp + 0x48], ecx
jne 0x4201db
mov dword [esp + 0x40], edi
jmp 0x4201f2
cmp edx, edi
jne 0x4201ed
inc dword [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x4201f2
dec edx
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x34]
and edx, 7
cmp eax, edi
mov dword [esp + 0x10], edx
jne 0x42020e
xor eax, eax
jmp 0x42025c
mov eax, dword [esp + 0x3c]
cmp eax, edi
jge 0x42021f
inc eax
mov dword [esp + 0x3c], eax
xor eax, eax
jmp 0x42025c
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
mov edx, dword [esp + 0x38]
mov cl, dl
shr eax, cl
mov ecx, dword [esp + 0x3c]
and eax, 1
inc ecx
cmp ecx, dword [esi + 8]
mov dword [esp + 0x3c], ecx
jne 0x420245
mov dword [esp + 0x34], edi
jmp 0x42025c
cmp edx, edi
jne 0x420257
inc dword [esp + 0x34]
mov dword [esp + 0x38], 7
jmp 0x42025c
dec edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x24]
lea edx, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x28]
and edx, 7
cmp eax, edi
mov dword [esp + 0x24], edx
jne 0x420278
xor eax, eax
jmp 0x4202c6
mov eax, dword [esp + 0x30]
cmp eax, edi
jge 0x420289
inc eax
mov dword [esp + 0x30], eax
xor eax, eax
jmp 0x4202c6
mov eax, dword [esp + 0x28]
movzx eax, byte [eax]
mov edx, dword [esp + 0x2c]
mov cl, dl
shr eax, cl
mov ecx, dword [esp + 0x30]
and eax, 1
inc ecx
cmp ecx, dword [esi + 8]
mov dword [esp + 0x30], ecx
jne 0x4202af
mov dword [esp + 0x28], edi
jmp 0x4202c6
cmp edx, edi
jne 0x4202c1
inc dword [esp + 0x28]
mov dword [esp + 0x2c], 7
jmp 0x4202c6
dec edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x5c]
lea edi, [ecx + ecx]
mov ecx, dword [esp + 0xb8]
or edi, eax
mov eax, dword [esp + 0xa4]
mov edx, dword [eax + 0x40]
push edx
push ecx
mov ecx, dword [eax + 0x38]
and edi, 7
mov dword [esp + 0x64], edi
call fcn.0041d610
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42032f
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42034a
test edi, edi
jne 0x42034a
mov edx, dword [ebp + 0x10]
imul edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, ebx
sar eax, 3
add edx, eax
lea eax, [edx + ecx]
mov ecx, ebx
and ecx, 7
mov edx, 0x7f7f
sar edx, cl
mov cl, byte [eax]
and cl, dl
jmp 0x420522
mov ecx, dword [esp + 0x10]
mov eax, 7
cmp ecx, eax
jne 0x42034a
cmp dword [esp + 0x24], eax
jne 0x42034a
cmp edi, eax
je 0x4204fb
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x420356
xor edi, edi
jmp 0x4203aa
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x420367
inc eax
mov dword [esp + 0x54], eax
xor edi, edi
jmp 0x4203aa
mov eax, dword [esp + 0x4c]
movzx edi, byte [eax]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov cl, dl
shr edi, cl
mov ecx, dword [ebp + 8]
and edi, 1
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jne 0x420393
mov dword [esp + 0x4c], 0
jmp 0x4203aa
test edx, edx
jne 0x4203a5
inc dword [esp + 0x4c]
mov dword [esp + 0x50], 7
jmp 0x4203aa
dec edx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4203b9
xor edx, edx
jmp 0x420428
mov eax, dword [esp + 0xb0]
test eax, eax
jge 0x4203d0
inc eax
mov dword [esp + 0xb0], eax
xor edx, edx
jmp 0x420428
mov ecx, dword [esp + 0xa8]
movzx edx, byte [ecx]
mov cl, byte [esp + 0xac]
shr edx, cl
mov ecx, dword [ebp + 8]
and edx, 1
inc eax
cmp eax, ecx
mov dword [esp + 0xb0], eax
jne 0x420402
mov dword [esp + 0xa8], 0
jmp 0x420428
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x420421
inc dword [esp + 0xa8]
mov dword [esp + 0xac], 7
jmp 0x420428
dec dword [esp + 0xac]
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x420437
xor eax, eax
jmp 0x4204ab
mov eax, dword [esp + 0xa0]
test eax, eax
jge 0x42044e
inc eax
mov dword [esp + 0xa0], eax
xor eax, eax
jmp 0x4204ab
mov eax, dword [esp + 0x98]
movzx eax, byte [eax]
mov cl, byte [esp + 0x9c]
shr eax, cl
mov ecx, dword [esp + 0xa0]
and eax, 1
inc ecx
cmp ecx, dword [esi + 8]
mov dword [esp + 0xa0], ecx
jne 0x420485
mov dword [esp + 0x98], 0
jmp 0x4204ab
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x4204a4
inc dword [esp + 0x98]
mov dword [esp + 0x9c], 7
jmp 0x4204ab
dec dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x40]
push ecx
mov ecx, dword [esp + 0x90]
add ecx, ecx
or ecx, edi
mov edi, dword [esp + 0x98]
shl ecx, 2
or ecx, edi
mov edi, dword [esp + 0x74]
shl ecx, 3
or ecx, edi
mov edi, dword [esp + 0x70]
shl ecx, 3
or ecx, edi
shl ecx, 1
or ecx, edx
mov edx, dword [esp + 0xa8]
shl ecx, 1
or ecx, eax
push ecx
mov ecx, dword [edx + 0x38]
call fcn.0041d610
test eax, eax
je 0x420524
mov eax, dword [ebp + 0x10]
imul eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, ebx
sar ecx, 3
add eax, ecx
add eax, edx
mov ecx, 7
mov edx, ebx
and edx, ecx
sub ecx, edx
mov dl, 1
shl dl, cl
mov cl, byte [eax]
or cl, dl
mov byte [eax], cl
mov eax, dword [esp + 0xc0]
inc ebx
cmp ebx, eax
jl 0x41ffb5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41f650
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x24
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x24