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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov edx, dword [ebp + 8]
mov eax, edx
push ebx
push esi
and eax, 7
mov dword [ebp - 0x40], ecx
push edi
mov dword [ebp - 0x30], eax
je 0x418f46
mov esi, dword [ecx + 8]
mov edx, esi
mov edi, dword [ecx + 0xc]
mov eax, edi
mov ebx, dword [ecx]
shld edx, edi, 7
shld eax, esi, 7
sub ebx, edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ecx + 0x14]
sbb edx, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x38], edx
mov edx, eax
shld edx, ebx, 0xd
mov dword [ebp - 0x2c], edx
mov edx, ebx
shld edx, eax, 0xd
mov eax, dword [ebp - 0x2c]
xor eax, esi
xor edx, edi
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
mov dword [ecx], eax
mov eax, esi
mov dword [ecx + 4], edx
mov edx, edi
shld eax, edx, 5
shld edx, esi, 5
add eax, dword [ecx + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x34]
adc edx, ebx
add edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x2c]
adc esi, dword [ebp - 0x38]
add ebx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edx
adc eax, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x10], edi
mov edi, dword [ebp - 0x30]
mov dword [ecx + 0x14], esi
mov esi, dword [ebp + 0xc]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], eax
lea esp, [esp]
test esi, esi
je 0x418f49
mov byte [edx], bl
dec esi
shrd ebx, eax, 8
inc edx
shr eax, 8
sub edi, 1
jne 0x418f30
jmp 0x418f49
mov esi, dword [ebp + 0xc]
mov ebx, esi
mov dword [ebp + 0xc], edx
shr ebx, 3
mov dword [ebp - 0x18], ebx
lea eax, [ebx*8]
sub esi, eax
add edx, eax
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp + 8], edx
je 0x419304
cmp ebx, 0x10
jbe 0x419304
lea eax, [ebx - 0x11]
shr eax, 4
inc eax
mov dword [ebp - 0x38], eax
mov esi, dword [ecx + 8]
mov edx, esi
mov edi, dword [ecx + 0xc]
mov eax, edi
shld edx, edi, 7
mov ebx, dword [ecx]
shld eax, esi, 7
sub ebx, edx
mov edx, dword [ecx + 4]
sbb edx, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
shld dword [ebp - 4], eax, 0xd
xor dword [ebp - 4], edi
mov edi, dword [ecx + 0x18]
mov dword [ebp + 0x10], eax
shld dword [ebp + 0x10], edx, 0xd
xor dword [ebp + 0x10], esi
mov esi, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x1c]
shld esi, edi, 5
shld edi, edx, 5
add esi, eax
mov eax, dword [ecx + 0x18]
adc edi, dword [ecx + 0x14]
add eax, ebx
mov dword [ebp - 0x14], eax
mov eax, edi
adc edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x10]
add edx, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov edx, ebx
adc edx, dword [ebp - 0x34]
mov dword [ebp - 8], edx
mov edx, esi
shld edx, edi, 7
shld eax, esi, 7
sub dword [ebp + 0x10], edx
sbb ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
mov edx, ebx
shld edx, eax, 0xd
shld eax, ebx, 0xd
xor edx, esi
xor eax, edi
mov dword [ebp - 0x28], edx
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, edi
shld eax, edx, 5
shld edx, edi, 5
add ebx, eax
mov dword [ebp - 0x14], ebx
adc dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add ebx, edx
adc edi, dword [ebp - 4]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 0x28]
mov esi, edi
add esi, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
adc edx, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x14]
shld edx, eax, 7
shld eax, esi, 7
sub edi, edx
mov dword [ebp - 0x28], edi
mov edx, dword [ebp - 0x2c]
mov edi, ebx
sbb edx, eax
mov esi, dword [ebp + 0x10]
shld edi, esi, 0xd
mov eax, esi
mov esi, dword [ebp - 4]
xor edi, dword [ebp - 0x14]
shld eax, ebx, 0xd
mov dword [ebp - 0x14], edi
xor eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
shld esi, edi, 5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
shld edi, eax, 5
add esi, ebx
mov ebx, dword [ebp - 0x1c]
adc edi, dword [ebp + 0x10]
add ebx, dword [ebp - 0x28]
adc eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
adc eax, edx
mov edx, esi
shld edx, edi, 7
mov dword [ebp + 0x10], eax
mov eax, edi
shld eax, esi, 7
sub dword [ebp - 0x14], edx
mov edx, ebx
sbb dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shld edx, eax, 0xd
mov dword [ebp - 0x10], edx
mov edx, eax
xor dword [ebp - 0x10], esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
shld edx, ebx, 0xd
xor edx, edi
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x20]
mov edi, edx
shld esi, edi, 5
shld edi, eax, 5
add esi, ebx
mov ebx, eax
adc edi, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov eax, edi
mov dword [ebp - 0x34], edx
adc ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
add dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x2c]
adc edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov edx, esi
shld edx, edi, 7
shld eax, esi, 7
sub dword [ebp - 0x10], edx
sbb dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
mov edx, eax
shld edx, ebx, 0xd
mov dword [ebp - 0xc], edx
mov edx, ebx
shld edx, eax, 0xd
mov eax, dword [ebp - 0xc]
xor eax, esi
xor edx, edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dword [ecx + 4], edx
mov edx, edi
mov dword [ebp - 0xc], eax
mov dword [ecx], eax
mov esi, dword [ebp - 0x28]
mov eax, esi
shld eax, edx, 5
shld edx, esi, 5
add eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
adc edx, ebx
mov eax, dword [ebp - 0xc]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0xc]
adc esi, dword [ebp - 0x2c]
add eax, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x10], edi
mov edi, dword [ebp - 0x24]
adc edi, dword [ebp - 0x2c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x14], esi
mov esi, dword [ebp - 0x28]
mov dword [ebx], edx
mov edx, dword [ebp - 8]
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 8], edx
mov edx, dword [ebp - 4]
mov dword [ebx + 0xc], edx
mov edx, dword [ebp - 0x20]
mov dword [ebx + 0x10], edx
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x14], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x18], edx
mov edx, dword [ebp - 8]
mov dword [ebx + 0x20], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x1c], esi
mov ebx, eax
shld ebx, edx, 7
shld edx, eax, 7
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x1c]
xor eax, dword [ebp - 8]
xor edx, ebx
mov dword [ecx + 0x28], edx
mov edx, ecx
mov dword [ebp - 0x24], edi
mov dword [edx + 0x2c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
xor edx, ebx
xor eax, dword [ebp - 8]
mov dword [ecx + 0x30], edx
mov edx, ecx
mov dword [edx + 0x34], eax
mov eax, esi
xor eax, dword [ebp - 8]
mov esi, ecx
mov edx, dword [ebp - 0x14]
xor edx, ebx
mov dword [esi + 0x3c], eax
mov eax, edi
xor eax, dword [ebp - 8]
mov edi, ecx
mov dword [esi + 0x38], edx
mov edx, dword [ebp - 0xc]
xor edx, ebx
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 4]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x1c]
mov edi, eax
shld edi, edx, 0xd
shld edx, eax, 0xd
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
xor edx, edi
xor eax, dword [ebp - 4]
mov dword [ecx + 0x48], edx
mov edx, ecx
mov dword [edx + 0x4c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
xor edx, edi
xor eax, dword [ebp - 4]
mov dword [ecx + 0x50], edx
mov edx, ecx
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x5c], eax
xor edx, edi
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x58], edx
mov esi, eax
mov edx, dword [ebp + 0x10]
shld esi, edx, 0x13
shld edx, eax, 0x13
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x10], edx
xor eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
xor edx, esi
mov dword [ecx + 0x60], edx
mov edx, ecx
mov dword [edx + 0x64], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
xor edx, esi
xor eax, dword [ebp + 0x10]
xor esi, edi
mov dword [ecx + 0x68], edx
xor esi, ebx
mov edx, ecx
mov dword [edx + 0x6c], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [edx + 0x70], esi
mov esi, dword [ebp - 0xc]
xor esi, dword [ebp - 0x14]
mov dword [edx + 0x74], eax
mov edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x28]
mov eax, edx
shld eax, esi, 7
shld esi, edx, 7
mov edx, ecx
xor eax, ebx
xor esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
sub ebx, 0x10
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], esi
sub edx, 0xffffff80
sub dword [ebp - 0x38], 1
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x18], ebx
jne 0x418f82
cmp ebx, 4
jb 0x4194f2
shr ebx, 2
mov dword [ebp - 0x14], ebx
mov esi, dword [ecx + 8]
mov edx, esi
mov edi, dword [ecx + 0xc]
mov eax, edi
mov ebx, dword [ecx]
shld edx, edi, 7
shld eax, esi, 7
sub ebx, edx
mov edx, dword [ecx + 4]
sbb edx, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp + 0x10], eax
shld dword [ebp + 0x10], edx, 0xd
xor dword [ebp + 0x10], esi
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x28], edx
shld edx, eax, 0xd
xor edx, edi
mov edi, dword [ecx + 0x18]
shld esi, edi, 5
mov dword [ebp - 0x28], edx
mov edx, dword [ecx + 0x1c]
shld edi, edx, 5
add esi, eax
mov eax, dword [ecx + 0x18]
adc edi, dword [ecx + 0x14]
add eax, ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
adc edx, eax
mov dword [ebp - 0x40], edx
mov edx, dword [ebp + 0x10]
add edx, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov edx, ebx
adc edx, eax
mov eax, edi
shld eax, esi, 7
mov dword [ebp - 0x2c], edx
mov edx, esi
shld edx, edi, 7
sub dword [ebp + 0x10], edx
mov edx, dword [ebp - 0x40]
sbb ebx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov ebx, eax
shld ebx, edx, 0xd
mov dword [ebp - 0xc], ebx
mov ebx, edx
xor dword [ebp - 0xc], esi
shld ebx, eax, 0xd
xor ebx, edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x2c]
mov esi, ebx
shld esi, edi, 5
shld edi, ebx, 5
mov ebx, dword [ebp - 0x30]
add esi, eax
mov eax, dword [ebp - 0x2c]
adc edi, edx
add ebx, dword [ebp + 0x10]
mov edx, esi
mov dword [ebp - 0x38], ebx
adc eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
adc eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, edi
shld edx, edi, 7
shld eax, esi, 7
sub dword [ebp - 0xc], edx
sbb dword [ebp - 0x24], eax
mov eax, ebx
mov edx, dword [ebp - 0x40]
shld eax, edx, 0xd
mov dword [ebp + 0x10], eax
mov eax, edx
xor dword [ebp + 0x10], esi
mov esi, dword [ebp - 0x1c]
shld eax, ebx, 0xd
mov ebx, esi
xor eax, edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, edi
shld ebx, eax, 5
shld eax, esi, 5
add ebx, dword [ebp - 0x38]
adc eax, edx
add edi, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
adc esi, dword [ebp - 0x24]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x28]
adc edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov edx, ebx
shld edx, eax, 7
mov dword [ebp - 0x40], eax
shld eax, ebx, 7
sub dword [ebp + 0x10], edx
mov edx, dword [ebp - 0x20]
sbb dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edi
mov eax, edi
shld edi, esi, 0xd
mov dword [ebp - 0x10], esi
shld esi, eax, 0xd
xor edi, ebx
mov ebx, dword [ebp - 0x24]
xor esi, dword [ebp - 0x40]
mov eax, ebx
shld eax, edx, 5
shld edx, ebx, 5
add eax, dword [ebp - 0x38]
mov dword [ecx + 8], eax
mov eax, ebx
adc edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp + 0x10]
mov dword [ecx], edi
adc eax, dword [ebp - 0x28]
add edi, dword [ebp + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], esi
adc esi, dword [ebp - 0x28]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], esi
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x14], ebx
mov ebx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
sub ebx, 4
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], esi
add edx, 0x20
sub dword [ebp - 0x14], 1
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x18], ebx
jne 0x419313
test ebx, ebx
je 0x41959b
lea ebx, [ebx]
mov esi, dword [ecx + 8]
mov edx, esi
mov edi, dword [ecx + 0xc]
mov eax, edi
mov ebx, dword [ecx]
shld edx, edi, 7
shld eax, esi, 7
sub ebx, edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ecx + 0x14]
sbb edx, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x38], edx
mov edx, eax
shld edx, ebx, 0xd
mov dword [ebp + 0x10], edx
mov edx, ebx
shld edx, eax, 0xd
mov eax, dword [ebp + 0x10]
xor eax, esi
xor edx, edi
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp + 0x10], eax
mov eax, esi
mov dword [ebp - 0x34], edx
mov edx, edi
shld eax, edx, 5
shld edx, esi, 5
add eax, dword [ecx + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x34]
adc edx, ebx
add edi, dword [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
adc esi, dword [ebp - 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x40]
mov dword [ecx + 0x10], edi
adc eax, dword [ebp - 0x38]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov dword [ebx], edx
mov dword [ebx + 4], eax
add ebx, 8
sub dword [ebp - 0x18], 1
mov dword [ebp + 0xc], ebx
jne 0x419500
cmp dword [ebp - 0x3c], 0
je 0x419641
mov esi, dword [ecx + 8]
mov edx, esi
mov edi, dword [ecx + 0xc]
mov eax, edi
mov ebx, dword [ecx]
shld edx, edi, 7
shld eax, esi, 7
sub ebx, edx
mov edx, dword [ecx + 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ecx + 0x14]
sbb edx, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x40], edx
mov edx, eax
shld edx, ebx, 0xd
mov dword [ebp + 0x10], edx
mov edx, ebx
shld edx, eax, 0xd
mov eax, dword [ebp + 0x10]
xor eax, esi
xor edx, edi
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [ebp + 0x10], eax
mov dword [ecx], eax
mov eax, esi
mov dword [ebp - 0x38], edx
mov dword [ecx + 4], edx
mov edx, edi
shld eax, edx, 5
shld edx, esi, 5
add eax, dword [ecx + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
adc edx, ebx
add edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
adc esi, dword [ebp - 0x40]
add ebx, dword [ebp + 0xc]
mov dword [ecx + 0xc], edx
adc eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edi, edi
mov byte [ecx], bl
lea ecx, [ecx + 1]
shrd ebx, eax, 8
shr eax, 8
sub edx, 1
jne 0x419630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc