joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e318
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x462bb4]
cmp dword [eax + 0x30], 0
je 0x44e3c2
cmp dword [ebx + 0x94], 0
jne 0x44e3bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e2a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e3bc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e382
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e3bc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004145ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e391
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ef20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ef55
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404390
jmp 0x44ef62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450074
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4500b5
mov eax, esi
call fcn.004367d4
test al, al
je 0x4500b5
mov eax, dword [ebx + 0x84]
call fcn.004364d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4500b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004364d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x705823b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x7058240b
cmp byte [esi + ebx - 1], 0xa
je 0x705823df
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x70583118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x10001040
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.100114c0
add esp, 0xc
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x204]
push edx
mov dword [ebp - 0x608], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x100010a4
push str.UnKnow
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x400
lea ecx, [ebp - 0x604]
push 0
push ecx
call fcn.100114c0
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x604]
push str.SOFTWARE_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x604]
push esi
push ecx
call fcn.10001ab0
mov ecx, dword [ebp - 4]
add esp, 0xc
test eax, eax
setne al
xor ecx, ebp
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret

Function at 0x10001100
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
push 0
push 0x1002b920
call fcn.100114c0
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.100114c0
add esp, 0x18
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x204]
push edx
mov dword [ebp - 0x608], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10001175
push str.UnKnow
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x400
lea ecx, [ebp - 0x604]
push 0
push ecx
call fcn.100114c0
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x604]
push str.SOFTWARE_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x604]
push ecx
mov ecx, esi
call fcn.10001790
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x1c
mov eax, 0x1002b920
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret
Function at 0x10002bc0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x210]
mov edi, ecx
push eax
push 0x202
mov dword [ebp - 0x214], edi
mov dword [edi], vtable.CClipperManager.0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10002c26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WSAStartup_Error__d__r_n
call fcn.1000caad
add esp, 8
mov esi, 0x10025488
call fcn.10001100
mov esi, eax
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x10002c46
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001240
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x10002c68
lea edx, [ebp - 0x2c]
xor eax, eax
mov ecx, 0x10025269
call fcn.10002b30
cmp eax, ebx
jne 0x10002c82
xor eax, eax
cmp dword [ebp - 0x1c], ebx
setne al
cmp eax, ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x10002ca4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x1002a65c
call fcn.10001340
jmp 0x10002d40
lea edx, [ebp - 0x80]
push edx
call fcn.1000af40
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.1000b110
mov ecx, eax
lea eax, [ebp - 0x48]
push eax
mov eax, esi
mov byte [ebp - 4], 2
call fcn.100050b0
add esp, 4
mov edi, eax
mov esi, 0x1002a65c
mov byte [ebp - 4], 3
call fcn.100045b0
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x10002cf8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1000c83b
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], esi
jb 0x10002d17
mov edx, dword [ebp - 0x64]
push edx
call fcn.1000c83b
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], esi
jb 0x10002d31
mov eax, dword [ebp - 0x80]
push eax
call fcn.1000c83b
add esp, 4
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x214]
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
push 0x1002b8a8
mov dword [0x1002b8a4], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push 0x10007130
push ebx
push ebx
mov dword [0x1002b8ec], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 0x18], 0x10
mov dword [edi + 0xc], eax
jb 0x10002d88
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000c83b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret
Function at 0x10002e20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020808
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0xd
mov esi, ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push edi
test eax, eax
jne 0x10002e7c
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], al
call fcn.10001240
jmp 0x10002f02
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10002ea1
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], al
call fcn.10001240
jmp 0x10002f02
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 1
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x10002edb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
inc eax
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001240
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edi, [ebp - 0x2c]
call fcn.10004460
cmp dword [ebp - 0x18], 0x10
jb 0x10002f02
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000c83b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret

Function at 0x10002f20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10002f93
cmp dword [esi + 0x10], 0
je 0x10002f93
push edi
push 0xffffffffffffffff
push 0
push esi
mov ecx, 0x1002a678
call fcn.10001340
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 0x10]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x10002f6f
mov esi, dword [esi]
inc ecx
push ecx
push esi
push eax
call fcn.10011e70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x10003990
Capabilities:
Encode data using xor
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.100114c0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.Clip
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x508]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x508]
push 0x100254dc
push ecx
call fcn.1000be32
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10003af3
push esi
push 2
push 0
push edi
call fcn.1000d225
push edi
call fcn.1000d136
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x50c], esi
test esi, esi
je 0x10003af2
push ebx
push esi
call fcn.1000c9ee
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10003af1
push 0
push 0
push edi
call fcn.1000d225
push edi
push esi
push 1
push ebx
call fcn.1000cdb4
push edi
call fcn.1000beea
add esp, 0x20
xor eax, eax
test esi, esi
je 0x10003a79
jmp 0x10003a70
xor byte [eax + ebx], 0x60
inc eax
cmp eax, esi
jb 0x10003a70
mov edx, dword [0x1002a568]
push edx
push ebx
mov eax, esi
call fcn.1000aed0
add esp, 8
test eax, eax
jle 0x10003af1
lea edi, [eax + ebx]
mov ecx, 0x2f
mov esi, 0x1002a568
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x50c]
xor eax, eax
test esi, esi
je 0x10003ab9
lea ebx, [ebx]
xor byte [eax + ebx], 0x60
inc eax
cmp eax, esi
jb 0x10003ab0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x508]
push 0x100254e0
push eax
call fcn.1000be32
mov edi, eax
add esp, 8
test edi, edi
je 0x10003af1
push edi
push 1
push esi
push ebx
call fcn.1000cf28
push edi
call fcn.1000beea
add esp, 0x14
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret
Function at 0x10006fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, eax
mov eax, dword [0x1002b8f0]
cmp eax, dword [0x1002a620]
jl 0x10006ffb
push 0x100257d4
call fcn.1000caad
add esp, 4
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
call fcn.1000c897
add esp, 4
cmp eax, edi
je 0x10007023
mov dword [eax + 0x10], edi
mov ecx, 0xf
mov dword [eax + 0x14], ecx
mov byte [eax], 0
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ecx
mov byte [eax + 0x1c], 0
mov edi, eax
mov eax, ebx
mov dword [ebp - 4], edi
lea edx, [eax + 1]
jmp 0x10007030
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007030
sub eax, edx
push eax
push ebx
mov ecx, edi
call fcn.10001240
push 0x1002b8a8
mov byte [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1002b904]
mov edx, dword [ebx + 4]
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
call fcn.10009240
mov ecx, 0x3ffffffe
sub ecx, dword [0x1002b908]
cmp ecx, 1
jae 0x1000707f
push str.list_T__too_long
call fcn.1001af66
inc dword [0x1002b908]
mov dword [ebx + 4], eax
mov edx, dword [eax + 4]
push 0x1002b8a8
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x10006cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x100070ce
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
cmp eax, 0x102
jne 0x100070f5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
add edi, 0x1c
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.10001340
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, eax
mov eax, dword [0x1002b8f0]
cmp eax, dword [0x1002a620]
jl 0x1000728e
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
call fcn.1000c897
add esp, 4
cmp eax, edi
je 0x100072b6
mov dword [eax + 0x10], edi
mov ecx, 0xf
mov dword [eax + 0x14], ecx
mov byte [eax], 0
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ecx
mov byte [eax + 0x1c], 0
mov edi, eax
mov eax, ebx
mov dword [ebp - 4], edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100072c0
sub eax, edx
push eax
push ebx
mov ecx, edi
call fcn.10001240
push 0x1002b8a8
mov byte [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1002b904]
mov edx, dword [ebx + 4]
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
call fcn.10009240
mov ecx, 0x3ffffffe
sub ecx, dword [0x1002b908]
cmp ecx, 1
jae 0x1000730f
push str.list_T__too_long
call fcn.1001af66
inc dword [0x1002b908]
mov dword [ebx + 4], eax
mov edx, dword [eax + 4]
push 0x1002b8a8
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x10006e30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x1000735e
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
cmp eax, 0x102
jne 0x10007385
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
add edi, 0x1c
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.10001340
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009020
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002050b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10029080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001b5cd
push 4
mov dword [ebp - 4], 0
call fcn.1000c897
mov edi, eax
add esp, 4
test edi, edi
je 0x1000909c
call fcn.1001b4a5
mov dword [edi], eax
call fcn.1001b264
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1001b58e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10009092
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1001b5b6
jmp 0x1000909e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000af40
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100208f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10029080]
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 + 8]
xor ebx, ebx
mov dword [ebp - 0x38], ebx
push 0x178
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x178
call fcn.1000d6e5
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [ebp - 0x38]
push ecx
push edi
push ebx
push 0x10
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push ebx
call esi
cmp eax, 0x6f
jne 0x1000afcc
mov edx, dword [ebp - 0x38]
push edx
push edi
call fcn.1000d779
add esp, 8
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push edi
push ebx
push 0x10
push ebx
call esi
cmp eax, ebx
je 0x1000aff7
push edi
call fcn.1000d312
mov esi, dword [ebp - 0x3c]
add esp, 4
lea edi, [ebp - 0x30]
call fcn.10004460
cmp dword [ebp - 0x1c], 0x10
jb 0x1000b0e9
mov ecx, dword [ebp - 0x30]
push ecx
jmp 0x1000b0e1
cmp edi, ebx
je 0x1000b0c3
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x34]
lea edx, [eax + eax*2]
push edx
lea esi, [ebp - 0x4c]
call fcn.1000ba00
xor esi, esi
cmp dword [edi + 0x34], ebx
jbe 0x1000b085
mov al, byte [edi + esi + 0x2c]
mov cl, al
shr cl, 4
and al, 0xf
cmp cl, 0xa
setge dl
dec dl
and dl, 0xf9
add dl, 0x37
add cl, dl
mov byte [ebp - 0x32], cl
cmp al, 0xa
setge cl
dec cl
and cl, 0xf9
add cl, 0x37
add al, cl
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x32]
lea ecx, [ebp - 0x4c]
call fcn.1000baa0
lea eax, [ebp - 0x31]
lea ecx, [ebp - 0x4c]
call fcn.1000baa0
mov edx, dword [edi + 0x34]
dec edx
cmp esi, edx
je 0x1000b07f
lea eax, [ebp - 0x31]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x31], 0x2d
call fcn.1000baa0
inc esi
cmp esi, dword [edi + 0x34]
jb 0x1000b022
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, edx
cmp ecx, 0x10
jae 0x1000b095
lea eax, [ebp - 0x30]
add eax, dword [ebp - 0x20]
cmp ecx, 0x10
mov ecx, edx
jae 0x1000b0a2
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x4c]
push edx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1000bb60
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10008180
push edi
call fcn.1000d312
mov esi, dword [ebp - 0x3c]
add esp, 4
lea edi, [ebp - 0x30]
call fcn.10004460
cmp dword [ebp - 0x1c], 0x10
jb 0x1000b0e9
mov eax, dword [ebp - 0x30]
push eax
call fcn.1000c83b
add esp, 4
mov eax, esi
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.1000bc1d
mov esp, ebp
pop ebp
ret
Function at 0x1000b5a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020868
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov edi, 0x10
mov dword [ebp - 4], esi
cmp dword [eax + 0x14], edi
jb 0x1000b5f5
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x34]
push ecx
push esi
push 8
push edi
push eax
call dword [sym.imp.DNSAPI.dll_DnsQuery_A]
test eax, eax
jne 0x1000b6d7
mov edi, dword [ebp - 0x34]
cmp edi, esi
je 0x1000b65a
cmp word [edi + 8], 0x10
jne 0x1000b651
cmp dword [edi + 0x18], esi
jbe 0x1000b651
lea ebx, [edi + 0x1c]
mov eax, dword [ebx]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x30], edx
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1000b630
sub ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10004980
inc esi
add ebx, 4
cmp esi, dword [edi + 0x18]
jb 0x1000b623
mov ebx, dword [ebp - 0x38]
xor esi, esi
mov edi, dword [edi]
cmp edi, esi
jne 0x1000b614
mov edi, dword [ebp - 0x34]
push 1
push edi
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov edi, 0xf
lea eax, [ebp - 0x2c]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov byte [ebx], 0
cmp ebx, eax
je 0x1000b6cb
cmp dword [ebx + 0x14], 0x10
jb 0x1000b689
mov ecx, dword [ebx]
push ecx
call fcn.1000c83b
add esp, 4
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov byte [ebx], 0
cmp dword [ebp - 0x18], 0x10
jae 0x1000b6b8
mov edx, dword [ebp - 0x1c]
inc edx
push edx
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.1000c3a0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x1000b702
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebx], ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x1000b702
cmp dword [ebp - 0x18], 0x10
jb 0x1000b702
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x1000b6fa
push esi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], esi
push 0x10025269
mov ecx, ebx
mov byte [ebx], 0
call fcn.10001240
cmp dword [ebp - 0x18], edi
jb 0x1000b702
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000c83b
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret