Function at 0x45f9a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x52c31c
push 0x52c300
mov ebx, ecx
push 0
push eax
mov dword [ebp - 8], ebx
call fcn.004db5d9
add esp, 0x14
test eax, eax
mov dword [ebp - 0x10], eax
je 0x460648
mov eax, dword [eax + 0x24]
test eax, eax
push esi
push edi
mov dword [ebp - 0xc], eax
jne 0x460009
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
call dword [edx + 0x50]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov esi, dword [ebp + 0x14]
imul edx, dword [esi + 4]
add edx, dword [esi]
lea eax, [eax + edx*4]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], eax
call dword [edx + 0x50]
mov ecx, dword [ebx + 4]
imul ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
add ecx, edx
lea edx, [eax + ecx*4]
mov al, byte [ebx + 0x2e]
test al, al
mov dword [ebp + 0xc], edx
jne 0x45fca7
mov al, byte [ebx + 0x2d]
test al, al
jne 0x45fca7
push 0x567368
push edi
call fcn.00457390
add esp, 8
test al, al
jne 0x45fca7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
imul ecx, dword [esi + 4]
add ecx, dword [esi]
add ecx, eax
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
jle 0x46063e
jmp 0x45fa76
mov esi, dword [ebp + 0x14]
mov esi, dword [esi + 8]
test esi, esi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], esi
jle 0x45fc5e
lea ecx, [ecx]
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov ecx, dword [ebx]
movzx edx, al
cmp edx, esi
mov byte [ebp + 0x13], al
jle 0x45faa7
mov al, byte [ebp - 0xc]
mov byte [ebp + 0x13], al
mov edx, ecx
shr edx, 0x18
mov esi, pe_nt_image_headers32
sub esi, edx
cmp esi, 1
mov dword [ebp - 0x14], esi
jne 0x45fada
movzx eax, al
test eax, eax
jle 0x45fc43
mov ecx, eax
mov edx, dword [ebx]
mov dword [edi], edx
add edi, 4
add ebx, 4
dec ecx
jne 0x45fac8
jmp 0x45fc43
cmp esi, 0x100
jne 0x45faf5
movzx eax, al
lea ecx, [eax*4]
add edi, ecx
add ebx, ecx
jmp 0x45fc43
mov eax, dword [edi]
add ebx, 4
mov dword [ebp + 0x18], ebx
mov ebx, eax
and ebx, 0xff
imul ebx, esi
mov edx, pe_nt_image_headers32
sub edx, esi
mov esi, ecx
and esi, 0xff
imul esi, edx
mov dword [ebp - 0x18], edx
shr ebx, 8
shr esi, 8
add ebx, esi
mov edx, eax
mov esi, ecx
and edx, 0xff0000
imul edx, dword [ebp - 0x14]
and eax, 0xff00
imul eax, dword [ebp - 0x14]
and esi, 0xff0000
imul esi, dword [ebp - 0x18]
and ecx, 0xff00
imul ecx, dword [ebp - 0x18]
shr edx, 8
shr esi, 8
shr eax, 8
and ebx, 0xff
add edx, esi
shr ecx, 8
add eax, ecx
and edx, 0xffff0000
or ebx, edx
and eax, 0xff00
or ebx, eax
movzx eax, byte [ebp + 0x13]
or ebx, 0xff000000
mov dword [edi], ebx
add edi, 4
cmp eax, 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], eax
jle 0x45fc40
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0x18], eax
mov eax, dword [edi]
mov ebx, eax
mov esi, ecx
shr esi, 0x18
and ebx, 0xff
mov edi, ecx
and edi, 0xff
imul edi, esi
mov edx, pe_nt_image_headers32
sub edx, esi
imul ebx, edx
shr edi, 8
mov dword [ebp + 0x10], esi
shr ebx, 8
add ebx, edi
mov esi, eax
mov edi, ecx
and esi, 0xff0000
and edi, 0xff0000
imul esi, edx
imul edi, dword [ebp + 0x10]
and eax, 0xff00
imul eax, edx
and ecx, 0xff00
imul ecx, dword [ebp + 0x10]
shr edi, 8
shr esi, 8
add esi, edi
mov edi, dword [ebp - 0x18]
shr eax, 8
and ebx, 0xff
shr ecx, 8
add eax, ecx
and esi, 0xffff0000
or ebx, esi
and eax, 0xff00
or ebx, eax
mov eax, dword [ebp - 0x14]
or ebx, 0xff000000
mov dword [edi], ebx
add edi, 4
dec eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
jne 0x45fb97
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub esi, eax
add edx, eax
test esi, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], esi
jg 0x45fa90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea edx, [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 4]
lea edx, [edx + eax*4]
add ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + 0xc]
inc eax
cmp eax, esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jl 0x45fa73
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x567368
push edi
call fcn.00457350
add esp, 8
test al, al
je 0x45fe23
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [ebp - 0x1c], 0
jle 0x46063e
nop
mov ecx, dword [esi + 8]
test ecx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x20], 0
jle 0x45fde2
jmp 0x45fcf0
mov esi, dword [edi]
mov ecx, dword [eax]
mov edx, esi
shr edx, 0x18
add edi, 4
test edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x10], edx
je 0x45fdc5
mov ebx, ecx
shr ebx, 0x18
mov edi, 0xff
sub edi, ebx
imul edi, edx
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x10]
imul eax, eax, 0xff
add edx, ebx
mov edi, edx
cdq
idiv edi
mov dword [ebp - 0x24], edi
mov edi, ecx
and edi, 0xff0000
mov ebx, esi
and ebx, 0xff0000
mov edx, pe_nt_image_headers32
imul ebx, eax
sub edx, eax
imul edi, edx
mov dword [ebp + 0x10], eax
shr edi, 8
shr ebx, 8
add edi, ebx
mov eax, ecx
and eax, 0xff
mov ebx, esi
imul eax, edx
and ebx, 0xff
imul ebx, dword [ebp + 0x10]
and ecx, 0xff00
and esi, 0xff00
imul ecx, edx
imul esi, dword [ebp + 0x10]
shr eax, 8
shr ebx, 8
add eax, ebx
and eax, 0xff
and edi, 0xff0000
or edi, eax
mov eax, dword [ebp - 0x24]
shr ecx, 8
shr esi, 8
add ecx, esi
and ecx, 0xff00
or edi, ecx
shl eax, 0x18
or edi, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + 8]
add eax, 4
inc ecx
cmp ecx, esi
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x20], ecx
jl 0x45fcf0
mov esi, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0xc]
inc eax
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jl 0x45fcd0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi]
imul ecx, ebx
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
sar edx, 7
imul ecx, ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp - 0x24], edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [edi + 8]
imul ecx, ebx
mov dword [ebp - 0x10], edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jle 0x46063e
mov edi, edi
mov eax, dword [esi + 8]
test eax, eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov dword [ebp + 0x18], ecx
mov dword [ebp - 0x1c], 0
jle 0x45ffc8
jmp 0x45feb0
mov edx, dword [ebp + 0x18]
mov esi, dword [edx]
mov ecx, dword [edi]
mov edx, ecx
shr edx, 0x18
imul edx, ebx
mov eax, 0x80808081
mul edx
shr edx, 7
add edi, 4
test edx, edx
mov dword [ebp - 0xc], edi
mov dword [ebp + 0x10], edx
je 0x45ffa8
mov ebx, esi
shr ebx, 0x18
mov edi, 0xff
sub edi, ebx
imul edi, edx
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x10]
add edx, ebx
imul eax, eax, 0xff
mov edi, edx
cdq
idiv edi
mov ebx, ecx
and ebx, 0xff0000
mov edx, pe_nt_image_headers32
shl edi, 0x18
imul ebx, eax
sub edx, eax
mov dword [ebp + 0x10], eax
shr ebx, 8
imul ebx, dword [ebp - 0x24]
mov eax, esi
and eax, 0xff0000
imul eax, edx
mov dword [ebp - 0x20], edx
mov edx, ecx
and edx, 0xff
imul edx, dword [ebp + 0x10]
imul edx, dword [ebp - 0x14]
and ecx, 0xff00
imul ecx, dword [ebp + 0x10]
imul ecx, dword [ebp - 0x10]
shr eax, 8
shr ebx, 8
add ebx, eax
mov eax, esi
and eax, 0xff
imul eax, dword [ebp - 0x20]
and esi, 0xff00
imul esi, dword [ebp - 0x20]
shr edx, 0x10
shr eax, 8
add edx, eax
mov eax, dword [ebp + 0x18]
shr ecx, 0x10
and ebx, 0xff0000
shr esi, 8
and edx, 0xff
add ecx, esi
or ebx, edx
and ecx, 0xff00
or ebx, ecx
or ebx, edi
mov edi, dword [ebp - 0xc]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x28]
jmp 0x45ffab
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
add eax, 4
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, edx
mov dword [ebp - 0x1c], eax
jl 0x45feb0
mov esi, ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, ecx
mov dword [ebp - 0x18], eax
jl 0x45fe90
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
mov eax, dword [ebp + 0x14]
imul edi, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x28]
mov esi, dword [eax]
mov eax, dword [ebx]
add edi, ecx
add edi, esi
mov ecx, ebx
mov dword [ebp - 4], edi
call dword [eax + 0x50]
mov ecx, dword [ebx + 4]
imul ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
add ecx, edx
lea edx, [eax + ecx*4]
mov al, byte [ebx + 0x2e]
test al, al
mov dword [ebp + 0xc], edx
jne 0x4602df
mov al, byte [ebx + 0x2d]
test al, al
jne 0x4602df
push 0x567368
push esi
call fcn.00457390
add esp, 8
test al, al
jne 0x4602df
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
imul esi, dword [ecx + 4]
add esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], 0
jle 0x46063e
jmp 0x4600a0
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
test edx, edx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
jle 0x460297
lea ebx, [ebx]
movzx eax, byte [ebx]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
movzx esi, al
cmp esi, edx
mov byte [ebp + 0x13], al
jle 0x4600de
mov al, byte [ebp - 0x14]
mov byte [ebp + 0x13], al
mov edx, ecx
shr edx, 0x18
mov esi, pe_nt_image_headers32
sub esi, edx
cmp esi, 1
mov dword [ebp - 0x20], esi
jne 0x460116
movzx eax, al
test eax, eax
jle 0x460281
mov edx, dword [ebp - 0xc]
mov ecx, eax
movzx esi, byte [ebx]
mov esi, dword [edx + esi*4]
mov dword [edi], esi
add edi, 4
inc ebx
dec ecx
jne 0x460102
jmp 0x460281
cmp esi, 0x100
jne 0x46012b
movzx eax, al
lea edi, [edi + eax*4]
add ebx, eax
jmp 0x460281
mov eax, dword [edi]
mov edx, pe_nt_image_headers32
sub edx, esi
inc ebx
mov dword [ebp + 0x18], ebx
mov ebx, eax
and ebx, 0xff
imul ebx, esi
mov esi, ecx
and esi, 0xff
imul esi, edx
mov dword [ebp - 0x1c], edx
shr ebx, 8
shr esi, 8
add ebx, esi
mov edx, eax
mov esi, ecx
and edx, 0xff0000
imul edx, dword [ebp - 0x20]
and eax, 0xff00
imul eax, dword [ebp - 0x20]
and esi, 0xff0000
imul esi, dword [ebp - 0x1c]
and ecx, 0xff00
imul ecx, dword [ebp - 0x1c]
shr edx, 8
shr esi, 8
shr eax, 8
and ebx, 0xff
add edx, esi
shr ecx, 8
add eax, ecx
and edx, 0xffff0000
or ebx, edx
and eax, 0xff00
or ebx, eax
movzx eax, byte [ebp + 0x13]
or ebx, 0xff000000
mov dword [edi], ebx
add edi, 4
cmp eax, 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], eax
jle 0x46027e
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x4601d0
mov eax, dword [ebp + 0x18]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4]
inc eax
mov dword [ebp + 0x18], eax
mov eax, dword [edi]
mov ebx, eax
mov esi, ecx
shr esi, 0x18
and ebx, 0xff
mov edi, ecx
and edi, 0xff
imul edi, esi
mov edx, pe_nt_image_headers32
sub edx, esi
imul ebx, edx
shr edi, 8
mov dword [ebp + 0x10], esi
shr ebx, 8
add ebx, edi
mov esi, eax
mov edi, ecx
and esi, 0xff0000
and edi, 0xff0000
imul esi, edx
imul edi, dword [ebp + 0x10]
and eax, 0xff00
imul eax, edx
and ecx, 0xff00
imul ecx, dword [ebp + 0x10]
shr edi, 8
shr esi, 8
add esi, edi
mov edi, dword [ebp - 0x20]
shr eax, 8
and ebx, 0xff
shr ecx, 8
add eax, ecx
and esi, 0xffff0000
or ebx, esi
and eax, 0xff00
or ebx, eax
mov eax, dword [ebp - 0x1c]
or ebx, 0xff000000
mov dword [edi], ebx
add edi, 4
dec eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
jne 0x4601d0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp + 0x18]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
sub edx, eax
test edx, edx
mov dword [ebp - 0x14], edx
jg 0x4600c0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx + 4]
mov ecx, dword [edx + 0xc]
add ebx, eax
add esi, eax
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], eax
jl 0x4600a0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x567368
push esi
call fcn.00457350
add esp, 8
test al, al
je 0x460468
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
mov dword [ebp - 0x20], 0
jle 0x46063e
lea ebx, [ebx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
test edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
mov ebx, edi
mov dword [ebp - 0x24], 0
jle 0x460428
lea ecx, [ecx]
movzx edx, byte [ebx]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ecx + edx*4]
mov ecx, dword [eax]
mov edx, esi
shr edx, 0x18
inc ebx
test edx, edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0x10], edx
je 0x46040d
mov ebx, ecx
shr ebx, 0x18
mov edi, 0xff
sub edi, ebx
imul edi, edx
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x10]
imul eax, eax, 0xff
add edx, ebx
mov edi, edx
cdq
idiv edi
mov dword [ebp - 0x28], edi
mov edi, ecx
and edi, 0xff0000
mov ebx, esi
and ebx, 0xff0000
mov edx, pe_nt_image_headers32
imul ebx, eax
sub edx, eax
imul edi, edx
mov dword [ebp + 0x10], eax
shr ebx, 8
shr edi, 8
add edi, ebx
mov eax, ecx
and eax, 0xff
mov ebx, esi
imul eax, edx
and ebx, 0xff
imul ebx, dword [ebp + 0x10]
and ecx, 0xff00
and esi, 0xff00
imul ecx, edx
imul esi, dword [ebp + 0x10]
shr eax, 8
shr ebx, 8
add eax, ebx
mov ebx, dword [ebp - 0x1c]
and eax, 0xff
and edi, 0xff0000
or edi, eax
mov eax, dword [ebp - 0x28]
shr ecx, 8
shr esi, 8
add ecx, esi
and ecx, 0xff00
or edi, ecx
shl eax, 0x18
or edi, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + 8]
add eax, 4
inc ecx
cmp ecx, esi
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x24], ecx
jl 0x460330
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 4]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x20]
add edi, esi
inc eax
cmp eax, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], eax
jl 0x460310
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
imul ecx, ebx
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [esi + 4]
sar edx, 7
imul ecx, ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp - 0x18], edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esi + 8]
imul ecx, ebx
mov dword [ebp - 0x10], edx
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0x14]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], 0
jle 0x46063e
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x18], edx
mov ebx, edi
mov dword [ebp - 0x20], 0
jle 0x46060f
movzx ecx, byte [ebx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov edx, ecx
shr edx, 0x18
imul edx, dword [ebp - 0x28]
mov eax, 0x80808081
mul edx
shr edx, 7
inc ebx
test edx, edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp + 0x10], edx
je 0x4605f1
mov ebx, esi
shr ebx, 0x18
mov edi, 0xff
sub edi, ebx
imul edi, edx
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x10]
add edx, ebx
imul eax, eax, 0xff
mov edi, edx
cdq
idiv edi
mov ebx, ecx
and ebx, 0xff0000
mov edx, pe_nt_image_headers32
shl edi, 0x18
imul ebx, eax
sub edx, eax
mov dword [ebp + 0x10], eax
shr ebx, 8
imul ebx, dword [ebp - 0x18]
mov eax, esi
and eax, 0xff0000
imul eax, edx
mov dword [ebp - 0x24], edx
mov edx, ecx
and edx, 0xff
imul edx, dword [ebp + 0x10]
imul edx, dword [ebp - 0x14]
and ecx, 0xff00
imul ecx, dword [ebp + 0x10]
imul ecx, dword [ebp - 0x10]
shr eax, 8
shr ebx, 8
add ebx, eax
mov eax, esi
and eax, 0xff
imul eax, dword [ebp - 0x24]
and esi, 0xff00
imul esi, dword [ebp - 0x24]
shr edx, 0x10
shr eax, 8
add edx, eax
mov eax, dword [ebp + 0x18]
shr ecx, 0x10
and ebx, 0xff0000
shr esi, 8
and edx, 0xff
add ecx, esi
or ebx, edx
and ecx, 0xff00
or ebx, ecx
or ebx, edi
mov edi, dword [ebp - 4]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x2c]
jmp 0x4605f4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
add eax, 4
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, edx
mov dword [ebp - 0x20], eax
jl 0x4604f3
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
add edi, ebx
mov dword [ebp + 0xc], edx
mov edx, dword [ecx + 0xc]
inc eax
cmp eax, edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], eax
jl 0x4604d6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14