Function at 0x4e2e03
Capabilities:
Encrypt data using rc4 ksa
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xb4]
imul eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
mov edi, dword [eax]
cmp edi, 3
je 0x4e3117
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
call fcn.004da165
test eax, eax
jne 0x4e3056
mov eax, dword [esp + 0xa8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
cmp esi, 3
je 0x4e306e
mov eax, dword [esp + 0xac]
mov ebp, dword [eax + 4]
cmp ebp, 0x10
je 0x4e3297
cmp dword [esp + 0x14], 8
je 0x4e33b2
mov byte [esp + 0x34], 0
mov byte [esp + 0x36], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e2f6c
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x24], eax
mov edi, eax
xor ebx, ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x36]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], eax
lea ebp, [esp + 0x3a]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
call fcn.004dbbbf
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0x38]
movzx ecx, byte [esp + 0x36]
movzx edx, byte [esp + 0x34]
mov esi, dword [ebp]
cmp esi, 6
ja case.0x4e2f2c.1
jmp dword [esi*4 + 0x4f0100]
cmp dword [ebp + 4], 8
je 0x4e31e5
mov byte [edi + 1], dl
mov byte [edi], dl
mov byte [edi + 3], cl
mov byte [edi + 2], cl
mov byte [edi + 5], al
mov byte [edi + 4], al
add ebx, 1
add dword [esp + 0x24], 3
add edi, 6
cmp dword [esp + 0x10], ebx
jne 0x4e2eda
mov eax, dword [esp + 0xa8]
mov esi, dword [eax]
xor ecx, ecx
cmp esi, 3
jne 0x4e3061
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], eax
jmp 0x4e30f9
mov esi, dword [esp + 0xa0]
cmp dword [ebp + 4], 8
je 0x4e31cc
mov byte [esi + ebx*8 + 1], dl
mov byte [esi + ebx*8], dl
mov byte [esi + ebx*8 + 3], cl
mov byte [esi + ebx*8 + 2], cl
mov byte [esi + ebx*8 + 5], al
mov byte [esi + ebx*8 + 4], al
movzx eax, byte [esp + 0x14]
mov byte [esi + ebx*8 + 7], al
mov byte [esi + ebx*8 + 6], al
jmp case.0x4e2f2c.1
mov eax, dword [ebp + 4]
cmp eax, 8
je 0x4e31b2
cmp eax, 0x10
jne case.0x4e2f2c.1
mov eax, dword [esp + 0xa0]
mov byte [eax + ebx*4 + 1], dl
mov byte [eax + ebx*4], dl
mov esi, eax
movzx eax, byte [esp + 0x14]
mov byte [esi + ebx*4 + 3], al
mov byte [esi + ebx*4 + 2], al
jmp case.0x4e2f2c.1
mov dword [esp + 0x2c], edx
movzx edx, byte [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
call fcn.004d93c2
test eax, eax
js 0x4e33d7
mov ecx, dword [ebp + 4]
cmp ecx, 8
jne 0x4e318d
mov esi, dword [esp + 0xa0]
mov byte [esi + ebx], al
jmp case.0x4e2f2c.1
mov eax, dword [ebp + 4]
cmp eax, 8
je 0x4e31a3
cmp eax, 0x10
jne 0x4e31f6
mov eax, dword [esp + 0xa0]
mov byte [eax + ebx*2 + 1], dl
mov byte [eax + ebx*2], dl
jmp case.0x4e2f2c.1
cmp edi, 6
jbe 0x4e3138
xor ecx, ecx
mov eax, ecx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0xa8]
mov ebp, dword [ecx + 8]
mov edx, 1
movzx ecx, byte [esp + 0x14]
shl edx, cl
test eax, eax
je 0x4e3227
cmp eax, edx
cmovbe edx, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x18], edi
mov ecx, 0x10
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x7c], 0xffffffff
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
jmp 0x4e30cd
add ebx, 1
cmp ebx, edi
je 0x4e33e1
movzx ecx, byte [ebp + ebx*4 + 1]
movzx edx, byte [ebp + ebx*4]
mov dword [esp + 8], ebx
movzx eax, byte [ebp + ebx*4 + 3]
mov dword [esp + 4], eax
movzx eax, byte [ebp + ebx*4 + 2]
mov dword [esp], eax
mov eax, esi
call fcn.004d9aaa
test eax, eax
je 0x4e30c2
mov ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
call fcn.004db967
mov ecx, dword [esp + 0x10]
mov eax, ecx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x4e36b2
mov edx, eax
mov eax, dword [esp + 0xa8]
call fcn.004da165
test eax, eax
je 0x4e2e4d
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 4]
imul edx, dword [edi*4 + 0x4f1770]
mov edi, dword [esp + 0x10]
mov eax, edi
and eax, 7
imul eax, edx
add eax, 7
shr eax, 3
shr edi, 3
imul edx, edi
add eax, edx
je case.0x4e36c6.1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004ee268
jmp case.0x4e36c6.1
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp + 0xa0]
call fcn.004d9375
jmp case.0x4e2f2c.1
mov eax, dword [esp + 0xa0]
mov byte [eax + ebx], dl
jmp case.0x4e2f2c.1
mov eax, dword [esp + 0xa0]
mov byte [eax + ebx*2], dl
mov esi, eax
movzx eax, byte [esp + 0x14]
mov byte [esi + ebx*2 + 1], al
jmp case.0x4e2f2c.1
mov byte [esi + ebx*4], dl
mov byte [esi + ebx*4 + 1], cl
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [esp + 0x14]
mov byte [esi + ebx*4 + 3], al
jmp case.0x4e2f2c.1
mov esi, dword [esp + 0x24]
mov byte [esi], dl
mov byte [esi + 1], cl
mov byte [esi + 2], al
jmp case.0x4e2f2c.1
mov ecx, 8
sub ecx, eax
shr edx, cl
mov esi, 0xffffffff
mov ecx, eax
shl esi, cl
not esi
and edx, esi
movzx edx, dl
mov dword [esp], edx
mov ecx, eax
mov edx, ebx
mov eax, dword [esp + 0xa0]
call fcn.004d9375
jmp case.0x4e2f2c.1
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0xac]
mov ebp, dword [ecx + 8]
cmp edi, 3
je 0x4e367c
cmp edx, eax
cmovbe eax, edx
mov edx, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x18], edi
mov ecx, 0x10
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x7c], 0xffffffff
test edx, edx
jne 0x4e30b4
mov eax, dword [esp + 0xac]
cmp dword [eax + 4], 0x10
jne 0x4e2e84
cmp dword [esp + 0x14], 0x10
jne 0x4e2e84
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x4e32ae
xor ecx, ecx
jmp 0x4e30f9
cmp dword [esp + 0x14], 0x10
jne 0x4e2e79
mov esi, dword [esp + 0x10]
test esi, esi
je case.0x4e36c6.1
mov edi, dword [esp + 0xa0]
xor ebx, ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x36]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], eax
lea ebp, [esp + 0x3a]
mov dword [esp + 0x24], ebp
mov ebp, edi
jmp 0x4e32f3
mov byte [ebp + ebx*2], dh
mov byte [ebp + ebx*2 + 1], dl
add ebx, 1
add edi, 6
cmp dword [esp + 0x10], ebx
je 0x4e2f63
mov word [esp + 0x34], 0
mov word [esp + 0x36], 0
mov word [esp + 0x38], 0
mov word [esp + 0x3a], 0
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
call fcn.004d9430
movzx eax, word [esp + 0x3a]
mov word [esp + 0x14], ax
movzx ecx, word [esp + 0x38]
movzx esi, word [esp + 0x36]
movzx edx, word [esp + 0x34]
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
test eax, eax
je 0x4e32db
cmp eax, 2
je 0x4e364a
cmp eax, 4
je 0x4e3662
cmp eax, 6
jne 0x4e32e3
mov byte [ebp + ebx*8], dh
mov byte [ebp + ebx*8 + 1], dl
mov eax, esi
mov byte [ebp + ebx*8 + 2], ah
mov byte [ebp + ebx*8 + 3], al
mov byte [ebp + ebx*8 + 4], ch
mov byte [ebp + ebx*8 + 5], cl
movzx eax, word [esp + 0x14]
mov byte [ebp + ebx*8 + 6], ah
mov byte [ebp + ebx*8 + 7], al
jmp 0x4e32e3
cmp esi, 6
je 0x4e36bc
cmp esi, 2
jne 0x4e2e84
cmp edi, 6
ja case.0x4e36c6.1
lea esi, [esi]
jmp dword [edi*4 + 0x4f011c]
mov ecx, 0x52
jmp 0x4e2f6e
mov esi, dword [esp + 0x1c]
jmp 0x4e326c
cmp ebp, 8
je 0x4e3c39
mov edx, dword [esp + 0x10]
test edx, edx
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x10]
lea edx, [edi + edi]
add edx, edi
add edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
movzx ebx, byte [eax]
mov byte [ecx], bl
movzx ebx, byte [eax + 2]
mov byte [ecx + 1], bl
movzx ebx, byte [eax + 4]
mov byte [ecx + 2], bl
add ecx, 3
add eax, 8
cmp ecx, edx
jne 0x4e341d
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3ba7
mov ecx, dword [esp + 0x10]
test ecx, ecx
nop
je case.0x4e36c6.1
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
add ecx, eax
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
movzx ebx, byte [edx]
mov byte [eax + 2], bl
mov byte [eax + 1], bl
mov byte [eax], bl
add eax, 3
add edx, 4
cmp eax, ecx
jne 0x4e3474
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3c82
mov esi, dword [esp + 0x10]
test esi, esi
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x10]
lea edx, [edi + edi]
add edx, edi
add edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
movzx ebx, byte [eax]
mov byte [ecx], bl
movzx ebx, byte [eax + 2]
mov byte [ecx + 1], bl
movzx ebx, byte [eax + 4]
mov byte [ecx + 2], bl
add ecx, 3
add eax, 6
cmp ecx, edx
jne 0x4e34c1
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3be7
mov ebx, dword [esp + 0x10]
test ebx, ebx
je case.0x4e36c6.1
mov edi, dword [esp + 0x10]
lea eax, [edi + edi]
add eax, edi
add eax, dword [esp + 0xa0]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4e3553
lea ebp, [eax + ebx]
xor eax, eax
add eax, eax
mov edx, ebx
shr edx, 3
movzx edx, byte [esi + edx]
mov ecx, ebx
not ecx
and ecx, 7
sar edx, cl
add ebx, 1
and edx, 1
or eax, edx
cmp ebx, ebp
jne 0x4e352f
add eax, eax
add eax, eax
mov dword [esp + 8], 3
mov ecx, dword [esp + 0xac]
add eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004ee268
add edi, 3
mov eax, dword [esp + 0x10]
cmp edi, eax
jne 0x4e351c
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3b6f
cmp ebp, 0x10
lea esi, [esi]
je 0x4e3c98
mov eax, 1
mov ecx, ebp
shl eax, cl
sub eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov esi, dword [esp + 0x10]
lea eax, [esi + esi]
add eax, esi
add eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
mov ebx, edi
mov dword [esp + 0x14], edi
mov ecx, ebp
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
lea edi, [ecx + ebx]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x4e3b5a
mov dword [esp + 0x10], ecx
add eax, eax
mov edx, ebx
shr edx, 3
movzx edx, byte [esi + edx]
mov ecx, ebx
not ecx
and ecx, 7
sar edx, cl
add ebx, 1
and edx, 1
or eax, edx
cmp edi, ebx
jne 0x4e35ef
mov ecx, dword [esp + 0x10]
mov edx, eax
shl edx, 8
sub edx, eax
mov eax, edx
xor edx, edx
div dword [esp + 0x18]
mov byte [ebp + 2], al
mov byte [ebp + 1], al
mov byte [ebp], al
add ebp, 3
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jne 0x4e35dc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
mov esi, dword [eax]
mov ecx, edi
jmp 0x4e2f6e
mov byte [edi], dh
mov byte [edi + 1], dl
mov eax, esi
mov byte [edi + 2], ah
mov byte [edi + 3], al
mov byte [edi + 4], ch
mov byte [edi + 5], cl
jmp 0x4e32e3
mov byte [ebp + ebx*4], dh
mov byte [ebp + ebx*4 + 1], dl
movzx eax, word [esp + 0x14]
mov byte [ebp + ebx*4 + 2], ah
mov byte [ebp + ebx*4 + 3], al
jmp 0x4e32e3
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x14]
cmp ecx, edi
jne 0x4e3244
mov edi, dword [esp + 0x10]
mov eax, edi
and eax, 7
imul eax, ecx
add eax, 7
shr eax, 3
shr edi, 3
mov edx, edi
imul edx, ecx
add eax, edx
jne 0x4e316a
jmp case.0x4e36c6.1
mov ecx, 0x6b
jmp 0x4e3061
cmp edi, 6
nop
ja case.0x4e36c6.1
jmp dword [edi*4 + 0x4f0138]
cmp ebp, 8
je 0x4e3b29
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x10]
add edx, edx
add edx, edx
add edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
movzx ebx, byte [eax]
mov byte [ecx], bl
movzx ebx, byte [eax + 2]
mov byte [ecx + 1], bl
movzx ebx, byte [eax + 4]
mov byte [ecx + 2], bl
movzx ebx, byte [eax + 6]
mov byte [ecx + 3], bl
add ecx, 4
add eax, 8
cmp ecx, edx
jne 0x4e36ff
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3aab
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, ecx
add ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa0]
movzx ebx, byte [eax]
mov byte [edx + 2], bl
mov byte [edx + 1], bl
mov byte [edx], bl
movzx ebx, byte [eax + 2]
mov byte [edx + 3], bl
add edx, 4
add eax, 4
cmp edx, ecx
jne 0x4e375a
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3aea
xor ebx, ebx
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4e37df
lea esi, [eax + ebx]
xor eax, eax
mov dword [esp + 0x14], edi
mov edi, ecx
add eax, eax
mov edx, ebx
shr edx, 3
movzx edx, byte [ebp + edx]
mov ecx, ebx
not ecx
and ecx, 7
sar edx, cl
add ebx, 1
and edx, 1
or eax, edx
cmp esi, ebx
jne 0x4e37b4
mov ecx, edi
mov edi, dword [esp + 0x14]
add eax, eax
add eax, eax
mov edx, dword [ecx + 8]
mov eax, dword [edx + eax]
mov esi, dword [esp + 0xa0]
mov dword [esi + edi*4], eax
add edi, 1
cmp dword [esp + 0x10], edi
jne 0x4e37a2
jmp 0x4e2f63
cmp ebp, 8
je 0x4e3a0a
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov eax, dword [esp + 0xac]
mov ebp, dword [eax + 0x10]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0x10]
lea eax, [esi + esi]
add eax, esi
add eax, eax
lea esi, [edi + eax]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xa0]
jmp 0x4e3858
movzx ecx, byte [esp + 0x10]
mov byte [eax + 3], cl
add eax, 4
add edi, 6
mov esi, dword [esp + 0x14]
cmp edi, esi
je 0x4e2f63
movzx edx, byte [edi]
mov byte [eax], dl
movzx ebx, byte [edi + 2]
mov byte [eax + 1], bl
movzx ecx, byte [edi + 4]
mov byte [eax + 2], cl
mov byte [esp + 0x10], 0xff
test ebp, ebp
je 0x4e383e
shl edx, 8
movzx esi, byte [edi + 1]
add edx, esi
mov esi, dword [esp + 0xac]
cmp edx, dword [esi + 0x14]
jne 0x4e383e
movzx edx, bl
shl edx, 8
movzx ebx, byte [edi + 3]
add edx, ebx
cmp edx, dword [esi + 0x18]
jne 0x4e383e
movzx edx, cl
shl edx, 8
movzx ecx, byte [edi + 5]
add edx, ecx
cmp edx, dword [esi + 0x1c]
setne dl
neg edx
mov byte [esp + 0x10], dl
jmp 0x4e383e
cmp ebp, 8
je 0x4e3994
cmp ebp, 0x10
je 0x4e3cd6
mov eax, 1
mov ecx, ebp
shl eax, cl
sub eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je case.0x4e36c6.1
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov esi, edi
mov ebx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
lea edx, [eax + esi]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x4e3990
mov dword [esp + 0x14], ebx
mov ebx, ecx
add ebx, ebx
mov eax, esi
shr eax, 3
movzx eax, byte [edi + eax]
mov ecx, esi
not ecx
and ecx, 7
sar eax, cl
add esi, 1
and eax, 1
or ebx, eax
cmp esi, edx
jne 0x4e391f
mov ecx, ebx
mov ebx, dword [esp + 0x14]
mov eax, ecx
shl eax, 8
sub eax, ecx
xor edx, edx
div dword [esp + 0x24]
mov byte [ebp + ebx*4 + 2], al
mov byte [ebp + ebx*4 + 1], al
mov byte [ebp + ebx*4], al
mov eax, 0xffffffff
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4e397a
mov eax, dword [esp + 0xac]
cmp dword [eax + 0x14], ecx
setne al
neg eax
mov byte [ebp + ebx*4 + 3], al
add ebx, 1
cmp dword [esp + 0x10], ebx
jne 0x4e390a
mov edi, dword [esp + 0x18]
jmp 0x4e363a
xor ecx, ecx
jmp 0x4e3952
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov edx, dword [esp + 0xa4]
lea ebx, [edx + eax]
mov eax, dword [esp + 0xa0]
movzx ecx, byte [edx]
mov byte [eax + 2], cl
mov byte [eax + 1], cl
mov byte [eax], cl
mov byte [eax + 3], 0xff
add eax, 4
add edx, 1
cmp ebx, edx
jne 0x4e39b1
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4e3b61
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 0x14]
mov eax, edi
mov ecx, dword [esp + 0xa0]
movzx ebx, byte [ecx + eax*4]
cmp ebx, edx
jne 0x4e39fc
mov byte [ecx + eax*4 + 3], 0
add eax, 1
cmp dword [esp + 0x10], eax
jne 0x4e39ef
jmp 0x4e363a
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov esi, dword [esp + 0xa4]
lea ebx, [eax + eax]
add ebx, eax
add ebx, esi
mov edi, dword [esp + 0xa0]
mov dword [esp + 8], 3
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004ee268
mov byte [edi + 3], 0xff
add edi, 4
add esi, 3
cmp esi, ebx
jne 0x4e3a2b
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4e3b61
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 0x14]
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xac]
jmp 0x4e3a88
add eax, 1
cmp dword [esp + 0x10], eax
je 0x4e2f63
movzx esi, byte [ecx + eax*4]
cmp esi, edx
jne 0x4e3a7b
movzx esi, byte [ecx + eax*4 + 1]
cmp esi, dword [ebx + 0x18]
jne 0x4e3a7b
movzx esi, byte [ecx + eax*4 + 2]
cmp esi, dword [ebx + 0x1c]
jne 0x4e3a7b
mov byte [ecx + eax*4 + 3], 0
jmp 0x4e3a7b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
add ecx, ecx
add ecx, eax
mov edx, dword [esp + 0xa0]
movzx ebx, byte [eax]
mov byte [edx + 2], bl
mov byte [edx + 1], bl
mov byte [edx], bl
movzx ebx, byte [eax + 1]
mov byte [edx + 3], bl
add edx, 4
add eax, 2
cmp ecx, eax
jne 0x4e3ac9
jmp 0x4e2f63
mov edi, dword [esp + 0x10]
test edi, edi
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
add edi, eax
mov ecx, edi
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0xac]
movzx esi, byte [eax]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + esi*4]
mov dword [edx], ebx
add edx, 4
add eax, 1
cmp eax, ecx
jne 0x4e3b0f
jmp 0x4e2f63
mov eax, dword [esp + 0x10]
add eax, eax
add eax, eax
je case.0x4e36c6.1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004ee268
jmp 0x4e2f63
xor eax, eax
jmp 0x4e3622
mov eax, dword [esp + 0xa8]
mov esi, dword [eax]
jmp 0x4e2f6e
mov esi, dword [esp + 0x10]
test esi, esi
je case.0x4e36c6.1
mov eax, dword [esp + 0xa4]
add esi, eax
mov ecx, esi
mov edx, dword [esp + 0xa0]
movzx ebx, byte [eax]
mov byte [edx + 2], bl
mov byte [edx + 1], bl
mov byte [edx], bl
add edx, 3
add eax, 1
cmp ecx, eax
jne 0x4e3b8d
jmp 0x4e363a
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov edx, dword [esp + 0xa4]
lea ecx, [eax + eax]
add ecx, eax
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
movzx ebx, byte [edx]
mov byte [eax + 2], bl
mov byte [eax + 1], bl
mov byte [eax], bl
add eax, 3
add edx, 2
cmp eax, ecx
jne 0x4e3bcd
jmp 0x4e2f63
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov esi, dword [esp + 0xa4]
add eax, esi
mov ebx, eax
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0xac]
mov dword [esp + 8], 3
movzx eax, byte [esi]
add eax, eax
add eax, eax
add eax, dword [edi + 8]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004ee268
add ebp, 3
add esi, 1
cmp esi, ebx
jne 0x4e3c0c
jmp 0x4e2f63
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov ebx, dword [esp + 0xa4]
lea esi, [eax + eax]
add esi, eax
add esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa0]
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.004ee268
add edi, 3
add ebx, 4
cmp edi, esi
jne 0x4e3c5f
jmp 0x4e2f63
mov edi, dword [esp + 0x10]
test edi, edi
je case.0x4e36c6.1
lea eax, [edi + edi]
add eax, edi
jmp 0x4e3b37
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov edx, dword [esp + 0xa4]
lea ecx, [eax + eax*2]
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
movzx ebx, byte [edx]
mov byte [eax + 2], bl
mov byte [eax + 1], bl
mov byte [eax], bl
add eax, 3
add edx, 2
cmp eax, ecx
jne 0x4e3cbc
jmp 0x4e363a
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4e36c6.1
mov esi, dword [esp + 0xac]
mov ebx, dword [esi + 0x10]
mov edx, dword [esp + 0xa4]
add eax, eax
lea esi, [edx + eax]
mov ecx, dword [esp + 0xa0]
movzx eax, byte [edx]
mov byte [ecx + 2], al
mov byte [ecx + 1], al
mov byte [ecx], al
mov ebp, 0xffffffff
test ebx, ebx
je 0x4e3d2d
shl eax, 8
movzx ebp, byte [edx + 1]
add eax, ebp
mov ebp, dword [esp + 0xac]
cmp eax, dword [ebp + 0x14]
setne al
neg eax
mov ebp, eax
mov eax, ebp
mov byte [ecx + 3], al
add ecx, 4
add edx, 2
cmp edx, esi
jne 0x4e3cff
jmp 0x4e363a