joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9e3f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x9e3ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x9e4035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.009e3e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x9e3fc5
mov edi, 0x9fe8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x9e4035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.009e3e00
add edi, 4
add esp, 0xc
cmp edi, 0x9fe8c0
jb 0x9e4000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x9e4070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.009ea082
mov esi, eax
add esp, 8
test esi, esi
je 0x9e4107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x9e4102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.009e9946
add esp, 8
test eax, eax
je 0x9e40e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x9e40e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.009e9946
add esp, 8
test eax, eax
jne 0x9e40c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x9e4102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x9e4f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x9f99fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x9e5002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.009e8dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x9e5002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009e06e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.009e920b
push 0x10
call fcn.009e91d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x9e4fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009d51c0
jmp 0x9e4fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.009e4b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x9e4ff0
mov ecx, edi
call fcn.009d52c0
push edi
call fcn.009e91c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x9e5021
inc ebx
cmp ebx, 0x20
jb 0x9e4f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x9e6250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9fa808
push 0x9ea288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x9e6329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x9e6329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.009e91d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x9e6329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x9e6329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x9e632c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.009e6351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9e6d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9e6d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x9e6d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9e6d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9e6d94
push eax
push esi
call fcn.009e920b
add esp, 8
pop esi
ret 0x10

Function at 0x9e6da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9e6e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x9e6e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x9ff320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009e8dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x9e6dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x9e6e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9e6ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x9e6eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x9ff320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009e8dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x9e6eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x9e6e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x9e7000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x9e7131
push esi
call fcn.009ea145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.009d9080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x9e7131
push 0
push ebp
call fcn.009d93a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.009d9260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x9e708b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009d92f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9e7121
push 0x9ff918
push edi
call fcn.009e83f0
push eax
push ebx
push esi
call fcn.009e6f60
push 0x9ff8f8
push edi
call fcn.009e83f0
push eax
push ebx
push esi
call fcn.009e6f60
push 0x9ff8d8
push edi
call fcn.009e83f0
push eax
push ebx
push esi
call fcn.009e6f60
push 0x9ff8c0
push edi
call fcn.009e83f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.009e6f60
push 0x9ff8a0
push edi
call fcn.009e83f0
push eax
push ebx
push esi
call fcn.009e6f60
push 0x9ff888
push edi
call fcn.009e83f0
push eax
push ebx
push esi
call fcn.009e6f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9e81b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009e8140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009e8140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009e8140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009e8140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9e8bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9e8c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x9fa87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9e8c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9e8c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401640
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4166c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
mov dword [esp + 0x10], ecx
add edi, ebp
add ebx, ecx
mov dword [esp + 0x2c], 0x30
xor esi, esi
lea eax, [esp + 0x6c]
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00401e80
push str.BALLOON
mov byte [esp + 0x68], 1
call fcn.00401e60
add esp, 4
lea ecx, [eax*2 + str.BALLOON]
push ecx
push str.BALLOON
lea ecx, [esp + 0x28]
call fcn.0040ea00
lea edx, [esp + 0x20]
push str.A3D4312D_C54C_4f1f_9466_BBAD4081789C
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x70], 2
call fcn.00401d00
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 6
call fcn.00403350
mov ecx, dword [0x425324]
push 0x7f00
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x401040
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push 4
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x50], esi
push eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x40177c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x64], 7
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0040e330
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov edx, dword [0x425324]
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [esp + 0x18]
push edx
push esi
push esi
push ebx
push edi
push eax
push ebp
push 0x80000000
push 0x42525c
push ecx
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, esi
jne 0x4017e2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub edx, eax
lea ecx, [esp + 0x1c]
sar edx, 1
push edx
push eax
mov dword [esp + 0x6c], 8
call fcn.0040e330
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
push esi
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x64], 9
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0040e330
mov ecx, dword [esp + 0x5c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x4045f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
mov dword [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
mov dword [esp + 8], 0x104
push eax
push 1
push 0
push str.SoftwareHyperPKIHyperPKI_ePass2003
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x40466f
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.Version
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x404664
xor al, al
add esp, 0x210
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x214]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov al, 1
add esp, 0x210
ret
Function at 0x407350
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x417151
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
mov esi, ecx
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x104
push eax
push 1
push 0
push str.SoftwareHyperPKIHyperPKI_ePass2003
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4074b8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x42342c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x1c]
lea ecx, [esp + 8]
push edx
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esp + 8]
mov dword [esp + 0x230], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x407503
push ebx
push 0x423428
lea ecx, [esp + 0x14]
call fcn.00416076
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 1
call sub.MFC42u.DLL_CString::Right
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop ebx
je 0x407494
push 0x423428
lea ecx, [esp + 0x10]
call fcn.00416076
lea ecx, [esp + 0xc]
mov byte [esp + 0x230], 2
push ecx
lea ecx, [esp + 0xc]
call fcn.00416070
lea ecx, [esp + 0xc]
mov byte [esp + 0x230], 0
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esi + 0x32b]
mov eax, dword [esi + 0x32f]
cmp edx, eax
jne 0x4074d1
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
mov eax, dword [esi + 0x32b]
lea ecx, [esp + 8]
push eax
call fcn.0041606a
mov al, byte [esi + 0x32a]
test al, al
je 0x407503
mov eax, dword [esp + 8]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret

Function at 0x407540
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x308]
lea eax, [esi + 0x308]
test ecx, ecx
jne 0x407596
push eax
call fcn.00415d80
push 4
call sub.MFC42u.DLL_operatornew
add esp, 8
test eax, eax
je 0x407576
test esi, esi
jne 0x40756f
mov dword [eax], esi
jmp 0x407578
mov esi, dword [esi + 0x20]
mov dword [eax], esi
jmp 0x407578
xor eax, eax
push 0
push 0
push eax
push 0x405180
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x409b10
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41754d
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
mov edi, ecx
push str.windowinit
mov ecx, esi
call dword [sym.imp.FtUiKit_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_unsigned_short_int_const__const]
test al, al
je 0x409ca6
lea esi, [edi + 0xc]
push ebx
push str.FSTitle
mov ecx, esi
mov dword [esp + 0x28], esi
call dword [sym.imp.FtUiKit_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_unsigned_short_int_const__const]
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
je 0x409c7d
lea ecx, [esp + 0x28]
call dword [sym.imp.FtUiKit_u.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov eax, dword [edi - 0x20]
lea ecx, [edi - 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0xb4], ebp
push edx
call dword [eax + 0x94]
test eax, eax
je 0x409bc5
mov esi, dword [sym.imp.FtUiKit_u.dll_public:_unsigned_short_int_const____thiscall_DuiLib::CDuiString::operator_unsigned_short_int_const__void_const]
lea ecx, [esp + 0x28]
call esi
push eax
mov eax, dword [edi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0x10]
push eax
mov ecx, ebx
call dword [edx + 0x2c]
jmp 0x409c64
mov eax, dword [edi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea ecx, [esp + 0x17]
push ebp
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.00401e80
cmp esi, ebp
mov byte [esp + 0xb4], 3
mov dword [esp + 0x10], ebp
je 0x409c0f
lea edx, [esi + esi]
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
jmp 0x409c11
xor eax, eax
lea edx, [esp + 0x10]
lea ecx, [eax + esi*2]
push edx
push esi
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
call fcn.0040a4f0
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi - 0x1c]
push esi
push eax
push ecx
mov byte [esp + 0xc0], 4
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x409c64
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0xb4], 0xffffffff
call dword [sym.imp.FtUiKit_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x2d4]
pop ebx
cmp eax, ebp
jne 0x409caf
push str.minbtn
mov ecx, esi
call dword [sym.imp.FtUiKit_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_unsigned_short_int_const__const]
cmp eax, ebp
je 0x409caf
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xcc]
jmp 0x409caf
push esi
mov ecx, edi
call dword [sym.imp.FtUiKit_u.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa8
ret 4
Function at 0x40b0f0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b08e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b0ac
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b10a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b0f1
or byte [eax + ecx], 1
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
cmp dword [ebp + 8], ebx
je 0x40b0fa
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b104
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b0e6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b070
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40b157
dec eax
je 0x40b14e
sub eax, 3
je 0x40b145
mov dword [ebp - 4], 0x40
jmp 0x40b174
mov dword [ebp - 4], 4
jmp 0x40b15a
mov dword [ebp - 4], 0x20
jmp 0x40b15a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40b1a6
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40b126
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040a9b7
mov edx, eax
mov eax, dword [0x1475ff5a]
push 1
push esi
call edi
mov eax, esi
jmp 0x40b1b2
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b2d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebx]
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040a9c7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040a97c
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11