joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48b4c0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040aaa8
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48b45c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x114]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 0x114]
mov edx, 0x48b4d8
call fcn.00405974
je 0x48b495
mov eax, esi
mov ecx, 0x48b4d8
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x48b49f
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b4c7
lea eax, [ebp - 0x114]
call fcn.00405530
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x48b61c
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x48b727
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x320
call fcn.00402f00
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x48b660
push 1
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 8]
push eax
push 0x320
push edi
push 3
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x48b680
push 1
call sub.kernel32.dll_Sleep_1
mov eax, 0xff
call fcn.00402f00
mov ebx, eax
mov eax, 0xff
call fcn.00402f00
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x48b6fb
inc esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4 + 4]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0
call sub.advapi32.dll_LookupPrivilegeDisplayNameA
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00405728
mov eax, dword [ebp - 0x20]
mov dl, 1
call fcn.0048b4dc
inc dword [ebp - 0xc]
dec esi
jne 0x48b6a8
mov eax, ebx
call fcn.00402f1c
mov eax, dword [ebp - 0x10]
call fcn.00402f1c
mov eax, edi
call fcn.00402f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b72e
lea eax, [ebp - 0x20]
call fcn.00405530
ret
Function at 0x48cc4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48cd0d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48cceb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403af4
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403af4
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.0040a928
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x40
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48ccf7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cd14
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x48ce20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48cf20
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48cee3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x105
lea eax, [ebp - 0x115]
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.004057a0
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
call fcn.00409b7c
cmp dword [ebp - 0x11c], 0
jne 0x48cecb
mov eax, dword [ebp - 8]
mov edx, 0x48cf38
call fcn.00405584
jmp 0x48ced9
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040aaa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48cefa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cf27
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.00405554
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x48cf50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48d02e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48d001
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x104
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48cff7
test bl, bl
jne 0x48cfc6
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00409e5c
jmp 0x48cff7
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, word [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x48d044
call fcn.0040af98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d035
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x48d05c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48d103
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48d0d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x115]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48d0cc
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040aaa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d0ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d10a
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x48d4a8
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x48d4d4
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040aaa8
jmp 0x48d4db
mov eax, ebx
call fcn.00405530
add esp, 0x104
pop ebx
ret

Function at 0x48d4e4
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48d510
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040aaa8
jmp 0x48d517
mov eax, ebx
call fcn.00405530
add esp, 0x104
pop ebx
ret
Function at 0x48d520
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push 5
lea eax, [esp + 4]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete al
test al, al
je 0x48d54e
mov eax, ebx
mov edx, esp
call fcn.00405728
jmp 0x48d55a
mov eax, ebx
mov edx, 0x48d568
call fcn.00405584
pop ecx
pop edx
pop ebx
ret

Function at 0x48dcd8
Capabilities:
Identify system language via api

Disassembly:
push ebx
add esp, 0xffffff98
mov ebx, eax
call sub.kernel32.dll_GetUserDefaultLangID
push 0x64
lea edx, [esp + 4]
push edx
movzx eax, ax
push eax
call sub.kernel32.dll_VerLanguageNameA
mov eax, ebx
mov edx, esp
mov ecx, 0x65
call fcn.004057a0
add esp, 0x68
pop ebx
ret

Function at 0x48e340
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e3e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48e3b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x48e3f8
call fcn.0040af98
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, 0x48e404
call fcn.00405864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e3cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e3e8
lea eax, [ebp - 0x28]
call fcn.00405530
ret

Function at 0x48e414
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48e4a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xa
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
push 0
call sub.kernel32.dll_LoadResource
mov esi, eax
push ebx
push 0
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push esi
call sub.kernel32.dll_LockResource
lea edx, [ebp - 8]
mov ecx, ebx
xchg edx, eax
call fcn.00405620
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405584
push esi
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e4ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459004]
jne 0x401010
repz ret
jmp fcn.0040131a

Function at 0x4053a5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401492
and dword [ebp - 4], 0
cmp dword [0x45c0d0], 0
mov ebx, eax
jne 0x405456
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405507
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405507
push eax
call fcn.00401420
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45c0d0], eax
call esi
push eax
call fcn.00401420
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45c0d4], eax
call esi
push eax
call fcn.00401420
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45c0d8], eax
call esi
push eax
call fcn.00401420
pop ecx
mov dword [0x45c0e0], eax
test eax, eax
je 0x405456
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00401420
pop ecx
mov dword [0x45c0dc], eax
mov eax, dword [0x45c0dc]
cmp eax, ebx
je 0x4054ae
cmp dword [0x45c0e0], ebx
je 0x4054ae
push eax
call fcn.0040149b
push dword [0x45c0e0]
mov esi, eax
call fcn.0040149b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4054ae
test edi, edi
je 0x4054ae
call esi
test eax, eax
je 0x4054a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4054a5
test byte [ebp - 0xc], 1
jne 0x4054ae
or dword [ebp + 0x10], 0x200000
jmp 0x4054e7
mov eax, dword [0x45c0d4]
cmp eax, ebx
je 0x4054e7
push eax
call fcn.0040149b
pop ecx
test eax, eax
je 0x4054e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4054e7
mov eax, dword [0x45c0d8]
cmp eax, ebx
je 0x4054e7
push eax
call fcn.0040149b
pop ecx
test eax, eax
je 0x4054e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45c0d0]
call fcn.0040149b
pop ecx
test eax, eax
je 0x405507
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405509
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x452830
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x459004]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x82ee34], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x82ec78], eax
jne 0x452871
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401006
add esp, 0x404
ret
Function at 0x4528a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
cmp ebp, 0x182
jne 0x4528c7
push 0
push 0
push 0
push str.lamarogomukowotebijujiloxiho
push str.yenosepacocatu
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
xor edi, edi
test ebp, ebp
jle 0x452907
push esi
mov edi, edi
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], 0
call fcn.00452890
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov al, byte [esp + 0x14]
xor byte [edi + ebx], al
inc edi
cmp edi, ebp
jl 0x4528d0
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x452922
mov dword [0x82ef68], 0xa62e7790
mov dword [0x82ef6c], 0xffffffff
pop ecx
ret

