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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x47b81f
add esp, 0xfffffff0
call fcn.00404244
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00428f10
mov eax, dword [0x4f1014]
cmp byte [eax], 0
jne 0x47b84c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4f14a8]
cmp word [eax + 2], 0
jne 0x47b866
mov eax, dword [0x4f14a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047d76c
mov eax, dword [0x4f163c]
cmp word [eax + 2], 0
jne 0x47b880
mov eax, dword [0x4f163c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047d97c
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42ec68]
call fcn.00430af0
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x47de10
mov dl, 1
mov eax, dword [0x41e3d0]
call fcn.00403dc4
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41e3d0]
call fcn.00403dc4
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x42f8c8]
call fcn.004388c0
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x47ba5c
mov eax, dword [0x4f12b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00438cc4
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47e0c0
mov dl, 1
mov eax, dword [0x41e3d0]
call fcn.00403dc4
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4f12b8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040d634
test eax, eax
je 0x47b98e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040d3e0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040d61c
test eax, eax
je 0x47b9a6
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 + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405bf8
push ebx
push 0x47d168
call fcn.00472044
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x4f1014]
cmp byte [eax], 0
jne 0x47b9f7
mov eax, ebx
call fcn.0047bbd0
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0047e2e8
mov eax, ebx
call fcn.0047eeac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47ba54
call fcn.0040429c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47be78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x47bf1a
cmp dword [ebx + 0x90], 0
jne 0x47bf14
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47bdf0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x47bf14
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 0x47beda
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47bf14
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00420d7c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47bee9
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f7188]
cmp dword [eax + 0x170], 0
je 0x47c29d
test bl, bl
jne 0x47c1eb
cmp dword [esi + 0x98], 0
jne 0x47c1e0
mov eax, esi
call fcn.0047ecfc
push eax
push 0x47c044
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x47c1b1
mov eax, dword [0x4f7188]
cmp byte [eax + 0xcf], 0
je 0x47c1b1
mov eax, dword [esi + 0xd4]
call fcn.00406e18
mov edi, eax
cmp edi, 0
jl 0x47c1b1
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47c19a
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47c1e0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00420d7c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47c1c0
inc dword [esi + 0x98]
jmp 0x47c29d
cmp dword [esi + 0x98], 0
jle 0x47c29d
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x47c29d
cmp dword [esi + 0x40], 0
je 0x47c248
mov eax, dword [0x4f7188]
cmp byte [eax + 0xcf], 0
je 0x47c248
mov eax, dword [esi + 0xd4]
call fcn.00406e18
mov edi, eax
cmp edi, 0
jl 0x47c248
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47c231
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47c277
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00420d7c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47c257
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x471a50]
call fcn.00406fd8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47ce58
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x47cec3
cmp byte [ebx + 0xcf], 0
jne 0x47cec3
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.00405b34
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x47ceb0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47ced0
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004059f8
jmp 0x47ced0
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004059f8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x47e4bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x47e52a
mov eax, esi
call fcn.004651a8
test al, al
je 0x47e52a
mov eax, dword [ebx + 0x80]
call fcn.00464dfc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47e52a
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x47e51e
push 0
mov eax, dword [ebx + 0x80]
call fcn.00464dfc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0045c420
jmp 0x47e52a
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.0047e308
pop esi
pop ebx
ret
Function at 0x47fa1c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x4091cc]
call fcn.004063b0
xor eax, eax
push ebp
push 0x47fbdd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ef68c], 0
jne 0x47fa70
mov ecx, dword [0x4f103c]
mov dl, 1
mov eax, dword [0x40a020]
call fcn.00411e54
call fcn.004048ac
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.004036d4
mov eax, ebx
call fcn.00405834
mov dword [ebp - 0x28], eax
push esi
mov esi, 0x47fbec
lea edi, [ebp - 0x3c]
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 - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.004077c0
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
test eax, eax
je 0x47fab7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x47fb83
mov dword [ebp - 0x1c], 0x20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x47fb6f
lea eax, [ebp - 4]
lea edx, [ebp - 0x5c]
mov ecx, 0x10
call fcn.00405bf8
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405c60
mov eax, dword [ebp - 4]
test eax, eax
je 0x47fb12
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x47fb12
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405238
mov ebx, eax
test ebx, ebx
je 0x47fb1d
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x47fb3a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x47fb3a
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00405238
mov edi, eax
test edi, edi
je 0x47fb45
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 8]
call fcn.00405a84
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00405a84
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW_1
sub eax, 2
test eax, eax
sete al
jmp 0x47fb71
xor eax, eax
test al, al
je 0x47fb7c
mov ebx, 0x15
jmp 0x47fb88
mov ebx, 0x10
jmp 0x47fb88
mov ebx, 0x15
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push esi
call dword [0x4ef68c]
call fcn.0047f888
mov eax, dword [ebp - 0xc]
call fcn.0047f888
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004077d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fbe4
lea eax, [ebp - 0x14]
mov edx, dword [0x4091cc]
call fcn.00406488
lea eax, [ebp - 8]
mov edx, 2
call fcn.004059f0
ret

