joyce8/EMBER2024-capa huggingface dataset:
Function at 0x500cd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402fb4
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.004049fc
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 1
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x500d7e
cmp byte [ebp - 9], 0
je 0x500d7e
mov byte [ebp - 0x11], 1
jmp 0x500d78
push 0xea60
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x500d74
mov eax, 0xf
call fcn.00470f80
jmp 0x500d78
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
jne 0x500d53
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x500d88
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ec
mov eax, dword [ebp - 8]
call fcn.004049ec
xor eax, eax
push ebp
push 0x500f13
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x500ee4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x140
call fcn.00402fb4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040dd0c
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
call fcn.00404848
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004049fc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x500ec4
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x138]
mov ecx, 0x104
call fcn.004047ac
mov eax, dword [ebp - 0x18]
mov edx, 0x500f2c
call fcn.00404948
je 0x500ea6
mov eax, dword [ebp - 0x18]
mov edx, 0x500f38
call fcn.00404948
je 0x500ea6
cmp dword [ebp - 0x18], 0
je 0x500ea6
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.00404848
mov eax, dword [ebp - 0x164]
and eax, 0x10
cmp eax, 0x10
jne 0x500e99
cmp byte [ebp + 8], 0
je 0x500ea6
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00500d88
jmp 0x500ea6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x500e2c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500eeb
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x501674
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x501727
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409b20
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005015ec
test al, al
je 0x501709
mov eax, dword [ebp - 4]
call fcn.00500a20
mov eax, dword [ebp - 8]
call fcn.00409770
test al, al
jne 0x5016cd
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409a7c
jmp 0x501711
mov eax, dword [ebp - 8]
call fcn.00500a20
mov eax, dword [ebp - 8]
call fcn.00409a64
test al, al
je 0x5016ee
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409a7c
jmp 0x501711
push 0
mov eax, dword [ebp - 8]
call fcn.004049fc
push eax
mov eax, dword [ebp - 4]
call fcn.004049fc
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x501711
mov eax, dword [ebp - 4]
call fcn.00409a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50172e
lea eax, [ebp - 8]
call fcn.0040453c
ret

Function at 0x5019c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049fc
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
neg al
sbb eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x50b780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50b884
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
shl edx, 4
add edx, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dl, 1
mov eax, dword [0x41882c]
call fcn.004035f8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
call fcn.0041d560
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x50b840
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
xor byte [eax], 0x11
inc dword [ebp - 0x18]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x50b82f
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00409bb4
lea eax, [ebp - 0x24]
mov edx, 0x50b898
call fcn.00404804
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0041d9c0
mov eax, dword [ebp - 0x14]
call fcn.00403628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b88b
lea eax, [ebp - 0x24]
call fcn.0040453c
ret
Function at 0x50b8a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50b9a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, 0xc
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dl, 1
mov eax, dword [0x41882c]
call fcn.004035f8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
call fcn.0041d560
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x50b95d
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
xor byte [eax], 0x11
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x50b94c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00409bb4
lea eax, [ebp - 0x20]
mov edx, 0x50b9b8
call fcn.00404804
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0041d9c0
mov eax, dword [ebp - 0x10]
call fcn.00403628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b9a8
lea eax, [ebp - 0x20]
call fcn.0040453c
ret
Function at 0x50b9c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50bacb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
shl edx, 4
add edx, 0x14
add edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dl, 1
mov eax, dword [0x41882c]
call fcn.004035f8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
call fcn.0041d560
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x50ba87
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
xor byte [eax], 0x11
inc dword [ebp - 0x18]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x50ba76
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00409bb4
lea eax, [ebp - 0x24]
mov edx, 0x50bae0
call fcn.00404804
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0041d9c0
mov eax, dword [ebp - 0x14]
call fcn.00403628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bad2
lea eax, [ebp - 0x24]
call fcn.0040453c
ret
Function at 0x50bc80
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50bda0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00402fb4
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fb4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00409bb4
mov eax, dword [ebp - 0x68]
call fcn.004049fc
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x50bdb8
push dword [ebp - 4]
push 0x50bdc4
push dword [ebp - 8]
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.004048bc
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00408dec
mov eax, dword [ebp - 0x6c]
call fcn.004049fc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x50bd85
xor eax, eax
push ebp
push 0x50bd7e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x50bd5a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bd85
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bda7
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404560
ret
Function at 0x50be40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50bfc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x50bfd8
call fcn.00404590
cmp dword [ebp - 4], 0
jne 0x50be8a
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402c58
jmp 0x50be95
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004045d4
lea eax, [ebp - 0xc]
call fcn.00404a4c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004049fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50bfa0
mov eax, dword [ebp - 0x10]
call fcn.004027f4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x50bf99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004049fc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x50bf83
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x50bfe0
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x50bf83
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
call fcn.00407824
movzx eax, ax
lea edx, [ebp - 0x24]
call fcn.00409178
push dword [ebp - 0x24]
push 0x50bfec
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 8]
call fcn.00409178
push dword [ebp - 0x28]
push 0x50bfec
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
call fcn.00407824
movzx eax, ax
lea edx, [ebp - 0x2c]
call fcn.00409178
push dword [ebp - 0x2c]
push 0x50bfec
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
call fcn.00409178
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, 7
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bfa0
mov eax, dword [ebp - 0x18]
call fcn.00402814
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bfca
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404560
lea eax, [ebp - 0xc]
call fcn.0040453c
ret

Function at 0x50cb98
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x58
call fcn.00402fb4
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret
Function at 0x50d1e4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0x50d280
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x50d27a
cmp dword [ebp - 4], 0xffffffff
je 0x50d27a
lea eax, [ebp - 0x10]
push eax
push 0x13ec
push 2
push 0
push 0
push 0x9c9
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageTimeoutA
test eax, eax
jne 0x50d22f
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x50d235
cmp dword [ebp - 0x10], 0
jne 0x50d23a
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [ebp - 8], 0
je 0x50d27a
mov eax, dword [ebp - 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x50d27a
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
mov esp, ebp
pop ebp
ret

Function at 0x50f524
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
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 0x50f5c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x118]
xor ecx, ecx
mov edx, 0x104
call fcn.00402fb4
mov dword [ebp - 0x14], 3
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 8]
call fcn.004049fc
push eax
push 0
call sub.URLMON.DLL_URLDownloadToCacheFileA
test eax, eax
jne 0x50f59b
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004047ac
jmp 0x50f5a3
lea eax, [ebp - 0x10]
call fcn.0040453c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f5cb
lea eax, [ebp - 0x10]
call fcn.0040453c
ret

Function at 0x50f5d0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50f685
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x124]
xor ecx, ecx
mov edx, 0x104
call fcn.00402fb4
mov dword [ebp - 0x20], 3
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 8]
call fcn.004049fc
push eax
push 0
call sub.URLMON.DLL_URLDownloadToCacheFileA
test eax, eax
jne 0x50f661
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004047ac
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0050f694
fstp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 0x1c]
call fcn.00409a64
jmp 0x50f66f
mov dword [ebp - 0x18], 0x9999999a
mov dword [ebp - 0x14], 0xbfb99999
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f68c
lea eax, [ebp - 0x1c]
call fcn.0040453c
ret
Function at 0x5187c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x5187ea
cmp dword [ebx + 0x64], 0
jne 0x5187ea
cmp dword [ebx + 0x6c], 0
jne 0x5187ea
mov edi, esi
jmp 0x518871
cmp edi, 0xffffffff
jne 0x5187f2
dec edi
jmp 0x518871
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x518871
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00517b94
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x51883f
mov cx, word [esp]
sub cx, si
jmp 0x518841
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x518828
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x518867
mov cx, word [esp]
sub cx, si
jmp 0x518869
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x518850
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x5188ce
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0051855c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x5188b9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x5188ce
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5187ca
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x51eb88
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x51ebb7
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x51ebba
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x51eb9e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x53f168], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x51eb93
mov byte [0x53f568], 1
mov esp, ebp
pop ebp
ret
Function at 0x51ebe8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x53f568], 0
jne 0x51ec0b
call fcn.0051eb88
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x51ec4a
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x53f168]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x51ec1e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret