joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce450
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x537fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov esi, edx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x20], esi
call eax
mov cl, 1
lea edx, [esp + 0x3c]
mov eax, edi
mov dword [esp + 0x80], ebx
call fcn.004cd990
mov byte [esp + 0x80], 1
cmp dword [edi + 0x40], ebx
je 0x4ce56c
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 1
nop
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
mov ecx, esi
mov dword [esp + 0x34], esi
call fcn.004014d0
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov byte [esp + 0xa0], 2
call fcn.00402480
push ebx
push 0xffffffffffffffff
mov esi, edi
mov byte [esp + 0xa4], 1
call fcn.004ceb50
mov edx, dword [edi + 0x40]
add edx, 4
push edx
lea ecx, [esp + 0x40]
call fcn.00402460
lea ecx, [esp + 0x3c]
call fcn.00401560
push 1
mov ecx, eax
lea esi, [esp + 0x24]
call fcn.004ccce0
add esp, 4
mov ecx, eax
call fcn.00401560
push eax
call ebp
mov ecx, esi
mov ebx, eax
call fcn.004b5cb0
cmp ebx, 0xffffffff
je 0x4ce568
test bl, 0x10
mov eax, 0
sete al
lea eax, [eax + eax - 1]
test eax, eax
je 0x4ce568
mov ebx, 2
jmp 0x4ce4d0
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
lea ecx, [esp + 0x3c]
call fcn.00401560
push eax
lea ecx, [esp + 0x5c]
call fcn.004c9450
test eax, eax
jne 0x4ce59e
lea eax, [esp + 0x3c]
push eax
jmp 0x4ce5f3
cmp dword [edi + 0x40], 0
jne 0x4ce5cf
lea ecx, [esp + 0x3c]
call fcn.00401560
mov ecx, eax
call fcn.004d03f0
test eax, eax
je 0x4ce5cf
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00401560
mov ecx, eax
call fcn.004d0660
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.00401560
lea ecx, [esp + 0x58]
mov edi, eax
call fcn.00401560
push eax
mov ecx, edi
call fcn.004d0980
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.004c4150
lea ecx, [esp + 0x3c]
call fcn.004b5cb0
lea ecx, [esp + 0x58]
call fcn.004b5cb0
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005007b7
add esp, 0x70
ret
Function at 0x4cfd60
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jbe 0x4cfdda
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
sar edx, 8
xor byte [esi + edi], dl
mov dl, byte [esi + edi]
mov eax, dword [ecx + 4]
movsx edx, dl
xor edx, eax
shr eax, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x543ec0]
xor edx, eax
movzx eax, dl
add eax, dword [ecx + 8]
mov dword [ecx + 4], edx
mov edx, dword [ecx + 0xc]
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 8], eax
shr eax, 0x18
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x543ec0]
inc esi
mov dword [ecx + 0xc], edx
cmp esi, ebp
jb 0x4cfd71
pop edi
pop esi
pop ebp
ret 8

Function at 0x4cfde0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push edi
xor edi, edi
cmp dword [esp + 0xc], edi
jbe 0x4cfe5c
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
movsx edx, byte [edi + ebx]
mov ebp, dword [ecx + 4]
xor edx, ebp
and edx, 0xff
mov edx, dword [edx*4 + 0x543ec0]
mov eax, dword [ecx + 0xc]
shr ebp, 8
xor edx, ebp
mov dword [ecx + 4], edx
movzx edx, dl
add edx, dword [ecx + 8]
mov esi, eax
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 8], edx
shr edx, 0x18
xor edx, eax
shr eax, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x543ec0]
and esi, 0xfffd
mov dword [ecx + 0xc], eax
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
sar eax, 8
xor byte [edi + ebx], al
inc edi
cmp edi, dword [esp + 0x18]
jb 0x4cfdf0
pop esi
pop ebp
pop ebx
pop edi
ret 8
Function at 0x4cff10
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x537896
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0xc8], eax
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
xor esi, esi
push eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.004c4970
mov dword [esp + 0xe4], esi
lea esi, [esp + 0x28]
lea eax, [esp + 0x44]
call fcn.004cfef0
mov ecx, esi
mov byte [esp + 0xe4], 1
call fcn.00401560
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
call esi
test eax, eax
jne 0x4d0029
lea eax, [esp + 0x28]
call fcn.004c49f0
lea ecx, [esp + 0x28]
call fcn.00401560
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call esi
test eax, eax
jne 0x4d0029
lea ecx, [esp + 0x28]
call fcn.004b5cb0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x44], vtable.CZipPathComponent.0
call fcn.004b5cb0
lea ecx, [esp + 0x9c]
call fcn.004b5cb0
lea ecx, [esp + 0x80]
call fcn.004b5cb0
lea ecx, [esp + 0x64]
call fcn.004b5cb0
lea ecx, [esp + 0x48]
call fcn.004b5cb0
xor eax, eax
xor edx, edx
jmp 0x4d007c
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x28]
call fcn.004b5cb0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x44], vtable.CZipPathComponent.0
call fcn.004b5cb0
lea ecx, [esp + 0x9c]
call fcn.004b5cb0
lea ecx, [esp + 0x80]
call fcn.004b5cb0
lea ecx, [esp + 0x64]
call fcn.004b5cb0
lea ecx, [esp + 0x48]
call fcn.004b5cb0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.005007b7
add esp, 0xdc
ret

Function at 0x4d00b0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x20
push ebx
push esi
push 1
lea esi, [esp + 0x10]
call fcn.004ccce0
add esp, 4
mov ecx, eax
call fcn.00401560
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov ecx, esi
setne bl
call fcn.004b5cb0
pop esi
mov al, bl
pop ebx
add esp, 0x20
ret

Function at 0x4d03f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x1c
push ebx
push esi
push 1
lea esi, [esp + 0xc]
call fcn.004ccce0
add esp, 4
mov ecx, eax
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
mov ebx, eax
call fcn.004b5cb0
cmp ebx, 0xffffffff
jne 0x4d0427
xor eax, eax
pop esi
pop ebx
add esp, 0x1c
ret
test bl, 0x10
mov eax, 0
sete al
pop esi
pop ebx
lea eax, [eax + eax - 1]
add esp, 0x1c
ret
Function at 0x4d0440
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53784b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004c4970
lea esi, [esp + 0x10]
lea eax, [esp + 0x2c]
mov dword [esp + 0xd0], 0
call fcn.004cfef0
mov ecx, eax
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
mov ecx, esi
sete bl
call fcn.004b5cb0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], vtable.CZipPathComponent.0
call fcn.004b5cb0
lea ecx, [esp + 0x84]
call fcn.004b5cb0
lea ecx, [esp + 0x68]
call fcn.004b5cb0
lea ecx, [esp + 0x4c]
call fcn.004b5cb0
lea ecx, [esp + 0x30]
call fcn.004b5cb0
mov al, bl
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005007b7
mov esp, ebp
pop ebp
ret
Function at 0x4d0980
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5377c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
push 0
lea esi, [esp + 0x34]
call fcn.004ccce0
add esp, 4
mov edi, eax
push 0
mov ecx, ebp
lea esi, [esp + 0x18]
mov dword [esp + 0x58], 0
call fcn.004ccce0
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00401560
mov ecx, esi
mov edi, eax
call fcn.00401560
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.004b5cb0
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call fcn.004b5cb0
test bl, bl
je 0x4d0a1c
push 0xdb
mov ecx, ebp
call fcn.004c4640
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret

Function at 0x4d0a40
Capabilities:
Create directory

Disassembly:
sub esp, 0x1c
push ebx
push esi
push 1
lea esi, [esp + 0xc]
call fcn.004ccce0
add esp, 4
mov ecx, eax
call fcn.00401560
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov ecx, esi
setne bl
call fcn.004b5cb0
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x4d40d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x538ea8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
mov edx, esi
call fcn.004d4420
mov ebx, 0xc
push ebx
mov dword [esp + 0x18], vtable.CZipAutoBuffer.0
call fcn.004e1be4
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
push 0
push ebp
mov dword [esp + 0x30], 0
call fcn.004cdc90
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
sar eax, 8
xor al, byte [ebx + ebp]
inc ebx
movsx edx, al
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x543ec0]
shr edi, 8
xor edx, edi
mov dword [esi + 4], edx
movzx edx, dl
add edx, dword [esi + 8]
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 8], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x543ec0]
cmp ebx, 0xc
mov dword [esi + 0xc], ecx
jl 0x4d4140
cmp byte [esp + 0x3c], 0
jne 0x4d41d6
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx + 0xc]
shr dl, 3
test dl, 1
je 0x4d41c4
xor edx, edx
cmp byte [ecx + 0x11], al
jmp 0x4d41c9
xor edx, edx
cmp byte [ecx + 0x17], al
sete dl
mov eax, edx
test eax, eax
jne 0x4d41d6
xor bl, bl
jmp 0x4d41d8
mov bl, 1
test ebp, ebp
je 0x4d41e5
push ebp
call fcn.004e1c13
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x4d4200
Capabilities:
Access peb ldr_data
Generate random numbers using the delphi lcg
Get process heap flags
Get process heap force flags
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x538ea8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0xc
mov dword [esp + 0x18], vtable.CZipAutoBuffer.0
call fcn.004e1be4
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0xc
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov edx, esi
mov dword [esp + 0x28], ebx
call fcn.004d4420
push ebx
call fcn.005038ec
push eax
call fcn.0050288b
add esp, 8
mov dword [esp + 0x30], ebx
lea ecx, [ecx]
call fcn.0050289d
mov ebx, eax
sar ebx, 6
test bl, bl
jne 0x4d4280
mov bl, al
mov edi, dword [esi + 4]
mov eax, dword [esi + 0xc]
movsx ecx, bl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543ec0]
shr edi, 8
xor ecx, edi
mov dword [esi + 4], ecx
movzx ecx, cl
add ecx, dword [esi + 8]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 8], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x543ec0]
and edx, 0xfffd
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
sar ecx, 8
xor cl, bl
mov byte [eax + ebp], cl
inc eax
cmp eax, 0xa
mov dword [esp + 0x30], eax
jl 0x4d4270
mov edx, dword [esp + 0x34]
movzx edi, word [edx + 0x10]
mov ecx, dword [esi + 4]
shl edi, 0x10
mov ebx, edi
sar ebx, 0x10
mov byte [esp + 0x30], bl
mov eax, dword [esi + 0xc]
movsx ebx, bl
xor ebx, ecx
shr ecx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x543ec0]
xor ebx, ecx
movzx ecx, bl
add ecx, dword [esi + 8]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 8], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
shr eax, 8
mov dword [esi + 4], ebx
xor eax, dword [ecx*4 + 0x543ec0]
and edx, 0xfffd
mov dword [esi + 0xc], eax
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
sar eax, 8
xor al, byte [esp + 0x30]
mov ebx, edi
mov byte [ebp + 0xa], al
mov ecx, dword [esi + 4]
sar ebx, 0x18
mov eax, dword [esi + 0xc]
movsx edi, bl
xor edi, ecx
shr ecx, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x543ec0]
xor edi, ecx
mov dword [esp + 0x30], edi
movzx ecx, byte [esp + 0x30]
add ecx, dword [esi + 8]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 8], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
and edx, 0xfffd
shr eax, 8
or edx, 2
mov dword [esi + 4], edi
xor eax, dword [ecx*4 + 0x543ec0]
mov ecx, edx
xor ecx, 1
imul ecx, edx
push 0
sar ecx, 8
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
push 0xc
xor cl, bl
push ebp
mov byte [ebp + 0xb], cl
call fcn.004ceee0
mov eax, dword [esp + 0x34]
add dword [eax + 0x18], 0xc
push ebp
call fcn.004e1c13
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x4d4420
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov dword [edx + 4], 0x12345678
mov dword [edx + 8], 0x23456789
mov dword [edx + 0xc], 0x34567890
cmp dword [edi + 8], esi
jbe 0x4d4491
lea ecx, [ecx]
mov ecx, dword [edi + 4]
movsx ecx, byte [ecx + esi]
mov eax, dword [edx + 4]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543ec0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [edx + 0xc]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 8], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x543ec0]
inc esi
mov dword [edx + 0xc], ecx
cmp esi, dword [edi + 8]
jb 0x4d4440
pop esi
ret
Function at 0x4dd5a0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x5344b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], esi
call fcn.00420f50
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, esi
je 0x4dd6b3
push ebx
push 2
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x20]
mov edi, eax
push edi
push ebx
push ecx
lea ecx, [esp + 0x4c]
call fcn.00420f50
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x557828
push edi
call sub.VERSION.dll_VerQueryValueW
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x18]
mov cx, word [eax + 0x16]
mov dx, word [eax + 0x14]
mov di, word [eax + 0x12]
mov bx, word [eax + 0x10]
mov word [esp + 0x28], cx
lea ecx, [esp + 0x14]
mov word [esp + 0x2a], dx
call fcn.00402c10
movzx eax, word [esp + 0x2a]
movzx ecx, word [esp + 0x28]
push eax
push ecx
movzx edx, bx
push edx
movzx eax, di
push eax
lea ecx, [esp + 0x24]
push 0x558328
push ecx
mov byte [esp + 0x4c], 1
call fcn.00404a60
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00402c30
lea ecx, [esp + 0x14]
call fcn.00402cd0
jmp 0x4dd6bf
push 0x555dbc
mov ecx, ebp
call fcn.00402c50
lea ecx, [esp + 0x40]
call fcn.00402cd0
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4deda0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x534438
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push str.Software_
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 1
call fcn.00402c50
push str.Youxun
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.00402dd0
lea ecx, [esp + 0x30]
call fcn.00403460
test al, al
jne 0x4dee16
push 0x557828
lea ecx, [esp + 0xc]
call fcn.00402dd0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.00402db0
lea ecx, [esp + 0x18]
call fcn.00405370
push 0xf003f
lea ecx, [esp + 0xc]
call fcn.00420f50
push eax
push SysReAllocStringLen
lea ecx, [esp + 0x24]
call fcn.00405410
test eax, eax
jne 0x4deeb6
lea ecx, [esp + 0x34]
call fcn.00420f50
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
mov esi, 4
push edx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4deeb6
cmp dword [esp + 0x10], esi
jne 0x4deeb6
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.004053a0
lea ecx, [esp + 8]
call fcn.00402cd0
lea ecx, [esp + 0x30]
call fcn.00402cd0
lea ecx, [esp + 0x34]
call fcn.00402cd0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 0xc
lea ecx, [esp + 0x18]
call fcn.004053a0
lea ecx, [esp + 8]
call fcn.00402cd0
lea ecx, [esp + 0x30]
call fcn.00402cd0
lea ecx, [esp + 0x34]
call fcn.00402cd0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 0xc
Function at 0x4dfbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x537160
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov dword [esp + 0xc], 0
lea eax, [esi + 0x30]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00402c30
push ecx
lea edx, [esi + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x28], 0
call fcn.00402c30
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004defb0
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 1
call fcn.00403460
test al, al
je 0x4dfc75
mov dword [esi + 4], 0
lea ecx, [esp + 8]
call fcn.00420f50
mov esi, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00401500
lea ecx, [esp + 8]
call fcn.00402cd0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 0x10
Function at 0x4e05f0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x288
mov dword [esp + 8], 0x288
call fcn.004e1be4
mov esi, eax
add esp, 4
test esi, esi
je 0x4e06c4
push 0x288
push 0
push esi
call fcn.00506bf0
add esp, 0xc
lea eax, [esp + 4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4e063f
push esi
call fcn.004e1c13
add esp, 4
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4e06bb
mov eax, esi
mov ecx, 6
cmp dword [eax + 0x1a0], ecx
jne 0x4e0665
cmp dword [eax + 0x190], ecx
je 0x4e0679
mov eax, dword [eax]
test eax, eax
jne 0x4e0655
push esi
call fcn.004e1c13
add esp, 4
pop esi
pop ecx
ret 4
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.00404a60
add esp, 0x20
push esi
call fcn.004e1c13
add esp, 4
pop esi
pop ecx
ret 4

Function at 0x4e06d0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x170
mov dword [esp + 8], 0x170
call fcn.004e1be4
mov esi, eax
add esp, 4
test esi, esi
je 0x4e0794
push 0x170
push 0
push esi
call fcn.00506bf0
add esp, 0xc
lea eax, [esp + 4]
push eax
push esi
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x4e0725
push esi
call fcn.004e1c13
add esp, 4
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push esi
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x4e078b
mov eax, esi
mov ecx, 6
cmp dword [eax + 0x34], ecx
je 0x4e075b
mov eax, dword [eax + 8]
test eax, eax
jne 0x4e0741
push esi
call fcn.004e1c13
add esp, 4
pop esi
pop ecx
ret 4
movzx edx, byte [eax + 0x31]
movzx ecx, byte [eax + 0x30]
push edx
movzx edx, byte [eax + 0x2f]
push ecx
movzx ecx, byte [eax + 0x2e]
push edx
movzx edx, byte [eax + 0x2d]
movzx eax, byte [eax + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str._02X__02X__02X__02X__02X__02X
push ecx
call fcn.00404a60
add esp, 0x20
push esi
call fcn.004e1c13
add esp, 4
pop esi
pop ecx
ret 4