Function at 0x475130
Capabilities:
Encrypt data using chaskey
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xec
or edi, 0xd7d8cf30
xor ebx, edi
and ebx, edx
or ebx, ecx
rol edx, 0x1a
add ebx, 0xd7da0461
and edi, edx
rol ebx, 0x12
add edi, ebx
jmp 0x475fb7
mov esi, dword [esi]
bswap ecx
rol edi, 6
add ebx, edi
xor edx, ebx
xor edx, edi
jmp 0x475a05
mov dword [esp + 0x9c], esi
xchg edi, ebx
add edi, edx
and edi, 0xd7f32d97
or edi, edx
xor edi, ecx
neg ebx
sub ecx, ebx
xchg edx, ecx
jmp 0x476850
inc esi
xchg edx, ebx
xchg ebx, edi
bswap ecx
sub edi, edx
shr edx, 6
add edx, ecx
and ebx, 0xd7fcc6d3
xchg ecx, edx
xor edi, ecx
sub ecx, ebx
xor edx, ecx
inc ebx
jmp 0x475eb1
mov esi, dword [esp + 0x9c]
xchg ebx, ecx
add ebx, ecx
xchg ebx, ecx
and ecx, 0xd7ff0923
or edi, 0xd7ff58f9
sub ebx, ecx
bswap edx
xchg ebx, edi
shl edi, 0xe
add edi, 0xd8008f0c
and ebx, 0xd800ceef
jmp 0x475576
mov dword [esp + 0xc4], esi
xor ebx, ecx
inc edi
dec ecx
not edx
mov edx, 0xd8022d4f
sub ecx, ebx
and ecx, 0xd802a947
sub ecx, 0xd802e9a2
shr ebx, 0x1d
jmp 0x475ef8
sub dword [esp + 0x9c], 8
mov ebx, edx
add ebx, 0xd803b950
xchg ebx, ecx
inc ecx
not ecx
not edx
nop
xchg ecx, edx
or ecx, 0xd80583d1
add ebx, ecx
rol edx, 7
mov edi, ebx
shr edi, 0x19
jmp 0x4758a5
mov esi, dword [esp + 0xc4]
or ecx, edi
and ecx, ebx
mov edx, edi
rol ecx, 0x1f
xchg ebx, edx
rol ebx, 0x1c
mov ebx, edi
xor ecx, ebx
sub ecx, edx
and ebx, ecx
rol edi, 0x19
jmp 0x475438
add esi, dword [esp + 0x6c]
not edi
add ebx, ecx
rol edx, 0xd
bswap ebx
or ebx, 0xd80fa612
and ebx, ecx
jmp 0x475dc0
add dword [esp + 0x9c], 0x20
xchg edx, ebx
not ecx
and ebx, 0xd815c94e
dec ebx
shr ebx, 6
inc edx
add edx, 0xd816c898
mov edi, 0xd817073c
add ecx, edi
jmp 0x477217
movzx esi, word [esi]
xor ecx, 0xd8179921
mov ecx, edx
xchg edi, ecx
or ebx, edx
dec ecx
shl ebx, 0xe
xor ebx, ecx
bswap edx
or ebx, ecx
xchg edi, ecx
jmp 0x4778d1
add dword [esp + 0xc4], 4
or edi, 0xd81a2c13
add ebx, edi
mov ecx, edx
xor ecx, edi
xchg ebx, edx
add ecx, 0xd81b61ef
rol ecx, 5
mov ebx, edi
sub ecx, 0xd81c2bb2
xchg edx, ecx
mov ecx, edi
jmp 0x476f1f
mov esi, dword [esi]
and edi, ecx
and ecx, edi
add ebx, 0xd824c680
sub edi, edx
xchg ebx, ecx
and ebx, edi
and edi, ebx
and ecx, ebx
not ecx
jmp 0x475690
mov esi, dword [esi]
xor ebx, edx
or edx, ebx
sub ecx, ebx
xor ecx, 0xd8365139
shr ecx, 0xa
and ebx, ecx
and edi, 0xd8371a19
shr ecx, 0x1a
add edi, 0xd8379836
jmp 0x475703
add esi, dword [esp + 0x24]
xor edx, edi
mov ecx, edi
mov edx, ecx
or edi, ebx
mov ecx, ebx
add edi, 0xd83bb1c9
mov edx, ecx
sub ecx, edx
neg ebx
add ebx, ecx
add ecx, edi
not ecx
xchg ecx, edi
bswap ebx
xor edi, ebx
jmp 0x476f75
add esi, 0xc
shr ebx, 0x18
add ebx, edx
and ecx, 0xd84368db
mov edx, edi
add edi, edx
add ebx, edx
add edx, ebx
jmp 0x475b5e
ret
mov esi, dword [esi]
add edx, edi
xor edi, edx
or edx, 0xd8648847
or edx, ebx
or edi, ebx
ror ecx, 0xd
add ecx, ebx
shr ecx, 0x14
and ecx, edi
add ebx, edi
add edi, edx
add ecx, edi
jmp 0x47529f
mov esi, dword [esp + 0x9c]
xchg edi, edx
mov edi, ebx
add edx, edi
ror ebx, 1
xor ecx, edx
mov ecx, edi
rol ecx, 0x1e
neg edi
mov edx, edi
shr edi, 0x1e
and ebx, ecx
shr ebx, 0x1b
jmp 0x477d50
jne 0x4773d7
xor edx, ebx
inc ebx
xchg ebx, ecx
add edi, ecx
add ebx, 0xd871e8c5
jmp 0x47759f
add esi, 0x18
xchg edx, ecx
sub edi, edx
add edx, ecx
ror ebx, 9
ror edx, 0xb
or ecx, edi
or edx, 0xd883cfb6
add ecx, edi
jmp 0x47766c
add dword [esp + 0x9c], esi
mov edi, ebx
xor edx, ebx
mov ebx, edx
mov ecx, ebx
rol ecx, 0x1f
and ebx, edx
jmp 0x4754a3
mov esi, dword [esi]
rol ecx, 0xc
sub ebx, edi
and ecx, 0xd89ac0de
add ebx, edx
jmp 0x4777c7
add esi, dword [esp + 0x24]
add edi, ebx
mov edi, 0xd89e62a6
sub ebx, 0xd89ea05b
and ebx, 0xd89eef5d
shr edx, 0x17
sub edx, 0xd89f6e19
bswap ecx
mov edi, 0xd89fed71
jmp 0x476c80
mov eax, 4
mov edx, ecx
rol edi, 0x16
dec ecx
sub ebx, ecx
jmp 0x4754cc
mov dword [esp + 0x24], esi
xchg ecx, ebx
or ecx, ebx
sub edi, ecx
shl edi, 0x19
xchg edi, ebx
sub ebx, 0xd8ca1cd6
jmp 0x477955
add esi, dword [esp + 0x24]
sub ecx, ebx
sub edx, edi
mov ecx, edi
xor ecx, 0xd8d5673f
xchg edx, ecx
xchg ebx, edi
xor ebx, 0xd8d6324a
add edi, ecx
shl edi, 7
inc ecx
xchg edi, ebx
jmp 0x47536f
cmp byte [esi], 0
jmp 0x47591a
mov esi, dword [esi]
xchg edx, edi
or ebx, edi
xor ecx, ebx
sub ecx, edi
xchg ebx, ecx
bswap ecx
add ecx, ebx
sub edx, ebx
mov edi, edx
jmp 0x477cdf
inc dword [esp + 0x6c]
sub ecx, ebx
and ebx, ecx
mov edx, ecx
or ebx, ecx
or ebx, 0xd8e117e7
xchg edi, ebx
mov edx, ecx
or edx, ecx
or ecx, edi
jmp 0x4754ec
mov dword [esp + 0x6c], 0
sub edi, edx
or edx, ecx
sub ebx, edx
jmp 0x47628c
mov dword [esp + 0xc4], 0
rol edx, 0x10
xchg edi, ebx
add ecx, edi
ror ecx, 9
or edi, ecx
shl edx, 0x1c
mov edx, 0xd92aa854
or edi, edx
mov ecx, 0xd92b2364
jmp 0x47683c
jne 0x475ef8
or ecx, edi
add edi, edx
mov ecx, edx
mov edi, ebx
jmp 0x47695d
push esi
mov ebx, ecx
or edx, 0xd93d9bc4
add ebx, edi
or ebx, 0xd93e2788
rol ecx, 0x1f
or ecx, ebx
jmp 0x47654c
mov esi, dword [esp + 0x9c]
add edi, ebx
and edi, 0xd9439e6e
sub edi, ecx
jmp 0x4767a3
mov esi, dword [esp + 0x6c]
neg edi
xchg ecx, edi
shl edi, 0x12
shl edi, 0x1f
add ecx, ebx
xchg edi, ecx
sub ecx, edx
add ecx, edx
rol ebx, 0x14
or edi, ebx
add ecx, 0xd9557bc5
or ebx, ecx
bswap ebx
jmp 0x4766a4
xor eax, eax
ror edi, 0xb
or ebx, 0xd9594c75
not ecx
xor ecx, ebx
shl ecx, 0xf
xor edi, ebx
or ecx, edi
or ecx, 0xd95ada2b
add edi, ebx
neg ecx
and ecx, edx
or edx, edi
not edx
or ebx, edi
jmp 0x4773d7
mov dword [esp + 0x10], esi
and ebx, ecx
and ebx, edi
not edi
add ebx, ecx
and ecx, edi
or ecx, edx
or edx, edi
mov ecx, edx
jmp 0x477307
mul esi
shr ecx, 0x12
ror edx, 2
rol ebx, 0x1e
sub ebx, edi
sub edi, 0xd973a820
and edx, ecx
or edx, 0xd97424bd
jmp 0x476d78
add esi, 0x3c
mov ecx, ebx
dec ecx
add edx, ebx
or edx, ebx
add edi, ebx
shr edi, 4
add ecx, edx
or ecx, ebx
or edx, ecx
or ebx, edi
bswap edx
jmp 0x477746
mov esi, dword [esi]
inc edi
xchg edx, edi
mov ecx, edx
or ecx, ebx
mov edx, ebx
nop
add ebx, edx
xchg edi, ecx
and edi, ecx
jmp 0x477db4
mov dword [esp + 0x24], 0
shl ebx, 0xe
inc ebx
jmp 0x477023
mov esi, dword [esp + 0x24]
sub ebx, ecx
add ecx, edi
dec edi
mov ebx, ecx
jmp 0x475ad6
add dword [esp + 0x9c], 4
add ecx, 0xd9a49325
not ecx
shl edx, 3
sub ebx, edi
rol edx, 0x15
shl ebx, 0xe
add edx, 0xd9a60e4a
or edi, 0xd9a64eb5
and edx, edi
jmp 0x47641d
mov esi, dword [esi]
shl edi, 4
shl edi, 0x14
sub ebx, edx
add edi, edx
sub ebx, ecx
not edx
neg ebx
mov edi, edx
xor ecx, edx
ror edi, 0xa
mov ecx, 0xd9c3ab3d
shl edi, 9
jmp 0x475e60
mov dword [esp + 0x9c], esi
xchg ecx, edx
sub ebx, edi
ror edx, 0x12
not edx
sub edi, edx
rol ecx, 3
dec ebx
inc ecx
add ebx, ecx
and edi, ebx
xor edi, 0xd9c6bb94
shl ebx, 0x1c
jmp 0x476dbd
mov eax, 2
xchg ebx, edi
or edi, 0xd9e3aa05
or ebx, ecx
xchg ecx, edi
and ebx, edx
shr ecx, 8
mov ecx, ebx
and edi, 0xd9e51b7f
not edx
jmp 0x4764f2
mov dword [esp + 0x9c], esi
and ebx, edx
and ecx, edi
add ecx, edx
rol ecx, 0xb
sub edi, ebx
inc ecx
xor ecx, ebx
xor edx, edi
jmp 0x4753f3
mov dword [esp + 0x6c], eax
ror edx, 5
shr edx, 0xb
and edi, edx
add ecx, 0xd9fc3241
neg ecx
or edi, 0xd9fcb1d0
mov edi, ecx
dec ecx
jmp 0x475397
add dword [esp + 0x9c], 0x78
shr ebx, 5
rol edx, 6
sub ecx, edi
shr edi, 8
add edx, 0xda009222
mov edi, 0xda00d1cd
inc edx
bswap edx
bswap ecx
jmp 0x4779e7
mov esi, dword fs:[esi]
sub ecx, edi
mov edx, ebx
ror ecx, 0x15
or edi, ebx
sub edx, 0xda186cbe
sub edx, ebx
add edx, ecx
sub ecx, edi
xchg edi, ecx
jmp 0x47744a
mov esi, dword [esp + 0xc4]
and ecx, edx
ror ecx, 5
add edx, 0xda1a42d7
xor edi, edx
add ecx, edx
rol ebx, 0x19
or ecx, ebx
xor ebx, edi
sub edx, edi
add ecx, ebx
xor edx, edi
jmp 0x475edf
add esp, 0xec
shr edx, 0x1c
and edx, 0xda206229
and ebx, ecx
or ebx, ecx
shl edx, 0xc
and ecx, edi
sub ecx, edi
and edi, ecx
neg ebx
mov ecx, ebx
xor edi, ebx
xor edi, 0xda22dadf
sub edx, ebx
jmp 0x47585e
mov dword [esp + 0x9c], 0
xchg ecx, edi
xchg edi, ecx
ror ecx, 3
and ecx, edi
or ecx, 0xda2d96d4
add ebx, 0xda2dd51a
inc ebx
add ebx, edi
sub ebx, ecx
xchg ecx, edx
add edi, 0xda2f1dd7
jmp 0x47661e
mov esi, dword [esp + 0x9c]
not ebx
dec ecx
neg ecx
mov ecx, edx
add edi, 0xda514d16
sub edx, 0xda51c762
and ecx, 0xda524112
jmp 0x476af1
mov esi, 0x30
mov ebx, 0xda8c9b8e
xchg ecx, edi
and ecx, edi
mov ecx, edx
and ecx, edx
sub ecx, ebx
shr edi, 0xa
sub ebx, 0xda8e5953
and edi, ebx
and ecx, edi
or edx, ecx
xchg ebx, ecx
jmp 0x476f00
xor al, byte [esi]
and ecx, edx
mov ecx, ebx
ror ecx, 0x18
or ebx, 0xda9a87a4
jmp 0x4775aa
add esi, 0xc
bswap ebx
neg edx
xor ebx, 0xdaa30a99
dec ebx
mov ebx, edx
and edx, edi
inc edx
xchg ecx, ebx
jmp 0x47564b
pop esi
mov edi, ecx
sub edi, edx
dec edi
jmp 0x4779fb
rol eax, 8
or edi, edx
sub edi, ebx
shl ebx, 1
and edi, ebx
mov edx, ebx
shr ebx, 0x19
or ecx, edi
xchg ebx, ecx
inc ebx
sub ebx, 0xdac03d7d
xor edx, ecx
or edi, ebx
jmp 0x47531a
mov esi, dword [esi]
and edi, ebx
add edi, edx
and edi, ecx
jmp 0x475dd2
mov esi, dword [esi]
or edi, 0xdaddfc65
or edi, 0xdade3d91
and edi, ecx
inc ebx
or ecx, ebx
add ecx, edx
and edx, edi
or edi, edx
xor ebx, edx
xor edx, ecx
or ecx, edi
mov ebx, ecx
or edx, 0xdae0ecae
mov edi, ecx
jmp 0x476b17
mov esi, dword [esi]
shl ecx, 0x17
xchg ecx, edx
xchg ecx, ebx
xor edi, ecx
ror ebx, 0xc
add edi, edx
inc edi
shr edx, 7
jmp 0x475161
mul esi
xchg edx, ecx
xor edi, 0xdafc316c
bswap ebx
or ebx, edi
add edi, 0xdafcfc72
mov ecx, ebx
or ecx, edi
neg ecx
shl ebx, 5
xchg ecx, edi
jmp 0x477f19
mov esi, dword [esp + 0x24]
sub edx, 0xdb0547b4
xchg ecx, ebx
xor edx, ebx
or ebx, edx
sub edi, ecx
xchg ecx, edx
mov ecx, edi
or ecx, edx
jmp 0x476749
mov esi, dword [esp + 0x24]
and edi, edx
xor ecx, 0xdb11515a
jmp 0x477aae
cmp eax, dword [esp + 0x10]
jmp 0x47639a
add esi, dword [esp + 0x9c]
not ecx
mov edx, ebx
shl edx, 0x17
or ecx, edx
sub ebx, edx
jmp 0x475880
add esi, dword [esp + 0x24]
not ecx
mov edx, 0xdb430aee
add edx, edi
xor ecx, edi
xchg edx, edi
ror ecx, 0x14
add edx, ecx
and edx, ebx
jmp 0x4763c2
mov esi, dword [esi]
nop
mov edx, ecx
xchg ebx, edx
not edx
mov ecx, 0xdb4b0a2f
add edi, 0xdb4b498d
xor edx, ecx
add edi, ecx
xor ecx, ebx
mov edx, edi
sub edx, 0xdb4c8ba0
sub edi, edx
xor ecx, ebx
jmp 0x475b90
add esi, dword [esp + 0x24]
neg ebx
mov ecx, ebx
add edx, edi
xor ecx, ebx
or edi, ecx
sub edx, 0xdb52436a
xor edi, ebx
xchg ebx, edi
or edi, edx
shr ecx, 8
shr edx, 6
or ebx, ecx
mov edi, 0xdb540773
xor ecx, 0xdb5447a5
nop
jmp 0x477eb0
mov dword [esp + 0xc4], esi
sub edi, ebx
add ecx, edi
and edi, edx
shl ecx, 0xb
inc edi
sub ebx, ecx
xchg ebx, edx
add ebx, edx
xor edi, ebx
inc edi
dec ecx
sub ecx, edi
dec ecx
xor ecx, 0xdb66aed2
shl ebx, 9
jmp 0x476c5b
add dword [esp + 0x9c], eax
shl ecx, 0x1f
or ecx, edi
xor ebx, edi
xchg edi, ecx
add ebx, ecx
xchg ecx, ebx
nop
sub edi, ecx
jmp 0x47533c