Function at 0x452930
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x459004]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x459c60]
push ebx
mov ebx, dword [0x82ec7c]
push esi
mov esi, dword [0x82ee34]
push eax
call fcn.00452830
add esp, 4
cmp dword [0x82ee34], 0x2f
jne 0x45296f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call fcn.004528a0
add esp, 4
cmp dword [0x82ee34], 0x568
pop esi
pop ebx
jne 0x452995
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret
Function at 0x10001040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x10013004]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov byte [ebp - 0x44], 0
movups xmmword [ebp - 0x43], xmm0
xor ecx, ecx
mov dword [ebp - 0x2b], 0
movq qword [ebp - 0x33], xmm0
mov word [ebp - 0x27], 0
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x158], 0x87bdad80
mov dword [ebp - 0x154], 0xa2b8a8a4
mov word [ebp - 0x150], 0xaa
lea eax, [ecx - 0x39]
xor byte [ebp + ecx - 0x158], al
inc ecx
cmp ecx, 9
jb 0x10001093
lea eax, [ebp - 0x158]
mov byte [ebp - 0x14f], 0
push eax
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.100045a7
add esp, 0xc
mov dword [ebp - 0x158], 0xafa5a181
mov dword [ebp - 0x154], 0xaba0ad85
xor ecx, ecx
mov word [ebp - 0x150], 0x8e
nop
lea eax, [ecx - 0x39]
xor byte [ebp + ecx - 0x158], al
inc ecx
cmp ecx, 9
jb 0x100010e0
lea eax, [ebp - 0x158]
mov byte [ebp - 0x14f], 0
push eax
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.10004601
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
add esp, 0xc
movq qword [ebp - 0x13], xmm0
movups xmmword [ebp - 0x23], xmm0
mov dword [ebp - 0xb], 0
xor ecx, ecx
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x158], 0xa4bbad8c
mov dword [ebp - 0x154], 0xfcfe80ae
mov dword [ebp - 0x150], 0xbebdb4e1
mov byte [ebp - 0x14c], 0
lea eax, [ecx - 0x39]
xor byte [ebp + ecx - 0x158], al
inc ecx
cmp ecx, 0xc
jb 0x10001154
lea eax, [ebp - 0x158]
mov byte [ebp - 0x14c], 0
push eax
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.100045a7
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000119c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10001215
push esi
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10001214
push 0x104
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.10003670
add esp, 0xc
lea eax, [ebp - 0x148]
push 0x104
push eax
push 0
call esi
mov dword [ebp - 0x15c], 0xada6b2
xor ecx, ecx
lea eax, [ecx - 0x39]
xor byte [ebp + ecx - 0x15c], al
inc ecx
cmp ecx, 3
jb 0x100011e0
lea eax, [ebp - 0x15c]
mov byte [ebp - 0x159], 0
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10001214
call fcn.10002540
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100025ec
mov esp, ebp
pop ebp
ret
Function at 0x43213e
Capabilities:
Encode data using xor

Disassembly:
ret 0xf87
dec eax
shl bl, cl
je 0x4320ee
pop eax
pop ebp
mov esi, dword [esi + 0x14]
pop esi
push esp
stosd dword es:[edi], eax
movsd dword es:[edi], dword [esi]
dec ebp
and eax, 0x78db9cc2
das
invalid

Function at 0x461ea6
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x2f316243
jge 0x461ee3
mov ah, 0x11
arpl cx, si
cmp esi, 0x29b71b75
out dx, al
mov al, 0xb3
mov dh, 0xf0
ja 0x461f2c
jns fcn.00461f3e
invalid

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

Disassembly:
pop ecx
jmp 0x4acefb
jmp loc.005a6634
je 0x4aceb5
cmp ebp, esi
sbb edx, dword [edi]
adc byte [eax + ecx*4], 0xa4
add cl, byte [edx + 0x1ee5eb41]
mov ecx, 0x976c0881
mov eax, dword [0x17a95e6f]
pop esi
sar byte [ebx + 0x39], 0x91
mov ch, 0x71
mov bh, 0xe1

Function at 0x4c6f71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ce378
cmp edx, dword [eax]
je 0x4c6f93
add eax, 8
inc ecx
cmp eax, 0x4ce408
jl 0x4c6f84
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ce378]
jne 0x4c70c1
mov eax, dword [0x4d3da0]
cmp eax, 1
je 0x4c709b
test eax, eax
jne 0x4c6fc4
cmp dword [0x4ce2a4], 1
je 0x4c709b
cmp edx, 0xfc
je 0x4c70c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6ffb
lea eax, [ebp - 0x1a4]
push 0x4cc6c0
push eax
call fcn.004c7950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c703e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cc6bc
push edi
call fcn.004c9cb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cc6a0
push eax
call fcn.004c7950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7960
lea eax, [ebp - 0xa0]
push 0x4cc69c
push eax
call fcn.004c7960
push dword [esi + 0x4ce37c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7960
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cc674
push eax
call fcn.004c9c24
add esp, 0x2c
pop edi
jmp 0x4c70c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4ce37c]
push 0
push eax
push dword [esi]
call fcn.004c7de0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x15840b95
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x66dc5ca7
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret