joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100767b0
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x100767e2
xor ecx, ecx
jmp 0x100767ee
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x100768a1
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x10076814
mov dword [esp + 0x18], esi
jmp 0x10076874
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x1007686d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10076860
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x10076874
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10076874
push 0x100a5ca8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10076874
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x10076897
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x10076806
mov eax, dword [esp + 0x18]
pop edi
pop ebp
test eax, eax
jne 0x100768b6
mov edx, dword [ebx]
add edx, 8
push edx
call fcn.10076a40
test eax, eax
je 0x100768b6
mov ecx, dword [esp + 8]
mov dword [eax], ecx
pop esi
pop ebx
pop ecx
ret 4

Function at 0x100768c0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x10092b3b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.1007dcf0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x10076958
push 0x100a76b4
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.1007dfd7
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x10076cc0
Capabilities:
Check if file exists

Disassembly:
test esi, esi
je 0x10076d0a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10076d0a
cmp dword [esp + 4], 0
jne 0x10076d00
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.10076c50
add esp, 4
test eax, eax
je 0x10076d00
push esi
mov eax, 0x100e4788
call fcn.100770b0
test eax, eax
je 0x10076d00
mov eax, 1
ret 4
mov eax, esi
call fcn.10071800
ret 4
xor eax, eax
ret 4
Function at 0x10076fe0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push connect
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1007705b
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10079a05
add esp, 0x214
ret
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10077043
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10077071
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
add esi, 0x24
call fcn.10013510
mov ecx, dword [esp + 0x214]
pop esi
xor ecx, esp
mov eax, 1
call fcn.10079a05
add esp, 0x214
ret

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

Disassembly:
cmp dword [0x100d9b00], 0
push esi
jne 0x100775ba
call fcn.100774e0
test eax, eax
je 0x100775fd
mov eax, dword [0x100d9b00]
cmp eax, 1
jne 0x100775db
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100775fd
pop esi
ret
push eax
call dword [0x100d9b08]
test eax, eax
jne 0x10077645
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10077601
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100d9b00]
call dword [0x100d9b08]
mov edi, eax
test edi, edi
je 0x10077626
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10077642
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100d9b00]
call dword [0x100d9b04]
add edi, 0x10
cmp edi, esi
jb 0x1007762e
mov eax, edi
pop edi
pop esi
ret
jmp 0x100775a7
Function at 0x10077800
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x10077838
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10079a05
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1007dcf0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x10077903
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10077870
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x10077903
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10077892
mov eax, dword [0x1009f590]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100778b0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x100778c4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10079a05
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x20c
ret
Function at 0x10077ef0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.1007e4b0
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x1007805b
cmp dword [esp + 0x2c20], edi
je 0x1007805b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push pe_nt_image_headers32
push eax
call fcn.1001d020
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x10078034
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.1007dcf0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10078027
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.1007dcf0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.10079770
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.1002d5a0
test eax, eax
jne 0x10078027
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x1007803e
inc ebx
cmp ebx, 0x10
jl 0x10077f40
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.10079a05
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x2c14
ret
Function at 0x10078300
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x10078501
cmp dword [esp + 0x2f8], 0
je 0x10078501
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x10099844
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100784c8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100784bb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10078489
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007847e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1007dcf0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.100781f0
add esp, 0x14
test eax, eax
je 0x1007847e
cmp byte [esp + 0x24], 0
je 0x10078442
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x1007847e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x10078471
mov cl, byte [esi + eax]
test cl, cl
je 0x10078471
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x10078456
jmp 0x10078475
test edx, edx
jne 0x10078476
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x100783a0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x10078501
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.1002d5a0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.10079a05
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x2ec
ret
Function at 0x100788a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x10078a1d
cmp ebp, 0x20
jb 0x10078a1d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x100998d4
push str.Software360SafeLiveup
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x10078a1d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10078930
sub eax, edx
cmp eax, 0x40
jne 0x10078a1d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x1007896e
mov cl, byte [esi + eax]
test cl, cl
je 0x1007896e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x10078956
jmp 0x10078972
test edx, edx
jne 0x10078973
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x100789ab
mov cl, byte [edx + eax]
test cl, cl
je 0x100789ab
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x10078990
jmp 0x100789af
test esi, esi
jne 0x100789b0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.1007dcf0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.10077970
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x10078a1d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.1002d5a0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.10079a05
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x50c
ret
Function at 0x10078a40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1007dcf0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.10077970
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x10078aab
mov cl, byte [edx + eax]
test cl, cl
je 0x10078aab
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x10078a90
jmp 0x10078aaf
test esi, esi
jne 0x10078ab0
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.100702f0
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.1007dcf0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x100998d4
push str.Software360SafeLiveup
push connect
mov dword [esp + 0x20], pe_nt_image_headers32
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x10078b8b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10078b53
test dl, dl
je 0x10078b4f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10078b53
add eax, 2
add ecx, 2
test dl, dl
jne 0x10078b33
xor eax, eax
jmp 0x10078b58
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10078b8b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10078b66
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push connect
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10078b95
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x100998d4
push str.Software360SafeLiveup
push connect
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.10079a05
add esp, 0x290
ret

