Function at 0x41fc50
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.0044a5dd
mov ebx, dword [esp + 0xc8]
mov esi, eax
mov eax, dword [esp + 0xc4]
xor ebp, ebp
add esp, 4
cmp esi, ebp
je 0x41fcaa
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], 0x46157c
mov dword [esi + 0xc], ebx
call fcn.004492c0
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x41fcac
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 0x420c2d
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 0x41fd20
mov eax, dword [esp + 0xc8]
xor ebp, ebp
cmp eax, ebp
je 0x4203cd
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
lea eax, [edi - 1]
cmp eax, ebp
jl 0x41fd65
cmp eax, dword [ebx + 0xc]
jge 0x41fd65
cmp dword [ebx + 8], ebp
jle 0x41fd65
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 0x41fd69
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.0041e870
cmp edi, ebp
mov dword [esp + 0x8c], eax
jl 0x41fdac
cmp edi, dword [ebx + 0xc]
jge 0x41fdac
mov eax, dword [ebx + 8]
or ecx, 0xffffffff
cmp eax, ecx
jle 0x41fdac
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 0x41fdb0
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.0041e800
mov ebx, dword [esp + 0x90]
lea edx, [esp + 0x60]
push edx
push edi
push ebx
mov ecx, esi
call fcn.0041e800
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0041e870
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.0041e870
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.0041e800
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.0041e870
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 0x41ff3c
lea edx, [esp + 0x40]
push edx
push ebp
push ebx
mov ecx, esi
call fcn.0041e800
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041e870
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041e870
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.0041e870
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.0041e800
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0041e870
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov ebp, eax
call fcn.0041e870
mov edi, eax
lea ecx, [esp + 0x34]
lea eax, [ebp + ebp]
push ecx
mov ecx, esi
or edi, eax
call fcn.0041e870
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.0041e800
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0041e870
mov ebx, eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0041e870
mov edi, eax
lea ecx, [ebx + ebx]
lea edx, [esp + 0x28]
or edi, ecx
push edx
mov ecx, esi
call fcn.0041e870
lea ecx, [edi + edi]
or eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
xor ebp, ebp
test eax, eax
jle 0x420c04
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x20]
jne 0x41ff68
xor eax, eax
jmp 0x41ffb5
test edx, edx
jge 0x41ff75
inc edx
mov dword [esp + 0x20], edx
xor eax, eax
jmp 0x41ffb5
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 0x41ff9b
mov dword [esp + 0x18], 0
jmp 0x41ffb5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x41ffb1
inc dword [esp + 0x18]
mov dword [esp + 0x1c], 7
jmp 0x41ffb5
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 0x41ffd7
xor eax, eax
jmp 0x420028
mov edx, dword [esp + 0x68]
test edx, edx
jge 0x41ffe8
inc edx
mov dword [esp + 0x68], edx
xor eax, eax
jmp 0x420028
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 0x42000e
mov dword [esp + 0x60], 0
jmp 0x420028
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x420024
inc dword [esp + 0x60]
mov dword [esp + 0x64], 7
jmp 0x420028
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 0x420047
xor eax, eax
jmp 0x4200b6
mov edx, dword [esp + 0x88]
test edx, edx
jge 0x42005e
inc edx
mov dword [esp + 0x88], edx
xor eax, eax
jmp 0x4200b6
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 0x420090
mov dword [esp + 0x80], 0
jmp 0x4200b6
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x4200af
inc dword [esp + 0x80]
mov dword [esp + 0x84], 7
jmp 0x4200b6
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 0x4202a4
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4200e1
xor eax, eax
jmp 0x420132
mov edx, dword [esp + 0x48]
test edx, edx
jge 0x4200f2
inc edx
mov dword [esp + 0x48], edx
xor eax, eax
jmp 0x420132
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 0x420118
mov dword [esp + 0x40], 0
jmp 0x420132
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x42012e
inc dword [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x420132
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 0x42014e
xor eax, eax
jmp 0x42019f
mov edx, dword [esp + 0x3c]
test edx, edx
jge 0x42015f
inc edx
mov dword [esp + 0x3c], edx
xor eax, eax
jmp 0x42019f
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 0x420185
mov dword [esp + 0x34], 0
jmp 0x42019f
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x42019b
inc dword [esp + 0x34]
mov dword [esp + 0x38], 7
jmp 0x42019f
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 0x4201bb
xor eax, eax
jmp 0x42020c
mov edx, dword [esp + 0x30]
test edx, edx
jge 0x4201cc
inc edx
mov dword [esp + 0x30], edx
xor eax, eax
jmp 0x42020c
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 0x4201f2
mov dword [esp + 0x28], 0
jmp 0x42020c
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x420208
inc dword [esp + 0x28]
mov dword [esp + 0x2c], 7
jmp 0x42020c
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.0041dcf0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x420272
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4202a4
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4202a4
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 0x4203b6
mov ecx, dword [esp + 0x10]
mov eax, 7
cmp ecx, eax
jne 0x4202a4
cmp dword [esp + 0x24], eax
jne 0x4202a4
cmp dword [esp + 0x5c], eax
jne 0x4202a4
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 0x4203a3
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x4202b0
xor edx, edx
jmp 0x4202fd
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x4202c1
inc eax
mov dword [esp + 0x54], eax
xor edx, edx
jmp 0x4202fd
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 0x4202e3
mov dword [esp + 0x4c], 0
jmp 0x4202fd
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4202f9
inc dword [esp + 0x4c]
mov dword [esp + 0x50], 7
jmp 0x4202fd
dec dword [esp + 0x50]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x420309
xor eax, eax
jmp 0x42035c
mov eax, dword [esp + 0x7c]
test eax, eax
jge 0x42031a
inc eax
mov dword [esp + 0x7c], eax
xor eax, eax
jmp 0x42035c
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 0x420342
mov dword [esp + 0x74], 0
jmp 0x42035c
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x420358
inc dword [esp + 0x74]
mov dword [esp + 0x78], 7
jmp 0x42035c
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.0041dcf0
test eax, eax
je 0x4203b8
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 0x41ff58
jmp 0x420c04
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
lea eax, [ebx - 1]
cmp eax, ebp
jl 0x420401
cmp eax, dword [edi + 0xc]
jge 0x420401
cmp dword [edi + 8], ebp
jle 0x420401
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 0x420405
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0041e870
cmp ebx, ebp
mov dword [esp + 0x8c], eax
jl 0x420448
cmp ebx, dword [edi + 0xc]
jge 0x420448
mov eax, dword [edi + 8]
or ecx, 0xffffffff
cmp eax, ecx
jle 0x420448
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 0x42044c
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.0041e800
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.0041e870
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.0041e800
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.0041e870
mov ebx, eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0041e870
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.0041e800
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.0041e870
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.0041e870
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.0041e800
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.0041e800
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 0x420670
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x40]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.0041e800
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041e870
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041e870
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.0041e870
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.0041e800
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0041e870
mov ebp, eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0041e870
mov edi, eax
lea ecx, [ebp + ebp]
lea edx, [esp + 0x34]
or edi, ecx
push edx
mov ecx, esi
call fcn.0041e870
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.0041e800
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0041e870
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov ebx, eax
call fcn.0041e870
mov edi, eax
lea ecx, [esp + 0x28]
lea eax, [ebx + ebx]
push ecx
mov ecx, esi
or edi, eax
call fcn.0041e870
lea edx, [edi + edi]
or eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
xor ebx, ebx
test eax, eax
jle 0x420c04
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
test edx, edx
mov edi, dword [esp + 0x20]
jne 0x420695
xor eax, eax
jmp 0x4206df
test edi, edi
jge 0x4206a2
inc edi
mov dword [esp + 0x20], edi
xor eax, eax
jmp 0x4206df
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 0x4206c4
mov dword [esp + 0x18], 0
jmp 0x4206df
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4206db
inc edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 7
jmp 0x4206df
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 0x420701
xor eax, eax
jmp 0x42074f
mov edi, dword [esp + 0x7c]
test edi, edi
jge 0x420712
inc edi
mov dword [esp + 0x7c], edi
xor eax, eax
jmp 0x42074f
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 0x420734
mov dword [esp + 0x74], 0
jmp 0x42074f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x42074b
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 7
jmp 0x42074f
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 0x420771
xor eax, eax
jmp 0x4207bf
mov edi, dword [esp + 0x68]
test edi, edi
jge 0x420782
inc edi
mov dword [esp + 0x68], edi
xor eax, eax
jmp 0x4207bf
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 0x4207a4
mov dword [esp + 0x60], 0
jmp 0x4207bf
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x4207bb
inc edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 7
jmp 0x4207bf
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 0x4207de
xor eax, eax
jmp 0x420847
mov edi, dword [esp + 0x88]
test edi, edi
jge 0x4207f5
inc edi
mov dword [esp + 0x88], edi
xor eax, eax
jmp 0x420847
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 0x420820
mov dword [esp + 0x80], 0
jmp 0x420847
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x420840
inc edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 7
jmp 0x420847
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 0x420a1a
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
jne 0x420874
xor eax, eax
jmp 0x4208c2
mov eax, dword [esp + 0x48]
cmp eax, edi
jge 0x420885
inc eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x4208c2
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 0x4208ab
mov dword [esp + 0x40], edi
jmp 0x4208c2
cmp edx, edi
jne 0x4208bd
inc dword [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x4208c2
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 0x4208de
xor eax, eax
jmp 0x42092c
mov eax, dword [esp + 0x3c]
cmp eax, edi
jge 0x4208ef
inc eax
mov dword [esp + 0x3c], eax
xor eax, eax
jmp 0x42092c
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 0x420915
mov dword [esp + 0x34], edi
jmp 0x42092c
cmp edx, edi
jne 0x420927
inc dword [esp + 0x34]
mov dword [esp + 0x38], 7
jmp 0x42092c
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 0x420948
xor eax, eax
jmp 0x420996
mov eax, dword [esp + 0x30]
cmp eax, edi
jge 0x420959
inc eax
mov dword [esp + 0x30], eax
xor eax, eax
jmp 0x420996
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 0x42097f
mov dword [esp + 0x28], edi
jmp 0x420996
cmp edx, edi
jne 0x420991
inc dword [esp + 0x28]
mov dword [esp + 0x2c], 7
jmp 0x420996
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.0041dcf0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4209ff
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x420a1a
test edi, edi
jne 0x420a1a
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 0x420bf2
mov ecx, dword [esp + 0x10]
mov eax, 7
cmp ecx, eax
jne 0x420a1a
cmp dword [esp + 0x24], eax
jne 0x420a1a
cmp edi, eax
je 0x420bcb
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x420a26
xor edi, edi
jmp 0x420a7a
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x420a37
inc eax
mov dword [esp + 0x54], eax
xor edi, edi
jmp 0x420a7a
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 0x420a63
mov dword [esp + 0x4c], 0
jmp 0x420a7a
test edx, edx
jne 0x420a75
inc dword [esp + 0x4c]
mov dword [esp + 0x50], 7
jmp 0x420a7a
dec edx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x420a89
xor edx, edx
jmp 0x420af8
mov eax, dword [esp + 0xb0]
test eax, eax
jge 0x420aa0
inc eax
mov dword [esp + 0xb0], eax
xor edx, edx
jmp 0x420af8
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 0x420ad2
mov dword [esp + 0xa8], 0
jmp 0x420af8
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x420af1
inc dword [esp + 0xa8]
mov dword [esp + 0xac], 7
jmp 0x420af8
dec dword [esp + 0xac]
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x420b07
xor eax, eax
jmp 0x420b7b
mov eax, dword [esp + 0xa0]
test eax, eax
jge 0x420b1e
inc eax
mov dword [esp + 0xa0], eax
xor eax, eax
jmp 0x420b7b
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 0x420b55
mov dword [esp + 0x98], 0
jmp 0x420b7b
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x420b74
inc dword [esp + 0x98]
mov dword [esp + 0x9c], 7
jmp 0x420b7b
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.0041dcf0
test eax, eax
je 0x420bf4
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 0x420685
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41fd20
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