joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbf4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4bbfee
cmp dword [ebx + 0x94], 0
jne 0x4bbfe8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4bbe98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4bbfe8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4bbfae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4bbfe8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004351f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4bbfbd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4bc20c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x515284]
cmp dword [eax + 0x170], 0
je 0x4bc371
test bl, bl
jne 0x4bc2bf
cmp dword [esi + 0x9c], 0
jne 0x4bc2b4
mov eax, esi
call fcn.004bf0fc
push eax
push 0x4bc118
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4bc285
mov eax, dword [0x515284]
cmp byte [eax + 0xd3], 0
je 0x4bc285
mov eax, dword [esi + 0xd8]
call fcn.004084dc
mov edi, eax
cmp edi, 0
jl 0x4bc285
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4bc26e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bc2b4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004351f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bc294
inc dword [esi + 0x9c]
jmp 0x4bc371
cmp dword [esi + 0x9c], 0
jle 0x4bc371
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4bc371
cmp dword [esi + 0x44], 0
je 0x4bc31c
mov eax, dword [0x515284]
cmp byte [eax + 0xd3], 0
je 0x4bc31c
mov eax, dword [esi + 0xd8]
call fcn.004084dc
mov edi, eax
cmp edi, 0
jl 0x4bc31c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4bc305
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bc34b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004351f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bc32b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4af3f8]
call fcn.0040869c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4bcfc0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4bd02b
cmp byte [ebx + 0xd3], 0
jne 0x4bd02b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406c00
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4bd018
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bd038
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ac4
jmp 0x4bd038
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ac4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4be860
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4be8ce
mov eax, esi
call fcn.00496ecc
test al, al
je 0x4be8ce
mov eax, dword [ebx + 0x84]
call fcn.00496b4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4be8ce
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4be8c2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00496b4c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048dae8
jmp 0x4be8ce
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004be698
pop esi
pop ebx
ret
Function at 0x4c9b3c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40caec]
call fcn.004077d0
xor eax, eax
push ebp
push 0x4c9c86
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50e808], 0
jne 0x4c9b90
mov ecx, dword [0x50ee50]
mov dl, 1
mov eax, dword [0x40dcac]
call fcn.004181a4
call fcn.004059b4
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048a0
mov eax, ebx
call fcn.00406928
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4c9c94
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409c1c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4c9bd7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4c9c2c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4c9c25
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406d2c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406cc4
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412c1c
test eax, eax
jne 0x4c9c25
mov ebx, 0x15
jmp 0x4c9c31
mov ebx, 0x10
jmp 0x4c9c31
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x50e808]
call fcn.004c99a8
mov eax, dword [ebp - 4]
call fcn.004c99a8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9c8d
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406abc
lea eax, [ebp - 0xc]
mov edx, dword [0x40caec]
call fcn.004078a8
ret
Function at 0x4cdecc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4cdee4
add esp, 0xfffffff0
call fcn.00405410
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4cdffe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040423c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4cdfe8
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004c99a8
xor eax, eax
push ebp
push 0x4cdfd5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004c99a8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406d2c
jmp 0x4cdfa6
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004072d4
mov eax, dword [ebx + 4]
call fcn.00406e34
dec eax
jle 0x4cdfba
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4cdf94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdfdc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce005
lea eax, [ebp - 4]
call fcn.0040675c
ret

Function at 0x4dcc74
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x4dccc5
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x4dccac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4dcc9c
jmp 0x4dccc5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4dccad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4efd50
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, edx
push esp
push eax
mov eax, dword [0x50f290]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.0041476c
add esp, 0x204
pop ebx
ret

Function at 0x4efd90
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4efd98
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406aac
xor eax, eax
push ebp
push 0x4eff34
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4efef2
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x42c4f4]
call fcn.004389a4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4efee1
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x4efe09
lea eax, [ebp - 0xc]
mov ecx, 0x4eff50
mov edx, dword [ebp - 4]
call fcn.00406f98
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4efe24
lea eax, [ebp - 0x10]
mov ecx, 0x4eff68
mov edx, dword [ebp - 4]
call fcn.00406f98
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.004efcb0
lea eax, [ebp - 0x14]
mov edx, 0x4eff80
call fcn.00406ed8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 0
push 0x4effa0
lea eax, [ebp - 0x20]
call fcn.004efcb0
push dword [ebp - 0x20]
push 0x4eff80
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040707c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00406d08
mov eax, dword [ebp - 0x18]
call fcn.00406614
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efee8
mov eax, dword [ebp - 8]
call fcn.00404edc
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x50f290]
mov eax, dword [eax]
call fcn.004bd568
lea eax, [ebp - 0x24]
call fcn.004efcb0
lea eax, [ebp - 0x24]
mov edx, 0x4eff80
call fcn.00406ed8
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
call fcn.00406b50
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
ret
Function at 0x4effb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406aac
xor eax, eax
push ebp
push 0x4f0063
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0x4f0070
push 0x4f0070
mov eax, dword [ebp - 4]
call fcn.00406b50
push eax
push 0x4f0070
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x4f0038
push 3
lea eax, [ebp - 0x10]
call fcn.004efa9c
push dword [ebp - 0x10]
push 0x4f0080
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040707c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.00406d08
mov eax, dword [ebp - 8]
call fcn.00406614
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f006a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406abc
lea eax, [ebp - 8]
call fcn.0040619c
lea eax, [ebp - 4]
call fcn.00406ab4
ret
Function at 0x4f56b0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5153f0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4f56d2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f56d4
shr eax, 1
dec edx
jne 0x4f56c0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f56b9
mov byte [0x5157f0], 1
pop esi
pop ebx
ret

Function at 0x4f56f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5157f0], 0
jne 0x4f5707
call fcn.004f56b0
mov eax, edi
dec eax
test eax, eax
jl 0x4f572f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5153f0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f5711
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f84d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4f8572.0
jmp dword [ecx*4 + 0x4f850b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f853d
sub dl, 8
je 0x4f854c
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8180
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f81d8
jmp case.0x4f8572.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4f8572.0
movzx ecx, byte [ecx + 0x4f8579]
jmp dword [ecx*4 + 0x4f858a]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8284
jmp case.0x4f8572.0
cmp dl, 3
jne 0x4f85b7
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f82dc
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8298
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8320
jmp case.0x4f8572.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f85e2
sub dl, 8
je 0x4f85ee
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f834c
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f83b8
jmp case.0x4f8572.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f860d
sub dl, 8
je 0x4f8619
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8474
jmp case.0x4f8572.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f849c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x4f86bb
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f7684
test eax, eax
je 0x4f86bb
mov eax, ebx
call fcn.004f86c4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x4f8654
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f86c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4f86f5
dec al
je 0x4f8730
dec al
je 0x4f8775
dec al
je 0x4f87de
jmp 0x4f8868
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4f8868
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f8705
jmp 0x4f8868
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f8868
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f8740
jmp 0x4f8868
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f8868
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4f87a4
xor ebp, ebp
jmp 0x4f87b4
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4f87bd
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f8785
jmp 0x4f8868
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f8868
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4f8837
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004f5738
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f87f2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x500198
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406aac
mov eax, dword [ebp - 8]
call fcn.00406aac
xor eax, eax
push ebp
push 0x500288
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.004144dc
lea edx, [ebp - 8]
xor eax, eax
call fcn.00407568
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.004144dc
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.004048a0
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
push 0x51583c
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x60e]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x50024f
or ebx, 0xffffffff
jmp 0x50026d
mov eax, dword [0x50f290]
mov eax, dword [eax]
call fcn.004bd568
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x51583c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50028f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406abc
ret
Function at 0x500298
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5002a0
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x5004e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x515830], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x50f290]
mov eax, dword [eax]
call fcn.004be0dc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00413ee8
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x51580c]
call fcn.00413ee8
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00406ed8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004142b0
lea edx, [ebp - 8]
mov eax, dword [0x51580c]
call fcn.004141bc
lea eax, [ebp - 0xc]
mov edx, dword [0x515810]
call fcn.00406b18
call fcn.004045c8
mov esi, eax
test esi, esi
jle 0x5003b6
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x1c]
mov eax, 0x5004fc
call fcn.0040751c
test eax, eax
jg 0x500363
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x20]
mov eax, 0x50050c
call fcn.0040751c
test eax, eax
jle 0x50038c
push dword [ebp - 0xc]
push 0x50051c
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x24]
push 0x500530
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040707c
jmp 0x5003ae
push dword [ebp - 0xc]
push 0x5004fc
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040707c
inc ebx
dec esi
jne 0x50032d
mov eax, dword [ebp - 4]
call fcn.004143b8
push 0
mov ecx, 0x500540
mov edx, 0x500554
mov eax, dword [0x51582c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x50042b
mov eax, dword [0x515820]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b50
push eax
push 0x500570
push dword [ebp - 4]
push 0x5005a0
push dword [ebp - 8]
push 0x5005b4
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.0040707c
mov eax, dword [ebp - 0x2c]
call fcn.00406b50
push eax
push 0x5005bc
push 0x5005c4
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x5004b9
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004141fc
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00412730
mov eax, dword [ebp - 0x30]
mov edx, 0x5005d4
call fcn.0040719c
jne 0x50048d
mov eax, dword [0x515820]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b50
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406b50
push eax
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406f98
mov eax, dword [ebp - 0x38]
call fcn.00406b50
push eax
push 0x5005c4
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x5004b9
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5004fc
push dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.0040707c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x515820]
mov edx, dword [ebp - 4]
call fcn.00500198
mov eax, dword [0x50f290]
mov eax, dword [eax]
call fcn.004bd568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5004e7
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.00406abc
ret
Function at 0x5010f4
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5011dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x515834], al
mov ecx, dword [ebx + 0x398]
mov dl, 1
mov eax, dword [0x4ee878]
call fcn.004eeb60
mov esi, eax
mov dword [ebx + 0x3d0], esi
mov byte [esi + 0x10], 1
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x13], 0
lea eax, [ebp - 0x10]
mov edx, 2
mov cl, 1
call fcn.00425534
lea ecx, [ebp - 0x10]
mov edx, 0x5011f0
mov eax, dword [esi + 4]
call fcn.004d589c
mov ecx, dword [ebx + 0x39c]
mov dl, 1
mov eax, dword [0x4ee878]
call fcn.004eeb60
mov esi, eax
mov dword [ebx + 0x3d4], esi
mov ebx, esi
mov byte [ebx + 0x10], 1
mov byte [ebx + 0x12], 0
mov byte [ebx + 0x11], 0
mov byte [ebx + 0x13], 0
lea eax, [ebp - 0x20]
mov edx, 2
mov cl, 1
call fcn.00425534
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 4]
mov edx, 0x501234
call fcn.004d589c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5011e3
lea eax, [ebp - 0x20]
mov edx, dword [0x401288]
mov ecx, 2
call fcn.004078f8
ret