joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4272a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [ebp + 8], 7
push ebx
push esi
mov esi, eax
je 0x4272cc
push 0x2bd
push str..._sshdes.c
push str._len__7___0
call fcn.004522d8
add esp, 0xc
mov eax, dword [edi + 0x84]
mov ebx, dword [edi + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x4273b5
dec eax
shr eax, 3
inc eax
mov dword [ebp - 8], eax
movzx ecx, byte [esi + 2]
xor eax, eax
mov ah, byte [esi]
xor edx, edx
mov dh, byte [esi + 4]
mov al, byte [esi + 1]
mov dl, byte [esi + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
mov dword [ebp + 8], eax
movzx eax, byte [esi + 6]
push dword [ebp + 8]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 7]
shl edx, 8
or edx, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x110]
mov dword [ebp - 0xc], edx
call fcn.00426542
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x88]
call fcn.00425b40
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00426542
xor ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
mov ecx, ebx
shr ecx, 0x18
mov byte [esi], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 3], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 7], al
mov eax, dword [ebp - 0xc]
mov byte [esi + 6], cl
add esp, 0x18
add esi, 8
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x4272ee
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret

Function at 0x429a7b
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
ret
Function at 0x429c94
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0x36
push eax
call fcn.00452c10
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x10], ecx
jle 0x429cd1
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, eax
cmp ecx, edi
jge 0x429cd1
lea eax, [ebp + ecx - 0x40]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x429cbe
mov ebx, dword [ebp + 8]
push ebx
call fcn.00429a7b
push edi
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.00429aa6
push edi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.00452c10
xor ecx, ecx
add esp, 0x1c
cmp dword [ebp + 0x10], ecx
jle 0x429d16
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, eax
cmp ecx, edi
jge 0x429d16
lea eax, [ebp + ecx - 0x40]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x429d03
lea edx, [ebx + 0x5c]
push edx
call fcn.00429a7b
push edi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00429aa6
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0044b1f3
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42b45c
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push 1
mov esi, 0x258
push esi
call fcn.0040bca9
mov edi, eax
call fcn.0042b26e
mov eax, dword [0x47b9b8]
push esi
lea eax, [eax + 0x47b508]
push eax
push edi
call fcn.004526b0
mov eax, dword [esp + 0x24]
mov dword [eax], esi
mov eax, dword [esp + 0x20]
add esp, 0x14
mov dword [eax], edi
pop edi
pop esi
jmp fcn.0042b26e

Function at 0x42c91d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x42c9cd
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
mov dword [ebp - 8], eax
jg 0x42c943
mov dword [ebp - 8], ecx
cmp eax, 0x20
jle 0x42c95f
push 0x3d7
push str..._sshrsa.c
push str.h__hlen___SSH2_KEX_MAX_HASH_LEN
call fcn.004522d8
add esp, 0xc
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 4], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 3], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 2], al
mov byte [ebp - 1], bl
call dword [esi]
push dword [ebp + 0xc]
mov edi, eax
push dword [ebp + 8]
push edi
call dword [esi + 4]
push 4
lea eax, [ebp - 4]
push eax
push edi
call dword [esi + 4]
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [esi + 8]
mov eax, dword [ebp - 8]
add esp, 0x20
inc ebx
test eax, eax
jle 0x42c9bc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edi, [ebp - 0x2c]
sub edi, eax
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x42c9b0
mov eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
add dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
jg 0x42c933
pop edi
pop ebx
leave
ret
Function at 0x42cc38
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x42d43c
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0x36
push eax
call fcn.00452c10
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x42d476
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, eax
cmp ecx, edi
jge 0x42d476
lea eax, [ebp + ecx - 0x40]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x42d464
push dword [ebp + 8]
call fcn.0042d21e
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.0042d237
push edi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.00452c10
add esp, 0x1c
xor ecx, ecx
test ebx, ebx
jle 0x42d4ba
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, eax
cmp ecx, edi
jge 0x42d4ba
lea eax, [ebp + ecx - 0x40]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x42d4a8
mov edx, dword [ebp + 8]
add edx, 0x6c
push edx
call fcn.0042d21e
push edi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0042d237
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0044b1f3
add esp, 0x18
pop edi
pop esi
leave
ret
Function at 0x42ecec
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x58], ecx
ret

