joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436fe4
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
call fcn.00436fd5
test al, al
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x43705d
lea eax, [ebp - 4]
push eax
push 8
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43705d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 0x12
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x437057
cmp dword [ebp - 0x14], 3
jne 0x437057
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x13
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
pop esi
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 5
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4370b6
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call sub.ADVAPI32.dll_CheckTokenMembership
test eax, eax
jne 0x4370ad
mov dword [ebp - 0x10], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 8], ebx
je 0x4370c0
push dword [ebp - 8]
call edi
xor eax, eax
cmp dword [ebp - 0x10], ebx
pop edi
setne al
pop ebx
leave
ret
Function at 0x437223
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x463582
call fcn.00452544
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
lea ecx, [ebp - 0x34]
mov edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0xf
call fcn.0041a911
cmp ebx, esi
mov dword [ebp - 4], esi
je 0x43737d
mov dword [ebp - 0x18], ebx
mov al, byte [edi]
mov byte [ebp + esi - 0x10], al
mov bl, byte [ebp - 0xf]
inc esi
inc edi
cmp esi, 3
jne 0x4372d0
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x11], al
xor esi, esi
cmp dword [0x48f9e0], 0x10
mov eax, dword [0x48f9cc]
jae 0x4372b4
mov eax, 0x48f9cc
movzx ecx, byte [ebp + esi - 0x14]
movsx eax, byte [ecx + eax]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.00437594
inc esi
cmp esi, 4
jl 0x4372a1
xor esi, esi
dec dword [ebp - 0x18]
jne 0x43725a
test esi, esi
je 0x43737d
cmp esi, 3
jge 0x4372fe
push 3
pop ecx
sub ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [ebp + esi - 0x10]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov bl, byte [ebp - 0xf]
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea edi, [esi + 1]
xor ebx, ebx
test edi, edi
mov byte [ebp - 0x11], al
jle 0x437365
cmp dword [0x48f9e0], 0x10
mov eax, dword [0x48f9cc]
jae 0x43734c
mov eax, 0x48f9cc
movzx ecx, byte [ebp + ebx - 0x14]
movsx eax, byte [ecx + eax]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.00437594
inc ebx
cmp ebx, edi
jl 0x437339
push 3
pop edi
cmp esi, edi
jge 0x43737d
sub edi, esi
push 0x3d
push 1
lea ecx, [ebp - 0x34]
call fcn.00437594
dec edi
jne 0x43736e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0041bf87
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0041b05c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43f99b
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x463ace
call fcn.00452544
sub esp, 0x74
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
push edi
mov dword [esi + 0xc], eax
jae 0x43f9f5
push str.Incorrect_key_length
lea ecx, [ebp - 0x48]
call fcn.0041be0b
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041be2d
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041be69
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x43fa00
mov dword [ebp + 0xc], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push dword [ebp + 8]
push eax
call fcn.0044f880
push 0x48
lea edi, [esi + 0x10]
push 0x47a750
push edi
call fcn.0044f880
push 0x1000
lea eax, [esi + 0x58]
push 0x47a798
push eax
call fcn.0044f880
add esp, 0x24
and dword [ebp + 0x10], 0
push 4
lea eax, [ebp - 0x80]
mov ecx, edi
mov dword [ebp - 0x14], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x43fa70
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x80]
dec dword [ebp - 0x10]
jne 0x43fa4f
mov edx, dword [ebp + 8]
xor dword [ecx], edx
push 4
pop ebx
add ecx, ebx
dec dword [ebp - 0x14]
jne 0x43fa48
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043fb07
mov eax, dword [ebp - 0x18]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x43fa8f
lea eax, [esi + 0x58]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ebx
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0043fb07
mov eax, dword [ebp - 0x18]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x43fac2
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x43fabb
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x43fd9a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x463ab4
call fcn.00452544
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, ecx
mov esi, edx
je 0x43feb6
test al, 7
jne 0x43feb6
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x43fe2b
cmp eax, 8
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [ebp - 0x18], ecx
jb 0x43fe1a
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0043fd11
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
xor dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0043fb07
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.0043fd65
dec dword [ebp + 0xc]
jne 0x43fde3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp + 0xc], 2
jne 0x43fe84
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x43fe1a
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043fb07
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0043fd11
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.0043fd65
dec ebx
jne 0x43fe47
jmp 0x43fe1a
cmp eax, 8
jb 0x43fe1a
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0043fd11
lea eax, [ebp - 0x14]
push eax
call fcn.0043fb07
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.0043fd65
dec ebx
jne 0x43fe8e
jmp 0x43fe1a
push str.Incorrect_buffer_length
lea ecx, [ebp - 0x4c]
call fcn.0041be0b
lea eax, [ebp - 0x4c]
push eax
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.0041be2d
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041be69
int3
Function at 0x43fee0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x463a9a
call fcn.00452544
sub esp, 0x48
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, ecx
mov esi, edx
je 0x440012
test al, 7
jne 0x440012
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x43ff80
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x43ff6f
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0043fd11
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043fc0c
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.0043fd65
dec dword [ebp + 0xc]
jne 0x43ff2c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp + 0xc], 2
jne 0x43ffe0
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x43ff6f
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0043fd11
lea eax, [ebp - 0x1c]
push eax
call fcn.0043fb07
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, eax
xor eax, dword [ebp - 0x1c]
mov ebx, ecx
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
call fcn.0043fd65
dec dword [ebp + 0xc]
jne 0x43ff9d
jmp 0x43ff6f
cmp eax, 8
jb 0x43ff6f
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0043fd11
lea eax, [ebp - 0x14]
push eax
call fcn.0043fc0c
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.0043fd65
dec ebx
jne 0x43ffea
jmp 0x43ff6f
push str.Incorrect_buffer_length
lea ecx, [ebp - 0x54]
call fcn.0041be0b
lea eax, [ebp - 0x54]
push eax
push 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041be2d
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041be69
int3
Function at 0x442073
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.CScriptSiteObj::InitializeScriptFrame_50
push 0x47535c
push 0
call fcn.00441366
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push str.JScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jge 0x4420b4
push eax
push str.__no_JScript_progid__hr0x_08x
push 1
call fcn.00441366
add esp, 0xc
xor eax, eax
leave
ret
push esi
lea esi, [edi + 0x10]
push esi
push 0x46db1c
push 1
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4420e4
push eax
push str.__no_JScript_object__hr0x_08x
push 1
call fcn.00441366
add esp, 0xc
xor eax, eax
jmp 0x442153
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
lea ebx, [edi + 0x14]
push ebx
push 0x46db0c
push eax
call dword [ecx]
test eax, eax
jge 0x44210d
push eax
push str.__no_parse_interface__hr0x_08x
push 1
call fcn.00441366
add esp, 0xc
xor eax, eax
jmp 0x442152
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x442122
push eax
push str.__cant_set_site__hr0x_08x
jmp 0x4420ff
mov ebx, dword [ebx]
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
test eax, eax
jge 0x442136
push eax
push str.__cant_init_parser__hr0x_08x
jmp 0x4420ff
cmp dword [edi + 0xc], 0
je 0x442145
mov ecx, dword [edi + 0xc]
push dword [esi]
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [esi]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x14]
xor eax, eax
inc eax
pop ebx
pop esi
leave
ret

