joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e5e2
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0xbb8]
sub esp, 0xc38
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0xbb4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x59e]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x59c], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.0043b4c0
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x7a6]
push edi
push eax
mov word [ebp + 0x7a4], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x9ae]
push edi
push eax
mov word [ebp + 0x9ac], di
call fcn.0043b4c0
add esp, 0x48
push edi
push 0x2b
lea eax, [ebp + 0x7a4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x7a4]
push str._shiqiang_
push eax
call fcn.0043b664
pop ecx
pop ecx
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e6c8
push edi
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x7a4]
push eax
lea eax, [ebp + 0x9ac]
push eax
call fcn.0043b68e
lea eax, [ebp + 0x9ac]
push str.wnsoft.ini
push eax
call fcn.0043b664
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x59c]
push eax
mov ebx, 0x4dfbb4
push ebx
push str.OnlyIdentifier1
mov edi, str.Globals
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x394]
push eax
push ebx
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x18c]
push eax
push ebx
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.OnlyIdentifier4
push edi
call esi
lea eax, [ebp + 0x59c]
push eax
call fcn.0043b6aa
mov esi, eax
lea eax, [ebp + 0x394]
push eax
call fcn.0043b6aa
mov edi, eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0043b6aa
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0043b6aa
add esp, 0x10
test esi, esi
je 0x41e804
test edi, edi
je 0x41e804
test ebx, ebx
je 0x41e804
test eax, eax
je 0x41e804
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x59c]
push eax
push dword [esi]
call fcn.0043b68e
lea eax, [ebp + 0x394]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.0043b68e
lea eax, [ebp + 0x18c]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.0043b68e
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.0043b68e
xor eax, eax
add esp, 0x20
inc eax
jmp 0x41e806
xor eax, eax
mov ecx, dword [ebp + 0xbb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0xbb8
leave
ret
Function at 0x41e81e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9b8]
sub esp, 0xa38
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x9b4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x5a4], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.0043b4c0
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.0043b4c0
lea eax, [ebp + 0x7ac]
push 0x4c6de0
push eax
call fcn.0043b68e
add esp, 0x44
lea eax, [ebp + 0x7ac]
push 0x4c6cc4
push eax
call fcn.0043b664
lea eax, [ebp + 0x7ac]
push 0x4dfb94
push eax
call fcn.0043b664
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push edi
lea eax, [ebp + 0x7ac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e968
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x5a4]
push eax
push edi
push edi
push str.OnlyIdentifier1
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0x104
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x39c]
push eax
push edi
push edi
push str.OnlyIdentifier2
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push edi
push str.OnlyIdentifier3
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push edi
push edi
push str.OnlyIdentifier4
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x5a4]
push eax
call fcn.0043b6aa
mov esi, eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0043b6aa
mov ebx, eax
lea eax, [ebp - 0x74]
push eax
call fcn.0043b6aa
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x194]
push eax
call fcn.0043b6aa
add esp, 0x10
cmp esi, edi
je 0x41ea0b
cmp ebx, edi
je 0x41ea0b
cmp dword [ebp - 0x78], edi
je 0x41ea0b
cmp eax, edi
je 0x41ea0b
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x5a4]
push eax
push dword [esi]
call fcn.0043b68e
lea eax, [ebp + 0x39c]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.0043b68e
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.0043b68e
lea eax, [ebp + 0x194]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.0043b68e
xor eax, eax
add esp, 0x20
inc eax
jmp 0x41ea0d
xor eax, eax
mov ecx, dword [ebp + 0x9b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x9b8
leave
ret
Function at 0x41ea25
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x18a]
push edi
push eax
mov ebx, ecx
mov word [ebp + 0x188], di
call fcn.0043b4c0
push esi
lea eax, [ebp - 0x7e]
push edi
push eax
mov word [ebp - 0x80], di
call fcn.0043b4c0
add esp, 0x18
push edi
push 0x2b
lea eax, [ebp + 0x188]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x188]
push str._shiqiang_
push eax
call fcn.0043b664
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
jne 0x41eab8
push edi
lea eax, [ebp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0043b68e
lea eax, [ebp - 0x80]
push str.wnsoft.ini
push eax
call fcn.0043b664
add esp, 0x10
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
je 0x41eb3b
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
mov edi, str.Globals
push str.OnlyIdentifier1
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push edi
call esi
mov ecx, dword [ebp + 0x390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x394
leave
ret

Function at 0x41eb53
Capabilities:
Set registry value

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov edi, 0xf003f
push edi
xor ebp, ebp
push ebp
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ec13
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
push edi
push ebp
push ebp
push ebp
push str.ShiQiang
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ec13
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov ebx, 0x104
push ebx
push dword [esi]
push 1
push ebp
push str.OnlyIdentifier1
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x208
push eax
push 1
push ebp
push str.OnlyIdentifier2
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x410
push eax
push 1
push ebp
push str.OnlyIdentifier3
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x618
push eax
push 1
push ebp
push str.OnlyIdentifier4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [esp + 0x14]
call esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret
Function at 0x42037d
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x4202d7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
pop esi
je 0x4203ac
cmp eax, 0xffffffff
je 0x4203ac
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x425456
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [0x50b858], edi
mov esi, ecx
je 0x42559c
cmp dword [esi + 0x20], 8
jb 0x425479
mov eax, dword [esi + 0xc]
jmp 0x42547c
lea eax, [esi + 0xc]
push ebx
push 0x4caf3c
push eax
push dword [0x50585c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x42559b
push ebx
push dword [0x50585c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push dword [0x50585c]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x42
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
push dword [ebp - 8]
push eax
call fcn.0043b140
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push edi
push dword [ebp - 0xc]
call fcn.00423f82
cmp eax, edi
pop ecx
pop ecx
je 0x42559b
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x50b85c
call fcn.00425216
mov ebx, dword [ebp + 8]
push edi
mov dword [eax], esi
push dword [0x50585c]
push edi
push ebx
push edi
push edi
push edi
push SysReAllocString
push 0x80880000
push edi
push dword [0x505858]
push 0x80020
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 0x24], eax
call edi
test eax, 0x10000000
jne 0x425561
mov byte [esi + 0x2c], 1
jmp 0x425585
test eax, 0x21000000
je 0x42556e
mov byte [esi + 0x2c], 5
jmp 0x425585
push 8
push dword [esi + 0x24]
mov byte [esi + 0x2c], 7
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ecx, esi
call fcn.004248b6
push 0xfffffffffffffffc
push ebx
call edi
push 0x42528b
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x425c2b
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x300]
cmp eax, 0xffffffff
je 0x425c3f
cmp eax, 1
je 0x425c3f
or eax, 0xffffffff
ret
xor eax, eax
push eax
push eax
push ecx
push 0x4258f3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
Function at 0x425d93
Capabilities:
Create directory

Disassembly:
push ebp
sub esp, 0x450
lea ebp, [esp - 4]
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x450], eax
push 8
mov eax, 0x4c1d17
call fcn.0043c032
mov edi, dword [ebp + 0x45c]
xor ebx, ebx
cmp edi, ebx
jne 0x425dea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x450]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0x454
leave
ret 4
mov esi, 0xff
push esi
lea eax, [ebp + 0x351]
push ebx
push eax
mov byte [ebp + 0x350], bl
call fcn.0043b4c0
lea eax, [ebp + 0x350]
push edi
push eax
call fcn.0043c780
push edi
mov dword [ebp - 0x14], ebx
call fcn.0043b9a0
add esp, 0x18
mov edi, eax
call fcn.004318fd
push eax
lea ecx, [ebp - 0x10]
call fcn.00425c5b
push esi
lea eax, [ebp + 0x251]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x250], bl
call fcn.0043b4c0
lea eax, [ebp + edi + 0x350]
add esp, 0xc
cmp byte [eax - 1], 0x5c
je 0x425e56
mov byte [eax], 0x5c
cmp byte [ebp + 0x350], bl
je 0x425ece
mov esi, dword [ebp - 0x14]
mov al, byte [ebp + esi + 0x350]
cmp al, 0x3a
jne 0x425e70
inc esi
inc esi
jmp 0x425ec2
cmp al, 0x5c
jne 0x425ec1
push esi
lea eax, [ebp + 0x350]
push eax
lea eax, [ebp + 0x250]
push eax
call fcn.0043b140
add esp, 0xc
lea eax, [ebp + 0x250]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp + esi + 0x250], bl
call fcn.00425d49
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x425ec1
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x425ed1
inc esi
cmp byte [ebp + esi + 0x350], bl
mov dword [ebp - 0x14], esi
jne 0x425e5e
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040db19
mov eax, ebx
jmp 0x425dc5
Function at 0x426135
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.0043b4c0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4261ec
push 0x4c7198
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4261ec
push ebx
push esi
lea eax, [ebp - 0x78]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, esi
jbe 0x4261eb
push edi
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x4261ea
push edi
push ebx
push esi
lea eax, [ebp - 0x78]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4261e3
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4dfb94
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4261e3
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043b4a5
add ebp, 0x194
leave
ret

Function at 0x426204
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x2c0
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x23c], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push dword [ebp + 0x248]
mov byte [ebp - 0x79], bl
push ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x42628f
push esi
push 0x2b0
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
call fcn.0043b4c0
add esp, 0xc
mov esi, 0x208
push esi
push 0x2b4
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne byte [ebp - 0x79]
cmp byte [ebp - 0x79], bl
je 0x426285
push esi
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_ILFree]
pop esi
mov ecx, dword [ebp + 0x23c]
mov al, byte [ebp - 0x79]
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x240
leave
ret 4
Function at 0x42788e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
mov edi, dword [ebp + 0x1a0]
xor esi, esi
push 0x206
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0043b4c0
add esp, 0xc
push esi
push 0x19
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x42793e
mov eax, dword [ebp - 0x78]
push esi
lea edx, [ebp - 0x80]
push edx
push esi
lea edx, [ebp - 0x74]
push edx
push esi
push esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x42793e
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4ccc08
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x42793e
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push dword [ebp - 0x7c]
call fcn.0042772e
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b4a5
add ebp, 0x198
leave
ret

Function at 0x427955
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
mov edi, dword [ebp + 0x1a0]
xor esi, esi
push 0x206
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0043b4c0
add esp, 0xc
push esi
push 0x10
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x427a05
mov eax, dword [ebp - 0x78]
push esi
lea edx, [ebp - 0x80]
push edx
push esi
lea edx, [ebp - 0x74]
push edx
push esi
push esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x427a05
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4ccc08
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x427a05
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push dword [ebp - 0x7c]
call fcn.0042772e
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b4a5
add ebp, 0x198
leave
ret
Function at 0x428abe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
mov dword [ebp - 0x10], ecx
jle 0x428b56
lea ecx, [eax + 0x80]
add eax, 0x100
push ebx
dec edi
shr edi, 3
push 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
inc edi
pop ebx
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
mov dword [ebp - 0x18], ebx
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec dword [ebp - 0x18]
jne 0x428b07
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0043b140
mov ecx, dword [ebp - 0x1c]
push esi
mov eax, esi
call fcn.0042813e
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx + eax]
xor byte [esi + eax], cl
inc eax
cmp eax, ebx
jl 0x428b2f
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.0043b140
add dword [ebp - 0x10], ebx
add esp, 0xc
add esi, ebx
dec edi
jne 0x428afd
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b4a5
leave
ret

Function at 0x428b64
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
and dword [ebp - 4], 0
cmp word [eax + 6], 0
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
push esi
lea esi, [ecx + eax + 0x18]
jbe 0x428c07
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
mov eax, dword [esi]
test eax, eax
jne 0x428bc9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x428bf1
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.0043b4c0
jmp 0x428bee
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.0043b140
mov eax, dword [ebp - 0xc]
mov dword [esi - 8], eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jl 0x428b99
pop edi
pop ebx
pop esi
leave
ret
Function at 0x428f4a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x428f5d
xor eax, eax
leave
ret
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
je 0x428f72
xor eax, eax
jmp 0x429063
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
mov ebx, 0x2000
push ebx
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
test eax, eax
mov dword [ebp - 4], eax
jne 0x428fa5
push 4
push ebx
push dword [esi + 0x50]
push eax
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x429058
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp - 4]
push 4
xor ecx, ecx
push 0x1000
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0x10], ecx
push dword [esi + 0x50]
push eax
call edi
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call edi
mov ecx, dword [esi + 0x54]
mov edi, dword [ebp + 8]
add ecx, dword [edi + 0x3c]
mov dword [ebp - 8], eax
push ecx
push edi
push eax
call fcn.0043b140
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push ebx
push esi
mov dword [ebx], eax
push edi
mov dword [eax + 0x34], ecx
call fcn.00428b64
mov edi, dword [ebp - 4]
mov eax, edi
add esp, 0x18
sub eax, dword [esi + 0x34]
je 0x429027
push eax
mov eax, ebx
call fcn.00428cc8
pop ecx
call fcn.00428d41
test eax, eax
je 0x429051
push ebx
call fcn.00428c0a
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
pop ecx
je 0x42905f
add eax, edi
je 0x429051
push 0
xor esi, esi
inc esi
push esi
push edi
call eax
test eax, eax
jne 0x42905c
push ebx
call fcn.00428ed1
pop ecx
xor eax, eax
jmp 0x429061
mov dword [ebx + 0x10], esi
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret