joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004340e0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x447ecf
pop edi
pop ebp
ret
push ebx
push edi
call fcn.004340e0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x447ef0
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor eax, eax
pop edi
pop ebp
ret
call fcn.004340e0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
je 0x447eea
push esi
push eax
call fcn.0052b7a0
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0x10]
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call fcn.0054e520
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x459e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x459ea7
cmp eax, edi
jge 0x459e9f
push esi
call fcn.004551e0
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x459ed0
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x459eb3
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x459eec
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x459edd
xor dl, dl
jmp 0x459ee2
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x459ed5
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x459f22
mov dword [0x610c48], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x459f3b
pop edi
mov dword [0x610c48], 0x5a0ef4
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x459f55
push edi
push ecx
push esi
call fcn.0045ddd0
add esp, 0xc
test eax, eax
je 0x459f1c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0054e520
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x45e140
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x45e23a
movzx eax, word [ebx]
test ax, ax
je 0x45e23a
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x45e180
cmp ax, 0x5c
jne 0x45e182
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x45e174
cmp edi, ebx
je 0x45e1cf
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.0055d8b0
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45e24a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0045e140
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x45e1e0
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x45e1f2
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45e210
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
call fcn.0052b494
int3

Function at 0x45e930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45e9c9
cmp dword [esi + 4], 0xffffffff
jne 0x45e9c9
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45e960
cmp dword [ebp + 0x10], 1
mov eax, dword [0x5a2d9c]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x45e993
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45e993
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004612f0
add esp, 0x10
test eax, eax
jne 0x45e9b3
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.00461b30
add esp, 4
mov dword [esi], eax
mov eax, dword [0x610d9c]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x461430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x46146e
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x461462
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x46147f
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0054e520
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x461580
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x46158e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x46164d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
sub edi, 1
jne 0x4615a6
pop edi
test esi, esi
je 0x46166b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a2668]
sub esi, 1
jne 0x461651
not eax
pop esi
pop ebp
ret
Function at 0x4707c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x47082e
cmp dword [esi + 0x10], 0
je 0x47082e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0052b7b0
mov ebx, esp
test ebx, ebx
je 0x47082e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.004318b0
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00436c60
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4747f0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp ebx, 0x4e
jne 0x474838
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebp + 0x10]
mov ecx, edi
push esi
push ebx
call fcn.00438020
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 8
jne 0x474926
push 0
push str.SysMonthCal32
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4748bd
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
push 0
push 0x100e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
cmp eax, 0x1010003
je 0x4748a5
cmp eax, 0x2010003
jne 0x474911
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jl 0x4748eb
cmp eax, dword [ebp - 0xc]
jg 0x4748eb
cmp eax, dword [ebp - 0x10]
jl 0x4748eb
cmp eax, dword [ebp - 8]
jle 0x474911
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 8
call fcn.00474b40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 0x101
jne 0x474819
cmp esi, 0x2e
je 0x474984
cmp esi, 8
je 0x474984
cmp esi, 0x1b
jne 0x474819
push dword [ebp + 0x10]
push esi
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
push 0
push 0
push 0x10
mov dword [ecx + 0x14dc], 3
mov ecx, edi
call fcn.00438330
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push esi
push 0x101
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
mov dword [ecx + 0x14dc], 2
mov ecx, dword [edi + 0x10]
call fcn.00474bb0
push 0
push 0
push 0x10
mov ecx, edi
call fcn.00438330
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b33d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4749d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d30b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x60940c]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x14dc], 0
cmp dword [edi + 4], 0
jne 0x474a7d
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.004314f0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0057d6c0
push eax
mov ecx, edi
call fcn.00437e80
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0044ca20
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00433d20
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00432190
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00431750
test bl, bl
je 0x474ac1
mov eax, dword [edi + 0x10]
add eax, 0x14cc
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x14cc
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.0052b33d
mov esp, ebp
pop ebp
ret 4

Function at 0x478870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x47887e
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0xc
Function at 0x47ba30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58deb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x47baf4
mov ebx, dword [ebp + 8]
test bl, bl
je 0x47ba96
lea eax, [ebp - 0x24]
push eax
call fcn.00412ce0
mov dword [ebp - 4], 0
mov ecx, eax
push ebx
call fcn.0047ba30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004073b0
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0047c0f0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47bab2
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47badc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x18], 0
jmp 0x47baf6
mov al, 1
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.0052b33d
mov esp, ebp
pop ebp
ret 4

Function at 0x47ccd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e2b2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.0054eaa0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0047c340
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x47cd80
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e301
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x60940c]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
cmp dword [0x610dbc], 0
mov dword [ebp - 0x34], esi
je 0x47cde7
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x610dac
mov byte [esi], 0
call fcn.0040aaf0
jmp 0x47cf5b
push 0x11
mov dword [ebp - 0x2c], 4
call fcn.0055cd50
push 0x288
mov ebx, eax
call fcn.0055cd50
mov edi, eax
add esp, 8
test edi, edi
jne 0x47ce17
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.00425110
add esp, 4
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x47ce44
push dword [ebp - 0x2c]
call fcn.0055cd50
mov edi, eax
add esp, 4
test edi, edi
jne 0x47ce44
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.00425110
add esp, 4
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x47cf2d
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push ebx
call fcn.0047e460
push ebx
lea eax, [edi + 0x1b0]
push eax
push str.Address:__s__mac:__s_n
call fcn.00425110
add esp, 0x2c
lea ecx, [ebp - 0x28]
push ebx
call fcn.0040c7d0
mov ebx, eax
mov dword [ebp - 4], 1
cmp ebx, 0x610dac
je 0x47cf02
mov eax, dword [0x610dc0]
cmp eax, 0x10
jb 0x47cedc
inc eax
mov ecx, 0x610dac
push eax
push dword [0x610dac]
call fcn.0040b090
push ebx
mov ecx, 0x610dac
mov dword [0x610dc0], 0xf
mov dword [0x610dbc], 0
mov byte [0x610dac], 0
call fcn.00409d70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x47cf1b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test edi, edi
je 0x47cf3a
push edi
call fcn.00558829
add esp, 4
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x610dac
mov byte [esi], 0
call fcn.0040aaf0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
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.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x47d080
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e3ec
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x60940c]
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 + 0xc]
lea ecx, [ebp - 0x810]
mov esi, dword [ebp + 8]
push 0x800
push ecx
push eax
mov dword [ebp - 0x86c], esi
mov dword [ebp - 0x82c], 0
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jle 0x47d18b
sub esp, 0x18
lea eax, [ebp - 0x810]
mov ecx, esp
mov dword [ebp - 0x870], esp
push eax
call fcn.00415b20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x828]
push eax
mov byte [ebp - 4], 0
call fcn.0049d020
add esp, 0x1c
mov dword [ebp - 4], 2
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 3
mov ecx, esi
push 0
push eax
call fcn.0047bdc0
mov byte [ebp - 4], 2
mov dword [ebp - 0x82c], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x47d169
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
jmp 0x47d2eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
xor eax, eax
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0x80
mov dword [ebp - 0x85c], str.D:jenkinsworkspacemicroclient_buildcommonSystemInfo.cpp
mov dword [ebp - 0x858], 0x95
mov dword [ebp - 0x854], str.class_filesystem::path___cdecl_SystemInfo::GetProcessExePath_void__
mov word [ebp - 0x850], ax
mov dword [ebp - 0x84c], eax
mov byte [ebp - 0x848], al
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], 0x59aeec
mov dword [ebp - 0x83c], 2
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x868]
push dword [0x60833c]
push 1
push eax
call fcn.0048d730
mov edi, eax
add esp, 0xc
cmp byte [edi + 0x20], 0
je 0x47d2bf
mov ecx, dword [edi + 0x24]
add ecx, 0x58
push str.GetModuleFileNameExW_failed_with
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x47d282
mov ecx, dword [edi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [edi + 0x20], 0
je 0x47d2bf
mov ecx, dword [edi + 0x24]
push ebx
add ecx, 0x68
call fcn.0040e530
mov eax, dword [0x610e4c]
test dword [eax + 0x3c], 0x2000
jbe 0x47d2bf
mov ecx, dword [edi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x868]
call fcn.0040e200
push 0x5a77e4
mov ecx, esi
call fcn.004165b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x82c], 1
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.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x4841c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f508
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60940c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00484510
mov dword [ebp - 4], 0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x48], 0
mov byte [esi + 0x3e], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x4c], eax
mov eax, dword [0x610e34]
mov dword [esi + 0x40], eax
mov eax, dword [0x610e38]
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x484710
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x60940c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::_Facet_base.0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], vtable.std::locale::facet.0
mov dword [esi + 4], eax
mov dword [ebp - 4], 1
mov dword [esi], vtable.std::codecvt_base.0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
push 0x5a7c34
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.004064e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
call fcn.004e3b8e
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00407070
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4