joyce8/EMBER2024-capa huggingface dataset:
Function at 0x505368
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x50547a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5229b8], 0
je 0x5053a9
mov eax, dword [ebp - 8]
mov edx, dword [0x5229b8]
call fcn.00406070
jmp 0x50545f
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x505494
mov eax, 0x5054c8
call fcn.0050b3d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040ca78
mov edx, dword [ebp - 0xc]
mov eax, 0x5229b8
call fcn.00406070
cmp dword [0x5229b8], 0
je 0x5053ef
mov eax, dword [ebp - 8]
mov edx, dword [0x5229b8]
call fcn.00406070
jmp 0x50545f
xor eax, eax
push ebp
push 0x505435
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e7340]
call fcn.004e7dfc
mov ebx, eax
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x5054e4
mov edx, 0x505518
mov eax, ebx
call fcn.004e81a8
mov eax, ebx
call fcn.00403dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505449
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x50545f
cmp byte [ebp - 1], 0
je 0x50545f
mov eax, dword [ebp - 8]
call fcn.004e7274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505481
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406068
ret

Function at 0x5069f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x506ae5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x506aa7
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00506524
test al, al
je 0x506a4c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x506af8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
jmp 0x506a69
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x506a9d
cmp eax, 0x1d
je 0x506a9d
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00506804
mov eax, dword [ebp - 0x10]
call fcn.004060fc
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x506acf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506aec
lea eax, [ebp - 0x10]
call fcn.00406060
ret
Function at 0x506bbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0
push 0
mov eax, ebx
call fcn.004282a0
mov dl, 1
mov eax, dword [0x422b0c]
call fcn.00403d7c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x506c51
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 0x506c70
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004cb150
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x506c1c
inc eax
xor byte [ebx], 0x27
inc ebx
dec eax
jne 0x506c15
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004282a0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00428544
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506c58
mov eax, dword [ebp - 8]
call fcn.00403dac
ret

Function at 0x506cb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x422b0c]
call fcn.00403d7c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x506d53
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
mov eax, ebx
call fcn.004282a0
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00428544
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x506d14
inc eax
xor byte [ebx], 0x27
inc ebx
dec eax
jne 0x506d0d
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004282a0
mov ecx, 0x506d70
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.004cb254
mov dword [ebp - 4], eax
push 0
push 0
mov eax, esi
call fcn.004282a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506d5a
mov eax, dword [ebp - 8]
call fcn.00403dac
ret
Function at 0x50b644
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406058
xor eax, eax
push ebp
push 0x50b7df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
xor edx, edx
call fcn.004060c4
xor eax, eax
push ebp
push 0x50b6b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4229f0]
call fcn.0042875c
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50b758
xor eax, eax
push ebp
push 0x50b7b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00428544
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004282a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b7b7
mov eax, dword [ebp - 0x14]
call fcn.00403dac
cmp dword [ebp - 8], 0
je 0x50b7af
mov eax, dword [ebp - 8]
call fcn.004060fc
push eax
call sub.kernel32.dll_DeleteFileW
ret

Function at 0x50c2b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406058
xor eax, eax
push ebp
push 0x50c38d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x522ae0], ebx
mov dword [0x522ae4], esi
cmp dword [ebp - 4], 0
je 0x50c36a
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x441464]
call fcn.004414c8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50c363
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x50c3a8
mov eax, dword [ebp - 8]
call fcn.004415a4
mov edx, dword [ebp - 0xc]
mov eax, 0x522acc
call fcn.00406070
lea ecx, [ebp - 0x10]
mov edx, 0x50c3c8
mov eax, dword [ebp - 8]
call fcn.004415a4
mov edx, dword [ebp - 0x10]
mov eax, 0x522ae8
call fcn.00406070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c36a
mov eax, dword [ebp - 8]
call fcn.00403dac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c394
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406068
lea eax, [ebp - 4]
call fcn.00406060
ret
Function at 0x4011e5
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4098e0
push 0xffffffffffffffff
push 0x4802b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea ecx, [esp + 8]
call fcn.004018ca
mov edi, str.LC_ScriptEngine_ver1.0
or ecx, 0xffffffff
xor eax, eax
push 0x49fa10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], 0
mov eax, ecx
mov esi, edi
mov edi, 0x49fa10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.00401bb8
mov esi, dword [esp + 8]
push 4
call dword [0x4a955c]
push eax
push 0x7f00
push 0
call dword [0x4a980c]
mov ecx, dword [esp + 0x38]
push eax
push str.MAINICON
push ecx
call dword [0x4a9810]
mov edx, dword [str.LCSE]
mov ecx, dword [0x4a3524]
push eax
push 0x1003
push esi
push edx
call fcn.004016f9
test al, al
jne 0x409997
push 0
push str.error
push str.WindowClass
jmp 0x409a2e
mov eax, dword [0x49fa94]
mov ecx, dword [0x49fa90]
push ebx
push ebp
push eax
push ecx
push 0
lea edx, [esp + 0x28]
push 0
push edx
call dword [0x4a9814]
push 0
lea eax, [esp + 0x20]
push 0xca0000
push eax
call dword [0x4a9818]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edi, ebp
mov ebp, dword [0x4a981c]
push 0
sub esi, eax
call ebp
sub eax, esi
push 1
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
call ebp
sub eax, edi
mov ecx, dword [0x4a3524]
cdq
sub eax, edx
push 0
mov edx, dword [ecx]
push 0
sar eax, 1
push edi
push esi
push eax
mov eax, dword [esp + 0x24]
push ebx
push 0x2ca0000
push eax
mov eax, dword [str.LCSE]
push eax
call dword [edx + 0x70]
pop ebp
pop ebx
test al, al
jne 0x409a5a
push 0
push str.error
push str.Window
push 0
call dword [0x4a97ec]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401ae6
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [0x4a3524]
push 5
mov edx, dword [ecx + 0x114]
push edx
call dword [0x4a9820]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401ae6
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40126c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4160e0
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov al, byte [esi + 0x74]
add ebp, ebx
mov ebx, ecx
mov dword [esp + 0x10], ebp
sub ebx, edx
test al, al
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x20], ebx
je 0x416129
lea edx, [eax + ebx]
cmp edx, ebx
jle 0x41611d
sub ecx, eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
jmp 0x416137
mov ecx, eax
sub ecx, edx
mov edx, eax
sub edx, ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], edx
xor ecx, ecx
test eax, eax
mov dword [esp + 0xc], ecx
jbe 0x4161d7
mov edx, dword [esp + 0x18]
push edi
jmp 0x416150
mov ebp, dword [esp + 0x14]
mov edi, dword [esi + 0x70]
mov eax, dword [esi + 0x54]
imul edi, ecx
imul ebp, dword [edx + 0x40]
add edi, eax
mov eax, dword [edx + 8]
sub eax, ecx
mov dword [esp + 0x20], 0
sub eax, ebx
dec eax
imul eax, dword [edx + 0x3c]
add eax, ebp
mov ebp, dword [edx + 0x38]
add eax, ebp
xor ebp, ebp
cmp dword [esi + 0x58], ebp
jbe 0x4161c6
xor ecx, ecx
mov cl, byte [edi]
mov ebx, ecx
mov ecx, ebp
shl ebx, cl
test bl, 0x80
je 0x4161a1
mov cl, byte [esi + 0x4e]
mov byte [eax], cl
mov cl, byte [esi + 0x4d]
mov byte [eax + 1], cl
mov cl, byte [esi + 0x4c]
mov byte [eax + 2], cl
add eax, 3
cmp ebp, 7
jne 0x4161ad
or ebp, 0xffffffff
inc edi
mov ecx, dword [esp + 0x20]
mov ebx, dword [esi + 0x58]
inc ecx
inc ebp
cmp ecx, ebx
mov dword [esp + 0x20], ecx
jb 0x416181
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x41614c
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x401c3a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414360
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2c]
test eax, eax
jge 0x414376
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [0x4a9694]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4143a1
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
push 0
push 0
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4]
push ecx
push ebx
call dword [0x4a95b0]
cmp eax, 0xffffffff
jne 0x4143d1
push ebx
call dword [0x4a95ec]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0xc]
mov edi, dword [esp + 0x14]
push 0
lea ecx, [eax + eax*8]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4 + 4]
push ecx
push edi
push ebx
call dword [0x4a95a4]
test eax, eax
jne 0x414409
push ebx
call dword [0x4a95ec]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x414433
push ebx
call dword [0x4a95ec]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
cmp dword [eax + 0x48], 1
jne 0x414460
xor eax, eax
test ecx, ecx
jbe 0x414460
mov dl, byte [0x4900cd]
mov cl, byte [eax + edi]
xor cl, dl
mov byte [eax + edi], cl
mov ecx, dword [esi + 0x2c]
inc eax
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
mov edx, dword [esi + 0x1c]
cmp eax, dword [edx + ecx*4 + 4]
jb 0x41443f
push ebx
call dword [0x4a95ec]
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x401cad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x415f50
push ecx
mov edx, dword [esp + 0x10]
mov al, byte [ecx + 0x74]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [ecx + 0x60]
push esi
mov esi, dword [ecx + 0x64]
add ebp, ebx
mov ebx, edx
sub ebx, esi
mov dword [esp + 0xc], ebp
test al, al
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x18], ebx
je 0x415f95
lea esi, [eax + ebx]
cmp esi, ebx
jle 0x415f89
sub edx, eax
mov dword [esp + 0x18], edx
mov ebx, edx
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], 0
jmp 0x415fa3
mov edx, eax
sub edx, esi
mov esi, eax
sub esi, edx
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x78], esi
xor edx, edx
test eax, eax
mov dword [esp + 0x1c], edx
jbe 0x416084
push edi
jmp 0x415fb8
mov ebp, dword [esp + 0x10]
mov edi, dword [ecx + 0x70]
mov eax, dword [ecx + 0x54]
imul edi, edx
add edi, eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
imul ebp, dword [eax + 0x40]
sub esi, edx
sub esi, ebx
dec esi
imul esi, dword [eax + 0x3c]
add esi, ebp
mov ebp, dword [eax + 0x38]
mov eax, dword [ecx + 0x58]
add esi, ebp
xor ebp, ebp
test eax, eax
jbe 0x416073
mov bl, byte [esi]
xor eax, eax
mov al, byte [ecx + 0x4e]
mov edx, ebx
and edx, 0xff
add esi, 3
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
mov bl, byte [esi - 2]
mov byte [esi - 3], al
xor eax, eax
mov al, byte [ecx + 0x4d]
mov edx, ebx
and edx, 0xff
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
mov bl, byte [esi - 1]
mov byte [esi - 2], al
xor eax, eax
mov al, byte [ecx + 0x4c]
mov edx, ebx
and edx, 0xff
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
inc edi
mov byte [esi - 1], al
mov eax, dword [ecx + 0x58]
inc ebp
cmp ebp, eax
jb 0x415feb
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x5c]
inc edx
cmp edx, eax
mov dword [esp + 0x20], edx
jb 0x415fb4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x431bd6
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x431bc0
push 0xffffffffffffffff
push 0x48135b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x10]
call fcn.004018ca
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], edi
call fcn.004018ca
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov dword [esi], edi
mov dword [esi + 8], eax
mov dword [esi + 0x34], eax
mov dword [esi + 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x435eb8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x435ea0
push 0xffffffffffffffff
push 0x481431
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc]
call fcn.004018ca
lea edi, [esi + 0x34]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.004018ca
lea ebp, [esi + 0x40]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.004018ca
or eax, 0xffffffff
mov ecx, edi
mov byte [esp + 0x1c], 2
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x58], eax
mov byte [esi + 0x4c], bl
call fcn.0040111d
mov ecx, ebp
call fcn.0040111d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x452e31
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x452e3f
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x452f1a
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4864e8]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4864e8]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4864e8]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4864e8]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4864e8]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4864e8]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4864e8]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4864e8]
xor eax, esi
inc edx
dec edi
jne 0x452e5c
pop ebx
cmp dword [ebp + 0x10], 0
je 0x452f3b
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4864e8]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x452f20
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x45682e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x456858
test ecx, ecx
jne 0x456862
test edx, edx
jne 0x456862
mov eax, edi
jmp 0x4568ce
cmp eax, 0xffffffff
jne 0x456862
push 0xfffffffffffffffe
pop eax
jmp 0x4568ce
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x4568ce
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0043aa50
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x456893
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x4568b2
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x456929
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.0045692e
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x456915
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x456929
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x45683a
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45dd60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x45de00
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x45ddb2
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x496514]
xor eax, edx
inc esi
cmp esi, edi
jl 0x45dd93
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x45dddb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x496514]
xor eax, edx
inc esi
cmp esi, edi
jl 0x45ddbe
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret