Function at 0x41f170
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.0043f7ed
mov ebx, dword [esp + 0xc8]
mov esi, eax
mov eax, dword [esp + 0xc4]
xor ebp, ebp
add esp, 4
cmp esi, ebp
je 0x41f1ca
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], 0x456534
mov dword [esi + 0xc], ebx
call fcn.0043e620
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x41f1cc
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 0x42014d
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 0x41f240
mov eax, dword [esp + 0xc8]
xor ebp, ebp
cmp eax, ebp
je 0x41f8ed
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
lea eax, [edi - 1]
cmp eax, ebp
jl 0x41f285
cmp eax, dword [ebx + 0xc]
jge 0x41f285
cmp dword [ebx + 8], ebp
jle 0x41f285
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 0x41f289
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.0041dda0
cmp edi, ebp
mov dword [esp + 0x8c], eax
jl 0x41f2cc
cmp edi, dword [ebx + 0xc]
jge 0x41f2cc
mov eax, dword [ebx + 8]
or ecx, 0xffffffff
cmp eax, ecx
jle 0x41f2cc
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 0x41f2d0
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.0041dd30
mov ebx, dword [esp + 0x90]
lea edx, [esp + 0x60]
push edx
push edi
push ebx
mov ecx, esi
call fcn.0041dd30
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0041dda0
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.0041dda0
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.0041dd30
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.0041dda0
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 0x41f45c
lea edx, [esp + 0x40]
push edx
push ebp
push ebx
mov ecx, esi
call fcn.0041dd30
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041dda0
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041dda0
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.0041dda0
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.0041dd30
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0041dda0
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov ebp, eax
call fcn.0041dda0
mov edi, eax
lea ecx, [esp + 0x34]
lea eax, [ebp + ebp]
push ecx
mov ecx, esi
or edi, eax
call fcn.0041dda0
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.0041dd30
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0041dda0
mov ebx, eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0041dda0
mov edi, eax
lea ecx, [ebx + ebx]
lea edx, [esp + 0x28]
or edi, ecx
push edx
mov ecx, esi
call fcn.0041dda0
lea ecx, [edi + edi]
or eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
xor ebp, ebp
test eax, eax
jle 0x420124
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x20]
jne 0x41f488
xor eax, eax
jmp 0x41f4d5
test edx, edx
jge 0x41f495
inc edx
mov dword [esp + 0x20], edx
xor eax, eax
jmp 0x41f4d5
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 0x41f4bb
mov dword [esp + 0x18], 0
jmp 0x41f4d5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x41f4d1
inc dword [esp + 0x18]
mov dword [esp + 0x1c], 7
jmp 0x41f4d5
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 0x41f4f7
xor eax, eax
jmp 0x41f548
mov edx, dword [esp + 0x68]
test edx, edx
jge 0x41f508
inc edx
mov dword [esp + 0x68], edx
xor eax, eax
jmp 0x41f548
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 0x41f52e
mov dword [esp + 0x60], 0
jmp 0x41f548
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x41f544
inc dword [esp + 0x60]
mov dword [esp + 0x64], 7
jmp 0x41f548
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 0x41f567
xor eax, eax
jmp 0x41f5d6
mov edx, dword [esp + 0x88]
test edx, edx
jge 0x41f57e
inc edx
mov dword [esp + 0x88], edx
xor eax, eax
jmp 0x41f5d6
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 0x41f5b0
mov dword [esp + 0x80], 0
jmp 0x41f5d6
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x41f5cf
inc dword [esp + 0x80]
mov dword [esp + 0x84], 7
jmp 0x41f5d6
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 0x41f7c4
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x41f601
xor eax, eax
jmp 0x41f652
mov edx, dword [esp + 0x48]
test edx, edx
jge 0x41f612
inc edx
mov dword [esp + 0x48], edx
xor eax, eax
jmp 0x41f652
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 0x41f638
mov dword [esp + 0x40], 0
jmp 0x41f652
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x41f64e
inc dword [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x41f652
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 0x41f66e
xor eax, eax
jmp 0x41f6bf
mov edx, dword [esp + 0x3c]
test edx, edx
jge 0x41f67f
inc edx
mov dword [esp + 0x3c], edx
xor eax, eax
jmp 0x41f6bf
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 0x41f6a5
mov dword [esp + 0x34], 0
jmp 0x41f6bf
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x41f6bb
inc dword [esp + 0x34]
mov dword [esp + 0x38], 7
jmp 0x41f6bf
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 0x41f6db
xor eax, eax
jmp 0x41f72c
mov edx, dword [esp + 0x30]
test edx, edx
jge 0x41f6ec
inc edx
mov dword [esp + 0x30], edx
xor eax, eax
jmp 0x41f72c
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 0x41f712
mov dword [esp + 0x28], 0
jmp 0x41f72c
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x41f728
inc dword [esp + 0x28]
mov dword [esp + 0x2c], 7
jmp 0x41f72c
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.0041d220
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41f792
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41f7c4
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x41f7c4
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 0x41f8d6
mov ecx, dword [esp + 0x10]
mov eax, 7
cmp ecx, eax
jne 0x41f7c4
cmp dword [esp + 0x24], eax
jne 0x41f7c4
cmp dword [esp + 0x5c], eax
jne 0x41f7c4
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 0x41f8c3
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x41f7d0
xor edx, edx
jmp 0x41f81d
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x41f7e1
inc eax
mov dword [esp + 0x54], eax
xor edx, edx
jmp 0x41f81d
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 0x41f803
mov dword [esp + 0x4c], 0
jmp 0x41f81d
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x41f819
inc dword [esp + 0x4c]
mov dword [esp + 0x50], 7
jmp 0x41f81d
dec dword [esp + 0x50]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41f829
xor eax, eax
jmp 0x41f87c
mov eax, dword [esp + 0x7c]
test eax, eax
jge 0x41f83a
inc eax
mov dword [esp + 0x7c], eax
xor eax, eax
jmp 0x41f87c
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 0x41f862
mov dword [esp + 0x74], 0
jmp 0x41f87c
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x41f878
inc dword [esp + 0x74]
mov dword [esp + 0x78], 7
jmp 0x41f87c
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.0041d220
test eax, eax
je 0x41f8d8
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 0x41f478
jmp 0x420124
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
lea eax, [ebx - 1]
cmp eax, ebp
jl 0x41f921
cmp eax, dword [edi + 0xc]
jge 0x41f921
cmp dword [edi + 8], ebp
jle 0x41f921
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 0x41f925
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0041dda0
cmp ebx, ebp
mov dword [esp + 0x8c], eax
jl 0x41f968
cmp ebx, dword [edi + 0xc]
jge 0x41f968
mov eax, dword [edi + 8]
or ecx, 0xffffffff
cmp eax, ecx
jle 0x41f968
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 0x41f96c
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.0041dd30
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.0041dda0
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.0041dd30
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.0041dda0
mov ebx, eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0041dda0
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.0041dd30
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.0041dda0
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.0041dda0
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.0041dd30
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.0041dd30
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 0x41fb90
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x40]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.0041dd30
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041dda0
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041dda0
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.0041dda0
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.0041dd30
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0041dda0
mov ebp, eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0041dda0
mov edi, eax
lea ecx, [ebp + ebp]
lea edx, [esp + 0x34]
or edi, ecx
push edx
mov ecx, esi
call fcn.0041dda0
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.0041dd30
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0041dda0
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov ebx, eax
call fcn.0041dda0
mov edi, eax
lea ecx, [esp + 0x28]
lea eax, [ebx + ebx]
push ecx
mov ecx, esi
or edi, eax
call fcn.0041dda0
lea edx, [edi + edi]
or eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
xor ebx, ebx
test eax, eax
jle 0x420124
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
test edx, edx
mov edi, dword [esp + 0x20]
jne 0x41fbb5
xor eax, eax
jmp 0x41fbff
test edi, edi
jge 0x41fbc2
inc edi
mov dword [esp + 0x20], edi
xor eax, eax
jmp 0x41fbff
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 0x41fbe4
mov dword [esp + 0x18], 0
jmp 0x41fbff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x41fbfb
inc edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 7
jmp 0x41fbff
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 0x41fc21
xor eax, eax
jmp 0x41fc6f
mov edi, dword [esp + 0x7c]
test edi, edi
jge 0x41fc32
inc edi
mov dword [esp + 0x7c], edi
xor eax, eax
jmp 0x41fc6f
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 0x41fc54
mov dword [esp + 0x74], 0
jmp 0x41fc6f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x41fc6b
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 7
jmp 0x41fc6f
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 0x41fc91
xor eax, eax
jmp 0x41fcdf
mov edi, dword [esp + 0x68]
test edi, edi
jge 0x41fca2
inc edi
mov dword [esp + 0x68], edi
xor eax, eax
jmp 0x41fcdf
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 0x41fcc4
mov dword [esp + 0x60], 0
jmp 0x41fcdf
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x41fcdb
inc edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 7
jmp 0x41fcdf
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 0x41fcfe
xor eax, eax
jmp 0x41fd67
mov edi, dword [esp + 0x88]
test edi, edi
jge 0x41fd15
inc edi
mov dword [esp + 0x88], edi
xor eax, eax
jmp 0x41fd67
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 0x41fd40
mov dword [esp + 0x80], 0
jmp 0x41fd67
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x41fd60
inc edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 7
jmp 0x41fd67
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 0x41ff3a
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
jne 0x41fd94
xor eax, eax
jmp 0x41fde2
mov eax, dword [esp + 0x48]
cmp eax, edi
jge 0x41fda5
inc eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x41fde2
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 0x41fdcb
mov dword [esp + 0x40], edi
jmp 0x41fde2
cmp edx, edi
jne 0x41fddd
inc dword [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x41fde2
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 0x41fdfe
xor eax, eax
jmp 0x41fe4c
mov eax, dword [esp + 0x3c]
cmp eax, edi
jge 0x41fe0f
inc eax
mov dword [esp + 0x3c], eax
xor eax, eax
jmp 0x41fe4c
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 0x41fe35
mov dword [esp + 0x34], edi
jmp 0x41fe4c
cmp edx, edi
jne 0x41fe47
inc dword [esp + 0x34]
mov dword [esp + 0x38], 7
jmp 0x41fe4c
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 0x41fe68
xor eax, eax
jmp 0x41feb6
mov eax, dword [esp + 0x30]
cmp eax, edi
jge 0x41fe79
inc eax
mov dword [esp + 0x30], eax
xor eax, eax
jmp 0x41feb6
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 0x41fe9f
mov dword [esp + 0x28], edi
jmp 0x41feb6
cmp edx, edi
jne 0x41feb1
inc dword [esp + 0x28]
mov dword [esp + 0x2c], 7
jmp 0x41feb6
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.0041d220
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41ff1f
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41ff3a
test edi, edi
jne 0x41ff3a
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 0x420112
mov ecx, dword [esp + 0x10]
mov eax, 7
cmp ecx, eax
jne 0x41ff3a
cmp dword [esp + 0x24], eax
jne 0x41ff3a
cmp edi, eax
je 0x4200eb
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x41ff46
xor edi, edi
jmp 0x41ff9a
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x41ff57
inc eax
mov dword [esp + 0x54], eax
xor edi, edi
jmp 0x41ff9a
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 0x41ff83
mov dword [esp + 0x4c], 0
jmp 0x41ff9a
test edx, edx
jne 0x41ff95
inc dword [esp + 0x4c]
mov dword [esp + 0x50], 7
jmp 0x41ff9a
dec edx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x41ffa9
xor edx, edx
jmp 0x420018
mov eax, dword [esp + 0xb0]
test eax, eax
jge 0x41ffc0
inc eax
mov dword [esp + 0xb0], eax
xor edx, edx
jmp 0x420018
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 0x41fff2
mov dword [esp + 0xa8], 0
jmp 0x420018
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x420011
inc dword [esp + 0xa8]
mov dword [esp + 0xac], 7
jmp 0x420018
dec dword [esp + 0xac]
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x420027
xor eax, eax
jmp 0x42009b
mov eax, dword [esp + 0xa0]
test eax, eax
jge 0x42003e
inc eax
mov dword [esp + 0xa0], eax
xor eax, eax
jmp 0x42009b
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 0x420075
mov dword [esp + 0x98], 0
jmp 0x42009b
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x420094
inc dword [esp + 0x98]
mov dword [esp + 0x9c], 7
jmp 0x42009b
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.0041d220
test eax, eax
je 0x420114
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 0x41fba5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41f240
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