joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbc48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x110]
cmp byte [eax + 0x4c], 0
jne 0x4bbc7f
mov edi, ecx
dec edi
test edi, edi
jl 0x4bbc90
inc edi
mov eax, esi
call fcn.004bbc2c
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, esi
call fcn.004bbbd0
inc ebx
dec edi
jne 0x4bbc66
jmp 0x4bbc90
lea eax, [esi + 0x3bc]
push eax
push ecx
push ebx
call fcn.004b3828
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4bbd28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405908
xor eax, eax
push ebp
push 0x4bbd9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004bbc98
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004bbc2c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004bbbd0
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4bbd68
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbda5
lea eax, [ebp - 4]
call fcn.00405488
ret
Function at 0x4bcb74
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bcd63
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4bcd1f
mov eax, dword [ebp - 4]
call fcn.004be428
cmp ebx, eax
jge 0x4bcd1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004aa220
mov edx, dword [0x4aae04]
call fcn.00404714
mov esi, eax
mov eax, esi
call fcn.004ac020
test al, al
je 0x4bcd15
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4bcbf6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bcd08
xor eax, eax
push ebp
push 0x4bcd01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bd0d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041df04
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405ba8
mov eax, dword [ebp - 8]
call fcn.00405978
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004bcef0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcd4d
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4bcd00
mov eax, dword [ebp - 4]
call fcn.004bd160
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x50]
call fcn.004054dc
jmp 0x4bcd4d
mov eax, dword [ebp - 8]
call fcn.00405488
jmp 0x4bcd4d
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040a6b0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x4187a0]
call fcn.0040ea8c
call fcn.00404dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcd6a
lea eax, [ebp - 0x54]
call fcn.00405488
ret
Function at 0x4c2c6c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405908
xor eax, eax
push ebp
push 0x4c2d2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00408460
mov word [ebp - 0x18], bx
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040ad8c
mov eax, dword [ebp - 0x5c]
call fcn.00405918
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x60]
mov ecx, 0x4c2d44
mov edx, dword [ebp - 4]
call fcn.004057a0
mov eax, dword [ebp - 0x60]
call fcn.00405918
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4c2d06
mov ebx, dword [ebp - 0x50]
jmp 0x4c2d09
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2d33
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004054ac
lea eax, [ebp - 4]
call fcn.00405488
ret
Function at 0x4c35e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4c35f1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405908
xor eax, eax
push ebp
push 0x4c37ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004c33cc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c33cc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405520
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c3648
sub eax, 4
mov eax, dword [eax]
sar eax, 1
jns 0x4c364f
adc eax, 0
test eax, eax
jle 0x4c37b4
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4c366f
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00405520
lea eax, [ebp - 0x14]
call fcn.00405488
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c3683
sub eax, 4
mov eax, dword [eax]
mov edi, eax
sar edi, 1
jns 0x4c368c
adc edi, 0
test edi, edi
jle 0x4c37aa
mov ebx, 1
mov edx, 0x4c3800
lea eax, [ebp - 0x28]
call fcn.00403a68
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403a38
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403a68
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403a38
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.004056ec
mov eax, dword [ebp - 0x24]
call fcn.0040a31c
mov byte [ebp - 0x19], al
mov edx, 0x4c3800
lea eax, [ebp - 0x28]
call fcn.00403a68
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403a38
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403a68
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403a38
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.004056ec
mov eax, dword [ebp - 0x34]
call fcn.0040a31c
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
movzx edx, byte [ebp - 0x1a]
call fcn.00405670
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004c33cc
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
call fcn.00405754
inc ebx
dec edi
jne 0x4c3699
inc esi
dec dword [ebp - 0x20]
jne 0x4c365f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004054dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c37f6
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004054ac
lea eax, [ebp - 0x24]
call fcn.00405488
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004054ac
ret
Function at 0x4c3af8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4c3b77
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405670
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4c3b8c
call fcn.004057a0
mov eax, dword [ebp - 4]
call fcn.00405918
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4c3b56
cmp eax, 1
je 0x4c3b56
cmp eax, 3
jne 0x4c3b56
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4c3b16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3b7e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054ac
ret

Function at 0x4e1368
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
pop ebp
ret

Function at 0x4e137c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4e1394
mov byte [ebx + 0xd], 0
pop ebx
pop ebp
ret

Function at 0x4e149c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004e1408
mov esi, eax
mov eax, ebx
call fcn.00404564
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x4e3774
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405908
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4e3901
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4e391c
call fcn.00405a64
test eax, eax
jne 0x4e37bf
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4e3928
call fcn.004057a0
mov eax, esi
mov edx, 0x3c
call fcn.004e31a0
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402f80
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402f80
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402f80
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402f80
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402f80
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402f80
mov dword [esi + 0x34], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e384f
sub ebx, 4
mov ebx, dword [ebx]
push esi
push 0x80000000
push ebx
mov eax, dword [ebp - 4]
call fcn.00405918
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x4e38bb
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00405680
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00405680
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00405680
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00405680
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00405680
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00405680
mov eax, dword [ebp + 8]
movzx edx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402f9c
mov eax, dword [esi + 0x2c]
call fcn.00402f9c
mov eax, dword [esi + 0x24]
call fcn.00402f9c
mov eax, dword [esi + 0x1c]
call fcn.00402f9c
mov eax, dword [esi + 0x10]
call fcn.00402f9c
mov eax, dword [esi + 4]
call fcn.00402f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3908
lea eax, [ebp - 4]
call fcn.00405488
ret

Function at 0x4e3930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4e3949
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4e3956
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4e3974
cld
pop edi
pop esi
movzx ecx, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e3998
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
movzx ecx, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4e39de
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.004056ec
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.004056ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e41ac
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov byte [ebp - 1], dl
mov esi, eax
xor ebx, ebx
test byte [ebp - 1], 1
je 0x4e41c2
add ebx, 0x20
test byte [ebp - 1], 2
je 0x4e41cb
add ebx, 2
test byte [ebp - 1], 4
je 0x4e41d2
inc ebx
test byte [ebp - 1], 8
je 0x4e41db
add ebx, 4
test byte [ebp - 1], 0x10
je 0x4e41e7
add ebx, 0x100
test byte [ebp - 1], 0x20
je 0x4e41f3
add ebx, 0x1000
push ebx
mov eax, esi
call fcn.00405918
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e4fa0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4e50bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.004e4e4c
pop ecx
test al, al
je 0x4e5098
mov eax, dword [ebp + 8]
push eax
call fcn.004e4c88
pop ecx
test al, al
jne 0x4e5098
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x148]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4e5098
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.004e4cc8
pop ecx
test al, al
je 0x4e5098
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004056f8
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.0040a358
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x190], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x190]
cmp esi, 0xc8
je 0x4e5063
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4e5098
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.004e4cc8
pop ecx
test al, al
je 0x4e5098
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004056f8
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040a358
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e4c88
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e50c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054ac
ret
Function at 0x4e69d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
call fcn.004e695c
mov ebx, eax
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4e6a2f
mov eax, esi
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004056f8
push ebx
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4e6a3c
mov eax, esi
call fcn.00405488
push ebx
call sub.advapi32.dll_RegCloseKey_1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4e9888
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e98b6
mov eax, ebx
call fcn.004ea33c
cmp dword [ebx + 0x40], 0
je 0x4e98af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e9927
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e9919
cmp dword [ebx + 8], 0
je 0x4e98d8
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 0x4e98ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e9919
cmp dword [ebx + 8], 0
je 0x4e98cb
cmp eax, 3
je 0x4e98fd
dec eax
jne 0x4e98cb
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 0x4e98cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e98cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e9945
cmp dword [ebx + 0x14], 0xcc
je 0x4e9945
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.004e9950
pop ebx
ret
Function at 0x4fe980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4fe988
push ecx
push ebx
xor eax, eax
push ebp
push 0x4feb99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50e588]
mov eax, dword [eax]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405680
lea eax, [ebp - 4]
mov edx, 0x4febb0
call fcn.00405754
mov eax, dword [ebp - 4]
call fcn.0040a914
test al, al
je 0x4fea0b
mov eax, dword [0x50e588]
mov eax, dword [eax]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405680
lea eax, [ebp - 8]
mov edx, 0x4febb0
call fcn.00405754
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
call fcn.00405918
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x50e588]
mov eax, dword [eax]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00405680
lea eax, [ebp - 0x10]
mov edx, 0x4febc4
call fcn.00405754
mov eax, dword [ebp - 0x10]
call fcn.0040a914
test al, al
je 0x4fea77
mov eax, dword [0x50e588]
mov eax, dword [eax]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405680
lea eax, [ebp - 0x14]
mov edx, 0x4febc4
call fcn.00405754
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
call fcn.00405918
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x50e588]
mov eax, dword [eax]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00405680
lea eax, [ebp - 0x18]
mov edx, 0x4febe0
call fcn.00405754
mov eax, dword [ebp - 0x18]
call fcn.0040a914
test al, al
je 0x4feae3
mov eax, dword [0x50e588]
mov eax, dword [eax]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405680
lea eax, [ebp - 0x1c]
mov edx, 0x4febe0
call fcn.00405754
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
call fcn.00405918
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00403498
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040ad8c
mov eax, dword [ebp - 0x24]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00405680
lea eax, [ebp - 0x20]
mov edx, 0x4febf8
call fcn.00405754
mov eax, dword [ebp - 0x20]
call fcn.0040a914
test al, al
je 0x4feb71
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00403498
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040ad8c
mov eax, dword [ebp - 0x30]
call fcn.00405918
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00405680
lea eax, [ebp - 0x2c]
mov edx, 0x4febf8
call fcn.00405754
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
call fcn.00405918
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feba0
lea eax, [ebp - 0x34]
mov edx, 0xa
call fcn.004054ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054ac
ret
Function at 0x4ff1f0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405908
xor eax, eax
push ebp
push 0x4ff301
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405488
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4ff2e4
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 4]
call fcn.0040b144
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4ff2d1
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4ff2d1
mov esi, dword [edx]
test esi, esi
je 0x4ff2d1
push ebx
movzx eax, byte [esi]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
movzx eax, byte [esi + 1]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, byte [esi + 2]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
movzx eax, byte [esi + 3]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
lea edx, [ebp - 0x2b4]
mov ecx, 3
mov eax, 0x4ff318
call fcn.0040bb50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff2eb
call sub.wsock32.dll_WSACleanup
ret