joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a36
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, 0x45c0e0
cmp esi, 0xffffffff
jne 0x411a71
push edi
push 0x2719
lea ecx, [ebp - 0x14]
call fcn.00406641
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x14]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov edi, 0x45c0e0
jmp 0x411a8b
push dword [ebp + 8]
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, dword [ebp + 0xc]
test eax, eax
mov ecx, ebx
setne dl
call fcn.00411938
push ecx
push 0x2734
lea ecx, [ebp - 0x14]
call fcn.00416bd5
lea edx, [ebp - 0x14]
mov ecx, ebx
call fcn.0041057c
test al, al
jne 0x411ac3
push ecx
push 0x2733
lea ecx, [ebp - 0x14]
call fcn.00416bd5
lea edx, [ebp - 0x14]
mov ecx, ebx
call fcn.0041057c
test al, al
je 0x411b32
push ebx
mov ecx, esi
call fcn.00411f9f
pop ecx
test eax, eax
js 0x411b32
and dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x411aec
push edi
push 0x2719
lea ecx, [ebp - 0x14]
call fcn.00406641
lea esi, [ebp - 0x14]
jmp 0x411b2d
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
mov esi, eax
mov ecx, ebx
test esi, esi
setne dl
call fcn.00411938
cmp esi, 0xffffffff
je 0x411b32
push edi
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.00406641
mov esi, eax
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411b37
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
push 0x45c0e0
mov dword [ebp + 8], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406641
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov edi, ebx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004066a0
cmp eax, 0x40
jne 0x411b96
push 0x45c0e0
push 0x2746
jmp 0x411bac
call fcn.004066a0
cmp eax, 0x4d2
jne 0x411bbe
push 0x45c0e0
push 0x274d
lea ecx, [ebp - 0x14]
call fcn.00406641
mov edi, ebx
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x411bd6
call fcn.004066a0
cmp eax, 0x2738
je 0x411be1
call fcn.004066a0
cmp eax, 0xea
je 0x411be1
cmp dword [ebp + 8], 0
je 0x411be1
or eax, 0xffffffff
jmp 0x411bf7
xor eax, eax
lea esi, [ebp - 0x14]
mov edi, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411bfc
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], esi
mov bh, dl
push edi
mov edi, dword [ebp + 0x18]
cmp esi, 0xffffffff
jne 0x411c5c
push 0x45c0e0
push 0x2719
lea ecx, [ebp - 0x114]
call fcn.00406641
lea esi, [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043587c
leave
ret
mov bl, bh
and bl, 0x10
cmp byte [ebp + 0x14], 0
je 0x411c81
test bl, bl
je 0x411c81
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
jmp 0x411c42
push edi
push ecx
push dword [ebp + 0xc]
mov edx, eax
mov ecx, esi
call fcn.00411b37
add esp, 0xc
test bl, bl
je 0x411c9e
test eax, eax
je 0x411d3d
test eax, eax
jns 0x411c4d
test bh, 1
jne 0x411c4b
push ecx
push 0x2733
lea ecx, [ebp - 0x114]
call fcn.00416bd5
lea edx, [ebp - 0x114]
mov ecx, edi
call fcn.0041057c
test al, al
jne 0x411cef
push ecx
push 0x4d5
lea ecx, [ebp - 0x128]
call fcn.00416bd5
lea edx, [ebp - 0x128]
mov ecx, edi
call fcn.0041057c
test al, al
je 0x411c4b
push 0
push 0
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x104], esi
push eax
lea eax, [esi + 1]
mov dword [ebp - 0x108], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
mov ecx, edi
mov edx, esi
shr edx, 0x1f
call fcn.00411938
test esi, esi
js 0x411c4b
mov esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x11c]
jmp 0x411c81
push 0x45c130
push 2
lea ecx, [ebp - 0x128]
call fcn.00406641
lea esi, [ebp - 0x128]
jmp 0x411c48

