joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f173
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, fcn.1001f46b
test eax, eax
je 0x1001f1fa
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x1001f1f1
cmp esi, 0xffffffff
je 0x1001f1f1
push 0x228
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 0x22c
call fcn.1003b960
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001f1ed
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.1001f46b
test eax, eax
je 0x1001f1f1
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001f1d5
lea eax, [ebp - 0x80]
call fcn.1001e558
pop esi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.10037693
add ebp, 0x1b4
leave
ret

Function at 0x1001f20f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1001f222
xor eax, eax
jmp 0x1001f27b
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.1003b960
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.1001e754
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001f273
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001e781
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1001f35c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1001f375
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.1001f281
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1001f173
cmp dword [ebp - 0x14], esi
je 0x1001f36c
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1001f3ab
cmp eax, 0xffffffff
jne 0x1001f3b7
lea eax, [ebp - 0x10]
call fcn.1001e558
mov eax, esi
jmp 0x1001f36e
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001f3ab
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001f461
mov edi, dword [ebp + 8]
call fcn.1001e754
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.1003b960
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x3c], ax
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x40], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1001f450
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
call ebx
push dword [ebp + 8]
call fcn.1001e781
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1001f3ab
Function at 0x1001fba7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005242a
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.100434a0
mov eax, dword [0x10067060]
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 eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.1001fdbb
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.1001e56e
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1001fcc2
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.1003b960
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x1001fcac
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10007de0
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.1001fdeb
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], 1
call fcn.10007e50
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x1001fc58
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1001fce0
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
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.10037693
leave
ret

Function at 0x1001fd00
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1001fd6e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1003b960
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1001fd6e
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x1001fd7d
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10037693
add ebp, 0x190
leave
ret 4
Function at 0x1002121a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.100434a0
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.100212f9
test al, al
je 0x100212ec
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push 0x10059f0c
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10059c0c
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.10021146
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1002128b
mov eax, dword [eax + 4]
jmp 0x1002128e
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea esi, [ebp - 0x2028]
call fcn.10007e50
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10037693
leave
ret
Function at 0x10021863
Capabilities:
Initialize winsock library
Send data
Send data on socket

Disassembly:
push 0x220
mov eax, 0x100545c5
call fcn.1003899a
mov eax, dword [ebp + 8]
mov esi, ecx
call fcn.1002183a
push esi
lea ebx, [ebp - 0x64]
mov dword [ebp - 0x44], eax
call fcn.100258bb
xor ebx, ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.100213ca
test eax, eax
jne 0x100218af
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x64]
call fcn.10025a4f
mov eax, ebx
call fcn.10038a1d
ret 4
cmp dword [ebp - 0x44], ebx
je 0x10021947
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x48], esp
push ebx
call fcn.100257a0
lea eax, [ebp - 0x64]
push eax
mov edx, str.__transferonwer
mov byte [ebp - 4], 1
call fcn.1002698a
mov edi, eax
mov byte [ebp - 4], bl
call fcn.10025ad2
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x80]
call fcn.10007de0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 2
call fcn.100014a0
sub esp, 0x10
mov byte [ebp - 4], 3
mov edx, eax
mov esi, esp
mov dword [ebp - 0x48], esp
call fcn.1002587f
lea eax, [ebp - 0x64]
push eax
mov edx, str.__attachment
mov byte [ebp - 4], 4
call fcn.1002698a
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10025ad2
lea ecx, [ebp - 0x9c]
call fcn.10007db0
lea esi, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.10007e50
cmp dword [0x10069a20], ebx
je 0x10021997
push 0x190
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.1003b960
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push ebx
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [0x10069a24], eax
cmp eax, 0xffffffff
jne 0x10021991
xor ebx, ebx
inc ebx
jmp 0x10021899
mov dword [0x10069a20], ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.10026df0
cmp dword [ebp - 0x28], 0x10
push 2
pop eax
mov word [ebp - 0x24], ax
mov eax, 0xe832
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], 0x100007f
jae 0x100219c6
lea eax, [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x24]
push ecx
push ebx
push dword [ebp - 0x2c]
push eax
push dword [0x10069a24]
call sub.WS2_32.dll_sendto
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
lea ecx, [ebp - 0x40]
call fcn.10007db0
mov ebx, esi
jmp 0x10021899

Function at 0x1002f733
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1003b960
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
mov ecx, esi
call fcn.10007de0
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.10037693
add ebp, 0x190
leave
ret
Function at 0x1002f7a9
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1003b960
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
mov ecx, esi
call fcn.10007de0
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.10037693
add ebp, 0x190
leave
ret

