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

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
xor esi, esi
call edi
sub byte [esi + 0x4228d0], 0x6d
call edi
add byte [esi + 0x4228d0], 0xaa
call edi
xor byte [esi + 0x4228d0], 0x9c
call edi
add byte [esi + 0x4228d0], 0x2a
call edi
add byte [esi + 0x4228d0], 0x68
call edi
sub byte [esi + 0x4228d0], 0x80
call edi
add byte [esi + 0x4228d0], 0x7d
call edi
xor byte [esi + 0x4228d0], 0xf0
call edi
add byte [esi + 0x4228d0], 0x68
call edi
add byte [esi + 0x4228d0], 0x16
call edi
xor byte [esi + 0x4228d0], 0x8a
call edi
add byte [esi + 0x4228d0], 0x1c
call edi
add byte [esi + 0x4228d0], 0x33
call edi
add byte [esi + 0x4228d0], 0xaa
call edi
add byte [esi + 0x4228d0], 0x5e
call edi
add byte [esi + 0x4228d0], 0x74
call edi
xor byte [esi + 0x4228d0], 0xd7
call edi
add byte [esi + 0x4228d0], 0x67
call edi
add byte [esi + 0x4228d0], 0xe5
call edi
add byte [esi + 0x4228d0], 0x58
call edi
add byte [esi + 0x4228d0], 0x3e
call edi
add byte [esi + 0x4228d0], 0x2d
call edi
add byte [esi + 0x4228d0], 0xdc
call edi
add byte [esi + 0x4228d0], 0x38
call edi
add byte [esi + 0x4228d0], 0xb
call edi
xor byte [esi + 0x4228d0], 0x2a
call edi
add byte [esi + 0x4228d0], 0xd1
call edi
add byte [esi + 0x4228d0], 0xcd
call edi
add byte [esi + 0x4228d0], 0x32
call edi
add byte [esi + 0x4228d0], 0x46
call edi
add byte [esi + 0x4228d0], 0x27
call edi
xor byte [esi + 0x4228d0], 0xe7
call edi
xor byte [esi + 0x4228d0], 0x30
call edi
xor byte [esi + 0x4228d0], 0x60
call edi
add byte [esi + 0x4228d0], 0xf8
call edi
add byte [esi + 0x4228d0], 4
call edi
xor byte [esi + 0x4228d0], 0x84
call edi
add byte [esi + 0x4228d0], 0x57
call edi
add byte [esi + 0x4228d0], 0x6c
call edi
xor byte [esi + 0x4228d0], 0x76
call edi
add byte [esi + 0x4228d0], 0x9b
call edi
xor byte [esi + 0x4228d0], 0xb9
call edi
add byte [esi + 0x4228d0], 0xa1
call edi
xor byte [esi + 0x4228d0], 0xe9
call edi
add byte [esi + 0x4228d0], 0x9c
call edi
xor byte [esi + 0x4228d0], 0x46
call edi
add byte [esi + 0x4228d0], 0xb0
call edi
add byte [esi + 0x4228d0], 0xb0
call edi
add byte [esi + 0x4228d0], 0xc3
inc esi
cmp esi, 0x2b800
jb 0x40115e
pop edi
pop esi
ret
Function at 0x401a09
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.00401641
Function at 0x407ae0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7790
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0x4e9c80
mov dword [esi + 0x54], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
jne 0x407b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407b47
mov edx, dword [ecx]
push eax
push 0
call dword [edx]
xor al, al
jmp 0x407c41
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push edi
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x44]
call fcn.00407f30
add esp, 8
test al, al
jne 0x407ba6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407ba2
mov edx, dword [ecx]
push eax
push 1
call dword [edx]
xor bl, bl
jmp 0x407c09
lea ecx, [esi + 4]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x407bba
push 0xffffffffffffffff
push 0
push eax
call fcn.00407870
mov ax, word [ebp - 0x48]
lea ecx, [esi + 0x20]
mov word [esi + 0x1c], ax
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x407bd6
push 0xffffffffffffffff
push 0
push eax
call fcn.00407870
lea ecx, [esi + 0x38]
cmp ecx, ebx
je 0x407be7
push 0xffffffffffffffff
push 0
push ebx
call fcn.00407870
cmp dword [edi + 0x14], 8
jb 0x407bef
mov edi, dword [edi]
push 8
push str.https:__
push edi
call fcn.00492878
add esp, 0xc
test eax, eax
jne 0x407c07
mov byte [esi + 0x50], 1
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x407c1a
push dword [ebp - 0x2c]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x407c3f
push dword [ebp - 0x44]
call fcn.00473460
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407c60
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c77c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x50c4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
movzx ecx, word [esi + 0x1c]
jb 0x407ca1
mov eax, dword [eax]
push 1
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x407cdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
mov edx, eax
test ecx, ecx
je 0x407da9
mov eax, dword [ecx]
push edx
push 2
call dword [eax]
jmp 0x407da9
cmp byte [esi + 0x50], 0
lea ecx, [esi + 0x20]
mov edx, 0x84001081
mov dword [ebp - 0x18], 0x4ed2fc
mov edi, 0x84801081
mov dword [ebp - 0x14], 0
cmovne edx, edi
lea ebx, [esi + 0x38]
cmp dword [ecx + 0x14], 8
jb 0x407d08
mov ecx, dword [ecx]
push 1
push edx
lea edx, [ebp - 0x18]
push edx
push 0
push str.HTTP_1.1
push ecx
push 0x4ed318
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x407d95
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x407d37
mov ebx, dword [ebx]
push 0
push 0
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x407d95
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00407ea0
test al, al
jne 0x407d6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407da9
push eax
push 7
jmp 0x407da5
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407d86
mov eax, dword [ecx]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x407da9
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00407de0
mov bl, al
jmp 0x407dab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407da9
push eax
push 6
mov edx, dword [ecx]
call dword [edx]
xor bl, bl
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x407db8
push edi
call esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x407dc2
push eax
call esi
mov al, bl
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 0x407de0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x8000
mov edi, ecx
call fcn.004443b9
mov ebx, dword [ebp + 8]
add esp, 4
mov esi, eax
lea ebx, [ebx]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x8000
push esi
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407e3b
mov edx, dword [ebp + 8]
test edx, edx
je 0x407e4d
js 0x407e3b
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x407e00
mov eax, dword [ecx]
push edx
push esi
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x407e00
push esi
call fcn.00492873
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x407e59
mov eax, dword [ecx]
call dword [eax + 0xc]
push esi
call fcn.00492873
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x407ea0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
mov edi, ecx
push eax
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x407edc
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 4]
mov dword [esi], 0xffffffff
push eax
push 0x20000005
push dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x407f1d
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x407f30
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov dword [ebp - 0x208], eax
mov edi, ecx
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0049a790
push 0x38
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.0049a790
lea eax, [ebp - 0x204]
mov dword [ebp - 0x244], 0x3c
add esp, 0x18
mov dword [ebp - 0x234], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x230], 0xff
mov dword [ebp - 0x214], 1
jb 0x407fb9
mov esi, dword [esi]
lea ecx, [ebp - 0x244]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x407fe1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x234]
cmp word [edx], 0
jne 0x407ff1
xor ecx, ecx
jmp 0x408005
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407ff6
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00407100
mov edx, dword [ebp - 0x218]
mov ax, word [ebp - 0x22c]
mov word [ebx], ax
cmp word [edx], 0
jne 0x408028
xor ecx, ecx
jmp 0x40803f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408030
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x208]
push edx
call fcn.00407100
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491c63
mov esp, ebp
pop ebp
ret