Function at 0x411d5a
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
push 0x45c0e0
mov dword [ebp + 8], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406641
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov edi, ebx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004066a0
cmp eax, 0x40
jne 0x411db3
push 0x45c0e0
push 0x2746
jmp 0x411dc9
call fcn.004066a0
cmp eax, 0x4d2
jne 0x411dd9
push 0x45c0e0
push 0x274d
lea ecx, [ebp - 0x10]
call fcn.00406641
mov edi, ebx
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 8], 0
je 0x411de4
or eax, 0xffffffff
jmp 0x411dfa
xor eax, eax
lea esi, [ebp - 0x10]
mov edi, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411dff
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], esi
mov bl, dl
push edi
mov edi, dword [ebp + 0x18]
cmp esi, 0xffffffff
jne 0x411e5f
push 0x45c0e0
push 0x2719
lea ecx, [ebp - 0x114]
call fcn.00406641
lea esi, [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043587c
leave
ret
cmp byte [ebp + 0x14], 0
je 0x411e80
test bl, 0x10
je 0x411e80
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
jmp 0x411e45
push edi
push ecx
push dword [ebp + 0xc]
mov edx, eax
call fcn.00411d5a
add esp, 0xc
test eax, eax
jns 0x411e50
test bl, 1
jne 0x411e4e
xor ebx, ebx
push ecx
push 0x2733
lea ecx, [ebp - 0x114]
call fcn.00416bd5
lea edx, [ebp - 0x114]
mov ecx, edi
call fcn.0041057c
test al, al
jne 0x411ee2
push ecx
push 0x4d5
lea ecx, [ebp - 0x128]
call fcn.00416bd5
lea edx, [ebp - 0x128]
mov ecx, edi
call fcn.0041057c
test al, al
je 0x411e4e
push ebx
push ebx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x104], esi
push eax
push ebx
lea eax, [esi + 1]
mov dword [ebp - 0x108], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
mov ecx, edi
mov edx, esi
shr edx, 0x1f
call fcn.00411938
test esi, esi
js 0x411e4e
mov esi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
push edi
push ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00411d5a
add esp, 0xc
test eax, eax
js 0x411e9a
jmp 0x411e50

Function at 0x411f44
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
cmp ecx, 0xffffffff
jne 0x411f72
push edi
push 0x45c0e0
push 0x2719
lea ecx, [ebp - 0xc]
call fcn.00406641
mov edi, dword [ebp + 0x18]
lea esi, [ebp - 0xc]
or eax, 0xffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
jmp 0x411f9c
or byte [edx], 8
push 4
push dword [ebp + 0x10]
push 0x80
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp + 0x18]
mov esi, eax
test esi, esi
setne dl
call fcn.00411938
mov eax, esi
pop esi
leave
ret
Function at 0x411f9f
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x411fdf
push 0x45c0e0
push 0x2719
lea ecx, [ebp - 0x218]
call fcn.00406641
lea esi, [ebp - 0x218]
or eax, 0xffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x412026
xor eax, eax
mov dword [ebp - 0x208], ecx
inc eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x108]
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ecx + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
mov ecx, edi
mov edx, esi
shr edx, 0x1f
call fcn.00411938
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043587c
leave
ret
Function at 0x41c0c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41c11b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c11b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x41c10b
cmp esi, ecx
jae 0x41c11b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x41c0f9
cmp esi, ecx
jae 0x41c11b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x41c11d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41c4c0
Capabilities:
Delete registry key

