Function at 0x100045f0
Capabilities:
Encode data using xor
Encrypt data using aes
Hash data with md5
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b086e
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x10240114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
lea edx, [eax - 0x20]
cmp eax, edx
jb 0x10004f00
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x20
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x16c]
add eax, edx
push eax
call fcn.10002530
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
lea ecx, [eax - 0x20]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.10002530
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp + 8]
call fcn.10002300
mov edx, dword [ebp - 0x128]
cmp edx, 0x10
jb 0x100046f9
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100046ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f05
push edx
push ecx
call fcn.1006495d
add esp, 8
mov esi, dword [ebp - 0x15c]
xor ecx, ecx
test esi, esi
je 0x10004733
nop word [eax + eax]
cmp dword [ebp - 0x158], 0x10
lea eax, [ebp - 0x16c]
cmovae eax, dword [ebp - 0x16c]
xor byte [eax + ecx], 0x77
inc ecx
mov esi, dword [ebp - 0x15c]
cmp ecx, esi
jb 0x10004710
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x1d8]
push eax
mov byte [ebp - 0x170], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1d8], 0x67452301
mov dword [ebp - 0x1d4], 0xefcdab89
mov dword [ebp - 0x1d0], 0x98badcfe
mov dword [ebp - 0x1cc], 0x10325476
call fcn.100101e0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.100109b0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x100047ad
mov eax, dword [eax]
cmp dword [ebp - 0x158], 0x10
lea ecx, [ebp - 0x16c]
mov edi, dword [ebp - 0x16c]
push edx
cmovae ecx, edi
mov edx, esi
push eax
call fcn.10002d60
mov edx, dword [ebp - 0x128]
add esp, 8
mov byte [ebp - 0x409], al
cmp edx, 0x10
jb 0x10004815
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f0a
push edx
push ecx
call fcn.1006495d
mov al, byte [ebp - 0x409]
add esp, 8
test al, al
jne 0x10004820
xor esi, esi
jmp 0x10004e81
xor edx, edx
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], edx
mov byte [ebp - 0x154], dl
mov byte [ebp - 4], 2
movups xmm1, xmmword [str.Hello_darkness_my_old_friend...]
movups xmm0, xmmword [str.see_you_again..]
movd ecx, xmm1
movups xmmword [ebp - 0x134], xmm0
mov eax, ecx
mov byte [ebp - 0x110], cl
shr eax, 8
xorps xmm0, xmm0
mov byte [ebp - 0x10f], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x10e], al
shr ecx, 0x18
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10d], cl
movaps xmm0, xmm1
psrldq xmm0, 4
movd ecx, xmm0
movaps xmm0, xmm1
movups xmm2, xmmword [0x102354d0]
mov eax, ecx
mov byte [ebp - 0x10c], cl
shr eax, 8
mov byte [ebp - 0x10b], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x10a], al
shr ecx, 0x18
mov byte [ebp - 0x109], cl
psrldq xmm0, 8
movd ecx, xmm0
movaps xmm0, xmm2
psrldq xmm1, 0xc
psrldq xmm0, 4
mov eax, ecx
mov byte [ebp - 0x108], cl
shr eax, 8
mov byte [ebp - 0x107], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0x106], al
mov byte [ebp - 0x105], cl
movd ecx, xmm1
mov eax, ecx
mov byte [ebp - 0x104], cl
shr eax, 8
mov byte [ebp - 0x103], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0x102], al
mov byte [ebp - 0x101], cl
movd ecx, xmm2
mov eax, ecx
mov byte [ebp - 0x100], cl
shr eax, 8
mov byte [ebp - 0xff], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [ebp - 0xfd], cl
movd ecx, xmm0
movaps xmm0, xmm2
mov byte [ebp - 0xfe], al
psrldq xmm0, 8
mov eax, ecx
mov byte [ebp - 0xfc], cl
shr eax, 8
mov byte [ebp - 0xfb], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0xfa], al
mov byte [ebp - 0xf9], cl
movd ecx, xmm0
lea esi, [edx + 8]
psrldq xmm2, 0xc
lea edx, [ebp - 0xf3]
mov eax, ecx
mov byte [ebp - 0xf8], cl
shr eax, 8
mov byte [ebp - 0xf7], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [ebp - 0xf5], cl
movd ecx, xmm2
mov byte [ebp - 0xf6], al
mov eax, ecx
mov byte [ebp - 0xf4], cl
shr eax, 8
mov byte [ebp - 0xf3], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0xf2], al
mov byte [ebp - 0xf1], cl
nop word [eax + eax]
mov ah, byte [edx - 1]
mov edi, esi
mov al, byte [edx + 1]
mov ch, byte [edx + 2]
mov cl, byte [edx]
mov byte [ebp - 0x409], ah
mov byte [ebp - 0x40a], al
mov byte [ebp - 0x40b], ch
and edi, 7
jne 0x10004a5b
movzx eax, al
movzx ecx, cl
mov al, byte [eax + str.cw]
mov byte [ebp - 0x411], al
movzx eax, byte [ebp - 0x40b]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x40a], al
movzx eax, byte [ebp - 0x409]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x40b], al
mov eax, esi
shr eax, 3
mov ah, byte [eax + 0x10235790]
xor ah, byte [ecx + str.cw]
mov cl, byte [ebp - 0x411]
mov ch, byte [ebp - 0x40b]
jmp 0x10004a9a
cmp edi, 4
jne 0x10004a9a
movzx eax, ah
mov al, byte [eax + str.cw]
mov byte [ebp - 0x409], al
movzx eax, cl
mov cl, byte [eax + str.cw]
movzx eax, byte [ebp - 0x40a]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x40a], al
movzx eax, ch
mov ch, byte [eax + str.cw]
mov ah, byte [ebp - 0x409]
mov al, byte [edx - 0x1d]
inc esi
xor al, ah
mov ah, byte [ebp - 0x40a]
mov byte [edx + 3], al
mov al, byte [edx - 0x1c]
xor al, cl
mov byte [edx + 4], al
mov al, byte [edx - 0x1b]
xor al, ah
mov byte [edx + 5], al
mov al, byte [edx - 0x1a]
xor al, ch
mov byte [edx + 6], al
add edx, 4
cmp esi, 0x3c
jb 0x100049e0
mov eax, dword [ebp + 0x18]
test al, 0xf
je 0x10004ade
mov esi, 0xd
jmp 0x10004e60
mov dword [ebp - 0x410], 0
test eax, 0xfffffff0
jbe 0x10004b99
mov edx, dword [ebp + 0x1c]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x418], esi
xor ecx, ecx
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, edi
add eax, esi
mov al, byte [eax + ecx]
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0x10
jb 0x10004b03
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x20]
call fcn.10007d00
xor esi, esi
nop dword [eax + eax]
mov al, byte [ebp + esi - 0x20]
lea ecx, [ebp - 0x154]
xor al, byte [ebp + esi - 0x134]
movzx eax, al
push eax
call fcn.100020e0
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov edi, dword [ebp + 8]
cmp edx, 0x10
cmovae eax, edi
add eax, dword [ebp - 0x418]
mov al, byte [eax + esi]
mov byte [ebp + esi - 0x134], al
inc esi
cmp esi, 0x10
jb 0x10004b30
mov ecx, dword [ebp - 0x410]
mov esi, dword [ebp - 0x418]
inc ecx
mov eax, dword [ebp + 0x18]
add esi, 0x10
shr eax, 4
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x418], esi
cmp ecx, eax
jb 0x10004b01
mov esi, dword [ebp - 0x140]
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 0x154]
cmp esi, 0x10
mov ecx, dword [ebp - 0x144]
cmovae eax, edx
mov ah, byte [eax + ecx - 1]
mov al, ah
dec al
cmp al, 0xf
ja 0x10004c00
test ah, ah
jle 0x10004c00
movzx edi, ah
nop word [eax + eax]
dec ecx
lea eax, [ebp - 0x154]
cmp esi, 0x10
mov dword [ebp - 0x144], ecx
cmovae eax, edx
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x154]
mov esi, dword [ebp - 0x140]
sub edi, 1
je 0x10004c00
mov ecx, dword [ebp - 0x144]
jmp 0x10004bd0
cmp esi, 0x10
lea ecx, [ebp - 0x154]
cmovae ecx, edx
mov edx, dword [ebp - 0x144]
sub esp, 8
call fcn.1000cdf0
push 0x230
mov edi, eax
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.1007d020
add esp, 0x14
xor esi, esi
test edi, edi
jne 0x10004c47
mov dword [0x1024a0b8], 0x10000
jmp 0x10004cff
cmp dword [edi], 1
je 0x10004c5b
mov dword [0x1024a0b8], 0x80000
jmp 0x10004cff
mov esi, dword [edi + 4]
lea eax, [ebp - 0x124]
push 0
push 0
push 0x104
push eax
push 0xffffffffffffffff
push str.256.ico
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi]
lea edx, [ebp - 0x124]
push 2
call fcn.1000bc90
add esp, 4
test eax, eax
je 0x10004cc2
push 0x22c
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1007d020
add esp, 0xc
mov dword [ebp - 0x408], 0xffffffff
mov eax, 0x500
or esi, 0xffffffff
jmp 0x10004cfa
cmp dword [esi + 4], 0xffffffff
je 0x10004ccf
mov ecx, dword [esi]
call fcn.1000c5b0
mov eax, dword [esi]
lea ecx, [ebp - 0x408]
push ecx
mov dword [esi + 4], 0xffffffff
mov ecx, esi
mov eax, dword [eax + 0x10]
push eax
mov dword [ebp - 0x410], eax
call fcn.1000c620
mov esi, dword [ebp - 0x410]
test eax, eax
jne 0x10004cfa
mov dword [0x1024a0b8], eax
push dword [ebp - 0x1dc]
call fcn.10064a91
add esp, 4
mov dword [ebp - 0x410], eax
test edi, edi
jne 0x10004d23
mov dword [0x1024a0b8], 0x10000
jmp 0x10004d50
cmp dword [edi], 1
je 0x10004d34
mov dword [0x1024a0b8], 0x80000
jmp 0x10004d50
push ecx
push dword [ebp - 0x1dc]
mov ecx, dword [edi + 4]
push eax
push esi
call fcn.1000ccc0
mov dword [0x1024a0b8], eax
mov eax, dword [ebp - 0x410]
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x12c], 0
push eax
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
call fcn.10002530
mov esi, dword [ebp - 0x41c]
lea eax, [ebp - 0x13c]
cmp esi, eax
je 0x10004dd9
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10004dc0
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10004db6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f05
mov eax, edx
push ecx
push eax
call fcn.1006495d
add esp, 8
movups xmm0, xmmword [ebp - 0x13c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x12c]
movq qword [esi + 0x10], xmm0
jmp 0x10004e13
mov edx, dword [ebp - 0x128]
cmp edx, 0x10
jb 0x10004e13
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f0f
push edx
push ecx
call fcn.1006495d
add esp, 8
push dword [ebp - 0x410]
call fcn.10064a8c
mov edx, dword [ebp - 0x140]
add esp, 4
mov esi, 1
cmp edx, 0x10
jb 0x10004e60
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004e56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f14
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov eax, dword [ebp - 0x158]
cmp eax, 0x10
jb 0x10004eb3
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10004ea9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f19
push ecx
push edi
call fcn.1006495d
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10004ee3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f1e
push edx
push ecx
call fcn.1006495d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100645b9
mov esp, ebp
pop ebp
ret
call fcn.10002760
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
int3