Function at 0x42ef5d
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0x36
push eax
call fcn.00452c10
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x42ef97
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, eax
cmp ecx, edi
jge 0x42ef97
lea eax, [ebp + ecx - 0x40]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x42ef85
push dword [ebp + 8]
call fcn.0042ecec
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.0042ed1e
push edi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.00452c10
add esp, 0x1c
xor ecx, ecx
test ebx, ebx
jle 0x42efdb
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, eax
cmp ecx, edi
jge 0x42efdb
lea eax, [ebp + ecx - 0x40]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x42efc9
mov edx, dword [ebp + 8]
add edx, 0x60
push edx
call fcn.0042ecec
push edi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0042ed1e
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0044b1f3
add esp, 0x18
pop edi
pop esi
leave
ret
Function at 0x441872
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x44116d
push 0
push 0x6f
push dword [0x47e578]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret

Function at 0x441bc9
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x47e548], 0
jne 0x441bf9
push 0
push 0x440cd5
push dword [esp + 0xc]
push 0x6e
push dword [0x47e578]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 1
push eax
mov dword [0x47e548], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x47e548]
call dword [sym.imp.USER32.dll_SetActiveWindow]
ret

Function at 0x442444
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040c18e
push dword [0x45d510]
mov esi, eax
lea eax, [ebp - 0x64]
push str._.70s_Command_Line_Error
push eax
call fcn.00452ae8
add esp, 0x14
push 0x10
lea eax, [ebp - 0x64]
push eax
push esi
push dword [0x47e55c]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040bd73
pop ecx
push 1
call fcn.00454cba
int3

Function at 0x444181
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x444226
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
je 0x444225
push edi
push dword [esp + 0x1c]
push esi
call fcn.004526b0
add esp, 0xc
push ebp
mov byte [esi + edi], bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x20], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0x8002
jne 0x4441e6
push ebx
push 1
push edi
push dword [0x47e55c]
call esi
push dword [0x47e55c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44420d
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x444214
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x20], ebx
jne 0x444225
push ebx
push ebx
push edi
push dword [0x47e55c]
call esi
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x444a9b
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
xor eax, eax
push eax
push dword [0x47e55c]
push 0x444973
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret

Function at 0x444c48
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp dword [ebp + 0xc], 1
push esi
jne 0x444c85
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x47d18c]
js 0x444c71
cmp eax, 0x32
jl 0x444d62
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x47d18c], eax
jmp 0x444d4c
cmp dword [ebp + 0xc], 3
jne 0x444d0a
push 0x67
push dword [0x47e53c]
call fcn.00402570
pop ecx
pop ecx
push 0x20001
mov esi, eax
push 0
push dword [esi]
call dword [sym.imp.WINMM.dll_PlaySoundA]
test eax, eax
jne 0x444d4c
push dword [esi]
lea eax, [ebp - 0x54]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.00452ae8
push dword [0x45d510]
lea eax, [ebp - 0xb8]
push str._.70s_Sound_Error
push eax
call fcn.00452ae8
add esp, 0x18
push 0x30
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [0x47e55c]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x61
push dword [0x47e53c]
call fcn.0040266e
add esp, 0xc
jmp 0x444d4c
cmp dword [ebp + 0xc], 4
jne 0x444d4c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x47d190]
js 0x444d25
cmp eax, 0x32
jl 0x444d62
cmp dword [0x47e4b0], 2
jne 0x444d3d
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x444d45
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x47d190], eax
mov eax, dword [0x47e550]
cmp dword [eax + 0x134], 0
jne 0x444d62
push 2
call fcn.00444b79
pop ecx
pop esi
leave
ret

Function at 0x4450e7
Capabilities:
Terminate process