Disassembly:
push 0x28
mov eax, 0x43b3f4
call fcn.004380ee
mov ebx, edx
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x41c530
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040bc27
lea ecx, [ebp - 0x2c]
mov esi, dword [eax + 0x10]
call fcn.00402ab8
test esi, esi
jne 0x41c4f7
push str.Attempt_to_delete_an_empty_key
jmp 0x41c535
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jns 0x41c52a
lea ecx, [ebp - 0x34]
call fcn.0041c2bd
and dword [ebp - 4], 0
push dword [eax]
push edi
push str.Failed_to_delete_key__S__S
push dword [ebp - 0x30]
call fcn.004026dd
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.00402b3c
call fcn.0043809d
ret
push str.Attempt_to_delete_a_null_key
lea ecx, [ebp - 0x20]
call fcn.00405d9e
push 0x456dc8
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x41d579
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x43b799
call fcn.004380ee
mov edi, edx
mov esi, ecx
push edi
push str.deleteDesktopShortcut____S
push esi
call fcn.004026dd
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor ebx, ebx
push ebx
push ebx
push ebx
push 6
pop edx
call fcn.0042f82b
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x41d614
lea ecx, [ebp - 0x30]
call fcn.004028e4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
push edi
cmova eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push str._s_s.lnk
push eax
call fcn.0041d891
mov ecx, dword [ebp - 0x30]
add esp, 0x10
call fcn.0042fca7
test al, al
je 0x41d60c
push dword [ebp - 0x30]
push str.deleteDesktopShortcut____S
push esi
call fcn.004026dd
add esp, 0xc
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
lea ecx, [ebp - 0x30]
call fcn.00402b3c
lea ecx, [ebp - 0x2c]
call fcn.00402ab8
mov al, bl
call fcn.0043809d
ret

Function at 0x41d624
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x43b7d5
call fcn.004380ee
mov bl, dl
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
push str.deleteProgramsShortcut____S
push esi
call fcn.004026dd
add esp, 0xc
movzx edx, bl
xor edx, 1
lea ecx, [ebp - 0x28]
add edx, 3
push 1
push 0
push 0
call fcn.0042f82b
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x41d6c2
lea ecx, [ebp - 0x2c]
call fcn.004028e4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push edi
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push str._s_s.lnk
push eax
call fcn.0041d891
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
call fcn.0042fca7
test al, al
je 0x41d6ba
push dword [ebp - 0x2c]
push str.deleteProgramsShortcut____S
push esi
call fcn.004026dd
add esp, 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.00402b3c
lea ecx, [ebp - 0x28]
call fcn.00402ab8
call fcn.0043809d
ret
Function at 0x41eb39
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ba75
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.00437fe0
mov eax, dword [0x45c040]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push eax
push edi
mov dword [ebp - 0x1030], eax
lea eax, [ecx + 0x150]
push str.Bootstrapper::CreateProcess_module___S__args___S
push eax
mov dword [ebp - 0x1034], edx
call fcn.004026dd
push 0x44
pop esi
push esi
lea eax, [ebp - 0x107c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
mov dword [ebp - 0x107c], esi
lea eax, [ebp - 0x1014]
push 0x1000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x1014]
add esp, 0xc
mov esi, 0x800
cmp word [edi], 0x22
je 0x41ec0a
push 0x448188
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x1014]
push edi
push esi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0x448188
push esi
push eax
call ebx
jmp 0x41ec13
push edi
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0x44818c
push esi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x1014]
push dword [ebp - 0x1030]
push esi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x102c]
push edi
push str.CreateProcess__S_failed
push eax
call fcn.0040f0a4
add esp, 0xc
mov esi, eax
push dword [ebp - 0x1034]
xor ecx, ecx
lea eax, [ebp - 0x107c]
push eax
push ecx
push ecx
push 0x20
push ecx
push ecx
push ecx
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, esi
mov ecx, eax
call fcn.0041c290
lea ecx, [ebp - 0x102c]
call fcn.004027a6
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.0043587c
leave
ret 0xc

Function at 0x41f1ec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41f245
cmp dword [ebp - 0x108], 2
jne 0x41f245
cmp dword [ebp - 0x114], 5
sete al
jmp 0x41f247
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043587c
leave
ret
Function at 0x41f436
Capabilities:
Get token membership

Disassembly:
push 0x8c
mov eax, 0x43bb54
call fcn.004380ee
xor ebx, ebx
mov esi, vtable.ATL::CAccessToken.0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push 0x44bc54
push eax
call fcn.0041f275
add esp, 0x14
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [ebp - 0x78]
mov edi, 0x2000a
push ecx
push 1
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x41f4d2
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x84], eax
jmp 0x41f4fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x41f4f5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x78]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41f4b8
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x78]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41f526
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x98]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x94], eax
jmp 0x41f52c
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x41f546
cmp dword [ebp - 0x78], 0
setne bl
lea ecx, [ebp - 0x74]
call fcn.0041f340
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], esi
call fcn.0041f3f2
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
call fcn.0041f3f2
mov al, bl
call fcn.0043809d
ret
Function at 0x41f962
Capabilities:
Get geographical location

