Function at 0x4249f0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ecx + 4]
mov ebx, ecx
mov esi, eax
and esp, 0xfffffff0
and edi, 0xfffffffc
sub esp, 0xa0
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], ecx
xor eax, eax
mov dword [esp + 0x54], edx
mov dword [ecx], 0
mov dword [ecx + 0x3fc], 0
sub ecx, edi
add ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0
mov edi, esi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
sub eax, 1
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, esi
add eax, ecx
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [eax]
mov dword [esp + 0x84], ecx
test esi, esi
js 0x424aa4
lea ecx, [esi - 1]
add dword [ebx + eax*4], 1
cmp ecx, 0xffffffff
je 0x424aa4
movzx edx, byte [edi + esi - 1]
cmp edx, eax
jl 0x424b3e
mov esi, ecx
mov eax, edx
lea ecx, [esi - 1]
add dword [ebx + eax*4], 1
cmp ecx, 0xffffffff
jne 0x424a87
xor esi, esi
xor edx, edx
xor edi, edi
mov dword [esp + 0x8c], esi
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + ecx*4]
add eax, edi
add edi, edx
mov dword [ebx + ecx*4], edi
mov edi, ecx
shl ecx, 8
or edi, ecx
mov ebx, ecx
mov dword [esp + 0x88], ecx
add eax, dword [esi + edi*4]
mov edi, eax
mov eax, dword [esp + 0x8c]
add eax, 1
cmp eax, 0x100
mov dword [esp + 0x7c], eax
je 0x424bc7
mov ecx, ebx
add ecx, 0x100
nop
mov ebx, dword [esp + 0x88]
or ebx, eax
add eax, 1
lea ebx, [esi + ebx*4]
add edx, dword [ebx]
mov dword [ebx], edx
mov ebx, dword [esp + 0x8c]
or ebx, ecx
add ecx, 0x100
add edi, dword [esi + ebx*4]
cmp eax, 0x100
jne 0x424b00
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x8c], eax
mov ecx, eax
jmp 0x424abb
mov dword [esp + 0x88], ecx
mov ecx, edx
sub dword [esp + 0x84], 1
shl ecx, 8
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x88]
or eax, ecx
mov ecx, dword [ebp + 8]
sub esi, 2
add dword [ecx + eax*4], 1
mov eax, dword [esp + 0x84]
cmp esi, 0xffffffff
mov ecx, dword [esp + 0x54]
mov dword [ecx + eax*4], edx
je 0x424aa4
movzx eax, byte [edi + esi]
cmp dword [esp + 0x8c], eax
jl 0x424a77
mov edx, dword [esp + 0x8c]
mov ecx, eax
shl edx, 8
sub esi, 1
or edx, eax
mov eax, dword [ebp + 8]
add dword [eax + edx*4], 1
cmp esi, 0xffffffff
je 0x424aa4
movzx eax, byte [edi + esi]
mov edx, ecx
cmp eax, ecx
jg 0x424a77
mov ecx, eax
jmp 0x424b9d
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x84]
test eax, eax
mov dword [esp + 0x30], eax
jle 0x425066
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x54]
lea ebx, [ecx*4]
sub eax, ecx
sub ecx, 2
lea eax, [edi + eax*4]
cmp ecx, 0xffffffff
mov dword [esp + 0x74], eax
lea eax, [edi + ebx]
mov dword [esp + 0x58], eax
je 0x424c3d
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
mov edi, dword [esi + ecx*4]
movzx eax, byte [edx + edi + 1]
movzx edi, byte [edx + edi]
shl edi, 8
or eax, edi
mov edi, dword [ebp + 8]
lea edi, [edi + eax*4]
mov eax, dword [edi]
sub eax, 1
mov dword [edi], eax
mov edi, dword [esp + 0x54]
mov dword [edi + eax*4], ecx
sub ecx, 1
cmp ecx, 0xffffffff
jne 0x424c10
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], 0xfe
mov eax, dword [eax + ebx - 4]
movzx edx, byte [ecx + eax + 1]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp + 8]
shl eax, 8
or eax, edx
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx]
lea edi, [ecx - 1]
mov dword [esp + 0x34], ecx
sub eax, 1
mov dword [esp + 0x48], edi
mov dword [edx], eax
mov dword [esi + eax*4], edi
lea eax, [ecx + ecx]
mov edi, dword [ebp + 0xc]
sub edi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
shl eax, 8
mov dword [esp + 0x3c], 0xff
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
or edx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + edx*4]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x34], ecx
cmp edx, 1
jle 0x424f74
mov esi, dword [esp + 0x54]
lea ecx, [esi + ecx*4]
lea eax, [esi + eax*4]
mov edi, dword [ecx]
cmp dword [esp + 0x48], edi
mov esi, eax
mov dword [esp + 0x60], eax
lea eax, [ecx + 4]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x44]
cmovne eax, ecx
mov ecx, eax
mov dword [esp + 0x5c], eax
cmp edi, 0x3ff
jle 0x42508e
mov eax, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
sub esi, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
cmp esi, 0x1003
jle 0x4250ea
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x7c], 0
lea eax, [edi + 0x1000]
mov edx, dword [esp + 0x74]
mov ecx, edi
mov esi, eax
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call fcn.004220a0
mov eax, dword [esp + 0x60]
sub eax, esi
sar eax, 2
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
jle 0x425070
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x7c]
mov ebx, 0x400
mov edx, edi
test al, 1
mov esi, eax
je 0x424ddf
mov ecx, dword [esp + 0x8c]
lea eax, [ebx*4]
mov edi, edx
mov dword [esp], edx
sar esi, 1
add ebx, ebx
sub edi, eax
add eax, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, edi
call fcn.00423840
test esi, 1
mov edx, edi
jne 0x424d95
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add dword [esp + 0x7c], 1
sub eax, ecx
mov edi, ecx
cmp eax, 0x1003
jg 0x424d3f
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov edi, ecx
mov ebx, 0x400
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call fcn.004220a0
mov esi, dword [esp + 0x7c]
mov eax, edi
jmp 0x424e27
add ebx, ebx
sar esi, 1
je 0x424e72
test esi, 1
je 0x424e21
mov ecx, dword [esp + 0x84]
lea edx, [ebx*4]
mov edi, eax
mov dword [esp], eax
mov eax, dword [esp + 0x80]
add ebx, ebx
sub edi, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, edi
call fcn.00423840
sar esi, 1
mov eax, edi
jne 0x424e27
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x425111
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x48], ecx
jne 0x424f74
mov esi, dword [esp + 0x5c]
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x74]
mov edi, dword [esi - 4]
mov eax, dword [eax + edi*4]
jbe 0x424f6d
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ecx
mov edi, dword [esi]
test edi, edi
js 0x424f52
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
lea ebx, [eax + edi*4]
mov eax, dword [esp + 0x7c]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
add eax, ecx
cmp eax, dword [esp + 0x88]
lea edx, [ecx + edx + 2]
lea ebx, [ecx + ebx + 2]
jae 0x424f39
cmp edx, ebx
jae 0x424f39
movzx ecx, byte [edx]
cmp byte [eax], cl
jne 0x424f39
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x8c], ebx
add eax, 1
add edx, 1
cmp ecx, eax
jbe 0x424f2b
cmp dword [esp + 0x8c], edx
jbe 0x424f2b
movzx ebx, byte [edx]
cmp byte [eax], bl
je 0x424f11
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x88], ecx
cmp eax, dword [esp + 0x88]
jae 0x424f62
cmp edx, ebx
jae 0x424f52
movzx eax, byte [eax]
movzx edx, byte [edx]
sub eax, edx
test eax, eax
jle 0x424f62
mov dword [esi - 4], edi
add esi, 4
cmp dword [esp + 0x60], esi
ja 0x424ec4
mov edi, dword [esp + 0x84]
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x5c]
mov dword [eax - 4], edi
sub dword [esp + 0x3c], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x2c]
jne 0x424caf
mov edx, dword [esp + 0x34]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x2c], eax
test edx, edx
jg 0x424c9c
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x54]
lea ecx, [esi + ebx*4]
mov eax, ebx
mov edi, dword [ecx]
test edi, edi
js 0x424fe1
mov edi, dword [esp + 0x58]
mov edx, dword [ecx]
mov dword [edi + edx*4], eax
sub eax, 1
cmp eax, 0xffffffff
je 0x4257b0
sub ecx, 4
mov edx, dword [ecx]
test edx, edx
jns 0x424fb7
mov edx, eax
sub edx, ebx
test eax, eax
mov dword [esi + eax*4 + 4], edx
je 0x4257ba
lea ecx, [esi + eax*4]
mov edx, eax
jmp 0x424fea
mov edx, edi
mov ebx, dword [ecx]
mov edi, dword [esp + 0x58]
sub ecx, 4
not ebx
mov dword [ecx + 4], ebx
mov dword [edi + ebx*4], eax
lea edi, [edx - 1]
mov ebx, dword [ecx]
test ebx, ebx
js 0x424fe8
mov ecx, dword [esp + 0x58]
mov dword [ecx + ebx*4], eax
mov ebx, edx
sub ebx, 2
jns 0x424fa8
jmp 0x4257ba
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 8]
mov eax, edi
or eax, esi
lea ebx, [ebx + eax*4]
mov eax, edi
add eax, 1
or eax, esi
mov esi, edx
sub esi, dword [ebx]
add esi, 1
mov dword [ecx + eax*4], esi
mov eax, edi
mov dword [ebx], edx
sub eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x78], eax
jne 0x425a36
mov eax, dword [esp + 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x88], eax
jmp 0x424d84
sub esi, dword [esp + 0x5c]
mov ebx, esi
sar ebx, 2
cmp dword [esp + 0x44], ebx
jge 0x4252e6
cmp ebx, 0xfffff
mov dword [esp + 0x84], 0x400
mov eax, 0xfffff000
jle 0x425264
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x64], ecx
mov esi, eax
sub esi, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
cmp esi, 0x1003
jg 0x424d33
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call fcn.004220a0
mov edi, dword [esp + 0x64]
test edi, edi
je 0x424e7e
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [esp], esi
call fcn.004220a0
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x64]
mov eax, dword [eax - 4]
test eax, eax
js 0x42558a
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x40], 0
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
sub ecx, edi
mov esi, ecx
mov dword [esp + 0x38], ecx
sar ecx, 2
sar esi, 3
test ecx, ecx
mov dword [esp + 0x88], ecx
jle 0x425723
mov edx, dword [eax]
mov ecx, dword [esp + 0x80]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], 0xffffffff
lea ebx, [ecx + edx + 2]
mov edx, ebx
mov dword [esp + 0x84], ebx
lea ebx, [ecx + eax + 2]
mov eax, edi
cmp edx, ebx
setae byte [esp + 0x7c]
lea edi, [eax + esi*4]
mov edx, dword [edi]
mov eax, edx
lea ecx, [edx*4]
not eax
shl eax, 2
test edx, edx
mov edx, dword [esp + 0x80]
cmovs ecx, eax
add ecx, dword [esp + 0x74]
mov eax, dword [ecx]
lea eax, [edx + eax + 2]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x80]
lea ecx, [ecx + edx + 2]
mov edx, dword [esp + 0x84]
cmp eax, ecx
jae 0x425224
cmp byte [esp + 0x7c], 0
jne 0x425224
movzx edx, byte [edx]
cmp byte [eax], dl
mov edx, dword [esp + 0x84]
jne 0x425224
mov dword [esp + 0x8c], ebx
add eax, 1
add edx, 1
cmp ecx, eax
jbe 0x42521d
cmp edx, dword [esp + 0x8c]
jae 0x42521d
movzx ebx, byte [edx]
cmp byte [eax], bl
je 0x425203
mov ebx, dword [esp + 0x8c]
cmp eax, ecx
jae 0x425312
cmp edx, ebx
jae 0x425486
movzx eax, byte [eax]
movzx edx, byte [edx]
sub eax, edx
js 0x42546c
mov dword [esp + 0x70], eax
mov eax, esi
mov dword [esp + 0x88], esi
sar eax, 1
test esi, esi
jle 0x425335
mov esi, eax
mov eax, dword [esp + 0x68]
jmp 0x4251a5
test ebx, 0xffff0000
je 0x425cee
test ebx, 0xff000000
je 0x425795
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x4fe8c0]
add eax, 0x18
cmp eax, 0xf
jle 0x425766
mov edx, eax
and edx, 0xfffffffe
lea ecx, [edx - 6]
mov edx, ebx
sar edx, cl
mov ecx, eax
mov edx, dword [edx*4 + 0x4fe4c0]
sar ecx, 1
sub ecx, 7
shl edx, cl
cmp eax, 0x17
mov ecx, edx
jle 0x4252c2
mov eax, ebx
cdq
idiv ecx
lea ecx, [ecx + eax + 1]
sar ecx, 1
mov eax, ebx
cdq
idiv ecx
lea eax, [ecx + eax + 1]
sar eax, 1
mov edx, eax
imul edx, eax
cmp ebx, edx
setl dl
movzx edx, dl
sub eax, edx
cmp dword [esp + 0x44], eax
jl 0x425d07
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
jmp 0x424d27
cmp edx, ebx
jb 0x42546c
mov eax, esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x88], esi
sar eax, 1
test esi, esi
jg 0x425259
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jbe 0x42555c
mov esi, dword [esp + 0x70]
test esi, esi
jne 0x425353
not dword [ecx]
mov eax, dword [esp + 0x78]
sub eax, ecx
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], eax
sar eax, 2
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x64]
mov ebx, 3
mov edx, edi
mov eax, esi
sub eax, ecx
sar eax, 2
mov dword [esp + 0x7c], eax
lea eax, [ecx + 4]
sub ebx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
lea eax, [ecx - 4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x425540
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x425540
cmp eax, ecx
je 0x4255bf
jge 0x425493
mov ecx, eax
not eax
mov ebx, dword [esi - 4]
mov dword [esp + 0x6c], eax
mov eax, ecx
mov ecx, dword [esp + 0x7c]
add eax, 1
sub ecx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
lea ecx, [edx - 1]
lea edi, [eax - 5]
mov dword [esp + 0x8c], ecx
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0xfffffffc
neg ecx
cmp edi, dword [esp + 0x8c]
lea eax, [ecx - 8]
mov ecx, 0xfffffff8
cmovae ecx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x84], ecx
lea ecx, [esi - 4]
mov esi, esi
lea edi, [edi]
mov edi, dword [esp + 0x70]
mov esi, ecx
mov dword [esp + 0x8c], eax
lea esi, [esi]
mov eax, dword [edi]
sub esi, 4
sub edi, 4
cmp edi, edx
mov dword [esi + 4], eax
mov eax, dword [esi]
mov dword [edi + 4], eax
jae 0x425430
mov eax, dword [esp + 0x8c]
add ecx, dword [esp + 0x84]
cmp dword [esp + 0x88], eax
mov dword [esi], ebx
mov ebx, eax
jge 0x42552d
mov ebx, dword [esi - 4]
add eax, dword [esp + 0x6c]
jmp 0x425420
lea eax, [edi + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
not eax
and eax, 1
sub esi, eax
jmp 0x425246
mov dword [esp + 0x70], 1
jmp 0x425246
mov ebx, eax
mov eax, dword [edx]
mov edi, edx
mov dword [esp + 0x84], eax
mov eax, ecx
not eax
mov dword [esp + 0x6c], eax
mov eax, ecx
add eax, 1
sub ebx, eax
mov eax, dword [esp + 0x50]
lea ecx, [eax + esi]
mov eax, 8
and ecx, 0xfffffffc
add ecx, 8
cmp esi, dword [esp + 0x4c]
cmovae eax, ecx
mov dword [esp + 0x88], eax
nop
mov edx, edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x8c], ebx
jmp 0x4254e2
mov edx, ecx
mov ebx, dword [eax]
lea ecx, [edx + 4]
add eax, 4
cmp esi, eax
mov dword [ecx - 4], ebx
mov ebx, dword [edx + 4]
mov dword [eax - 4], ebx
ja 0x4254e0
mov ebx, dword [esp + 0x8c]
add edx, 8
add edi, dword [esp + 0x88]
cmp dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x84]
mov dword [ecx], eax
mov eax, ebx
jge 0x4255a0
mov eax, dword [ecx + 4]
add ebx, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
jmp 0x4254d0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x7c], ebx
test eax, eax
jg 0x4253a7
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
sub dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
je 0x424e7e
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x40]
sub dword [esp + 0x64], 4
mov eax, dword [esp + 0x64]
test ebx, ebx
jne 0x4255b0
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x78], ecx
je 0x424e7e
mov eax, dword [esp + 0x64]
mov eax, dword [eax - 4]
test eax, eax
jns 0x42513f
mov ecx, dword [esp + 0x74]
not eax
mov dword [esp + 0x40], 1
lea eax, [ecx + eax*4]
jmp 0x42514e
mov dword [esp + 0x88], eax
jmp 0x42539f
sub eax, 4
mov ecx, dword [eax]
test ecx, ecx
js 0x4255b0
mov dword [esp + 0x64], eax
jmp 0x42556d
mov ecx, dword [esp + 0x78]
mov ebx, eax
mov esi, eax
lea eax, [edx + 0x10]
mov edi, edx
cmp ecx, eax
lea eax, [ecx + 0x10]
setae dl
cmp edi, eax
setae al
or dl, al
je 0x42573a
cmp ebx, 8
jbe 0x42573a
mov edx, edi
shr edx, 2
mov eax, edx
neg eax
mov edx, eax
and edx, 3
je 0x42575d
mov ebx, ecx
mov eax, dword [edi]
mov ecx, dword [ecx]
sub dword [esp + 0x88], 1
cmp edx, 1
lea ebx, [ebx + 4]
mov dword [edi], ecx
mov dword [ebx - 4], eax
lea ecx, [edi + 4]
je 0x425669
mov ebx, dword [esp + 0x78]
cmp edx, 2
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 4]
lea ebx, [ebx + 8]
mov dword [edi + 4], ecx
mov dword [ebx - 4], eax
mov eax, dword [esp + 0x7c]
lea ecx, [eax - 2]
mov dword [esp + 0x88], ecx
lea ecx, [edi + 8]
je 0x425669
mov ebx, dword [esp + 0x78]
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 8]
lea ebx, [ebx + 0xc]
mov dword [edi + 8], ecx
mov dword [ebx - 4], eax
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x7c]
sub eax, 3
mov dword [esp + 0x88], eax
sub esi, edx
lea eax, [esi - 4]
mov dword [esp + 0x7c], esi
shr eax, 2
add eax, 1
mov dword [esp + 0x84], eax
lea esi, [eax*4]
lea eax, [edx*4]
xor edx, edx
add edi, eax
add eax, dword [esp + 0x78]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x8c]
xor eax, eax
movdqa xmm0, xmmword [edi + eax]
add edx, 1
movdqu xmm1, xmmword [ecx + eax]
movaps xmmword [edi + eax], xmm1
movups xmmword [ecx + eax], xmm0
add eax, 0x10
cmp edx, dword [esp + 0x84]
jb 0x4256a9
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x88]
lea edx, [esi*4]
sub edi, esi
add ecx, edx
add edx, ebx
cmp esi, dword [esp + 0x7c]
je 0x425540
mov eax, dword [ecx]
mov ebx, dword [edx]
cmp edi, 1
mov dword [ecx], ebx
mov dword [edx], eax
je 0x425540
mov eax, dword [ecx + 4]
mov ebx, dword [edx + 4]
cmp edi, 2
mov dword [ecx + 4], ebx
mov dword [edx + 4], eax
je 0x425540
mov eax, dword [ecx + 8]
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov dword [edx + 8], eax
jmp 0x425540
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x5c], ecx
jae 0x42555c
mov dword [esp + 0x68], edi
jmp 0x42536b
mov edx, dword [esp + 0x78]
xor eax, eax
mov ecx, dword [edi + eax*4]
mov ebx, dword [edx + eax*4]
mov dword [edi + eax*4], ebx
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [esp + 0x88]
jne 0x425740
jmp 0x425540
mov ebx, ecx
mov ecx, edi
jmp 0x425669
cmp eax, 7
jle 0x425d29
mov edx, eax
sar eax, 1
and edx, 0xfffffffe
lea ecx, [edx - 6]
mov edx, ebx
sar edx, cl
mov ecx, 7
sub ecx, eax
mov eax, dword [edx*4 + 0x4fe4c0]
sar eax, cl
add eax, 1
jmp 0x4252cd
mov eax, esi
sar eax, 0x12
mov eax, dword [eax*4 + 0x4fe8c0]
add eax, 0x10
jmp 0x42528b
mov eax, dword [esp + 0x54]
mov ecx, ebx
not ecx
mov dword [eax], ecx
mov esi, dword [esp + 0x30]
mov eax, esi
call fcn.0041fae0
lea ecx, [eax + eax]
mov edx, 0x55555556
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], esi
mov eax, ecx
sar ecx, 0x1f
imul edx
mov eax, esi
neg eax
mov dword [esp + 0x88], eax
sub edx, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x90], edx
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
cmp eax, edx
jge 0x42590d
mov esi, dword [esp + 0x54]
mov dword [esp + 0x8c], 0
xor eax, eax
test edx, edx
mov ebx, esi
js 0x425866
test eax, eax
je 0x425830
lea ecx, [eax*4]
mov dword [esi + ecx], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + edx*4]
lea ebx, [ecx + eax*4 + 4]
mov eax, ebx
sub eax, esi
cmp eax, 7
jg 0x42589f
sub eax, 4
cmp eax, 3
jbe 0x425881
cmp dword [esp + 0x58], ebx
jbe 0x4258e7
mov edx, dword [ebx]
test edx, edx
js 0x425864
mov esi, ebx
jmp 0x425830
xor eax, eax
lea ecx, [edx*4]
mov esi, ebx
add eax, edx
sub esi, ecx
cmp dword [esp + 0x58], esi
jbe 0x4259f7
mov edx, dword [esi]
jmp 0x42581c
cmp dword [esp + 0x58], ebx
jbe 0x425cdf
mov edx, dword [ebx]
mov esi, ebx
mov eax, 0xffffffff
mov ecx, 0xfffffffc
test edx, edx
jns 0x42582d
jmp 0x425866
lea eax, [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov edx, edi
mov dword [esp + 0x9c], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
call fcn.0041fd80
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4259e4
add dword [esp + 0x8c], eax
cmp dword [esp + 0x58], ebx
ja 0x42585a
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42590d
mov eax, edi
sub eax, dword [esp + 0x58]
add edi, eax
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
cmp dword [esp + 0x88], edx
jl 0x42580b
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x80]
movzx ecx, byte [eax]
mov eax, dword [esp + 0x58]
lea esi, [eax + esi*4]
mov dword [esp + 0x8c], esi
test ebx, ebx
js 0x425a1e
lea eax, [ebx - 1]
cmp eax, 0xffffffff
je 0x425a1e
movzx edx, byte [edi + ebx - 1]
cmp ecx, edx
jg 0x425976
sub eax, 1
mov ecx, edx
mov esi, dword [esp + 0x8c]
cmp eax, 0xffffffff
je 0x425a1e
movzx edx, byte [edi + eax]
cmp edx, ecx
jge 0x425a10
mov dword [esp + 0x8c], esi
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
je 0x4259b1
movzx ecx, byte [edi + eax - 1]
cmp edx, ecx
mov edx, ecx
jl 0x4259b1
sub ebx, 1
mov esi, dword [esp + 0x8c]
cmp ebx, 0xffffffff
je 0x425c80
movzx ecx, byte [edi + ebx]
cmp ecx, edx
jle 0x425c72
mov dword [esp + 0x8c], esi
mov edx, ecx
test eax, eax
je 0x4259c5
mov ecx, eax
sub ecx, ebx
mov esi, ecx
mov ecx, eax
not ecx
cmp esi, 1
cmovle eax, ecx
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x54]
sub dword [esp + 0x8c], 4
mov ecx, dword [ecx]
mov dword [esi + ecx*4], eax
mov ecx, edx
jmp 0x425931
mov eax, esi
mov esi, ebx
sub eax, ebx
sar eax, 2
cmp dword [esp + 0x58], esi
ja 0x42587d
test eax, eax
je 0x4258e7
lea edx, [eax*4]
mov ebx, esi
mov dword [ebx + edx], eax
jmp 0x4258e7
sub eax, 1
mov ecx, edx
cmp eax, 0xffffffff
jne 0x425963
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x78], 0xfe
mov dword [eax + 0x3fffc], ecx
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x88], 0xff
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov esi, dword [esi + eax*4 + 4]
shl eax, 8
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], esi
lea edx, [esi - 1]
jmp 0x425b85
mov eax, dword [ecx + ebx - 4]
mov edx, dword [esp + 0x8c]
cmp esi, 2
mov dword [ecx + edx - 4], eax
mov edx, dword [esp + 0x6c]
lea eax, [edx - 2]
mov dword [esp + 0x6c], eax
lea eax, [edi - 2]
je 0x425cc1
mov eax, dword [esp + 0x8c]
mov ebx, dword [ecx + ebx - 8]
sub edx, 3
mov dword [esp + 0x8c], edx
sub edi, 3
mov dword [ecx + eax - 8], ebx
mov eax, dword [esp + 0x7c]
mov ebx, esi
shl ebx, 0x1e
sub ebx, esi
sub eax, esi
lea edx, [eax - 4]
mov dword [esp + 0x64], eax
shr edx, 2
lea eax, [edx + 1]
mov dword [esp + 0x7c], eax
shl eax, 2
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
lea esi, [eax + ebx + 0x3ffffffd]
add ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x8c]
lea edx, [ecx + esi*4]
lea esi, [ecx + ebx*4]
xor ebx, ebx
movdqa xmm2, xmmword [esi]
add ebx, 1
sub edx, 0x10
sub esi, 0x10
movups xmmword [edx + 0x10], xmm2
cmp ebx, dword [esp + 0x7c]
jb 0x425aef
mov esi, dword [esp + 0x6c]
mov ebx, eax
sub ebx, esi
sub edi, esi
cmp esi, dword [esp + 0x64]
mov eax, ebx
mov edx, edi
je 0x425b53
lea esi, [edi*4]
mov edi, dword [ecx + edi*4]
lea ebx, [ebx*4]
mov dword [ecx + eax*4], edi
mov edi, dword [esp + 0x84]
lea eax, [edx - 1]
cmp edi, eax
jg 0x425b53
mov eax, dword [ecx + esi - 4]
sub edx, 2
cmp edi, edx
mov dword [ecx + ebx - 4], eax
jg 0x425b53
mov eax, dword [ecx + esi - 8]
mov dword [ecx + ebx - 8], eax
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x84]
not edx
lea edi, [eax - 1]
add edx, eax
add edx, dword [esp + 0x80]
sub dword [esp + 0x88], 1
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x78]
je 0x425020
mov esi, dword [esp + 0x88]
mov ebx, dword [ebp + 8]
mov eax, esi
shl eax, 8
or eax, dword [esp + 0x78]
lea ebx, [ebx + eax*4]
mov eax, edx
sub eax, dword [ebx]
mov dword [ebx], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
or edx, esi
mov eax, dword [eax + edx*4]
cmp eax, edi
mov dword [esp + 0x84], eax
jg 0x425cd3
mov edx, edi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x74], edi
sub edx, eax
lea eax, [edx + 1]
lea ebx, [esi*4 - 0xc]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], eax
lea eax, [edi + 0x3ffffffd]
lea edx, [eax*4]
mov dword [esp + 0x70], eax
mov eax, esi
lea esi, [edx + 0x10]
cmp ebx, esi
setge bl
mov esi, ebx
lea ebx, [eax*4 + 4]
mov eax, esi
cmp ebx, edx
setle bl
or al, bl
je 0x425c90
cmp dword [esp + 0x7c], 0xc
jbe 0x425c90
add edx, ecx
shr edx, 2
mov esi, edx
and esi, 3
je 0x425aa9
mov edx, dword [esp + 0x8c]
cmp esi, 1
lea ebx, [edi*4]
lea eax, [edx*4]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + edi*4]
mov dword [ecx + edx*4], eax
lea eax, [edx - 1]
mov edx, eax
lea eax, [edi - 1]
jne 0x425a67
mov edi, eax
mov dword [esp + 0x8c], edx
jmp 0x425aa9
sub ebx, 1
mov edx, ecx
cmp ebx, 0xffffffff
jne 0x42599c
mov dword [esp + 0x8c], esi
jmp 0x4259b1
mov eax, dword [esp + 0x84]
lea edx, [ecx + edx + 0xc]
lea ebx, [ecx + eax*4 - 4]
mov eax, dword [esp + 0x8c]
sub eax, edi
nop
lea esi, [esi]
mov esi, dword [edx]
mov dword [edx + eax*4], esi
sub edx, 4
cmp ebx, edx
jne 0x425cb0
jmp 0x425b53
mov edi, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
jmp 0x425aa9
mov edx, dword [esp + 0x8c]
jmp 0x425b6c
mov edx, 0xfffffffc
mov eax, 0xffffffff
jmp 0x425a08
test bh, 0xff
je 0x425d38
mov eax, esi
sar eax, 0xa
mov eax, dword [eax*4 + 0x4fe8c0]
add eax, 8
jmp 0x42528b
cmp eax, 0x400
mov edx, 0x400
cmovle edx, eax
lea eax, [edx*4]
mov dword [esp + 0x84], edx
neg eax
jmp 0x4250bd
mov eax, dword [ebx*4 + 0x4fe4c0]
sar eax, 4
jmp 0x4252dc
movzx eax, bl
mov eax, dword [eax*4 + 0x4fe8c0]
jmp 0x42528b