Disassembly:
call fcn.00442e00
push dword [0x47bdf4]
call fcn.0040bd73
mov eax, dword [0x47cca4]
test eax, eax
pop ecx
je 0x445108
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0044bbc8
push 2
push dword [0x47e53c]
call fcn.00402219
cmp eax, 3
pop ecx
pop ecx
jne 0x445126
call fcn.0044d4a5
call fcn.0044eecb
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [esp + 4]
call fcn.00454cba
int3
Function at 0x445c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push 2
push dword [0x47e53c]
call fcn.00402219
push eax
call fcn.0040f3c5
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
mov dword [0x47c134], eax
jne 0x445c8b
push dword [0x45d510]
push str._s_Internal_Error
call fcn.0040c314
pop ecx
pop ecx
push 0x30
mov esi, eax
push esi
push str.Unsupported_protocol_number_found
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040bd73
pop ecx
push 1
call fcn.004450e7
push edi
push 8
push dword [0x47e53c]
call fcn.00402219
pop ecx
pop ecx
push eax
push 7
push dword [0x47e53c]
call fcn.00402219
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push 1
push dword [0x47e53c]
call fcn.00402219
pop ecx
pop ecx
push eax
push ebx
push dword [0x47e53c]
call fcn.0040231d
pop ecx
pop ecx
push eax
push dword [0x47e53c]
mov eax, dword [0x47c134]
push 0x47be00
push ebx
call dword [eax]
push dword [0x47e544]
mov edi, eax
push dword [0x47be00]
mov eax, dword [0x47c134]
call dword [eax + 0x34]
add esp, 0x28
cmp edi, ebx
je 0x445d53
push dword [0x45d510]
push str._s_Error
call fcn.0040c314
pop ecx
pop ecx
push edi
push dword [0x47e53c]
mov esi, eax
call fcn.0040bdad
pop ecx
push eax
lea eax, [ebp - 0x404]
push str.Unable_to_open_connection_to_n_.800s_n_s
push eax
call fcn.00452ae8
add esp, 0x10
push 0x10
push esi
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040bd73
pop ecx
push ebx
call fcn.00454cba
push 0x5a
push dword [0x47e53c]
mov dword [0x47cc6c], ebx
mov dword [0x47ccac], ebx
call fcn.0040231d
pop ecx
mov esi, eax
cmp byte [esi], bl
pop ecx
pop edi
jne 0x445d98
push dword [0x45d510]
lea eax, [ebp - 0x404]
push dword [ebp - 4]
push str._s____s
push eax
call fcn.00452ae8
add esp, 0x10
lea esi, [ebp - 0x404]
push dword [ebp - 4]
call fcn.0040bd73
push esi
push ebx
call fcn.00443ebe
push esi
push ebx
call fcn.00443f1e
push dword [0x47be00]
mov eax, dword [0x47c134]
push dword [eax + 0x14]
push dword [0x47e550]
call fcn.00434caa
push ebx
push dword [0x47be00]
push dword [0x47c134]
push dword [0x47e550]
push dword [0x47e53c]
call fcn.00409147
add esp, 0x34
mov dword [0x47c148], eax
xor esi, esi
push ebx
push 0x40
push dword [esi + 0x47bdf8]
call dword [sym.imp.USER32.dll_DeleteMenu]
add esi, 4
cmp esi, 8
jb 0x445def
pop esi
mov dword [0x47cc98], ebx
pop ebx
leave
ret
Function at 0x44a0fb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1034
push 1
call fcn.0040bca9
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
pop ecx
pop ecx
xor edi, edi
push edi
push edi
mov esi, eax
mov eax, dword [ebp + 8]
push edi
push edi
mov dword [esi], edi
mov dword [esi + 4], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1030], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [0x47d1b4]
cmp eax, edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
jne 0x44a16b
push 0x41257f
call fcn.0043c084
pop ecx
mov dword [0x47d1b4], eax
push esi
push eax
call fcn.0043c5f8
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push edi
lea eax, [esi + 4]
push eax
push 0x449e0f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44a198
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push 0x1034
inc edi
push edi
call fcn.0040bca9
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
pop ecx
mov esi, eax
mov eax, dword [ebp + 8]
pop ecx
mov dword [esi], edi
xor edi, edi
push edi
push edi
push edi
push edi
mov dword [esi + 4], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040bbf8
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [0x47d1b4]
cmp eax, edi
pop ecx
mov dword [esi + 0x44], edi
jne 0x44a217
push 0x41257f
call fcn.0043c084
pop ecx
mov dword [0x47d1b4], eax
push esi
push eax
call fcn.0043c5f8
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push edi
lea eax, [esi + 4]
push eax
push 0x449f7d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44b234
Capabilities:
Get common file path

Disassembly:
cmp dword [0x47d9e0], 0
push esi
push edi
jne 0x44b272
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
sar eax, 1
add eax, 0x200
mov esi, eax
push 1
push esi
push dword [0x47d9e0]
call fcn.0040bd08
add esp, 0xc
push esi
push eax
mov dword [0x47d9e0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
jge 0x44b241
push 0
push dword [esp + 0x10]
push 0x473c54
push dword [0x47d9e0]
call fcn.0040c113
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040bd73
pop ecx
mov eax, edi
pop edi
pop esi
ret
Function at 0x44d63f
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
push 0x107
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x130]
push 0x47474c
push eax
call fcn.00453c80
pop ecx
pop ecx
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp esi, 0xffffffff
je 0x44d6b7
lea eax, [ebp - 0x270]
push 0x140
push eax
call ebx
pop ecx
pop ecx
lea eax, [ebp - 0x270]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44d68e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
call ebx
xor edi, edi
cmp dword [0x47e0d8], edi
pop ecx
pop ecx
jne 0x44d748
push str.advapi32.dll
call fcn.0044b234
cmp eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
mov dword [0x47e0d8], eax
je 0x44d702
push str.CryptAcquireContextA
push eax
call esi
mov dword [0x47e0d0], eax
mov eax, dword [0x47e0d8]
jmp 0x44d708
mov dword [0x47e0d0], edi
cmp eax, edi
je 0x44d720
push str.CryptGenRandom
push eax
call esi
mov dword [0x47e0cc], eax
mov eax, dword [0x47e0d8]
jmp 0x44d726
mov dword [0x47e0cc], edi
cmp eax, edi
je 0x44d73e
push str.CryptReleaseContext
push eax
call esi
mov dword [0x47e0d4], eax
mov eax, dword [0x47e0d8]
jmp 0x44d744
mov dword [0x47e0d4], edi
cmp eax, edi
je 0x44d79b
mov eax, dword [0x47e0d0]
cmp eax, edi
je 0x44d79b
cmp dword [0x47e0cc], edi
je 0x44d79b
cmp dword [0x47e0d4], edi
je 0x44d79b
push 0xf0000000
push 1
push edi
push edi
lea ecx, [ebp - 4]
push ecx
call eax
test eax, eax
je 0x44d79b
lea eax, [ebp - 0x28]
push eax
push 0x20
push dword [ebp - 4]
call dword [0x47e0cc]
test eax, eax
je 0x44d791
lea eax, [ebp - 0x28]
push 0x20
push eax
call ebx
pop ecx
pop ecx
push edi
push dword [ebp - 4]
call dword [0x47e0d4]
push ebx
call fcn.0044fa1b
pop ecx
call fcn.0044d4a5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d7ac
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 9
push str..pipe_
push esi
call fcn.00452030
add esp, 0xc
test eax, eax
mov edi, str...windowswinnpc.c
je 0x44d7e1
push 0x1e
push edi
push str.strncmp_pipename___.pipe___9___0
call fcn.004522d8
add esp, 0xc
lea eax, [esi + 9]
push 0x5c
push eax
call fcn.00452080
test eax, eax
pop ecx
pop ecx
je 0x44d802
push 0x1f
push edi
push str.strchr_pipename__9_____NULL
call fcn.004522d8
add esp, 0xc
xor eax, eax
push eax
mov ebx, 0x40000000
push ebx
push 3
push eax
push eax
mov edi, 0xc0000000
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x44d84e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x44d955
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x44d96c
xor eax, eax
push eax
push ebx
push 3
push eax
push eax
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x44d81e
call fcn.0044e339
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x44d893
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Unable_to_get_user_SID
call fcn.0040c314
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.0040889d
push esi
mov edi, eax
call fcn.0040bd73
add esp, 0x10
jmp 0x44d99c
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push eax
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 6
push esi
call dword [0x47e48c]
test eax, eax
je 0x44d8e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b2c5
push eax
push str.Unable_to_get_named_pipe_security_information:__s
call fcn.0040c314
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.0040889d
push edi
mov dword [ebp + 8], eax
call fcn.0040bd73
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d929
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44d935
push dword [ebp + 8]
push str.Owner_of_named_pipe__s_is_not_us
call fcn.0040c314
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.0040889d
push edi
mov dword [ebp + 8], eax
call fcn.0040bd73
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call fcn.0040bd73
mov eax, dword [ebp + 8]
pop ecx
jmp 0x44d99e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call fcn.0040bd73
push 1
push dword [ebp + 0xc]
push esi
push esi
call fcn.0044aabc
add esp, 0x14
jmp 0x44d99e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b2c5
push eax
push dword [ebp + 8]
push str.Unable_to_open_named_pipe__s:__s
jmp 0x44d981
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b2c5
push eax
push dword [ebp + 8]
push str.Error_waiting_for_named_pipe__s:__s
call fcn.0040c314
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.0040889d
push esi
mov edi, eax
call fcn.0040bd73
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret