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

Disassembly:
mov eax, dword [esp + 0x20]
sub esp, 0x40
xor ecx, ecx
cmp eax, 1
mov dword [esp], 0
sete cl
push ebx
push esi
push edi
push ebp
mov edx, dword [esp + 0x78]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
mov eax, ecx
and eax, 0xf
mov esi, dword [esp + 0x7c]
shl eax, 4
mov dword [esp + 0x24], eax
mov eax, edx
and eax, 0xf
mov ebp, dword [esp + 0x80]
shl eax, 4
mov dword [esp + 0x30], eax
mov eax, esi
and eax, 0xf
mov ebx, dword [esp + 0x5c]
shl eax, 4
mov edi, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, ebp
and eax, 0xf
shl eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
imul edi, eax
add edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
sar ecx, 4
add edi, edi
add edi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x54]
mov ebx, dword [ebx + 8]
and edx, 0xfffffff7
sar edx, 3
mov dword [esp + 0x20], ebx
add ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
imul ecx, dword [esp + 0x20]
sar esi, 4
add ecx, ebx
mov ebx, dword [esp + 0x54]
nop
lea ecx, [edx + ecx*2]
nop
mov edx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x58]
add ecx, edx
mov edx, dword [esp + 0x60]
add esi, edx
imul esi, dword [ebx + 8]
mov edx, dword [esp + 0x64]
and ebp, 0xfffffff7
sar ebp, 3
add esi, edx
mov edx, dword [ebx + 0xc]
lea esi, [ebp + esi*2]
add esi, edx
mov edx, dword [esp + 0x6c]
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 8]
sub eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1c473024
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x1c473024
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1c473024
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1c473024
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x1c473171
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1c472fbd
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
dec ebx
test eax, eax
je 0x1c472ff9
add esi, 2
add ecx, 2
add edi, 2
mov ebp, dword [esp + 0x10]
movsx edx, word [ecx - 2]
movsx eax, word [esi - 2]
add edx, eax
movsx eax, word [edi - 2]
sar edx, 1
sub eax, edx
cdq
xor eax, edx
sub ebp, edx
mov dword [esp + 0x10], ebp
add ebp, eax
mov eax, ebx
mov dword [esp + 0x10], ebp
dec ebx
test eax, eax
jne 0x1c472f86
jmp 0x1c472ff9
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
dec edx
test eax, eax
je 0x1c472ff9
add esi, 2
add ecx, 2
add edi, 2
mov ebp, edx
movsx ebx, word [ecx - 2]
movsx eax, word [esi - 2]
add ebx, eax
dec edx
movsx eax, word [edi - 2]
sar ebx, 1
sub eax, ebx
mov ebx, dword [esp + 0x10]
imul eax, eax
add ebx, eax
test ebp, ebp
mov dword [esp + 0x10], ebx
jne 0x1c472fca
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
nop
lea ecx, [ecx + edx*2]
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x48]
dec ebx
mov dword [esp + 0x14], ebx
nop
lea esi, [esi + eax*2]
jne 0x1c472f71
jmp 0x1c473171
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x60]
add eax, dword [esp + 0x68]
cmp ebx, eax
jge 0x1c473171
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x58]
movsx eax, word [ecx]
movsx edx, word [ecx + ebx*2]
sub edx, eax
movsx ebx, word [esi]
imul edx, dword [esp + 0x24]
shl eax, 8
add edx, eax
mov eax, dword [ebp + 8]
movsx eax, word [esi + eax*2]
sub eax, ebx
mov ebp, dword [esp + 0x14]
shl ebx, 8
mov dword [esp + 0x2c], ebp
imul eax, dword [esp + 0x28]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1c47314b
add ecx, 2
mov ebx, dword [esp + 0x20]
add esi, 2
add edi, 2
movsx ebp, word [ecx]
movsx eax, word [ecx + ebx*2]
sub eax, ebp
mov ebx, dword [esp + 0x58]
imul eax, dword [esp + 0x24]
shl ebp, 8
add eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
movsx ebp, word [esi]
movsx eax, word [esi + eax*2]
sub eax, ebp
mov ebx, dword [esp + 0x1c]
shl ebp, 8
sub ebx, edx
imul eax, dword [esp + 0x28]
imul ebx, dword [esp + 0x30]
shl edx, 8
add eax, ebp
add ebx, edx
mov ebp, dword [esp + 0x18]
sar ebx, 0x10
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x3c]
sub edx, ebp
movsx eax, word [edi - 2]
imul edx, dword [esp + 0x34]
shl ebp, 8
add edx, ebp
sar edx, 0x10
add ebx, edx
mov edx, dword [esp + 0x38]
sar ebx, 1
sub eax, ebx
test edx, edx
je 0x1c473125
cdq
xor eax, edx
mov ebx, dword [esp + 0x10]
sub ebx, edx
mov dword [esp + 0x10], ebx
add ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x1c47312c
imul eax, eax
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
test ebx, ebx
lea ebp, [ebx - 1]
mov dword [esp + 0x2c], ebp
jne 0x1c473092
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x4c]
nop
lea ecx, [ecx + edx*2]
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x48]
dec ebx
mov dword [esp + 0x4c], ebx
nop
lea esi, [esi + eax*2]
jne 0x1c473049
fild dword [esp + 0x10]
mov eax, dword [esp + 0x68]
imul eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
fdivp st(1)
add esp, 0x40
ret