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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.0046d720
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x68], 0x80
call fcn.0046d720
add esp, 0x18
mov eax, 0x49cc18
push eax
push edi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408163
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040f2de
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401a1c
cmp esi, ebx
je 0x453673
push 0x4a7984
lea ecx, [ebp - 0x20]
call fcn.00401941
push esi
lea ecx, [ebp - 0x20]
call fcn.00401941
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
call fcn.0041258c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4536b9
mov byte [ebp - 0x21], bl
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret
cmp byte [ebp + 0x10], bl
je 0x4536c9
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov byte [ebp - 0x21], 1
jmp 0x45369c
Function at 0x453a9d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
mov edi, dword [ebp + 0x1b4]
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
xor esi, esi
lea eax, [ebp - 0x5e]
push esi
push eax
call fcn.0046d720
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x453af0
xor al, al
jmp 0x453b79
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x453b46
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4a2e8c
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x453ae9
push dword [ebp - 0x64]
call fcn.0046d6ae
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x453b30
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x453ae9
lea eax, [ebp - 0x60]
push eax
call fcn.0046d6f6
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x453b55
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.004018ba
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.00401965
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a1c
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d79a
add ebp, 0x1ac
leave
ret

Function at 0x453b90
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
mov edi, dword [ebp + 0x1b4]
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
xor esi, esi
lea eax, [ebp - 0x5e]
push esi
push eax
call fcn.0046d720
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x453be3
xor al, al
jmp 0x453c6c
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x453c39
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4a2e9c
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x453bdc
push dword [ebp - 0x64]
call fcn.0046d6ae
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x453c23
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x453bdc
lea eax, [ebp - 0x60]
push eax
call fcn.0046d6f6
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x453c48
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.004018ba
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.00401965
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a1c
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d79a
add ebp, 0x1ac
leave
ret
Function at 0x4563a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497b9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7f60]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
xor edx, edx
test ecx, ecx
setl dl
mov esi, dword [eax + 0xc]
dec edx
and edx, ecx
mov ecx, dword [eax]
mov edi, edx
xor edx, edx
test ecx, ecx
setl dl
dec edx
and edx, ecx
mov ebp, edx
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
cmp esi, ecx
jle 0x4563f6
mov esi, ecx
mov edx, dword [edx + 8]
mov eax, dword [eax + 8]
cmp eax, edx
jle 0x456402
mov eax, edx
sub eax, ebp
mov ebx, eax
sub esi, edi
test ebx, ebx
jle 0x4564ae
test esi, esi
jle 0x4564ae
push 0x1c
call fcn.0046d7c4
add esp, 4
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x456441
push esi
push ebx
push 4
mov ecx, eax
call fcn.00454ca0
mov dword [esp + 0x30], eax
jmp 0x456445
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push edi
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.00454e10
mov edi, eax
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x14]
test esi, esi
jle 0x4564b0
mov dword [esp + 0x14], esi
mov edx, ebp
test ebx, ebx
jle 0x456489
mov eax, dword [esp + 0x2c]
lea ecx, [edi + eax]
mov esi, ebx
mov al, byte [ecx]
mov byte [edx], al
inc edx
add ecx, 4
sub esi, 1
jne 0x456478
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add edi, dword [ecx + 0x10]
add ebp, dword [eax + 0x10]
sub dword [esp + 0x14], 1
jne 0x456469
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4574b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push edi
mov edi, dword [esp + 0x64]
cmp dword [edi + 0x20], 7
jne 0x4574ef
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push edi
push eax
call fcn.00457220
add esp, 0x20
pop edi
add esp, 0x50
ret
cmp dword [edi + 4], 0
mov cl, byte [esp + 0x78]
mov byte [esp + 0x50], 0
mov byte [esp + 0x4c], cl
mov dword [esp + 0x48], 1
jne 0x457511
xor eax, eax
pop edi
add esp, 0x50
ret
mov edx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x78]
push esi
push edx
call fcn.00453fb0
mov dword [esp + 0x68], eax
test eax, eax
jne 0x45752f
pop esi
pop edi
add esp, 0x50
ret
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, dword [esi]
sub ecx, dword [esi + 4]
mov edi, dword [edi + 0xc]
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x7c]
add eax, ebx
add ecx, ebp
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], edi
call fcn.00458170
push edi
call fcn.00458180
mov edi, eax
add esp, 8
test edi, edi
je 0x4576a2
jmp 0x457580
cmp dword [edi + 0x18], 0
je 0x45768b
lea edx, [esp + 0x14]
push edx
push edi
call fcn.004580b0
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.0045ee50
test eax, eax
jne 0x45768b
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0045e070
test eax, eax
je 0x45768b
mov eax, ebp
neg eax
push eax
mov ecx, ebx
neg ecx
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0045eed0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
neg ecx
push ecx
neg edx
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0045eed0
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004562f0
mov esi, eax
add esp, 8
test esi, esi
je 0x457669
push 0
push 0
push esi
call fcn.004564f0
mov eax, dword [0x4bcb28]
mov ecx, dword [eax]
mov edx, dword [esp + 0x94]
push edx
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x54]
push eax
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push edx
push 0
push 0
push esi
call eax
push esi
call fcn.004564d0
add esp, 0x30
jmp 0x45768b
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [0x4bcb20]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004571d0
add esp, 0x14
mov eax, dword [esp + 0x10]
push eax
call fcn.00458180
mov edi, eax
add esp, 4
test edi, edi
jne 0x457580
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00453f90
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x50
ret
Function at 0x465451
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x4660fc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test eax, eax
je 0x4661d8
xor ecx, ecx
cmp cx, word [eax]
je 0x4661d8
push 0x4a3090
push eax
call fcn.00471e48
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x466143
inc eax
jmp 0x4661db
lea eax, [ebp - 0x4dc]
push esi
push eax
call fcn.00465451
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00471be6
add esp, 0x14
jmp 0x466191
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.00465e60
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00471be6
add esp, 0x1c
test eax, eax
ja 0x46616a
lea eax, [ebp - 0x4dc]
push ebx
push eax
call fcn.00465efe
push 0xd8
lea eax, [ebp - 0x4dc]
push 0
push eax
call fcn.0046d720
push edi
call fcn.00471912
add esp, 0x18
pop esi
push edi
test eax, eax
je 0x4661ce
call fcn.004715a3
pop ecx
push 2
jmp 0x4661da
call fcn.004715a3
pop ecx
xor eax, eax
jmp 0x4661db
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret

Function at 0x46645b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x46648f
xor eax, eax
cmp ax, word [esi]
je 0x46648f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46649a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46648b
test al, 0x10
je 0x46648b
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.00466ab6
pop ecx
xor al, al
pop esi
ret
Function at 0x46693a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4669de
xor eax, eax
cmp ax, word [edi]
je 0x4669de
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x4669da
inc eax
push esi
push eax
call fcn.0046c52f
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4669d9
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4669d2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4a7ca8
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4669d2
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push esi
call fcn.0046d446
pop ecx
pop esi
mov al, bl
jmp 0x4669eb
push 0x132b3a1
call fcn.00466ab6
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x46c083
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c4ce8], 0
push esi
jne 0x46bff6
call fcn.0046bf1c
test eax, eax
je 0x46c039
mov eax, dword [0x4c4ce8]
cmp eax, 1
jne 0x46c017
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46c039
pop esi
ret
push eax
call dword [0x4c4cf0]
test eax, eax
jne 0x46c081
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46c03d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c4ce8]
call dword [0x4c4cf0]
mov edi, eax
test edi, edi
je 0x46c062
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46c07e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4c4ce8]
call dword [0x4c4cec]
add edi, 0x10
cmp edi, esi
jb 0x46c06a
mov eax, edi
pop edi
pop esi
ret
jmp 0x46bfe3

Function at 0x46d79a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b7f60]
jne 0x46d7a4
repz ret
jmp fcn.0047999e
Function at 0x4704a6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4704d7
call fcn.00476a81
mov dword [eax], esi
call fcn.00476a6e
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0046d3b3
add esp, 0x14
push 0x16
pop eax
jmp 0x47052c
test dword [ebp + 0xc], 0xfffffff9
jne 0x4704b3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x470504
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00476a94
pop ecx
call fcn.00476a6e
mov eax, dword [eax]
jmp 0x47052c
test al, 0x10
jne 0x47052a
test al, 1
je 0x47052a
test byte [ebp + 0xc], 2
je 0x47052a
call fcn.00476a81
mov dword [eax], 5
call fcn.00476a6e
mov dword [eax], 0xd
jmp 0x4704fb
xor eax, eax
pop esi
pop ebp
ret

Function at 0x48a7e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047914b
and dword [ebp - 4], 0
cmp dword [0x4c5b7c], 0
mov ebx, eax
jne 0x48a895
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48a946
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x48a946
push eax
call fcn.004790d9
mov dword [esp], 0x4a6f60
push edi
mov dword [0x4c5b7c], eax
call esi
push eax
call fcn.004790d9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c5b80], eax
call esi
push eax
call fcn.004790d9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c5b84], eax
call esi
push eax
call fcn.004790d9
pop ecx
mov dword [0x4c5b8c], eax
test eax, eax
je 0x48a895
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004790d9
pop ecx
mov dword [0x4c5b88], eax
mov eax, dword [0x4c5b88]
cmp eax, ebx
je 0x48a8ed
cmp dword [0x4c5b8c], ebx
je 0x48a8ed
push eax
call fcn.00479154
push dword [0x4c5b8c]
mov esi, eax
call fcn.00479154
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48a8ed
test edi, edi
je 0x48a8ed
call esi
test eax, eax
je 0x48a8e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48a8e4
test byte [ebp - 0xc], 1
jne 0x48a8ed
or dword [ebp + 0x10], 0x200000
jmp 0x48a926
mov eax, dword [0x4c5b80]
cmp eax, ebx
je 0x48a926
push eax
call fcn.00479154
pop ecx
test eax, eax
je 0x48a926
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48a926
mov eax, dword [0x4c5b84]
cmp eax, ebx
je 0x48a926
push eax
call fcn.00479154
pop ecx
test eax, eax
je 0x48a926
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c5b7c]
call fcn.00479154
pop ecx
test eax, eax
je 0x48a946
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48a948
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4904dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0045156a
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.0046d720
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x4a7318
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x490530
xor al, al
jmp 0x490572
mov ecx, dword [ebp - 0x80]
push ebx
push ebx
mov eax, ecx
shr eax, 0x18
push eax
mov edx, ecx
shr edx, 0x10
mov eax, 0xff
and edx, eax
push edx
mov edx, ecx
shr edx, 8
and edx, eax
movzx eax, cl
push edx
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00471e5f
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004023bd
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret 4
Function at 0x49182d
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
push edi
xor esi, esi
push 0x103
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x77]
push esi
push eax
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x78], 0
call fcn.0046d720
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x491891
push str.c:windows_temp
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp + 0x9c], esi
je 0x4918b7
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4918b7
push esi
lea eax, [ebp - 0x78]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Thunder_Network
lea eax, [ebp - 0x78]
push eax
call esi
cmp dword [ebp + 0x9c], 0
je 0x4918e4
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4918e4
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
push str.DownloadLib
lea eax, [ebp - 0x78]
push eax
call esi
cmp dword [ebp + 0x9c], 0
je 0x49190b
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x49190b
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.004023e0
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
add ebp, 0x90
leave
ret
Function at 0x495def
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499042
mov eax, dword fs:[0]
push eax
mov eax, 0x28d8
call fcn.00470530
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28c8], ecx
call fcn.0045156a
lea ecx, [ebp - 0x28e4]
call fcn.00411ef2
lea eax, [ebp - 0x28e4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004958ff
pop ecx
lea eax, [ebp - 0x28cc]
push eax
lea esi, [ebp - 0x28c0]
mov eax, esi
push eax
mov dword [ebp - 0x28cc], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x495f86
mov dword [ebp - 0x28c4], ebx
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 - 0x24]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00471e5f
add esp, 0x20
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004023e0
push ebx
push 0x4a7624
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00495822
cmp eax, 0xffffffff
jne 0x495f41
push ebx
push str.VMare
lea ecx, [ebp - 0x40]
call fcn.00495822
cmp eax, 0xffffffff
jne 0x495f41
push ebx
push str.Virtual
lea ecx, [ebp - 0x40]
call fcn.00495822
cmp eax, 0xffffffff
jne 0x495f41
push ebx
push str.SLIP
lea ecx, [ebp - 0x40]
call fcn.00495822
cmp eax, 0xffffffff
jne 0x495f41
push ebx
push str.P.P.P
lea ecx, [ebp - 0x40]
call fcn.00495822
cmp eax, 0xffffffff
jne 0x495f41
lea eax, [ebp - 0x28e4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004957b1
pop ecx
pop ecx
test al, al
je 0x495f6a
mov esi, dword [esi]
push ebx
lea ecx, [ebp - 0x40]
push 1
cmp esi, ebx
je 0x495fb8
mov byte [ebp - 4], bl
call fcn.004027b4
inc dword [ebp - 0x28c4]
cmp dword [ebp - 0x28c4], 0x10
jb 0x495e78
jmp 0x495f86
mov ecx, dword [ebp - 0x28c8]
lea eax, [ebp - 0x24]
push eax
call fcn.004023bd
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004027b4
mov bl, 1
lea ecx, [ebp - 0x28e4]
call fcn.0041200a
push dword [ebp - 0x28e4]
call fcn.0046d271
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d79a
leave
ret
call fcn.004027b4
jmp 0x495f86
Function at 0x496468
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2ac0]
mov eax, 0x2b3c
call fcn.00470530
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x2abc], eax
push ebx
push esi
mov esi, dword [ebp + 0x2ac8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov byte [ebp - 0x49], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
je 0x4965c0
push edi
push 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0046d720
mov edi, 0x2710
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0046d720
add esp, 0x18
push ebx
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x48]
push eax
push 0x2d1400
push dword [ebp - 0x50]
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4965b6
lea eax, [ebp + 0x26d4]
push eax
push 1
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
call fcn.00496164
movsx eax, byte [ebp + 0x26d4]
push eax
call fcn.00476366
add esp, 0x14
test eax, eax
jne 0x49653d
movsx eax, byte [ebp + 0x26e7]
push eax
call fcn.00476366
pop ecx
test eax, eax
je 0x4965b6
lea eax, [ebp + 0x26d4]
push eax
mov ecx, esi
call fcn.004023bd
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 0x4a], 0x20
call fcn.004514b1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], ecx
push eax
mov ecx, esi
call fcn.004514b1
mov edi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.00451491
lea ecx, [ebp - 0x4a]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.004963ea
add esp, 0x18
push dword [ebp - 0x54]
mov ecx, esi
push dword [ebp - 0x58]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call fcn.00451506
cmp dword [esi + 0x14], ebx
je 0x4965b6
mov byte [ebp - 0x49], 1
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp + 0x2abc]
mov al, byte [ebp - 0x49]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
add ebp, 0x2ac0
leave
ret