joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41be70
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x214], 0x104
test esi, esi
je 0x41bf7d
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 4
push eax
push esi
lea eax, [ebp - 0x210]
push eax
push str.svcVersion
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41bee0
cmp ax, word [esi]
je 0x41bee0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e635
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x210]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41bf0d
cmp ax, word [esi]
jne 0x41becf
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00422860
xor eax, eax
add esp, 0xc
cmp ax, word [ebp - 0x20c]
jne 0x41bf7d
push eax
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp - 0x214]
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.0041b3c0
add esp, 4
neg eax
sbb eax, eax
neg eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e635
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0041e635
mov esp, ebp
pop ebp
ret

Function at 0x41c8d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
xor ebx, ebx
test ecx, ecx
jle 0x41c987
test cl, 3
jne 0x41c987
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 8]
xor edx, edx
lodsd eax, dword [esi]
cmp al, 0x41
jl 0x41c90a
cmp al, 0x5a
jg 0x41c90a
sub al, 0x41
jmp 0x41c95f
cmp al, 0x61
jl 0x41c916
cmp al, 0x7a
jg 0x41c916
sub al, 0x47
jmp 0x41c95f
cmp al, 0x30
jl 0x41c922
cmp al, 0x39
jg 0x41c922
sub al, 0xfc
jmp 0x41c95f
cmp al, 0x2b
jne 0x41c92a
mov al, 0x3e
jmp 0x41c95f
cmp al, 0x2f
jne 0x41c932
mov al, 0x3f
jmp 0x41c95f
cmp al, 0x3d
jne 0x41c987
cmp ecx, 2
jg 0x41c987
jl 0x41c94e
cmp al, ah
jne 0x41c987
test dl, 0xf
jne 0x41c987
shr edx, 4
mov dword [edi], edx
inc edi
jmp 0x41c982
test dl, 3
jne 0x41c987
shr edx, 2
xchg dh, dl
mov dword [edi], edx
add edi, 2
jmp 0x41c982
shl edx, 6
or dl, al
shr eax, 8
dec ecx
test ecx, 3
jne 0x41c8fe
shl edx, 8
bswap edx
mov dword [edi], edx
add edi, 3
test ecx, ecx
jne 0x41c8fb
mov ebx, edi
sub ebx, dword [ebp + 8]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cd30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push 0x4605b8
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x104
push eax
push 0x449b54
push str.SOFTWARE360Game5
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [0x4605b8], 0
jne 0x41cd96
push str.Home
push 0x448d64
push 0x104
push 0x4605b8
call fcn.00402374
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e635
mov esp, ebp
pop ebp
ret

