joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x419cfb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x419d1f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x419d3a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41bc3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x42d27c
call fcn.0040d040
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00428d7e
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x41bc7b
call fcn.00428d7e
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41bc89
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41bc97
or eax, 0xffffffff
jmp 0x41bd7f
mov ecx, esi
call fcn.0041bbb2
mov dword [ebp - 0x14], eax
call fcn.0041d980
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x41bcce
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41bcce
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041d934
push dword [ebp - 0x14]
call fcn.0041d466
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041b94a
cmp eax, edi
je 0x41bd41
test byte [esi + 0x24], 0x10
je 0x41bd0f
push 4
mov ecx, esi
pop ebx
call fcn.0041cc89
test ah, 1
je 0x41bd07
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041f74f
cmp dword [esi + 0x1c], edi
je 0x41bd41
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041cda0
jmp 0x41bd41
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x41bd55
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41bd6e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x41bd6e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041bbec
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41f5fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41f63f
call fcn.00428d7e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41f63f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41f636
xor eax, eax
jmp 0x41f647
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041f64d
pop edi
pop esi
pop ebx
ret 4
Function at 0x44b4e4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8cec22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov eax, 0x8fe940
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov ebx, dword [0xa447bc]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x40]
mov edi, dword [ebx + 0x42c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
push 0x234
mov esi, dword [edi + 0xe8]
mov dword [ebp - 0x38], esi
mov eax, dword [edi + 0xec]
mov dword [ebp - 0x34], eax
call fcn.005caba4
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x44b5f1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x78]
push eax
push dword [0xaca350]
call fcn.006441f4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0
push 0x234
call fcn.005caba4
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x44b638
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x78]
push eax
push dword [0xaca350]
call fcn.006441f4
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0
push 0x234
call fcn.005caba4
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x44b67f
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x78]
push eax
push dword [0xaca350]
call fcn.006441f4
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4683b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x88
mov ebx, ecx
mov edx, dword [0xa95e48]
mov byte [esp + 2], 0xe5
mov dword [ebx + 0x1212c], edx
xor ecx, ecx
mov dword [esp + 4], ecx
mov byte [esp + 3], cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, 0x88
mov word [esp], ax
push 0xffff
call fcn.006c1bcc
mov eax, dword [eax + 0x364]
mov dword [esp + 0x14], eax
push 0xffff
call fcn.006c1bcc
add esp, 8
add eax, 0x370
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
movzx edx, word [esp]
lea ecx, [esp]
push edx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
push dword [ebx + 0x1212c]
call fcn.006c1a80
add esp, 0x8c
pop ebx
ret

Function at 0x4d83f4
Capabilities:
Encode data using xor