Function at 0x1002fdd1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1005194f
call fcn.10038931
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1003b960
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1002fe3d
push str.projonepodlp
jmp 0x1002fe4b
cmp dword [ebp + 0x234], 2
jne 0x1002fe69
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x1002fe64
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
jmp 0x1002feb9
cmp dword [ebp + 0x234], ebx
jne 0x1002feb4
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1002fdd1
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002fe8f
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1002feb0
push 2
push edi
call fcn.1002fdd1
add esp, 0xc
lea esi, [ebp]
call fcn.10007e50
jmp 0x1002fec0
push 1
jmp 0x1002fe9d
mov eax, 0x10058af0
mov ecx, edi
call fcn.10007de0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.10037693
add ebp, 0x228
leave
ret
Function at 0x100319de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x100319f8
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x100319f4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10031b13
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.10031cd9
mov bl, al
mov al, dl
call fcn.10031cd9
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.10031cd9
mov bl, al
mov al, byte [esi - 4]
call fcn.10031cd9
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.10031cd9
mov bl, al
mov al, byte [esi]
call fcn.10031cd9
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.10031cd9
mov bl, al
mov al, byte [esi - 0xc]
call fcn.10031cd9
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x10031b3b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037693
leave
ret 4
Function at 0x10031bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.10031d55
push ebx
mov dl, al
call fcn.10031d2e
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.10031ce9
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.10031d07
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.10031ce9
push ebx
mov byte [ebp - 0x15], al
call fcn.10031d07
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.10031d2e
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.10031d55
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.10031d2e
mov bl, al
mov al, byte [edi + 4]
call fcn.10031d55
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.10031d07
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10031ce9
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.10031d07
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.10031ce9
xor bl, al
mov al, dl
call fcn.10031d55
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10031d2e
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x10031bf4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037693
leave
ret 4
Function at 0x10032416
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10050a44
call fcn.1003899a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x30], ebx
xor esi, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10032434
sub eax, ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.1000a180
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
jbe 0x10032533
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x1005b4c8]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x10032470
cmp al, 0xff
je 0x1003245c
cmp al, 0xff
je 0x10032533
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x1005b4c8]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x10032490
cmp cl, 0xff
je 0x10032478
cmp cl, 0xff
je 0x10032533
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
xor eax, eax
inc eax
lea ebx, [ebp - 0x2c]
call fcn.100200d9
mov al, byte [esi + edi]
inc esi
cmp al, 0x3d
je 0x10032533
movsx eax, al
mov al, byte [eax + 0x1005b4c8]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x100324d0
cmp al, 0xff
je 0x100324b3
cmp al, 0xff
je 0x10032533
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
xor eax, eax
inc eax
lea ebx, [ebp - 0x2c]
call fcn.100200d9
mov al, byte [esi + edi]
inc esi
cmp al, 0x3d
je 0x10032533
movsx eax, al
mov cl, byte [eax + 0x1005b4c8]
cmp esi, dword [ebp - 0x30]
jae 0x1003250e
cmp cl, 0xff
je 0x100324f3
cmp cl, 0xff
je 0x10032533
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
xor eax, eax
inc eax
lea ebx, [ebp - 0x2c]
call fcn.100200d9
cmp esi, dword [ebp - 0x30]
jb 0x1003245c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10007d80
lea ecx, [ebp - 0x2c]
call fcn.10007db0
mov eax, dword [ebp - 0x38]
call fcn.10038a1d
ret

Function at 0x10032fee
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x10037693
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10067060]
jne 0x1003769d
repz ret
jmp fcn.10038a3b
Function at 0x10042862
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.10039079
and dword [ebp - 4], 0
cmp dword [0x1006ac7c], 0
mov ebx, eax
jne 0x10042913
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100429c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100429c4
push eax
call fcn.10039007
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1006ac7c], eax
call esi
push eax
call fcn.10039007
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1006ac80], eax
call esi
push eax
call fcn.10039007
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006ac84], eax
call esi
push eax
call fcn.10039007
pop ecx
mov dword [0x1006ac8c], eax
test eax, eax
je 0x10042913
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10039007
pop ecx
mov dword [0x1006ac88], eax
mov eax, dword [0x1006ac88]
cmp eax, ebx
je 0x1004296b
cmp dword [0x1006ac8c], ebx
je 0x1004296b
push eax
call fcn.10039082
push dword [0x1006ac8c]
mov esi, eax
call fcn.10039082
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1004296b
test edi, edi
je 0x1004296b
call esi
test eax, eax
je 0x10042962
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10042962
test byte [ebp - 0xc], 1
jne 0x1004296b
or dword [ebp + 0x10], 0x200000
jmp 0x100429a4
mov eax, dword [0x1006ac80]
cmp eax, ebx
je 0x100429a4
push eax
call fcn.10039082
pop ecx
test eax, eax
je 0x100429a4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100429a4
mov eax, dword [0x1006ac84]
cmp eax, ebx
je 0x100429a4
push eax
call fcn.10039082
pop ecx
test eax, eax
je 0x100429a4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006ac7c]
call fcn.10039082
pop ecx
test eax, eax
je 0x100429c4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100429c6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10043970
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1006ad98], eax
je 0x1004398e
mov eax, 0x10dd
jmp 0x10043a6f
mov eax, dword [0x1006ada8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10043a0c
lea ecx, [ebp - 0xc]
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 0x100439ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100439ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10043ae0
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 - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.10038093
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10043996
mov dword [0x1006ada8], 0
call fcn.10043a80
mov ecx, dword [0x1006ada4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x10043a59
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10038093
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x10043a24
mov dword [0x1006ada4], 0
mov dword [0x1006ad98], 0
xor eax, eax
mov esp, ebp
pop ebp
ret