joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452f28
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4b7f10]
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.0046cbb0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x452f7b
xor al, al
jmp 0x453004
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x452fd1
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4a2d64
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x452f74
push dword [ebp - 0x64]
call fcn.0046cb3e
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x452fbb
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x452f74
lea eax, [ebp - 0x60]
push eax
call fcn.0046cb86
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x452fe0
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.004018f6
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.004019a1
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0046cc2a
add ebp, 0x1ac
leave
ret

Function at 0x45301b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4b7f10]
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.0046cbb0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x45306e
xor al, al
jmp 0x4530f7
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4530c4
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4a2d74
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x453067
push dword [ebp - 0x64]
call fcn.0046cb3e
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x4530ae
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x453067
lea eax, [ebp - 0x60]
push eax
call fcn.0046cb86
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4530d3
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.004018f6
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.004019a1
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0046cc2a
add ebp, 0x1ac
leave
ret
Function at 0x455830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49700b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7f10]
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 0x455886
mov esi, ecx
mov edx, dword [edx + 8]
mov eax, dword [eax + 8]
cmp eax, edx
jle 0x455892
mov eax, edx
sub eax, ebp
mov ebx, eax
sub esi, edi
test ebx, ebx
jle 0x45593e
test esi, esi
jle 0x45593e
push 0x1c
call fcn.0046cc54
add esp, 4
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x4558d1
push esi
push ebx
push 4
mov ecx, eax
call fcn.00454130
mov dword [esp + 0x30], eax
jmp 0x4558d5
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push edi
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.004542a0
mov edi, eax
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x14]
test esi, esi
jle 0x455940
mov dword [esp + 0x14], esi
mov edx, ebp
test ebx, ebx
jle 0x455919
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 0x455908
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 0x4558f9
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 0x456940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push edi
mov edi, dword [esp + 0x64]
cmp dword [edi + 0x20], 7
jne 0x45697f
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.004566b0
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 0x4569a1
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.00453440
mov dword [esp + 0x68], eax
test eax, eax
jne 0x4569bf
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.00457600
push edi
call fcn.00457610
mov edi, eax
add esp, 8
test edi, edi
je 0x456b32
jmp 0x456a10
cmp dword [edi + 0x18], 0
je 0x456b1b
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00457540
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.0045e2e0
test eax, eax
jne 0x456b1b
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0045d500
test eax, eax
je 0x456b1b
mov eax, ebp
neg eax
push eax
mov ecx, ebx
neg ecx
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0045e360
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.0045e360
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00455780
mov esi, eax
add esp, 8
test esi, esi
je 0x456af9
push 0
push 0
push esi
call fcn.00455980
mov eax, dword [0x4bcac8]
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.00455960
add esp, 0x30
jmp 0x456b1b
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [0x4bcac0]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00456660
add esp, 0x14
mov eax, dword [esp + 0x10]
push eax
call fcn.00457610
mov edi, eax
add esp, 4
test edi, edi
jne 0x456a10
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00453420
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x50
ret
Function at 0x4648e1
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 0x46558c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x4b7f10]
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 0x465668
xor ecx, ecx
cmp cx, word [eax]
je 0x465668
push 0x4a2f68
push eax
call fcn.004712d8
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4655d3
inc eax
jmp 0x46566b
lea eax, [ebp - 0x4dc]
push esi
push eax
call fcn.004648e1
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00471076
add esp, 0x14
jmp 0x465621
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.004652f0
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00471076
add esp, 0x1c
test eax, eax
ja 0x4655fa
lea eax, [ebp - 0x4dc]
push ebx
push eax
call fcn.0046538e
push 0xd8
lea eax, [ebp - 0x4dc]
push 0
push eax
call fcn.0046cbb0
push edi
call fcn.00470da2
add esp, 0x18
pop esi
push edi
test eax, eax
je 0x46565e
call fcn.00470a33
pop ecx
push 2
jmp 0x46566a
call fcn.00470a33
pop ecx
xor eax, eax
jmp 0x46566b
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x46591f
xor eax, eax
cmp ax, word [esi]
je 0x46591f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46592a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46591b
test al, 0x10
je 0x46591b
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.00465f46
pop ecx
xor al, al
pop esi
ret
Function at 0x465dca
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 0x465e6e
xor eax, eax
cmp ax, word [edi]
je 0x465e6e
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x465e6a
inc eax
push esi
push eax
call fcn.0046b9bf
mov esi, eax
pop ecx
cmp esi, ebx
je 0x465e69
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x465e62
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4a7b78
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x465e62
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.0046c8d6
pop ecx
pop esi
mov al, bl
jmp 0x465e7b
push 0x132b3a1
call fcn.00465f46
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

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

Disassembly:
cmp dword [0x4c4c88], 0
push esi
jne 0x46b486
call fcn.0046b3ac
test eax, eax
je 0x46b4c9
mov eax, dword [0x4c4c88]
cmp eax, 1
jne 0x46b4a7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46b4c9
pop esi
ret
push eax
call dword [0x4c4c90]
test eax, eax
jne 0x46b511
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 0x46b4cd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c4c88]
call dword [0x4c4c90]
mov edi, eax
test edi, edi
je 0x46b4f2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46b50e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4c4c88]
call dword [0x4c4c8c]
add edi, 0x10
cmp edi, esi
jb 0x46b4fa
mov eax, edi
pop edi
pop esi
ret
jmp 0x46b473