Disassembly:
push 0x3cc
mov eax, 0x43bd42
call fcn.004380ee
mov esi, ecx
mov dword [ebp - 0x3bc], esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x3b8]
push ecx
mov ecx, esi
mov dword [esi + 0x110], edx
call dword [eax + 0x5c]
mov dword [ebp - 0x3c0], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x3a0]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x58]
mov ebx, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x388]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x54]
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x370]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x50]
mov esi, eax
mov ecx, dword [ebp - 0x3bc]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 3
push eax
mov edx, dword [ecx]
call dword [edx + 0xdc]
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x328]
call fcn.0040ee35
push dword [ebp - 0x3c0]
mov edx, esi
mov byte [ebp - 4], 5
push ebx
push edi
mov ecx, eax
call fcn.0042f116
add esp, 0xc
lea ecx, [ebp - 0x328]
call fcn.004027a6
lea ecx, [ebp - 0x358]
call fcn.00402ab8
lea ecx, [ebp - 0x370]
call fcn.004027a6
lea ecx, [ebp - 0x388]
call fcn.004027a6
lea ecx, [ebp - 0x3a0]
call fcn.004027a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.004027a6
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov edi, 0x100
cmp esi, 0xffffffff
je 0x41fa8c
push 0
push edi
lea eax, [ebp - 0x310]
push eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push edi
lea eax, [ebp - 0x310]
push eax
push edi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x3d8]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
add esp, 0x14
lea eax, [ebp - 0x110]
mov ecx, 0x444535
cmp esi, 0xffffffff
cmove eax, ecx
lea ecx, [ebp - 0x328]
push eax
call fcn.00402815
lea eax, [ebp - 0x328]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x45c1a0
call fcn.0040bca4
lea ecx, [ebp - 0x328]
call fcn.004027a6
xor ecx, ecx
mov dword [ebp - 0x3d4], 0x4e40000
mov dword [ebp - 0x3d0], ecx
mov dword [ebp - 0x3c4], ecx
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x3d4]
push dword [0x45e7b4]
call fcn.0042d07b
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0042d294
mov byte [ebp - 4], 8
lea eax, [ebp - 0x340]
cmp dword [ebp - 0x32c], 0xf
lea ecx, [ebp - 0x328]
cmova eax, dword [ebp - 0x340]
push eax
call fcn.00402815
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x45c1b8
call fcn.0040bca4
lea ecx, [ebp - 0x328]
call fcn.004027a6
lea ecx, [ebp - 0x340]
call fcn.004027a6
lea ecx, [ebp - 0x3d4]
call fcn.0042d052
call fcn.0043809d
ret
Function at 0x420819
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c08d
mov eax, dword fs:[0]
push eax
mov eax, 0x28a0
call fcn.00437fe0
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x28ac]
mov dword [ebp - 0x28ac], 0x2880
push eax
lea eax, [ebp - 0x2890]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea esi, [ebp - 0x2890]
cmp dword [esi + 0x1a0], 6
jne 0x420911
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
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 - 0x28a8]
push str._02x__02x__02x__02x__02x__02x__02x__02x
push eax
call fcn.0040f0a4
and dword [ebp - 4], 0
lea eax, [esi + 0x10c]
cmp dword [ebp - 0x2894], 0xf
lea ecx, [ebp - 0x28a8]
push eax
cmova ecx, dword [ebp - 0x28a8]
lea eax, [edi + 0x150]
push ecx
push str.MAC:__s_Name:__s
push eax
call fcn.004026dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28a8]
add esp, 0x38
call fcn.004027a6
mov esi, dword [esi]
test esi, esi
jne 0x420870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043587c
leave
ret