Function at 0x10079a05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b0380]
jne 0x10079a0f
repz ret
jmp fcn.1007f09c
Function at 0x100890dd
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.10080dae
and dword [ebp - 4], 0
cmp dword [0x100dace8], 0
mov ebx, eax
jne 0x1008918e
push 0x1009a624
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1008923f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x1008923f
push eax
call fcn.10080d3c
mov dword [esp], 0x1009a608
push edi
mov dword [0x100dace8], eax
call esi
push eax
call fcn.10080d3c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100dacec], eax
call esi
push eax
call fcn.10080d3c
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x100dacf0], eax
call esi
push eax
call fcn.10080d3c
pop ecx
mov dword [0x100dacf8], eax
test eax, eax
je 0x1008918e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10080d3c
pop ecx
mov dword [0x100dacf4], eax
mov eax, dword [0x100dacf4]
cmp eax, ebx
je 0x100891e6
cmp dword [0x100dacf8], ebx
je 0x100891e6
push eax
call fcn.10080db7
push dword [0x100dacf8]
mov esi, eax
call fcn.10080db7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100891e6
test edi, edi
je 0x100891e6
call esi
test eax, eax
je 0x100891dd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100891dd
test byte [ebp - 0xc], 1
jne 0x100891e6
or dword [ebp + 0x10], 0x200000
jmp 0x1008921f
mov eax, dword [0x100dacec]
cmp eax, ebx
je 0x1008921f
push eax
call fcn.10080db7
pop ecx
test eax, eax
je 0x1008921f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1008921f
mov eax, dword [0x100dacf0]
cmp eax, ebx
je 0x1008921f
push eax
call fcn.10080db7
pop ecx
test eax, eax
je 0x1008921f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100dace8]
call fcn.10080db7
pop ecx
test eax, eax
je 0x1008923f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10089241
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1008b51c
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.10080dae
and dword [ebp - 4], 0
cmp dword [0x100dae14], 0
mov ebx, eax
jne 0x1008b5cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1008b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1008b67e
push eax
call fcn.10080d3c
mov dword [esp], 0x1009a608
push edi
mov dword [0x100dae14], eax
call esi
push eax
call fcn.10080d3c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100dae18], eax
call esi
push eax
call fcn.10080d3c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100dae1c], eax
call esi
push eax
call fcn.10080d3c
pop ecx
mov dword [0x100dae24], eax
test eax, eax
je 0x1008b5cd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10080d3c
pop ecx
mov dword [0x100dae20], eax
mov eax, dword [0x100dae20]
cmp eax, ebx
je 0x1008b625
cmp dword [0x100dae24], ebx
je 0x1008b625
push eax
call fcn.10080db7
push dword [0x100dae24]
mov esi, eax
call fcn.10080db7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1008b625
test edi, edi
je 0x1008b625
call esi
test eax, eax
je 0x1008b61c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1008b61c
test byte [ebp - 0xc], 1
jne 0x1008b625
or dword [ebp + 0x10], 0x200000
jmp 0x1008b65e
mov eax, dword [0x100dae18]
cmp eax, ebx
je 0x1008b65e
push eax
call fcn.10080db7
pop ecx
test eax, eax
je 0x1008b65e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1008b65e
mov eax, dword [0x100dae1c]
cmp eax, ebx
je 0x1008b65e
push eax
call fcn.10080db7
pop ecx
test eax, eax
je 0x1008b65e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100dae14]
call fcn.10080db7
pop ecx
test eax, eax
je 0x1008b67e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1008b680
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x103074c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x10307523
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x103074e2
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret
Function at 0x103136a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x1020850c
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.10207e80
pop ecx
pop ecx
test eax, eax
jne 0x103136c7
mov eax, dword [edi + 0x10]
jmp 0x103136e6
push esi
mov esi, dword [edi + 4]
jmp 0x103136df
push ebx
push dword [esi + 0x28]
call fcn.10207e80
pop ecx
pop ecx
test eax, eax
je 0x103136e9
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x103136cd
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x103136e5
Function at 0x10344cfc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x10344d57
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x10344d21
sub edi, dword [ebx + esi + 0x10]
jmp 0x10344d72
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x10344d57
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.10340cd4
pop ecx
pop ecx
test eax, eax
je 0x10344d60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x10344d35
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x10344d57
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x10344d57
cmp edi, dword [ebx + esi + 0x14]
jae 0x10344d57
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x10344d59