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

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4c3a60]
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.00476cc0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x45cf6c
xor al, al
jmp 0x45cff5
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x45cfc2
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4ad9a8
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x45cf65
push dword [ebp - 0x64]
call fcn.00476c4e
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x45cfac
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45cf65
lea eax, [ebp - 0x60]
push eax
call fcn.00476c96
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45cfd1
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.00401a1c
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ad3
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.00476d3a
add ebp, 0x1ac
leave
ret

Function at 0x45d00c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4c3a60]
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.00476cc0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x45d05f
xor al, al
jmp 0x45d0e8
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x45d0b5
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4ad9b8
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x45d058
push dword [ebp - 0x64]
call fcn.00476c4e
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x45d09f
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45d058
lea eax, [ebp - 0x60]
push eax
call fcn.00476c96
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45d0c4
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.00401a1c
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ad3
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.00476d3a
add ebp, 0x1ac
leave
ret
Function at 0x45f820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a192b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3a60]
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 0x45f876
mov esi, ecx
mov edx, dword [edx + 8]
mov eax, dword [eax + 8]
cmp eax, edx
jle 0x45f882
mov eax, edx
sub eax, ebp
mov ebx, eax
sub esi, edi
test ebx, ebx
jle 0x45f92e
test esi, esi
jle 0x45f92e
push 0x1c
call fcn.00476d64
add esp, 4
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x45f8c1
push esi
push ebx
push 4
mov ecx, eax
call fcn.0045e120
mov dword [esp + 0x30], eax
jmp 0x45f8c5
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push edi
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.0045e290
mov edi, eax
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x14]
test esi, esi
jle 0x45f930
mov dword [esp + 0x14], esi
mov edx, ebp
test ebx, ebx
jle 0x45f909
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 0x45f8f8
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 0x45f8e9
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 0x460940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push edi
mov edi, dword [esp + 0x64]
cmp dword [edi + 0x20], 7
jne 0x46097f
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.004606b0
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 0x4609a1
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.0045d430
mov dword [esp + 0x68], eax
test eax, eax
jne 0x4609bf
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.00461600
push edi
call fcn.00461610
mov edi, eax
add esp, 8
test edi, edi
je 0x460b32
jmp 0x460a10
cmp dword [edi + 0x18], 0
je 0x460b1b
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00461540
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.004682d0
test eax, eax
jne 0x460b1b
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004674f0
test eax, eax
je 0x460b1b
mov eax, ebp
neg eax
push eax
mov ecx, ebx
neg ecx
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00468350
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.00468350
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0045f770
mov esi, eax
add esp, 8
test esi, esi
je 0x460af9
push 0
push 0
push esi
call fcn.0045f970
mov eax, dword [0x4c8960]
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.0045f950
add esp, 0x30
jmp 0x460b1b
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [0x4c8958]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00460660
add esp, 0x14
mov eax, dword [esp + 0x10]
push eax
call fcn.00461610
mov edi, eax
add esp, 4
test edi, edi
jne 0x460a10
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045d410
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x50
ret
Function at 0x46e8d1
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 0x46f57c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x4c3a60]
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 0x46f658
xor ecx, ecx
cmp cx, word [eax]
je 0x46f658
push 0x4adba8
push eax
call fcn.0047b6c8
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x46f5c3
inc eax
jmp 0x46f65b
lea eax, [ebp - 0x4dc]
push esi
push eax
call fcn.0046e8d1
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0047b466
add esp, 0x14
jmp 0x46f611
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0046f2e0
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0047b466
add esp, 0x1c
test eax, eax
ja 0x46f5ea
lea eax, [ebp - 0x4dc]
push ebx
push eax
call fcn.0046f37e
push 0xd8
lea eax, [ebp - 0x4dc]
push 0
push eax
call fcn.00476cc0
push edi
call fcn.0047b192
add esp, 0x18
pop esi
push edi
test eax, eax
je 0x46f64e
call fcn.0047ae23
pop ecx
push 2
jmp 0x46f65a
call fcn.0047ae23
pop ecx
xor eax, eax
jmp 0x46f65b
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x46f90f
xor eax, eax
cmp ax, word [esi]
je 0x46f90f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f91a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46f90b
test al, 0x10
je 0x46f90b
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.0046ff36
pop ecx
xor al, al
pop esi
ret
Function at 0x46fdba
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 0x46fe5e
xor eax, eax
cmp ax, word [edi]
je 0x46fe5e
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x46fe5a
inc eax
push esi
push eax
call fcn.00475acf
mov esi, eax
pop ecx
cmp esi, ebx
je 0x46fe59
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46fe52
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4b3018
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46fe52
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.004769e6
pop ecx
pop esi
mov al, bl
jmp 0x46fe6b
push 0x132b3a1
call fcn.0046ff36
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

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

Disassembly:
cmp dword [0x4d0b20], 0
push esi
jne 0x475596
call fcn.004754bc
test eax, eax
je 0x4755d9
mov eax, dword [0x4d0b20]
cmp eax, 1
jne 0x4755b7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4755d9
pop esi
ret
push eax
call dword [0x4d0b28]
test eax, eax
jne 0x475621
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 0x4755dd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4d0b20]
call dword [0x4d0b28]
mov edi, eax
test edi, edi
je 0x475602
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x47561e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4d0b20]
call dword [0x4d0b24]
add edi, 0x10
cmp edi, esi
jb 0x47560a
mov eax, edi
pop edi
pop esi
ret
jmp 0x475583

Function at 0x476d3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3a60]
jne 0x476d44
repz ret
jmp fcn.00482d80
Function at 0x479db6
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 0x479de7
call fcn.0047eeed
mov dword [eax], esi
call fcn.0047eeda
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00476953
add esp, 0x14
push 0x16
pop eax
jmp 0x479e3c
test dword [ebp + 0xc], 0xfffffff9
jne 0x479dc3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x479e14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047ef00
pop ecx
call fcn.0047eeda
mov eax, dword [eax]
jmp 0x479e3c
test al, 0x10
jne 0x479e3a
test al, 1
je 0x479e3a
test byte [ebp + 0xc], 2
je 0x479e3a
call fcn.0047eeed
mov dword [eax], 5
call fcn.0047eeda
mov dword [eax], 0xd
jmp 0x479e0b
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4945c4
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.0048252d
and dword [ebp - 4], 0
cmp dword [0x4d19d0], 0
mov ebx, eax
jne 0x494675
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x494726
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x494726
push eax
call fcn.004824bb
mov dword [esp], 0x4b2308
push edi
mov dword [0x4d19d0], eax
call esi
push eax
call fcn.004824bb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d19d4], eax
call esi
push eax
call fcn.004824bb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d19d8], eax
call esi
push eax
call fcn.004824bb
pop ecx
mov dword [0x4d19e0], eax
test eax, eax
je 0x494675
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004824bb
pop ecx
mov dword [0x4d19dc], eax
mov eax, dword [0x4d19dc]
cmp eax, ebx
je 0x4946cd
cmp dword [0x4d19e0], ebx
je 0x4946cd
push eax
call fcn.00482536
push dword [0x4d19e0]
mov esi, eax
call fcn.00482536
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4946cd
test edi, edi
je 0x4946cd
call esi
test eax, eax
je 0x4946c4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4946c4
test byte [ebp - 0xc], 1
jne 0x4946cd
or dword [ebp + 0x10], 0x200000
jmp 0x494706
mov eax, dword [0x4d19d4]
cmp eax, ebx
je 0x494706
push eax
call fcn.00482536
pop ecx
test eax, eax
je 0x494706
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x494706
mov eax, dword [0x4d19d8]
cmp eax, ebx
je 0x494706
push eax
call fcn.00482536
pop ecx
test eax, eax
je 0x494706
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d19d0]
call fcn.00482536
pop ecx
test eax, eax
je 0x494726
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x494728
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49a271
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0045a9f2
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.00476cc0
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 0x4b26c0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x49a2c5
xor al, al
jmp 0x49a307
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.0047b6df
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00402454
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret 4
Function at 0x49b5c2
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 [0x4c3a60]
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.00476cc0
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 0x49b626
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 0x49b64c
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x49b64c
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 0x49b679
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x49b679
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 0x49b6a0
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x49b6a0
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.00402477
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
add ebp, 0x90
leave
ret
Function at 0x49fb8a
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2dd2
mov eax, dword fs:[0]
push eax
mov eax, 0x28d8
call fcn.00479e40
mov eax, dword [0x4c3a60]
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.0045a9f2
lea ecx, [ebp - 0x28e4]
call fcn.00416709
lea eax, [ebp - 0x28e4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049f69a
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 0x49fd21
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.0047b6df
add esp, 0x20
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402477
push ebx
push 0x4b29bc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0049f5bd
cmp eax, 0xffffffff
jne 0x49fcdc
push ebx
push str.VMare
lea ecx, [ebp - 0x40]
call fcn.0049f5bd
cmp eax, 0xffffffff
jne 0x49fcdc
push ebx
push str.Virtual
lea ecx, [ebp - 0x40]
call fcn.0049f5bd
cmp eax, 0xffffffff
jne 0x49fcdc
push ebx
push str.SLIP
lea ecx, [ebp - 0x40]
call fcn.0049f5bd
cmp eax, 0xffffffff
jne 0x49fcdc
push ebx
push str.P.P.P
lea ecx, [ebp - 0x40]
call fcn.0049f5bd
cmp eax, 0xffffffff
jne 0x49fcdc
lea eax, [ebp - 0x28e4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0049f54c
pop ecx
pop ecx
test al, al
je 0x49fd05
mov esi, dword [esi]
push ebx
lea ecx, [ebp - 0x40]
push 1
cmp esi, ebx
je 0x49fd53
mov byte [ebp - 4], bl
call fcn.0040284b
inc dword [ebp - 0x28c4]
cmp dword [ebp - 0x28c4], 0x10
jb 0x49fc13
jmp 0x49fd21
mov ecx, dword [ebp - 0x28c8]
lea eax, [ebp - 0x24]
push eax
call fcn.00402454
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0040284b
mov bl, 1
lea ecx, [ebp - 0x28e4]
call fcn.00416837
push dword [ebp - 0x28e4]
call fcn.00476811
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.00476d3a
leave
ret
call fcn.0040284b
jmp 0x49fd21
Function at 0x4a0203
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2ac0]
mov eax, 0x2b3c
call fcn.00479e40
mov eax, dword [0x4c3a60]
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 0x4a035b
push edi
push 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00476cc0
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.00476cc0
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 0x4a0351
lea eax, [ebp + 0x26d4]
push eax
push 1
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
call fcn.0049feff
movsx eax, byte [ebp + 0x26d4]
push eax
call fcn.0047e866
add esp, 0x14
test eax, eax
jne 0x4a02d8
movsx eax, byte [ebp + 0x26e7]
push eax
call fcn.0047e866
pop ecx
test eax, eax
je 0x4a0351
lea eax, [ebp + 0x26d4]
push eax
mov ecx, esi
call fcn.00402454
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 0x4a], 0x20
call fcn.0045a939
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.0045a939
mov edi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0045a919
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.004a0185
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.0045a98e
cmp dword [esi + 0x14], ebx
je 0x4a0351
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.00476d3a
add ebp, 0x2ac0
leave
ret