Disassembly:
sbb edi, dword [eax]
enter 0xffffffffffff9f8e, 0xffffffffffffffe9
salc
mov edx, esi
invalid
Function at 0x506d18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d3998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
call fcn.008193cc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov dword [edx], 0xafee00
mov eax, dword [0x9ba8d8]
mov dword [edx + 4], eax
mov ebx, dword [ecx]
mov dword [edx + 0x38], ebx
mov esi, dword [ecx + 4]
mov dword [edx + 0x3c], esi
mov edi, dword [ecx + 8]
mov dword [edx + 0x40], edi
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x44], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x48], eax
mov eax, dword [ecx]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x4c], eax
add edx, 0x2c
xor ecx, ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0082f09c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x506dda
fld dword [ebp - 0x40]
fdiv dword [0xacc0e8]
fld dword [ebp - 0x3c]
fdiv dword [0xacc0ec]
jmp 0x506de0
fld dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fldz
fldz
fld dword [0x91ff18]
fld dword [0x91ff18]
fxch st(5)
fchs
fld st(0)
fnstcw word [ebp - 0x34]
movzx eax, word [ebp - 0x34]
or eax, 0xc00
mov dword [ebp - 0x2c], eax
fldcw word [ebp - 0x2c]
frndint
fldcw word [ebp - 0x34]
fxch st(4)
fcomp st(1)
fnstsw ax
fxch st(1)
fadd st(3)
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
sahf
fxch st(1)
fcomp st(3)
fnstsw ax
fxch st(3)
fchs
fld st(0)
fxch st(3)
jae 0x506e33
fst st(4)
sahf
fxch st(4)
je 0x506e3a
fst st(4)
fstp st(0)
fxch st(2)
fnstcw word [ebp - 0x34]
movzx eax, word [ebp - 0x34]
or eax, 0xc00
mov dword [ebp - 0x2c], eax
fldcw word [ebp - 0x2c]
frndint
fldcw word [ebp - 0x34]
fxch st(1)
fcomp st(2)
fnstsw ax
fadd st(3), st(0)
fxch st(2)
fchs
fst dword [edx + 0x24]
fstp dword [edx + 0x1c]
sahf
fcomp st(1)
fnstsw ax
jae 0x506e70
fst st(1)
sahf
mov eax, edx
fxch st(1)
je 0x506e79
fst st(1)
fstp st(0)
fchs
fst dword [edx + 0x28]
fstp dword [edx + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x508c34
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebp
push ebx
mov esi, ecx
mov ebx, dword [esp + 0x10]
movzx ebp, word [esp + 0x28]
mov ecx, esi
push dword [0xaca344]
call fcn.008193cc
mov dword [esi], 0xaff308
mov edx, dword [0x9ba90c]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x44], 0x3f800000
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], 0x3f800000
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x24], 0x3f800000
mov edx, dword [ebx]
mov dword [esi + 0x6c], edx
mov edx, dword [ebx + 4]
mov dword [esi + 0x70], edx
mov edx, 0xffff
mov ebx, dword [ebx + 8]
mov dword [esi + 0x74], ebx
mov word [esi + 0x2c], bp
mov word [esi + 0x2e], ax
mov word [esi + 0x30], dx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x508ce5
mov dword [esi + 0x5c], esi
jmp 0x508d11
test ebp, 0x800
je 0x508d09
test ebp, 0x4000
je 0x508cff
mov eax, dword [0xaca328]
mov dword [esi + 0x5c], eax
jmp 0x508d11
mov eax, dword [0xaca344]
mov dword [esi + 0x5c], eax
jmp 0x508d11
mov eax, dword [0xaca344]
mov dword [esi + 0x5c], eax
mov edx, 0x3f800000
mov eax, 0x3f800000
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
mov eax, esi
pop ebx
pop ebp
pop esi
ret 0x1c
Function at 0x51145c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d417c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp + 8]
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
push edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
call fcn.00508460
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov dword [eax], 0xaff658
call fcn.008587a5
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fdiv dword [0x9204f0]
fadd dword [0x9204f4]
mov eax, dword [ebp - 0x14]
fmul dword [eax + 0x18]
fadd dword [edx]
fstp dword [ecx + 0x74]
call fcn.008587a5
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x9204f0]
fadd dword [0x9204f4]
mov eax, dword [ebp - 0x14]
fmul dword [eax + 0x1c]
fadd dword [edx + 4]
fstp dword [ecx + 0x78]
call fcn.008587a5
mov edx, eax
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
fild dword [ebp - 0x44]
fdiv dword [0x9204f0]
fadd dword [0x9204f4]
mov edx, dword [ebp - 0x14]
fmul dword [edx + 0x20]
fadd dword [esi + 8]
fstp dword [eax + 0x7c]
mov ecx, dword [esi]
mov dword [eax + 0x34], ecx
mov ebx, dword [esi + 4]
mov dword [eax + 0x38], ebx
mov edi, dword [esi + 8]
mov dword [eax + 0x3c], edi
call fcn.008587a5
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x9204f0]
mov eax, dword [ebp - 0x14]
fmul dword [eax + 0x28]
fadd dword [eax + 0x24]
fst dword [edx + 0x2c]
fstp dword [edx + 0x30]
call fcn.008587a5
mov edx, dword [ebp - 0x14]
fild dword [edx + 0x48]
fild dword [edx + 0x4c]
movzx ecx, byte [edx + 0x88]
fld dword [0x9204ec]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x9204f0]
fmulp st(2)
fxch st(1)
faddp st(2)
fxch st(1)
fnstcw word [ebp - 0x3c]
movzx eax, word [ebp - 0x3c]
or eax, 0xc00
mov dword [ebp - 0x34], eax
fldcw word [ebp - 0x34]
fistp dword [ebp - 0x2c]
fldcw word [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
test cl, 1
mov ebx, dword [ebp - 0x2c]
je 0x5115c5
movzx edx, word [eax + 0x1c]
mov ecx, dword [edx*4 + 0xaaee20]
mov ebx, dword [ecx + 0x28]
fild dword [ebx + 0xc]
fdivp st(1)
fstp dword [eax + 0x60]
jmp 0x5115d0
mov dword [ebp - 0x44], ebx
fild dword [ebp - 0x44]
fdivp st(1)
fstp dword [eax + 0x60]
call fcn.008587a5
mov ecx, dword [ebp - 0x50]
movzx edx, word [ecx + 0x24]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x9204f0]
mov eax, dword [ebp - 0x14]
fmul dword [eax + 0x38]
fadd dword [eax + 0x30]
fstp dword [ecx + 0x6c]
test edx, 0x2000
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
jne 0x51162c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0x1f
call fcn.00505918
pop ecx
mov ecx, dword [ebp - 0x50]
jmp 0x511611
Function at 0x52d9a0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x10
mov ebp, ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebx, eax
mov esi, edx
mov edi, dword [esi + 4]
test edi, edi
je 0x52da50
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x52da50
movsx edi, word [ecx]
add ecx, 2
cmp edi, 0xff
je 0x52da50
mov dword [esp], esi
and edi, 0xff
cmp edi, 8
jl 0x52da3f
cmp edi, 0x10
jge 0x52da16
mov edx, ecx
movzx esi, word [edx]
add ecx, 2
and esi, 0x1fff
cmp esi, ebx
jne 0x52da0a
mov dword [0xa73348], 1
jmp 0x52da3f
mov dword [0xa73348], 0
jmp 0x52da3f
cmp edi, 0x40
jge 0x52da26
movzx edx, word [ecx]
add edx, edx
lea ecx, [edx + ecx + 2]
jmp 0x52da3f
mov edx, dword [0xa73348]
movzx esi, word [ecx]
add ecx, 2
test edx, edx
je 0x52da3b
cmp edi, 0x41
je 0x52da75
add esi, esi
add ecx, esi
movsx edi, word [ecx]
add ecx, 2
cmp edi, 0xff
jne 0x52d9dc
mov esi, dword [esp]
mov edi, dword [esi + 0x2c]
test edi, edi
je 0x52da60
push ebx
push edi
mov ecx, ebp
call fcn.0052d9a0
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x52d9b5
add esp, 0x10
pop ebx
pop ebp
pop esi
pop edi
ret 8
add dword [ebp + 4], 1
movzx eax, word [ecx]
add ecx, 2
and eax, 0x3fff
mov edi, 0
je 0x52da3f
cmp eax, 5
jb 0x52db5f
mov esi, dword [ebp]
mov dword [esp + 4], eax
lea edx, [eax - 5]
mov dword [esp + 8], edx
movsx eax, word [ecx]
cdq
add edi, 4
xor eax, edx
sub eax, edx
movsx edx, ax
add esi, edx
mov dword [ebp], esi
lea eax, [edx + edx]
add eax, edx
lea edx, [eax + eax]
movsx eax, word [ecx + eax*2 + 2]
lea ebx, [edx + ecx + 2]
cdq
xor eax, edx
sub eax, edx
movsx edx, ax
add esi, edx
mov dword [ebp], esi
lea eax, [edx + edx]
add eax, edx
lea edx, [eax + eax]
movsx eax, word [ebx + eax*2 + 2]
lea edx, [edx + ebx + 2]
mov dword [esp + 0xc], edx
mov ebx, edx
cdq
xor eax, edx
sub eax, edx
movsx edx, ax
add esi, edx
mov dword [ebp], esi
lea eax, [edx + edx]
add eax, edx
lea edx, [eax + eax]
movsx eax, word [ebx + eax*2 + 2]
lea ecx, [edx + ebx + 4]
cdq
xor eax, edx
sub eax, edx
movsx eax, ax
add esi, eax
mov dword [ebp], esi
lea edx, [eax + eax]
add edx, eax
mov eax, dword [esp + 8]
add edx, edx
add ecx, edx
cmp edi, eax
jbe 0x52daa2
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x28]
mov ebx, eax
movsx eax, word [ecx]
cdq
add edi, 1
xor eax, edx
sub eax, edx
movsx edx, ax
add esi, edx
mov dword [ebp], esi
lea eax, [edx + edx]
add eax, edx
add eax, eax
lea ecx, [eax + ecx + 2]
cmp edi, ebx
jb 0x52db34
mov ebx, dword [esp + 0x28]
jmp 0x52da3f
mov esi, dword [ebp]
jmp 0x52db32
Function at 0x52db64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x10
mov esi, ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebx, eax
mov ebp, edx
mov edi, dword [ebp + 4]
test edi, edi
je 0x52dc07
mov edi, dword [edi + 4]
test edi, edi
je 0x52dc07
movsx eax, word [edi]
add edi, 2
cmp eax, 0xff
je 0x52dc07
movzx edx, al
cmp edx, 8
jl 0x52dbfa
cmp edx, 0x10
jge 0x52dbd2
mov eax, edi
movzx eax, word [eax]
add edi, 2
and eax, 0x1fff
cmp eax, ebx
jne 0x52dbc6
mov dword [0xa73348], 1
jmp 0x52dbfa
mov dword [0xa73348], 0
jmp 0x52dbfa
cmp edx, 0x40
jge 0x52dbe2
movzx eax, word [edi]
add eax, eax
lea edi, [eax + edi + 2]
jmp 0x52dbfa
mov eax, dword [0xa73348]
movzx ecx, word [edi]
add edi, 2
test eax, eax
je 0x52dbf6
cmp edx, 0x41
je 0x52dc2c
add ecx, ecx
add edi, ecx
movsx eax, word [edi]
add edi, 2
cmp eax, 0xff
jne 0x52db9c
mov edi, dword [ebp + 0x2c]
test edi, edi
je 0x52dc17
push ebx
push edi
mov ecx, esi
call fcn.0052db64
mov ebp, dword [ebp + 0x30]
test ebp, ebp
jne 0x52db79
add esp, 0x10
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov eax, dword [0xa73350]
mov dword [eax], edi
mov edx, dword [0xa73350]
mov eax, dword [0xa7334c]
mov dword [edx + 4], eax
add edx, 8
mov dword [0xa73350], edx
movzx eax, word [edi]
add edi, 2
and eax, 0x3fff
mov ecx, 0
je 0x52dbfa
mov dword [esp + 4], ebp
mov ebx, eax
mov dword [esp], esi
movsx eax, word [edi]
cdq
add edi, 2
add ecx, 1
xor eax, edx
sub eax, edx
movsx ebp, ax
xor edx, edx
test ebp, ebp
jle 0x52dd6a
cmp ebp, 4
jl 0x52dd2e
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
lea eax, [ebp - 4]
mov esi, dword [0xa7334c]
movzx ebx, word [edi + 2]
lea ecx, [esi + 2]
mov dword [0xa7334c], ecx
mov word [esi], bx
movzx ebx, word [edi + 4]
mov esi, dword [0xa7334c]
lea ecx, [esi + 2]
mov dword [0xa7334c], ecx
mov word [esi], bx
movzx ebx, word [edi + 8]
add edx, 3
mov esi, dword [0xa7334c]
lea ecx, [esi + 2]
mov dword [0xa7334c], ecx
mov word [esi], bx
movzx ebx, word [edi + 0xa]
mov esi, dword [0xa7334c]
lea ecx, [esi + 2]
mov dword [0xa7334c], ecx
mov word [esi], bx
movzx ebx, word [edi + 0xe]
mov esi, dword [0xa7334c]
lea ecx, [esi + 2]
mov dword [0xa7334c], ecx
mov word [esi], bx
movzx ebx, word [edi + 0x10]
add edi, 0x12
mov esi, dword [0xa7334c]
lea ecx, [esi + 2]
mov dword [0xa7334c], ecx
mov word [esi], bx
cmp edx, eax
jle 0x52dc94
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 8], ebx
mov esi, dword [0xa7334c]
movzx ebx, word [edi + 2]
lea eax, [esi + 2]
mov dword [0xa7334c], eax
mov word [esi], bx
movzx ebx, word [edi + 4]
mov esi, dword [0xa7334c]
lea eax, [esi + 2]
mov dword [0xa7334c], eax
mov word [esi], bx
add edx, 1
add edi, 6
cmp edx, ebp
jl 0x52dd32
mov ebx, dword [esp + 8]
cmp ecx, ebx
jb 0x52dc65
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 4]
mov esi, dword [esp]
jmp 0x52dbfa