Function at 0x482ba0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f71cc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x482bc2
shr eax, 1
xor eax, 0xedb88320
jmp 0x482bc4
shr eax, 1
dec edx
jne 0x482bb0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x482ba9
mov byte [0x4f75cc], 1
pop esi
pop ebx
ret
Function at 0x482be0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f75cc], 0
jne 0x482bf7
call fcn.00482ba0
mov eax, edi
dec eax
test eax, eax
jl 0x482c1f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f71cc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x482c01
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x485690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x48572a.0
jmp dword [ecx*4 + 0x4856c3]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4856f5
sub dl, 8
je 0x485704
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485338
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485390
jmp case.0x48572a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x48572a.0
movzx ecx, byte [ecx + 0x485731]
jmp dword [ecx*4 + 0x485742]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48543c
jmp case.0x48572a.0
cmp dl, 3
jne 0x48576f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485494
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485450
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4854d8
jmp case.0x48572a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48579a
sub dl, 8
je 0x4857a6
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485504
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485570
jmp case.0x48572a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4857c5
sub dl, 8
je 0x4857d1
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48562c
jmp case.0x48572a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485654
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 - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x485873
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 - 4]
mov eax, ebx
call fcn.0048483c
test eax, eax
je 0x485873
mov eax, ebx
call fcn.0048587c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
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 - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x48580c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48587c
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 0x4858ad
dec al
je 0x4858e8
dec al
je 0x48592d
dec al
je 0x485996
jmp 0x485a20
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x485a20
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 0x4858bd
jmp 0x485a20
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x485a20
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 0x4858f8
jmp 0x485a20
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x485a20
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 0x48595c
xor ebp, ebp
jmp 0x48596c
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 0x485975
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 0x48593d
jmp 0x485a20
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x485a20
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 0x4859ef
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.00482c28
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 0x4859aa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48a670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp dword [ebp + 0x14], 0
je 0x48a804
xor eax, eax
push ebp
push 0x48a734
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x48a72a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
call fcn.00488988
mov esi, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00488988
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00488988
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
lea ebx, [ebx + ebx*2]
dec ebx
test ebx, ebx
jl 0x48a722
inc ebx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
mov edi, 0xff
sub edi, edx
imul edi
mov edi, 0xff
cdq
idiv edi
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
imul edx
mov edi, 0xff
xor edx, edx
div edi
pop edx
add dl, al
mov byte [esi + ecx], dl
inc ecx
dec ebx
jne 0x48a6e5
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x48a6ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a73e
xor eax, eax
push ebp
push 0x48a7fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x48a7f0
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
call fcn.0048892c
mov esi, eax
test esi, esi
je 0x48a7e4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048892c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48a7e4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0048892c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48a7e4
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x48a7e4
inc ebx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
mov edi, 0xff
sub edi, edx
imul edi
mov edi, 0xff
cdq
idiv edi
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
imul edx
mov edi, 0xff
xor edx, edx
div edi
pop edx
add dl, al
mov byte [esi + ecx], dl
inc ecx
dec ebx
jne 0x48a7a7
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x48a763
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a804
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c8884
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4c88de
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004c8878
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004c5b6c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004c56d0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c88e5
lea eax, [ebp - 4]
call fcn.004059e8
ret
Function at 0x4dd720
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0
push 1
push 0x4dd730
call sub.wininet.dll_InternetCheckConnectionW
ret

Function at 0x4dd98c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059e0
mov eax, dword [ebp - 8]
call fcn.004059e0
xor eax, eax
push ebp
push 0x4dda90
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405a4c
mov eax, dword [ebp - 0xc]
call fcn.0040cb6c
test al, al
je 0x4dda75
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004036d4
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
call fcn.00405a84
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 8], 0
jne 0x4dda1b
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x4dda26
mov eax, dword [ebp - 8]
call fcn.00405a84
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4dda75
xor eax, eax
mov dword [ebp - 0x10], eax
test esi, esi
je 0x4dda72
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dda97
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004059f0
ret