Function at 0x40e430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40e449
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40e484
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40e480
lea ebx, [ebx]
cmp esi, edx
jae 0x40e484
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40e470
cmp esi, edx
jb 0x40e48b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40e7f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x40e930
test edx, edx
je 0x40e930
push edx
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
call fcn.0040da40
lea ecx, [ebp - 0x94]
call fcn.0040db10
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040dbe0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40e898
mov eax, dword [esi]
jmp 0x40e89a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x40e8e2
cmp ecx, 0x10
jb 0x40e8aa
mov edx, dword [esi]
jmp 0x40e8ac
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x40e8e2
cmp ecx, 0x10
jb 0x40e8c1
mov ecx, dword [esi]
jmp 0x40e8c3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0040d530
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x40e8f3
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004081b0
cmp dword [esi + 0x14], 0x10
jb 0x40e8fd
mov eax, dword [esi]
jmp 0x40e8ff
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00499130
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x40e91d
mov esi, dword [esi]
mov byte [esi + 0x20], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
push 0
push 0x4ed9f6
mov ecx, esi
call fcn.0040d660
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x40ef90
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c85c6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0049a790
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x40f023
xor ecx, ecx
jmp 0x40f03f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f030
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407100
push 0x4ed69c
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00411140
push str.XuanZhi9_
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00411140
add esp, 0x18
cmp dword [ebp - 0x234], 8
jb 0x40f09b
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x40f0cf
push dword [ebp - 0x230]
call fcn.00473460
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x40f0d9
mov eax, dword [esi]
jmp 0x40f0db
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x40fba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.0049fc40
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x1ffe
push eax
mov word [ebp - 0x200c], ax
mov esi, ecx
lea eax, [ebp - 0x200a]
push eax
call fcn.0049a790
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40fbe3
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x200c]
push 0x1000
push eax
call fcn.00498690
push 0x40
lea eax, [ebp - 0x2060]
push 0
push eax
call fcn.0049a790
add esp, 0x18
mov dword [ebp - 0x2064], 0x44
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x201c], xmm0
jb 0x40fc25
mov esi, dword [esi]
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2064]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40fc7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute__CreateProcess_return_false__last_error_is__d.
push 0x1e1
push str.runExeFile
call fcn.004204c0
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x201c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2018]
call esi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x410320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c87ec
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0049a790
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [ebp - 0x220], ax
jne 0x4103a5
xor ecx, ecx
jmp 0x4103bf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4103b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x440]
call fcn.00407100
push 0x104
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4104e7
push 0x104
lea eax, [ebp - 0x428]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4104e7
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407230
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.00410140
mov byte [ebp - 4], 3
cmp dword [ebp - 0x45c], 8
jb 0x41044e
push dword [ebp - 0x470]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
push str.ldlduninst_del.exe
lea edx, [ebp - 0x440]
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x488]
mov word [ebp - 0x470], ax
call fcn.00411240
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x458]
cmovae ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x444], 8
push ecx
cmovae edx, dword [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.0040f810
add esp, 0xc
cmp dword [ebp - 0x474], 8
jb 0x4104d0
push dword [ebp - 0x488]
call fcn.00473460
add esp, 4
cmp dword [ebp - 0x444], 8
jb 0x4104e7
push dword [ebp - 0x458]
call fcn.00473460
add esp, 4
cmp dword [ebp - 0x42c], 8
jb 0x4104fe
push dword [ebp - 0x440]
call fcn.00473460
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret

Function at 0x410520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.0049a790
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
jb 0x410558
mov eax, dword [esi]
jmp 0x41055a
mov eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x410591
cmp dword [esi + 0x14], 8
jb 0x41057a
mov esi, dword [esi]
push 5
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411840
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c889b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00411a60
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x411899
cmp eax, 0x6f
jne 0x4118c8
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x4118c8
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x4118e6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
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 - 0x14]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x411900
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x41191c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x411a29
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.0049a790
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
push 0x4eda2c
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.004983f8
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x4119c0
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4119b1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00407100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00411ac0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x411a4c
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x411a29
push dword [ebp - 0x244]
call fcn.00473460
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x411900
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x4118ca
push str.list_T__too_long
call fcn.00444357
int3
Function at 0x4124f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x41263a
test edx, edx
jle 0x41263a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040da40
lea ecx, [ebp - 0x94]
call fcn.0040db10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040dbe0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x412598
mov eax, dword [esi]
jmp 0x41259a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x4125e7
cmp ecx, 0x10
jb 0x4125aa
mov edx, dword [esi]
jmp 0x4125ac
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x4125e7
cmp ecx, 0x10
jb 0x4125c1
mov ecx, dword [esi]
jmp 0x4125c3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0040d530
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x4125f8
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004081b0
cmp dword [esi + 0x14], 0x10
jb 0x412602
mov eax, dword [esi]
jmp 0x412604
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00499130
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x412622
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00491c63
mov esp, ebp
pop ebp
ret