joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fecc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049f75c
xor eax, eax
push ebp
push 0x4a003d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4a0027
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x49ff17
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49ff21
call fcn.004040c8
jmp 0x4a0044
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c310
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4a001c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x49ffcf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x49ffbc
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a84
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0049fe84
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a0050]
cmp dl, byte [eax + 0x28]
je 0x4a0023
call fcn.0040d5e0
jmp 0x4a0023
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c330
jmp 0x4a0023
cmp ecx, ebx
jge 0x49ffeb
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c330
jmp 0x49ff21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c310
cmp edx, dword [esp + 4]
jne 0x4a000b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49ff21
push ebp
call fcn.0049fe84
pop ecx
jmp 0x4a0023
push ebp
call fcn.0049fe84
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0044
mov eax, dword [ebp - 4]
call fcn.0049f768
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0054
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0176
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049f75c
xor eax, eax
push ebp
push 0x4a0159
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a00a4
call fcn.004040c8
jmp 0x4a0160
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4a0143
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a0143
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a84
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4a0143
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cdc4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4a0190
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f2af0]
mov dl, 1
mov eax, dword [0x49ea64]
call fcn.0040d704
call fcn.0040401c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0160
mov eax, dword [ebp - 4]
call fcn.0049f768
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a017d
lea eax, [ebp - 0x28]
call fcn.004046c8
ret
Function at 0x4a01dc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0326
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049f75c
xor eax, eax
push ebp
push 0x4a0309
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a0241
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a0241
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4a02f3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a0254
call fcn.004040c8
jmp 0x4a0310
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4a02f3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a02f3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a84
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4a02f3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cdc4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4a0340
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f2af0]
mov dl, 1
mov eax, dword [0x49ea64]
call fcn.0040d704
call fcn.0040401c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0310
mov eax, dword [ebp - 4]
call fcn.0049f768
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a032d
lea eax, [ebp - 0x28]
call fcn.004046c8
ret
Function at 0x4a5b5c
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x4edfa4
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4a5c20
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x4a5b94
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x4a5c37
dec edx
je 0x4a5c78
jmp 0x4a5cd5
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x4a5cd5
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a5d38
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4a5d55
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4a5e67
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4a5d88
je 0x4a5dd4
sub ecx, 0x2b
je 0x4a5dca
sub ecx, 4
je 0x4a5dcf
dec ecx
sub ecx, 0xa
jb 0x4a5db9
jmp 0x4a5dd7
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4a5d9a
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4a5da8
jmp 0x4a5dd7
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4a5dd7
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4a5dd7
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4a5dd7
mov byte [eax], 0x3e
jmp 0x4a5dd7
mov byte [eax], 0x3f
jmp 0x4a5dd7
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4a5d67
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4a5e27
cmp byte [esp + 3], 0xff
jne 0x4a5e27
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4a5e5f
cmp dl, 0xff
je 0x4a5e5f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4a5d60
add esp, 0xc
pop ebp
pop edi
pop esi
ret
Function at 0x4a800c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x4a8036
mov ecx, 0x4a809c
mov dl, 1
mov eax, dword [0x4a765c]
call fcn.0040d60c
call fcn.0040401c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + 8]
test esi, esi
jle 0x4a8089
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [ebx + 0x40]
xor al, byte [edx]
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov ecx, dword [ebx + 0x44]
dec ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
inc eax
call fcn.00402d00
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov edx, dword [ebx + 0x3c]
add edx, dword [ebx + 0x44]
dec edx
mov byte [edx], al
inc dword [ebp - 8]
inc dword [ebp - 0xc]
dec esi
jne 0x4a8046
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a80b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x4a80de
mov ecx, 0x4a8148
mov dl, 1
mov eax, dword [0x4a765c]
call fcn.0040d60c
call fcn.0040401c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + 8]
test esi, esi
jle 0x4a8137
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov byte [ebp - 0xd], al
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [ebx + 0x40]
xor al, byte [edx]
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov ecx, dword [ebx + 0x44]
dec ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
inc eax
call fcn.00402d00
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x44]
dec eax
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
dec esi
jne 0x4a80ee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a871c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a879e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4a7980]
mov eax, 0x14
call fcn.004055f8
mov edi, eax
mov dword [edi + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408c9c
mov edx, dword [ebp - 4]
lea eax, [edi + 4]
call fcn.0040471c
mov eax, esi
call dword [eax + 0x30]
mov dword [edi + 8], eax
mov eax, dword [0x4f40d8]
mov dword [edi], eax
mov byte [edi + 0x10], bl
mov dword [0x4f40d8], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a87a5
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046ec
ret
Function at 0x4a87ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a8828
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4a79a8]
mov eax, 0x10
call fcn.004055f8
mov ebx, eax
mov dword [ebx + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408c9c
mov edx, dword [ebp - 4]
lea eax, [ebx + 4]
call fcn.0040471c
mov eax, esi
call dword [eax + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [0x4f40dc]
mov dword [ebx], eax
mov dword [0x4f40dc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a882f
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046ec
ret

Function at 0x4a8894
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x4a88b4
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4a88a2
pop edi
pop esi
pop ebx
ret

Function at 0x4aa2bc
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov eax, ebx
call fcn.004046c8
xor edx, edx
push ebp
push 0x4aa329
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 8], 0x1400
mov eax, dword [ebp - 8]
call fcn.00402ae0
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
push edx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x4aa307
push eax
call sub.kernel32.dll_SetLastError
call fcn.0040ed8c
mov ecx, ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x190]
mov eax, dword [ebp - 4]
add eax, 0x194
call fcn.004aa21c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa333
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4aa994
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 1], cl
mov ebx, edx
xor eax, eax
push ebp
push 0x4aaab0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4aaa74
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x105
lea eax, [ebp - 0x115]
push eax
lea eax, [ebp - 0x11c]
mov edx, ebx
call fcn.004048b0
lea eax, [ebp - 0x11c]
mov edx, 0x4aaac8
call fcn.00404990
mov eax, dword [ebp - 0x11c]
call fcn.00404b88
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov al, byte [ebp - 1]
dec al
je 0x4aaa20
dec al
je 0x4aaa48
jmp 0x4aaa5d
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, 0x4aaad4
call fcn.0040a398
jmp 0x4aaa6a
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.00404938
jmp 0x4aaa6a
mov eax, dword [ebp + 8]
mov edx, 0x4aaae0
call fcn.0040471c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aaa97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaab7
lea eax, [ebp - 0x11c]
call fcn.004046c8
ret

