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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1002aaee
pop dword [ebp - 0xc]
mov eax, 0xb8cad045
add eax, 0x5737daa9
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xfeb63fe0
add dword [ebp - 0x1c], 0x4f9c056b
mov dword [ebp - 0x18], 0x559bf263
add dword [ebp - 0x18], 0xdc9759e2
mov dword [ebp - 0x14], 0xe88f9045
add dword [ebp - 0x14], 0x63bcb3e9
mov dword [ebp - 0x10], 0x49c13b11
add dword [ebp - 0x10], 0xb63ec4ef
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x6f29d6f1
sub eax, 0x5f2716b9
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x52ec30ab
add dword [ebp - 0x1c], 0x218638ab
mov dword [ebp - 0x18], 0xc2dc02d4
sub dword [ebp - 0x18], 0x816fa15f
mov dword [ebp - 0x14], 0x58a54da6
sub dword [ebp - 0x14], 0xf535e13a
mov dword [ebp - 0x10], 0xe54cad31
add dword [ebp - 0x10], 0x1ab352cf
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x34bf0
push 0
call eax
mov ecx, 0x40f135b3
add ecx, 0xbf0f0b6a
mov ebx, eax
mov edx, 0xf9b212d6
add edx, 0x1651832a
add edx, dword [ebp - 0xc]
mov edi, 0x28f2bd03
sub edi, 0xd940e9c2
sub dword [ebp - 8], 0x40034b78
mov esi, dword [edx]
xor dword [ebp - 8], edx
sub esi, edi
mov dword [ebp - 4], 0x4cadc256
mov dword [ebx], esi
add ebx, 0xd58e6411
sub ebx, 0xd58e640d
add edx, 0x65f97616
add edx, 0x9a0689ee
loop 0x1002ac0b
add eax, 0xb81e5f97
sub eax, 0xb81d6850
xor ebx, ebx
add ebx, eax
add eax, 0x786337d3
add eax, 0x879cc832
mov ecx, 0x2de82ea2
sub ecx, 0x1de82ea2
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x407044
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407065
mov al, byte [esp]
jmp 0x407067
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a272
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40a2ad
Function at 0x4040a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4040b5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4040f4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4040f0
lea ebx, [ebx]
cmp esi, edx
jae 0x4040f4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4040e0
cmp esi, edx
jb 0x4040f9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x405760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498cec
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
call fcn.00407bb0
lea esi, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x10], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 8]
mov dword [esi], vtable.._AV___Func_impl_U___Callable_obj_V___Bind__0A_XV_lambda_320c982d01a2534b6e0c5595faaa683f______V_std___0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov byte [ebp - 4], 3
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004031c0
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x10], esi
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__1_.0
mov dword [ebp - 4], 6
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 7
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x28
mov esi, esp
sub esp, 8
push esp
call fcn.00410430
add esp, 4
mov ecx, esi
call fcn.004097f0
lea eax, [esi + 0xc]
push eax
call fcn.00410cb0
add esp, 4
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
lea eax, [ebp - 0x20]
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
push edi
mov byte [esi + 0x14], 0
push eax
mov word [esi + 0x28], 0
call fcn.00407200
add esp, 0x34
cmp ebx, eax
je 0x405865
push eax
mov ecx, ebx
call fcn.0040a9d0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x405891
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x405891
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x405891
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
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 0x4058b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498d4c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
call fcn.00407bb0
lea esi, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x10], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 8]
mov dword [esi], vtable.._AV___Func_impl_U___Callable_obj_V___Bind__0A_XV_lambda_320c982d01a2534b6e0c5595faaa683f______V_std___0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov byte [ebp - 4], 3
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004031c0
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x10], esi
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebp - 4], 6
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 7
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x28
mov esi, esp
sub esp, 8
push esp
call fcn.00410430
add esp, 4
mov ecx, esi
call fcn.004097f0
lea eax, [esi + 0xc]
push eax
call fcn.00410cb0
add esp, 4
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
lea eax, [ebp - 0x20]
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
push edi
mov byte [esi + 0x14], 0
push eax
mov word [esi + 0x28], 0
call fcn.004072b0
add esp, 0x34
cmp ebx, eax
je 0x4059b5
push eax
mov ecx, ebx
call fcn.0040a9d0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4059e1
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x4059e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x4059e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
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 0x414e50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a84c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.MyXML::CMyXMLNode.0
lea ecx, [edi + 0x10]
mov byte [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0041a0d0
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.0041a100
mov dword [edi + 0x18], eax
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 1
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.0041a130
mov dword [edi + 0x20], eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 2
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0041a190
mov dword [edi + 0x28], eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.0041a160
mov dword [edi + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416345
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x416380
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x416367
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x416378
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x416382
inc edi
add eax, 0x28
cmp edi, esi
jb 0x41635d
xor eax, eax
pop edi
pop esi
ret

Function at 0x4163f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc ecx
adc al, 0xf
mov bh, 0x71
push es
jl 0x41634f
jge 0x4163ce
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.00416305
xchg ecx, eax
insd dword es:[edi], dx
mov dh, 0xf3
push esi
push ebx
call fcn.00416345
pop ecx
test eax, eax
pop ecx
je 0x416498
push edi
push esi
push ebx
call fcn.00416385
add esp, 0xc
call fcn.00416305
push ds
sbb al, 1
cld
mov esi, dword [esi + 0x78]
test esi, esi
je 0x416498
mov ebx, dword [esi + edi + 0x24]
add esi, edi
add ebx, edi
call fcn.00416305
js 0x4163c2
add eax, 0x20468b2f
add eax, edi
mov edi, dword [esi + 0x1c]
add edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test ax, ax
je 0x4164a7
and dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x10], edi
Function at 0x421450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b516
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4c7050]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4214fc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4214fc
call fcn.004200c0
mov esi, eax
jmp 0x4215ec
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42151f
call fcn.004200c0
jmp 0x4215df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x42153d
call fcn.004200c0
jmp 0x4215df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42155e
mov esi, 0x8007000e
jmp 0x4215e1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0041fdd0
jmp 0x421588
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42159f
mov esi, 0x8007000e
jmp 0x4215e1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4215bf
call fcn.004200c0
jmp 0x4215df
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004212f0
mov esi, eax
test edi, edi
je 0x4215ec
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x421610
lea ecx, [ebp - 0x418]
call fcn.00420640
jmp 0x421610
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.00448352
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x422459
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422465
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x422460
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4224a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4224b5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4224c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4224c0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42af60
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push 0x20
push 2
push eax
mov word [ebp - 8], 0x500
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x42afd3
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
call fcn.00448352
mov esp, ebp
pop ebp
ret
Function at 0x42bd00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c322
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c7050]
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]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403660
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42bd62
push 0x80004005
call fcn.00403040
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x801c
push 0
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42bdc0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bda2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403ea0
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.00448352
mov esp, ebp
pop ebp
ret

Function at 0x42c2d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a4710]
movdqu xmm0, xmmword [0x4a4700]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x1f4
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
mov dword [ebp - 0x214], 0
movdqu xmmword [ebp - 0x20c], xmm0
call fcn.00452ac0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42c36c
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x42c36c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00401830
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00448352
mov esp, ebp
pop ebp
ret
Function at 0x42c3a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c4ca
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 1
call fcn.00403660
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42c403
push 0x80004005
call fcn.00403040
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42c45e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c440
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403ea0
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x42c480
push 0x104
mov ecx, esi
call fcn.00403910
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [esi]
test eax, eax
jne 0x42c492
xor ecx, ecx
jmp 0x42c4a4
push dword [eax - 8]
push eax
call fcn.00447828
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42c502
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x42c502
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov ecx, esi
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.00402db0
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c4e5
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448352
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403040
int3
Function at 0x42c510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c522
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c7050]
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]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403660
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42c572
push 0x80004005
call fcn.00403040
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x8025
push 0
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42c5d0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c5b2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403ea0
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.00448352
mov esp, ebp
pop ebp
ret

Function at 0x42c5f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c572
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c7050]
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]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403660
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42c652
push 0x80004005
call fcn.00403040
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0x104
mov dword [ebp - 0x21c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42c6ae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c690
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403ea0
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.00448352
mov esp, ebp
pop ebp
ret
Function at 0x42c7c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00403660
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42c810
push 0x80004005
call fcn.00403040
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 0x14], 0x104
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x105
mov dword [ebp - 4], 0
or ecx, eax
mov dword [ebp - 0x10], 1
jge 0x42c854
push 0x105
mov ecx, esi
call fcn.00403910
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [esi]
test eax, eax
je 0x42c876
push dword [eax - 8]
push eax
call fcn.00447828
add esp, 8
test eax, eax
js 0x42c89a
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42c89a
mov dword [ecx - 0xc], eax
xor edx, edx
mov ecx, dword [esi]
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403040
int3