joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb8ac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4bb8c3
add esp, 0xfffffff0
call fcn.00405410
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004414c0
mov eax, dword [0x50ff18]
cmp byte [eax], 0
jne 0x4bb8f0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x510288]
cmp word [eax + 2], 0
jne 0x4bb90a
mov eax, dword [0x510288]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bd9a4
mov eax, dword [0x5103a4]
cmp word [eax + 2], 0
jne 0x4bb924
mov eax, dword [0x5103a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bdbb4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x452c08]
call fcn.00459144
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4be164
mov dl, 1
mov eax, dword [0x429f2c]
call fcn.00404eac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x429f2c]
call fcn.00404eac
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x457308]
call fcn.004629bc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4bbb04
mov eax, dword [0x510110]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00462e50
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4be44c
mov dl, 1
mov eax, dword [0x429f2c]
call fcn.00404eac
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x510110]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414684
test eax, eax
je 0x4bba35
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00414468
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00414668
test eax, eax
je 0x4bba4d
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406cc4
push ebx
push 0x4bd374
call fcn.004b1520
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x50ff18]
cmp byte [eax], 0
jne 0x4bba9e
mov eax, ebx
call fcn.004bbc78
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004be678
mov eax, ebx
call fcn.004bf2ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bbafb
call fcn.00405468
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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 [0x516284]
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 [0x516284]
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 [0x516284]
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 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 [0x50f808], 0
jne 0x4c9b90
mov ecx, dword [0x50ff34]
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 [0x50f808]
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 0x4efd50
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, edx
push esp
push eax
mov eax, dword [0x510374]
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 [0x510374]
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 0x4f5934
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5163f0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4f5956
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f5958
shr eax, 1
dec edx
jne 0x4f5944
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f593d
mov byte [0x5167f0], 1
pop esi
pop ebx
ret

Function at 0x4f5974
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5167f0], 0
jne 0x4f598b
call fcn.004f5934
mov eax, edi
dec eax
test eax, eax
jl 0x4f59b3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5163f0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f5995
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f875c
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.0x4f87f6.0
jmp dword [ecx*4 + 0x4f878f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f87c1
sub dl, 8
je 0x4f87d0
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8404
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f845c
jmp case.0x4f87f6.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4f87f6.0
movzx ecx, byte [ecx + 0x4f87fd]
jmp dword [ecx*4 + 0x4f880e]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8508
jmp case.0x4f87f6.0
cmp dl, 3
jne 0x4f883b
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8560
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f851c
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f85a4
jmp case.0x4f87f6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f8866
sub dl, 8
je 0x4f8872
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f85d0
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f863c
jmp case.0x4f87f6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f8891
sub dl, 8
je 0x4f889d
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f86f8
jmp case.0x4f87f6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f8720
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 0x4f893f
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.004f7908
test eax, eax
je 0x4f893f
mov eax, ebx
call fcn.004f8948
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 0x4f88d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f8948
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 0x4f8979
dec al
je 0x4f89b4
dec al
je 0x4f89f9
dec al
je 0x4f8a62
jmp 0x4f8aec
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4f8aec
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 0x4f8989
jmp 0x4f8aec
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f8aec
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 0x4f89c4
jmp 0x4f8aec
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f8aec
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 0x4f8a28
xor ebp, ebp
jmp 0x4f8a38
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 0x4f8a41
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 0x4f8a09
jmp 0x4f8aec
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f8aec
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 0x4f8abb
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.004f59bc
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 0x4f8a76
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5008e8
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 0x5009d8
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 0x51683c
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 0x50099f
or ebx, 0xffffffff
jmp 0x5009bd
mov eax, dword [0x510374]
mov eax, dword [eax]
call fcn.004bd568
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x51683c]
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 0x5009df
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406abc
ret
Function at 0x5009e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5009f0
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x500c30
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x516830], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x510374]
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 [0x51680c]
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 [0x51680c]
call fcn.004141bc
lea eax, [ebp - 0xc]
mov edx, dword [0x516810]
call fcn.00406b18
call fcn.004045c8
mov esi, eax
test esi, esi
jle 0x500b06
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x1c]
mov eax, 0x500c4c
call fcn.0040751c
test eax, eax
jg 0x500ab3
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x20]
mov eax, 0x500c5c
call fcn.0040751c
test eax, eax
jle 0x500adc
push dword [ebp - 0xc]
push 0x500c6c
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x24]
push 0x500c80
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040707c
jmp 0x500afe
push dword [ebp - 0xc]
push 0x500c4c
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 0x500a7d
mov eax, dword [ebp - 4]
call fcn.004143b8
push 0
mov ecx, 0x500c90
mov edx, 0x500ca4
mov eax, dword [0x51682c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x500b7b
mov eax, dword [0x516820]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b50
push eax
push 0x500cc0
push dword [ebp - 4]
push 0x500cf0
push dword [ebp - 8]
push 0x500d04
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 0x500d0c
push 0x500d14
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x500c09
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, 0x500d24
call fcn.0040719c
jne 0x500bdd
mov eax, dword [0x516820]
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 0x500d14
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x500c09
push dword [ebp - 4]
push dword [ebp - 8]
push 0x500c4c
push dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.0040707c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x516820]
mov edx, dword [ebp - 4]
call fcn.005008e8
mov eax, dword [0x510374]
mov eax, dword [eax]
call fcn.004bd568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500c37
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.00406abc
ret
Function at 0x501868
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 0x501950
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 [0x516834], 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, 0x501964
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, 0x5019ac
call fcn.004d589c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501957
lea eax, [ebp - 0x20]
mov edx, dword [0x401288]
mov ecx, 2
call fcn.004078f8
ret