Function at 0x4aaf3c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 1], cl
mov ebx, edx
mov eax, 0x40
call fcn.00402ae0
mov dword [ebp - 8], eax
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.00407838
xor eax, eax
push ebp
push 0x4aafbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 8]
mov byte [esi + 0x30], bl
mov al, byte [ebp + 8]
mov byte [esi + 2], al
mov al, byte [ebp - 1]
mov byte [esi + 0xa], al
mov byte [esi + 0xb], 0
mov al, byte [ebp + 0xc]
mov byte [esi + 0xc], al
mov byte [esi + 0xd], 0
mov byte [esi], 0x32
mov eax, dword [ebp - 8]
push eax
call sub.netapi32.dll_Netbios
mov al, byte [esi + 0x31]
mov byte [ebp - 2], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aafc5
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.00402b10
ret
Function at 0x4acffc
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x4ef100
mov eax, dword [0x4f2c88]
cmp dword [eax], 2
jne 0x4ad184
push 0x4ad19c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebx], eax
cmp dword [ebx], 0
sete byte [0x4f4118]
cmp dword [ebx], 0
jne 0x4ad037
push 0x4ad19c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x4ad184
push 0x4ad1a8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef10c], eax
push 0x4ad1c0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef110], eax
push 0x4ad1d4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef104], eax
push 0x4ad1e4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef108], eax
push 0x4ad1ec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef114], eax
push 0x4ad1fc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef118], eax
push 0x4ad218
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef11c], eax
push 0x4ad228
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef144], eax
push 0x4ad238
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef120], eax
push 0x4ad24c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef124], eax
push 0x4ad264
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef12c], eax
push 0x4ad270
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef128], eax
push 0x4ad280
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef130], eax
push 0x4ad290
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef134], eax
push 0x4ad2ac
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef138], eax
push 0x4ad2c8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef13c], eax
push 0x4ad2e0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef140], eax
push 0x4ad2f4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ef148], eax
cmp dword [ebx], 0
je 0x4ad192
cmp dword [0x4ef130], 0
jne 0x4ad196
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4aedf8
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.00409e94
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
mov edx, dword [esp + 4]
call fcn.004048c0
mov eax, dword [esp + 4]
call fcn.00409ef0
call fcn.004afbac
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.004335e8
xor ecx, ecx
mov edx, 0x4aee90
mov eax, ebx
call fcn.0043364c
test al, al
je 0x4aee7b
mov edx, 0x4aeed4
mov eax, ebx
call fcn.00433928
test al, al
je 0x4aee74
mov edx, 0x4aeed4
mov ecx, esi
mov eax, ebx
call fcn.0043380c
mov eax, ebx
call fcn.004335b8
mov eax, ebx
call fcn.0040387c
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4aeee4
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.00409e94
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4aef19
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.00409e80
jmp 0x4aef20
mov eax, ebx
call fcn.004046c8
mov eax, dword [esp + 4]
call fcn.00409ef0
pop ecx
pop edx
pop ebx
ret

Function at 0x4af344
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4af3dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404dd4
mov eax, 0x104
call fcn.00409e94
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4af3a0
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404ee4
mov eax, dword [ebp - 8]
call fcn.00409ef0
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00416c78
test al, al
je 0x4af3c7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af3e4
lea eax, [ebp - 0xc]
call fcn.00406250
ret