Function at 0x46cc2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b7f10]
jne 0x46cc34
repz ret
jmp fcn.00478e3e
Function at 0x46f936
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 0x46f967
call fcn.00475f21
mov dword [eax], esi
call fcn.00475f0e
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0046c843
add esp, 0x14
push 0x16
pop eax
jmp 0x46f9bc
test dword [ebp + 0xc], 0xfffffff9
jne 0x46f943
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46f994
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00475f34
pop ecx
call fcn.00475f0e
mov eax, dword [eax]
jmp 0x46f9bc
test al, 0x10
jne 0x46f9ba
test al, 1
je 0x46f9ba
test byte [ebp + 0xc], 2
je 0x46f9ba
call fcn.00475f21
mov dword [eax], 5
call fcn.00475f0e
mov dword [eax], 0xd
jmp 0x46f98b
xor eax, eax
pop esi
pop ebp
ret

Function at 0x489c84
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.004785eb
and dword [ebp - 4], 0
cmp dword [0x4c5b1c], 0
mov ebx, eax
jne 0x489d35
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x489de6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x489de6
push eax
call fcn.00478579
mov dword [esp], 0x4a6e30
push edi
mov dword [0x4c5b1c], eax
call esi
push eax
call fcn.00478579
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c5b20], eax
call esi
push eax
call fcn.00478579
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c5b24], eax
call esi
push eax
call fcn.00478579
pop ecx
mov dword [0x4c5b2c], eax
test eax, eax
je 0x489d35
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00478579
pop ecx
mov dword [0x4c5b28], eax
mov eax, dword [0x4c5b28]
cmp eax, ebx
je 0x489d8d
cmp dword [0x4c5b2c], ebx
je 0x489d8d
push eax
call fcn.004785f4
push dword [0x4c5b2c]
mov esi, eax
call fcn.004785f4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x489d8d
test edi, edi
je 0x489d8d
call esi
test eax, eax
je 0x489d84
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x489d84
test byte [ebp - 0xc], 1
jne 0x489d8d
or dword [ebp + 0x10], 0x200000
jmp 0x489dc6
mov eax, dword [0x4c5b20]
cmp eax, ebx
je 0x489dc6
push eax
call fcn.004785f4
pop ecx
test eax, eax
je 0x489dc6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x489dc6
mov eax, dword [0x4c5b24]
cmp eax, ebx
je 0x489dc6
push eax
call fcn.004785f4
pop ecx
test eax, eax
je 0x489dc6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c5b1c]
call fcn.004785f4
pop ecx
test eax, eax
je 0x489de6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x489de8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48f97c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4b7f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004509f5
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.0046cbb0
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 0x4a71e8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x48f9d0
xor al, al
jmp 0x48fa12
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.004712ef
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004023d9
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret 4
Function at 0x490ccd
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 [0x4b7f10]
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.0046cbb0
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 0x490d31
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 0x490d57
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x490d57
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 0x490d84
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x490d84
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 0x490dab
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x490dab
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.004023fc
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
add ebp, 0x90
leave
ret
Function at 0x495268
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4984b2
mov eax, dword fs:[0]
push eax
mov eax, 0x28d8
call fcn.0046f9c0
mov eax, dword [0x4b7f10]
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.004509f5
lea ecx, [ebp - 0x28e4]
call fcn.00411c6f
lea eax, [ebp - 0x28e4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00494d78
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 0x4953ff
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.004712ef
add esp, 0x20
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004023fc
push ebx
push 0x4a74f4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00494c9b
cmp eax, 0xffffffff
jne 0x4953ba
push ebx
push str.VMare
lea ecx, [ebp - 0x40]
call fcn.00494c9b
cmp eax, 0xffffffff
jne 0x4953ba
push ebx
push str.Virtual
lea ecx, [ebp - 0x40]
call fcn.00494c9b
cmp eax, 0xffffffff
jne 0x4953ba
push ebx
push str.SLIP
lea ecx, [ebp - 0x40]
call fcn.00494c9b
cmp eax, 0xffffffff
jne 0x4953ba
push ebx
push str.P.P.P
lea ecx, [ebp - 0x40]
call fcn.00494c9b
cmp eax, 0xffffffff
jne 0x4953ba
lea eax, [ebp - 0x28e4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00494c2a
pop ecx
pop ecx
test al, al
je 0x4953e3
mov esi, dword [esi]
push ebx
lea ecx, [ebp - 0x40]
push 1
cmp esi, ebx
je 0x495431
mov byte [ebp - 4], bl
call fcn.004027d0
inc dword [ebp - 0x28c4]
cmp dword [ebp - 0x28c4], 0x10
jb 0x4952f1
jmp 0x4953ff
mov ecx, dword [ebp - 0x28c8]
lea eax, [ebp - 0x24]
push eax
call fcn.004023d9
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004027d0
mov bl, 1
lea ecx, [ebp - 0x28e4]
call fcn.00411d9d
push dword [ebp - 0x28e4]
call fcn.0046c701
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.0046cc2a
leave
ret
call fcn.004027d0
jmp 0x4953ff
Function at 0x4958e1
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2ac0]
mov eax, 0x2b3c
call fcn.0046f9c0
mov eax, dword [0x4b7f10]
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 0x495a39
push edi
push 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0046cbb0
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.0046cbb0
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 0x495a2f
lea eax, [ebp + 0x26d4]
push eax
push 1
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
call fcn.004955dd
movsx eax, byte [ebp + 0x26d4]
push eax
call fcn.00475856
add esp, 0x14
test eax, eax
jne 0x4959b6
movsx eax, byte [ebp + 0x26e7]
push eax
call fcn.00475856
pop ecx
test eax, eax
je 0x495a2f
lea eax, [ebp + 0x26d4]
push eax
mov ecx, esi
call fcn.004023d9
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 0x4a], 0x20
call fcn.0045093c
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.0045093c
mov edi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0045091c
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.00495863
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.00450991
cmp dword [esi + 0x14], ebx
je 0x495a2f
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.0046cc2a
add ebp, 0x2ac0
leave
ret