Function at 0x470c50
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
mov edi, 0xffffffe0
mov ebx, 0xf
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
add edx, esi
adc ecx, 0
xor eax, eax
cmp edi, edx
sbb ebx, ecx
jb 0x471276
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], ecx
cmp dword [ebp + 0x16c], 0
je 0x470d7a
movzx edi, byte [ebp + 0x4f]
mov dword [esp], 0
mov ebx, edi
and ebx, 0xf
shl ebx, 4
mov eax, dword [ebp + ebx + 0x60]
mov ecx, dword [ebp + ebx + 0x64]
mov edx, dword [ebp + ebx + 0x6c]
mov ebx, dword [ebp + ebx + 0x68]
jmp 0x470d16
mov edi, dword [esp]
mov esi, dword [esp + 0x50]
dec dword [esp]
movzx ebx, byte [esi + edi + 0x4e]
mov edi, dword [esp + 0x50]
mov esi, ecx
shr ecx, 4
shld esi, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
mov dword [esp + 4], ebx
and ebx, 0xf
shl ebx, 4
xor ecx, dword [edi + ebx + 0x64]
mov edi, dword [esp + 4]
xor ecx, dword [edx*4 + 0x58128c]
mov edx, dword [esp + 0x50]
xor esi, dword [edx + ebx + 0x60]
xor ebp, dword [edx + ebx + 0x6c]
xor eax, dword [edx + ebx + 0x68]
mov ebx, eax
mov edx, ebp
mov eax, esi
mov esi, dword [esp + 0x50]
mov ebp, ecx
and edi, 0xfffffff0
shr ecx, 4
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebx, 0x1c
and ebx, 0xf
xor ecx, dword [esi + edi + 0x64]
xor ebp, dword [esi + edi + 0x60]
xor eax, dword [esi + edi + 0x6c]
xor edx, dword [esi + edi + 0x68]
xor ecx, dword [ebx*4 + 0x58128c]
cmp dword [esp], 0xfffffff1
jne 0x470cc0
mov esi, dword [esp + 0x50]
bswap ecx
bswap ebp
bswap eax
bswap edx
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x16c], 0
mov ebp, esi
mov esi, dword [esp + 0x60]
mov eax, dword [ebp + 0x168]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
test eax, eax
je 0x470eb0
test esi, esi
je 0x47126b
nop dword [eax + eax]
movzx ecx, byte [ebp + eax + 0x10]
xor cl, byte [ebx]
inc ebx
mov byte [edi], cl
xor byte [ebp + eax + 0x40], cl
inc eax
inc edi
and eax, 0xf
cmp esi, 1
lea esi, [esi - 1]
je 0x470dbf
test eax, eax
jne 0x470da0
test eax, eax
jne 0x47126b
mov dword [esp + 0xc], edi
movzx edi, byte [ebp + 0x4f]
mov dword [esp + 0x10], esi
mov dword [esp + 8], ebx
mov dword [esp], 0
mov esi, edi
and esi, 0xf
shl esi, 4
mov eax, dword [ebp + esi + 0x60]
mov ecx, dword [ebp + esi + 0x64]
mov edx, dword [ebp + esi + 0x6c]
mov esi, dword [ebp + esi + 0x68]
jmp 0x470e4e
mov esi, dword [esp]
mov edi, dword [esp + 0x50]
mov ebx, ecx
shr ecx, 4
dec dword [esp]
shld ebx, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
movzx esi, byte [edi + esi + 0x4e]
mov dword [esp + 4], esi
and esi, 0xf
shl esi, 4
xor ecx, dword [edi + esi + 0x64]
xor ebx, dword [edi + esi + 0x60]
xor ebp, dword [edi + esi + 0x6c]
xor eax, dword [edi + esi + 0x68]
mov edi, dword [esp + 4]
xor ecx, dword [edx*4 + 0x58128c]
mov esi, eax
mov edx, ebp
mov eax, ebx
mov ebx, dword [esp + 0x50]
mov ebp, ecx
and edi, 0xfffffff0
shr ecx, 4
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, esi, 0x1c
and esi, 0xf
xor ecx, dword [ebx + edi + 0x64]
xor ebp, dword [ebx + edi + 0x60]
xor eax, dword [ebx + edi + 0x6c]
xor edx, dword [ebx + edi + 0x68]
xor ecx, dword [esi*4 + 0x58128c]
cmp dword [esp], 0xfffffff1
jne 0x470e00
mov esi, dword [esp + 0x50]
bswap ecx
bswap ebp
bswap eax
bswap edx
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
mov ebp, esi
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x54]
mov eax, esi
and eax, 0xfffffff0
bswap ecx
je 0x471138
mov dword [esp + 0x2c], eax
mov eax, esi
shr eax, 4
mov dword [esp + 0x30], eax
push ebp
push edx
push eax
push edi
push ebx
mov dword [esp + 0x3c], ecx
call dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov edx, dword [esp + 0x30]
add ecx, edx
mov eax, ecx
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x2c]
add ebx, eax
sub esi, eax
test edx, edx
je 0x471134
mov dword [esp + 0x28], ecx
mov cl, byte [ebp + 0x48]
mov al, byte [ebp + 0x44]
mov dword [esp + 8], ebx
mov bl, byte [ebp + 0x40]
mov dl, byte [ebp + 0x4b]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov ch, byte [ebp + 0x49]
mov bh, byte [ebp + 0x41]
mov ah, byte [ebp + 0x45]
mov dword [esp + 0x14], ecx
mov cl, byte [ebp + 0x4c]
mov ch, byte [ebp + 0x4d]
mov dword [esp + 4], ecx
mov cl, byte [ebp + 0x42]
mov dword [esp + 0x20], ecx
mov cl, byte [ebp + 0x43]
mov dword [esp + 0x34], ecx
mov cl, byte [ebp + 0x46]
mov dword [esp + 0x18], ecx
mov cl, byte [ebp + 0x47]
mov dword [esp + 0x24], ecx
mov cl, byte [ebp + 0x4a]
mov dword [esp + 0x1c], ecx
mov cl, byte [ebp + 0x4e]
mov dword [esp], ecx
mov cl, byte [ebp + 0x4f]
nop word cs:[eax + eax]
nop dword [eax + eax]
xor bl, byte [edi]
mov byte [ebp + 0x40], bl
xor bh, byte [edi + 1]
mov byte [ebp + 0x41], bh
mov ebx, dword [esp + 0x20]
xor bl, byte [edi + 2]
mov byte [ebp + 0x42], bl
mov ebx, dword [esp + 0x34]
xor bl, byte [edi + 3]
mov byte [ebp + 0x43], bl
xor al, byte [edi + 4]
mov byte [ebp + 0x44], al
xor ah, byte [edi + 5]
mov byte [ebp + 0x45], ah
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
xor al, byte [edi + 6]
mov byte [ebp + 0x46], al
mov eax, dword [esp + 0x24]
xor al, byte [edi + 7]
mov byte [ebp + 0x47], al
mov eax, dword [esp + 0x14]
xor al, byte [edi + 8]
mov byte [ebp + 0x48], al
xor ah, byte [edi + 9]
mov byte [ebp + 0x49], ah
mov eax, dword [esp + 0x1c]
xor al, byte [edi + 0xa]
mov byte [ebp + 0x4a], al
mov eax, dword [esp + 4]
xor dl, byte [edi + 0xb]
mov byte [ebp + 0x4b], dl
xor al, byte [edi + 0xc]
mov byte [ebp + 0x4c], al
xor ah, byte [edi + 0xd]
mov byte [ebp + 0x4d], ah
mov eax, dword [esp]
mov dword [esp], 0
xor al, byte [edi + 0xe]
mov byte [ebp + 0x4e], al
xor cl, byte [edi + 0xf]
movzx edi, cl
mov byte [ebp + 0x4f], cl
mov eax, edi
and eax, 0xf
shl eax, 4
mov ecx, dword [ebp + eax + 0x6c]
mov edx, dword [ebp + eax + 0x60]
mov ebx, dword [ebp + eax + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + eax + 0x68]
jmp 0x47106c
mov ecx, dword [esp]
mov esi, ebx
shr ebx, 4
dec dword [esp]
shld esi, eax, 0x1c
shld eax, edx, 0x1c
shld edx, edi, 0x1c
and edi, 0xf
movzx ecx, byte [ebp + ecx + 0x4e]
mov dword [esp + 0x1c], ecx
and ecx, 0xf
shl ecx, 4
xor ebx, dword [ebp + ecx + 0x64]
xor eax, dword [ebp + ecx + 0x6c]
xor esi, dword [ebp + ecx + 0x60]
xor edx, dword [ebp + ecx + 0x68]
xor ebx, dword [edi*4 + 0x58128c]
mov edi, dword [esp + 0x1c]
mov ecx, edx
mov dword [esp + 4], eax
mov edx, esi
mov esi, dword [esp + 4]
mov eax, ebx
and edi, 0xfffffff0
shr ebx, 4
xor ebx, dword [ebp + edi + 0x64]
shld eax, edx, 0x1c
xor eax, dword [ebp + edi + 0x60]
shld edx, esi, 0x1c
shld esi, ecx, 0x1c
and ecx, 0xf
xor esi, dword [ebp + edi + 0x68]
xor edx, dword [ebp + edi + 0x6c]
xor ebx, dword [ecx*4 + 0x58128c]
cmp dword [esp], 0xfffffff1
mov edi, esi
jne 0x471020
bswap eax
bswap ebx
mov ecx, edi
mov edi, dword [esp + 0x18]
bswap edx
mov esi, eax
bswap ecx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], ebx
shr esi, 0x10
mov dword [esp + 4], ecx
mov dword [ebp + 0x4c], ecx
mov dword [esp + 0x18], esi
mov esi, ebx
shr esi, 0x10
add edi, 0x10
mov dword [esp + 0x20], esi
mov esi, eax
shr esi, 0x18
mov dword [esp + 0x24], esi
mov esi, ebx
shr esi, 0x18
mov dword [esp + 0x34], esi
mov esi, ecx
shr esi, 0x10
mov dword [esp], esi
mov esi, edx
shr esi, 0x10
mov dword [esp + 0x1c], esi
mov esi, ecx
shr esi, 0x18
mov dword [esp + 0x38], esi
mov esi, edx
shr edx, 0x18
dec dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov dword [ebp + 0x48], esi
jne 0x470f70
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x28]
add edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
test esi, esi
je 0x471269
mov dword [esp + 0xc], edi
lea edi, [ebp + 0x10]
mov dword [esp + 8], ebx
push edx
push edi
push ebp
mov ebx, ecx
call dword [ebp + 0x170]
add esp, 0xc
inc ebx
xor eax, eax
cmp esi, 0x10
mov edx, 0
mov dword [esp + 0x10], esi
bswap ebx
mov dword [ebp + 0xc], ebx
mov ebx, esi
jb 0x471240
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x24], edi
lea edx, [ecx + esi]
lea edi, [ebx + esi]
mov dword [esp + 0x14], edx
lea edx, [ebp + esi + 0x40]
mov dword [esp], edi
mov edi, dword [esp + 0x24]
cmp ecx, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
setb byte [esp + 4]
cmp edx, edi
seta byte [esp + 0x18]
cmp ecx, dword [esp]
setb byte [esp + 0x20]
cmp ebx, edx
mov dl, byte [esp + 0x18]
setb byte [esp + 0x14]
cmp dword [esp], edi
seta cl
cmp ebx, dword [esp + 0x1c]
mov ebx, esi
setb ch
test byte [esp + 4], dl
mov edx, 0
jne 0x471240
mov dl, byte [esp + 0x14]
mov ebx, esi
and byte [esp + 0x20], dl
mov edx, 0
jne 0x471240
and cl, ch
mov edx, 0
mov ebx, esi
jne 0x471240
mov edx, esi
mov ebx, esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
xor edi, edi
and edx, 0xfffffff0
sub ebx, edx
nop dword [eax + eax]
movups xmm0, xmmword [ecx + edi]
movups xmm1, xmmword [ebp + edi + 0x10]
xorps xmm1, xmm0
movups xmmword [esi + edi], xmm1
movups xmm0, xmmword [ebp + edi + 0x40]
xorps xmm0, xmm1
movups xmmword [ebp + edi + 0x40], xmm0
add edi, 0x10
cmp edx, edi
jne 0x471210
mov esi, dword [esp + 0x10]
cmp esi, edx
jne 0x471240
mov eax, esi
jmp 0x47126b
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
lea edi, [ebp + edx + 0x40]
add ecx, edx
add esi, edx
movzx edx, byte [edi + eax - 0x30]
xor dl, byte [ecx + eax]
mov byte [esi + eax], dl
xor byte [edi + eax], dl
inc eax
cmp ebx, eax
jne 0x471250
mov eax, dword [esp + 0x10]
jmp 0x47126b
xor eax, eax
mov dword [ebp + 0x168], eax
mov eax, 1
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret