joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47efc4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x47eff6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0047eed8
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004c6314
test al, al
je 0x47f0f1
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.0042be3c
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0042bd5c
dec eax
pop edx
sub eax, edx
jl 0x47f0f1
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x30]
xor eax, eax
call fcn.0042be3c
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0042bd5c
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x47f0e5
inc edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x1a]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x1b]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x1c]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp - 0x19]
mov byte [ecx + 3], al
inc dword [ebp - 0x14]
dec edi
jne 0x47f07b
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x47f048
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x487018
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x5b9da8
test esi, esi
jne 0x487032
xor eax, eax
jmp 0x487134
cmp dword [ebp], 0
jne 0x48703d
call fcn.00486fa8
xor ebx, 0xffffffff
cmp edi, 8
jb 0x48710d
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x487049
test edi, edi
jbe 0x48712f
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x487111
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49910c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4991c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a18
mov eax, dword [0x5b8efc]
cmp dword [eax], 2
jne 0x49917b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404e0c
mov eax, dword [ebx]
call fcn.00404bd4
push eax
mov eax, dword [ebx]
call fcn.00404bc4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404bd4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404e0c
jmp 0x4991ad
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409888
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4991cd
lea eax, [ebp - 0x3f0]
call fcn.0040430c
ret
Function at 0x4a3204
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x4a321c
mov eax, ebx
call fcn.004a2f9c
cmp dword [ebx + 0x60], 0
jne 0x4a3229
mov eax, ebx
call fcn.004a2ef4
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4a33d0
cmp dword [ebx + 0x60], 0
je 0x4a33d0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004a2e78
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4a329c
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4a3285
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4a3291
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4a32b2
call fcn.004552a4
mov esi, eax
jmp 0x4a32b5
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a32ca
or esi, 0xffffffff
jmp 0x4a32d4
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.0044e0c8
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0044e0ec
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.0044e114
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.0044e138
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406990
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.004552a4
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.004552a4
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.004552a4
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.00429a18
call fcn.00424f0c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.004552a4
push eax
mov eax, dword [0x5b8874]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x60]
call fcn.004552a4
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c0320
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004c030c
test eax, eax
jne 0x4c0341
mov eax, esi
call fcn.0040430c
jmp 0x4c03d2
mov eax, ebx
call fcn.004c0470
test al, al
je 0x4c0387
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.004043fc
test edi, edi
je 0x4c037e
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4c03d2
mov eax, esi
call fcn.0040430c
jmp 0x4c03d2
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4c03cb
mov eax, dword [ebp + 0x208]
call fcn.0041a358
test eax, eax
jle 0x4c03b9
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0043f844
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404360
jmp 0x4c03d2
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404360
jmp 0x4c03d2
mov eax, esi
call fcn.0040430c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c20c8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406974
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x4e5c94
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x4e5ca4
call sub.user32.dll_FindWindowA
ret
Function at 0x5030bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x5030d4
mov eax, ebx
call fcn.00502950
cmp dword [ebx + 0x68], 0
jne 0x5030e1
mov eax, ebx
call fcn.005028ac
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x503294
cmp dword [ebx + 0x68], 0
je 0x503294
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0050271c
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00505e68
cmp eax, dword [esp]
je 0x503163
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00505e7c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x50313f
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.00505e68
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x503158
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x503176
mov eax, dword [eax + 0x18]
call fcn.004552a4
mov esi, eax
jmp 0x503179
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x50318e
or esi, 0xffffffff
jmp 0x503198
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0044e0c8
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0044e0ec
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0044e114
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0044e138
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406990
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.004552a4
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.004552a4
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.004552a4
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.00429a18
call fcn.00424f0c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.004552a4
push eax
mov eax, dword [0x5b8874]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.004552a4
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5034fc
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00402dfc
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x503705
push 0
push 0x503710
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x503705
push 0
push 0x503720
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x503705
push 0
push 0x503730
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x503705
push 0
push 0x503740
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x503705
push 0
push 0
push 0x418
push edi
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x503705
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push edi
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x503705
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov esi, eax
test esi, esi
je 0x503705
push 0x40
push 0x1000
push 0x1000
push 0
push esi
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x503705
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x5036ed
inc ebx
mov eax, dword [esp + 0xc]
push eax
push ebx
push 0x417
push edi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x5036e3
lea eax, [esp + 0x10]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5036e3
test byte [esp + 0x21], 0xd
jne 0x5036e3
mov al, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x5036e3
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5036e3
cmp dword [esp + 0x10], 0
je 0x5036e3
mov eax, dword [0x5b8c74]
mov eax, dword [eax]
mov ebp, dword [eax + 0x30]
cmp ebp, dword [esp + 0x14]
jne 0x5036e3
mov eax, dword [esp + 0xc]
push eax
push ebx
push 0x41d
push edi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x5036bf
lea eax, [esp + 0x10]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0x10], 0
je 0x5036ed
lea eax, [esp + 0x2c]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.004069d4
jmp 0x5036ed
cmp ebx, dword [esp + 4]
jl 0x50360f
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.KERNEL32.DLL_VirtualFreeEx
push esi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x504d94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x504e05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5ac5a8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x504def
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00504d84
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x504b8c]
call fcn.00504e2c
mov dword [0x5ac60c], eax
mov eax, dword [ebp - 4]
call fcn.00504d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504e0c
lea eax, [ebp - 8]
call fcn.00406110
ret

Function at 0x505007
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
mov eax, esp
xor ecx, ecx
mov edx, 0x160
call fcn.00402dfc
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x50507c
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x5ac5a0], eax
cmp dword [0x5ac5a0], 0
je 0x505074
cmp dword [0x5ac5a4], 0
jne 0x505074
xor ecx, ecx
mov dl, 1
mov eax, dword [0x490810]
call fcn.0049108c
mov dword [0x5ac5a4], eax
mov edx, dword [0x5ac5a0]
mov eax, dword [0x5ac5a4]
call fcn.0045bb8c
mov eax, dword [0x5ac5a4]
mov byte [eax + 0x42], 1
mov dl, 1
mov eax, dword [0x5ac5a4]
call fcn.0049276c
push 0xffffffffffffffff
mov eax, dword [0x5ac5a4]
call fcn.0045bbc8
push eax
call sub.comctl32.dll_ImageList_SetBkColor
add esp, 0x160
ret

Function at 0x506800
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409390
test al, al
je 0x506887
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402dfc
or esi, 0x100
test esi, esi
jns 0x50683b
call fcn.00403450
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004047cc
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x506887
mov dl, 1
mov eax, dword [0x422c1c]
call fcn.0042b148
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042b554
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x506887
mov eax, esp
call fcn.0040e318
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x51a408
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407714
ret

Function at 0x53a888
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004047bc
mov eax, dword [ebp - 8]
call fcn.004047bc
xor eax, eax
push ebp
push 0x53a94f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402dfc
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0x500
mov eax, 0x53a95c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
call fcn.004047cc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.004047cc
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00409538
mov eax, dword [ebp - 0x48]
call fcn.004047cc
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 5
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
jne 0x53a92c
call fcn.0040ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a956
lea eax, [ebp - 0x48]
call fcn.0040430c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404330
ret
Function at 0x53ac58
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1010], ecx
mov dword [ebp - 0x100c], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047bc
xor eax, eax
push ebp
push 0x53ad92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040430c
xor eax, eax
push ebp
push 0x53ad62
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
call fcn.00519780
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x100c]
call fcn.00408e90
mov eax, dword [ebp - 0x100c]
call fcn.004047cc
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x53ad58
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004047cc
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x53ad52
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1008]
mov edx, 0x1000
call fcn.00407714
lea eax, [ebp - 8]
push eax
push 0xfff
lea eax, [ebp - 0x1008]
push eax
push esi
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x53ad4c
lea eax, [ebp - 0x1010]
lea edx, [ebp - 0x1008]
call fcn.00404504
mov edx, dword [ebp - 0x1010]
mov eax, edi
call fcn.004045d4
cmp dword [ebp - 8], 0
jne 0x53acf9
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ad6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad99
lea eax, [ebp - 0x1010]
mov edx, 2
call fcn.00404330
lea eax, [ebp - 4]
call fcn.0040430c
ret

Function at 0x53dd50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x53dd7e
mov eax, ebx
call fcn.0053e804
cmp dword [ebx + 0x40], 0
je 0x53dd77
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x53ddef
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x53dde1
cmp dword [ebx + 8], 0
je 0x53dda0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x53ddb2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x53dde1
cmp dword [ebx + 8], 0
je 0x53dd93
cmp eax, 3
je 0x53ddc5
dec eax
jne 0x53dd93
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x53dd93
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x53dd93
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x53de0d
cmp dword [ebx + 0x14], 0xcc
je 0x53de0d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0053de18
pop ebx
ret