Function at 0x448f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push 0xffffffffffffffff
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
push eax
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.0041ab6e
mov eax, dword [esp + 0x48]
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], eax
call fcn.00448940
cmp dword [esp + 0x28], 0x10
pop esi
jb 0x449014
mov edx, dword [esp + 0x10]
push edx
call fcn.0044f86e
add esp, 4
mov ecx, dword [esp + 0x2c]
xor al, al
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
Function at 0x44b9ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp eax, 8
push ebx
push esi
mov esi, edx
not esi
mov edx, 0xff
jb 0x44baa9
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [ecx]
sub eax, 8
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
inc ecx
dec edi
jne 0x44ba06
pop edi
test eax, eax
je 0x44bac3
xor ebx, ebx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46e0e0]
inc ecx
dec eax
jne 0x44baad
mov eax, esi
pop esi
not eax
pop ebx
ret

Function at 0x44c224
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
cmp byte [eax], 0
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 1
mov dword [ebp + 8], eax
je 0x44c24f
cmp byte [eax + 1], 0x3a
jne 0x44c24f
inc eax
inc eax
cmp byte [eax], 0x5c
jne 0x44c255
inc eax
push esi
jmp 0x44c2a4
cmp cl, 0x5c
je 0x44c275
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x44c258
xor esi, esi
test esi, esi
jne 0x44c279
cmp dword [ebp + 0xc], esi
jne 0x44c27c
xor eax, eax
inc eax
pop esi
leave
ret
mov esi, eax
jmp 0x44c266
mov byte [esi], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x44c29a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x44c2ac
test esi, esi
je 0x44c26f
mov byte [esi], 0x5c
lea eax, [esi + 1]
mov cl, byte [eax]
test cl, cl
jne 0x44c258
jmp 0x44c26f
test esi, esi
je 0x44c2b3
mov byte [esi], 0x5c
xor eax, eax
jmp 0x44c272
Function at 0x44d43e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
cmp dword [esi + 0x1c], 0xffffffff
jne 0x44d455
push 9
pop eax
jmp 0x44d559
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esi + 8], edi
test byte [ebx + 4], 0x10
je 0x44d484
inc edi
push edi
push dword [ebp + 8]
call fcn.0044c224
test eax, eax
pop ecx
pop ecx
jne 0x44d47d
mov dword [esi + 8], edi
jmp 0x44d54f
xor eax, eax
jmp 0x44d557
push edi
push dword [ebp + 8]
call fcn.0044c224
test eax, eax
pop ecx
pop ecx
je 0x44d4b1
push edi
push dword [ebx + 4]
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x44d4bd
mov dword [esi + 8], 1
jmp 0x44d54f
mov eax, esi
call fcn.0044bd69
cmp dword [esi + 8], edi
jne 0x44d546
cmp dword [esi + 0x28], edi
mov ebx, 0x4000
jne 0x44d524
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
cmp eax, edi
mov dword [esi + 0x28], eax
jne 0x44d524
mov dword [esi + 8], 2
jmp 0x44d524
push ebx
push dword [esi + 0x28]
push esi
call fcn.0044d30b
add esp, 0xc
cmp eax, edi
mov dword [ebp - 8], eax
je 0x44d529
push edi
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0x28]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44d51d
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
je 0x44d524
mov dword [esi + 8], 3
cmp dword [esi + 8], edi
je 0x44d4eb
cmp dword [esi + 8], edi
jne 0x44d546
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x18]
push ecx
lea ecx, [eax + 8]
push ecx
add eax, 0x10
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.0044bd40
mov eax, dword [esi + 8]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x44d900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
mov ebp, 0xf
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xc42c
sbb edi, edi
lea eax, [esp + 0x14]
and edi, eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x18]
add eax, 4
cmp edx, 8
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jb 0x44d962
mov eax, dword [eax]
push edi
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, eax
cmp esi, ebx
jne 0x44d9a8
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0041ab6e
cmp dword [esp + 0x30], 0x10
jb 0x44da3c
mov edx, dword [esp + 0x1c]
push edx
jmp 0x44da34
push esi
call fcn.0044ea28
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
add esp, 4
cmp ecx, 8
jb 0x44d9c7
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
jmp 0x44d9cb
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push edi
push ebx
push esi
push ebp
push 0xffffffffffffffff
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
je 0x44d9ee
dec esi
push esi
push ebp
lea ecx, [esp + 0x20]
call fcn.0041b851
push ebp
call fcn.0044fbbd
mov eax, dword [esp + 0x54]
add esp, 4
cmp eax, ebx
je 0x44da08
cmp dword [esp + 0x14], ebx
jne 0x44da08
mov byte [eax], 1
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0041ab6e
cmp dword [esp + 0x30], 0x10
jb 0x44da3c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044f86e
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x44dcd2
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
jne 0x44dcf4
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44dcf4
mov eax, dword [eax + 0x98]
test eax, eax
jne 0x44dcf8
xor eax, eax
jmp 0x44dcfa
add eax, ecx
ret 4
Function at 0x44e0f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push 0x104
lea eax, [ebp - 0x130]
push eax
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x44e11d
xor al, al
jmp 0x44e1fc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x44e1f0
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x44e1e7
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x44e1e7
push edi
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44e1e6
mov edi, dword [ebp + 8]
push edi
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 8]
call fcn.0044dd7a
test al, al
je 0x44e1d7
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x44e1d7
mov cx, word [edi + 0x10]
cmp word [eax + 0x10], cx
jne 0x44e1d7
movzx ecx, cx
push ecx
push eax
push edi
call fcn.0044f880
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044e002
mov byte [ebp - 1], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x10], bx
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 8

Function at 0x44e370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
push esi
push edi
xor eax, eax
push eax
mov dword [esp + 0xc], 0
mov ecx, 0x49
lea edi, [esp + 0x10]
push 0xa
rep stosd dword es:[edi], eax
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x44e3e8
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x44e3e1
mov edi, dword [ebp + 8]
lea esp, [esp]
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00452563
add esp, 8
test eax, eax
je 0x44e3f0
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x44e3c0
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret