Function at 0x61aae490
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x60
fld qword [ecx + 0xe0]
mov ecx, dword [ecx + 0xec]
lea edx, [esp + 0x58]
mov esi, dword [esp + 0x70]
mov eax, dword [ecx]
fst qword [esp]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
fstp qword [esp + 0x30]
mov dword [esp + 0xc], edx
call dword [eax + 0x18]
sub esp, 0x18
mov ecx, 0x80067
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
xor eax, eax
fild dword [esp + 0x28]
fld qword [esp + 0x30]
faddp st(1)
mov edx, ecx
and edx, 1
cmp edx, 1
setb byte [ebx + eax + 0x64]
xor edx, 1
shr ecx, 1
mov dword [ebx + eax*4 + 0x7c], edx
add eax, 1
cmp eax, 0x17
jne 0x61aae4f0
fld st(0)
fstp qword [esp + 0x38]
fdiv dword [0x61c09040]
fstp qword [esp]
call sym._uprv_floor_53
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
mov dword [ebx + 0xcc], 1
mov byte [ebx + 0x78], 1
mov ah, 0xc
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0x48]
fldcw word [esp + 0x4e]
mov eax, dword [esp + 0x48]
lea edi, [eax + 0x253d8c]
mov dword [esp + 0x28], eax
lea eax, [ebx + 0x118]
fild dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x5c]
mov dword [ebx + 0x58], edi
fst qword [esp]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x11c]
fstp qword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x114]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x110]
mov dword [esp + 8], eax
call method.icu_53::Grego.dayToFields_double__int__int__int__int__int_
fld dword [0x61c09044]
mov dword [esp + 0x28], edi
fstp qword [esp + 8]
fild dword [esp + 0x28]
fadd dword [0x61c09048]
fstp qword [esp]
call sym._uprv_fmod_53
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
mov byte [ebx + 0x6b], 1
mov byte [ebx + 0x76], 1
mov dword [ebx + 0x98], 1
mov dword [ebx + 0xc4], 1
mov ah, 0xc
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp word [esp + 0x46]
fldcw word [esp + 0x4e]
movzx edx, word [esp + 0x46]
fld qword [esp + 0x30]
mov eax, edx
sar al, 7
fld qword [esp + 0x38]
and eax, 7
lea eax, [eax + edx + 1]
movzx eax, al
mov dword [ebx + 0x24], eax
sub eax, dword [ebx + 0xf8]
lea edx, [eax + 1]
add eax, 8
test edx, edx
cmovle edx, eax
mov eax, dword [ebx]
mov dword [ebx + 0x50], edx
mov edx, dword [ebx + 0x58]
mov eax, dword [eax + 0xa4]
cmp eax, method.icu_53::Calendar.handleComputeFields_int__UErrorCode_
jne 0x61aae79e
mov eax, dword [ebx + 0x114]
mov dword [ebx + 0x84], 1
mov edx, 1
mov byte [ebx + 0x66], 1
mov dword [ebx + 0x90], 1
mov byte [ebx + 0x69], 1
mov dword [ebx + 0x94], 1
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x11c]
mov byte [ebx + 0x6a], 1
mov dword [ebx + 0xc8], 1
mov byte [ebx + 0x77], 1
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x118]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x110]
test eax, eax
mov dword [ebx + 0x54], eax
jg 0x61aae6a9
sub edx, eax
mov eax, edx
xor edx, edx
mov byte [ebx + 0x64], 1
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x65], 1
mov eax, dword [esi]
mov dword [ebx + 8], edx
mov dword [ebx + 0x7c], 1
mov dword [ebx + 0x80], 1
test eax, eax
jle 0x61aae7cc
fxch st(1)
jmp 0x61aae6e0
fxch st(1)
nop
lea esi, [esi]
fmul dword [0x61c09040]
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
mov edx, 0x10624dd3
mov ah, 0xc
mov word [esp + 0x4c], ax
fsubp st(1)
fldcw word [esp + 0x4c]
fistp dword [esp + 0x48]
fldcw word [esp + 0x4e]
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov dword [ebx + 0x5c], ecx
imul edx
mov eax, edx
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edi, eax
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, edi
mov dword [ebx + 0x40], ecx
mov ecx, 0x88888889
imul ecx
mov eax, edi
sar eax, 0x1f
lea esi, [edx + edi]
sar esi, 5
sub esi, eax
imul eax, esi, 0x3c
sub edi, eax
mov eax, esi
imul ecx
mov eax, esi
mov dword [ebx + 0x3c], edi
sar eax, 0x1f
lea ecx, [edx + esi]
mov edx, 0x2aaaaaab
sar ecx, 5
sub ecx, eax
imul eax, ecx, 0x3c
mov dword [ebx + 0x34], ecx
sub esi, eax
mov eax, ecx
imul edx
mov eax, ecx
mov dword [ebx + 0x38], esi
sar eax, 0x1f
sar edx, 1
sub edx, eax
lea eax, [edx + edx*2]
mov dword [ebx + 0x2c], edx
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x48], eax
add esp, 0x60
pop ebx
pop esi
pop edi
ret 4
fxch st(1)
fstp qword [esp + 0x30]
mov dword [esp + 4], esi
mov dword [esp], edx
mov ecx, ebx
fstp qword [esp + 0x28]
call eax
mov eax, dword [esi]
sub esp, 8
fld qword [esp + 0x30]
test eax, eax
fld qword [esp + 0x28]
jg 0x61aae6d6
fxch st(1)
jmp 0x61aae7ce
fxch st(1)
fstp qword [esp + 0x30]
mov ecx, ebx
fstp qword [esp + 0x28]
call method.icu_53::Calendar.computeWeekFields_UErrorCode___clone_.part.20_
fld qword [esp + 0x30]
fld qword [esp + 0x28]
fxch st(1)
jmp 0x61aae6e0