Function at 0x41cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push 0x4603a8
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x104
push eax
push str.cpid
push str.SOFTWARE360Game5
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [0x4603a8], 0
jne 0x41ce16
push str.Home
push 0x448d64
push 0x104
push 0x4603a8
call fcn.00402374
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e635
mov esp, ebp
pop ebp
ret
Function at 0x41d390
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4516e0]
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 dword [0x461314], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp - 0x98]
push 0x40
push eax
call fcn.00420412
add esp, 0x14
xor eax, eax
mov word [ebp - 0x18], ax
xor edi, edi
lea eax, [ebp - 0x98]
push eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x9c], esi
test esi, esi
je 0x41d527
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41d42b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
call fcn.0041d220
test eax, eax
je 0x41d445
mov dword [0x461314], eax
jmp 0x41d50f
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x41d460
push 0x5c0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x41d478
push esi
mov ecx, edi
call fcn.0041d550
jmp 0x41d47a
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x461314], eax
test eax, eax
jne 0x41d4a2
push 0x44f7a4
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 1
push eax
call fcn.00422fcb
mov ecx, eax
mov edi, 1
call fcn.0041d2b0
test eax, eax
jne 0x41d50a
push 0x44f7a4
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 3
push eax
call fcn.00422fcb
call fcn.0041d2f0
mov esi, dword [ebp - 0x9c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [0x461314]
test ecx, ecx
je 0x41d4fb
push ecx
call fcn.0041d630
mov dword [0x461314], 0
jmp 0x41d502
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x41d508
ret
mov eax, dword [0x461314]
inc dword [eax + 0x5bc]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x41d527
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x461314
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.0041e635
mov esp, ebp
pop ebp
ret
Function at 0x41d550
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d2eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4516e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 8]
mov dword [edi], 0
push 0x5a0
lea eax, [esi + 8]
mov dword [edi + 4], 0xffffffff
push 0
push eax
mov dword [esi], 0
call fcn.00422860
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [ebp - 4], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x41d5e9
push 0x44f7a4
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
call fcn.00422fcb
mov eax, dword [ebp + 8]
mov dword [edi], 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 4
Function at 0x434562
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042544a
mov dword [ebp - 0x14], eax
cmp dword [0x45e5b0], esi
jne 0x434655
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4345e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x434735
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x434735
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434735
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45e5b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45e5b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45e5b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45e5c0], eax
test eax, eax
je 0x434652
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45e5bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43467a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43466d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43468f
push 4
pop eax
jmp 0x434737
cmp dword [ebp - 0x14], esi
je 0x43468f
push dword [0x45e5b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x434674
mov eax, dword [0x45e5bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4346ed
cmp dword [0x45e5c0], edi
je 0x4346ed
push eax
call ebx
push dword [0x45e5c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4346ed
test eax, eax
je 0x4346ed
call ecx
test eax, eax
je 0x4346e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4346e2
test byte [ebp - 8], 1
jne 0x4346ed
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43471d
mov eax, dword [0x45e5b4]
cmp eax, edi
je 0x43471a
push eax
call ebx
test eax, eax
je 0x43471a
call eax
mov esi, eax
test esi, esi
je 0x43471a
mov eax, dword [0x45e5b8]
cmp eax, edi
je 0x43471a
push eax
call ebx
test eax, eax
je 0x43471a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45e5b0]
call ebx
test eax, eax
je 0x434735
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x434737
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e635
mov esp, ebp
pop ebp
ret
Function at 0x438710
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.004388c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x4387dd
mov edx, dword [ebp - 4]
cmp edx, dword [0x4525d8]
jb 0x43875a
mov eax, dword [ebp - 4]
cmp eax, dword [0x4525dc]
ja 0x43875a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x43872a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00422860
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x438780
jmp 0x4387dd
cmp dword [ebp - 0x14], 0x10000
jne 0x4387c3
cmp dword [ebp - 0x18], 0x10000
jb 0x4387c3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4387b6
mov eax, dword [ebp - 8]
jmp 0x4387df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4387d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.004388c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43872a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4387f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.004388f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4388b5
mov edx, dword [ebp - 4]
cmp edx, dword [0x4525d8]
jb 0x438835
mov eax, dword [ebp - 4]
cmp eax, dword [0x4525dc]
ja 0x438835
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x438805
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00422860
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43885b
jmp 0x4388b5
cmp dword [ebp - 0x14], 0x10000
jne 0x43889e
cmp dword [ebp - 0x18], 0x10000
jb 0x43889e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x438891
mov eax, dword [ebp - 8]
jmp 0x4388b7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4388b0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.004388f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x438805
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x438920
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00438d10
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x45e5d0], 0
jne 0x43895d
cmp dword [0x45e5cc], 0
je 0x43895d
mov eax, dword [0x45e5cc]
mov dword [0x45e5d0], eax
cmp dword [0x45e5d0], 0
je 0x4389da
mov ecx, dword [0x45e5d0]
cmp dword [ecx + 8], 0
je 0x4389da
mov edx, dword [0x45e5d0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x4389da
mov ecx, dword [0x45e5d0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x4389da
mov eax, dword [0x45e5d0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x4389a9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x4389b0
xor eax, eax
jmp 0x438af9
mov ecx, dword [0x45e5d0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00422860
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x438af9
mov edx, dword [0x45e5cc]
mov dword [0x45e5d0], edx
jmp 0x4389f6
mov eax, dword [0x45e5d0]
mov ecx, dword [eax + 4]
mov dword [0x45e5d0], ecx
cmp dword [0x45e5d0], 0
je 0x438a36
cmp dword [0x45e5d0], 0
je 0x438a34
mov edx, dword [0x45e5d0]
cmp dword [edx + 8], 0
je 0x438a34
mov eax, dword [0x45e5d0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x438a34
mov edx, dword [0x45e5d0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x438a34
jmp 0x43898e
jmp 0x4389e8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00438b00
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438af7
mov eax, dword [ebp - 0x18]
mov dword [0x45e5d0], eax
mov ecx, dword [0x45e5d0]
mov dword [ecx], 0x52727464
mov edx, dword [0x45e5d0]
mov dword [edx + 8], 0
mov eax, dword [0x45e5d0]
mov ecx, dword [0x45e5cc]
mov dword [eax + 4], ecx
mov edx, dword [0x45e5d0]
mov dword [0x45e5cc], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x45e5d0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x438ac7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x438ae7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x438abe
mov eax, dword [0x45e5d0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x43898e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x439cf0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x45e5dc], eax
je 0x439d0e
mov eax, 0x10dd
jmp 0x439def
mov eax, dword [0x45e5ec]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x439d8c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x439d6a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x439d6a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00438da0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0041e630
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x439d16
mov dword [0x45e5ec], 0
call fcn.00439680
mov ecx, dword [0x45e5e8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x439dd9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041e630
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x439da4
mov dword [0x45e5e8], 0
mov dword [0x45e5dc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43a2d0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x45e5e0], 0
je 0x43a2e9
mov eax, dword [0x45e5e0]
jmp 0x43a389
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x43a2fb
xor eax, eax
jmp 0x43a389
push 8
call fcn.0041ed9c
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a351
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x43a33a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041e630
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x45e5e0], eax
mov dword [0x45e5e4], 0
mov eax, dword [ebp - 8]
jmp 0x43a389
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x43a36b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x43a31b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x45e5e8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x45e5e8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x403130
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.Printers
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0x104
mov edi, 0x10003030
push edi
push dword [0x10003020]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [0x10003036], ax
xor ebx, ebx
movzx ecx, word [eax + 0x10002040]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x1000118a
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x100011b5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push edi
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
push ebx
cmp eax, 0xffffffff
jne 0x10001208
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1001add0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
invalid
mov ah, 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1001ab47
jp 0x1001ad6e
cmp byte [esi], dh
lea eax, [ebp - 0x58]
push eax
call fcn.1001ab57
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1001ab0c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1001ae35
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1001ab47
mov bh, byte [edx]
pmulhuw mm1, qword [ebp - 0x17af3fbb]
invalid

Function at 0x1001af20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1001ab57
push eax
push esi
push dword [ebp + 8]
call fcn.1001ab0c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1001ab57
push eax
push esi
push dword [ebp + 8]
call fcn.1001ab0c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1001ab47
jb 0x1001b042
pushal
lds ecx, [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
cli
invalid