joyce8/EMBER2024-capa huggingface dataset:
Function at 0x903f90
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 0x903ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x904035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00903e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x903fc5
mov edi, 0x91e8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x904035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00903e00
add edi, 4
add esp, 0xc
cmp edi, 0x91e8c0
jb 0x904000
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 0x904070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.0090a082
mov esi, eax
add esp, 8
test esi, esi
je 0x904107
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 0x904102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00909946
add esp, 8
test eax, eax
je 0x9040e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x9040e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00909946
add esp, 8
test eax, eax
jne 0x9040c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x904102
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 0x904f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x9199fb
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 0x905002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00908dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x905002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009006e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0090920b
push 0x10
call fcn.009091d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x904fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.008f51c0
jmp 0x904fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00904b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x904ff0
mov ecx, edi
call fcn.008f52c0
push edi
call fcn.009091c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x905021
inc ebx
cmp ebx, 0x20
jb 0x904f3e
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 0x906250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x91a808
push 0x90a288
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 0x906329
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 0x906329
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.009091d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x906329
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 0x906329
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 0x90632c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00906351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x906d20
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 0x906d58
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 0x906d60
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 0x906d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x906d94
push eax
push esi
call fcn.0090920b
add esp, 8
pop esi
ret 0x10

Function at 0x906da0
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 0x906e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x906e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x91f320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00908dff
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 0x906dda
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 0x906e30
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 0x906ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x906eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x91f320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00908dff
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 0x906eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x906e6a
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 0x907000
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 0x907131
push esi
call fcn.0090a145
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.008f9080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x907131
push 0
push ebp
call fcn.008f93a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.008f9260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x90708b
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.008f92f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x907121
push 0x91f918
push edi
call fcn.009083f0
push eax
push ebx
push esi
call fcn.00906f60
push 0x91f8f8
push edi
call fcn.009083f0
push eax
push ebx
push esi
call fcn.00906f60
push 0x91f8d8
push edi
call fcn.009083f0
push eax
push ebx
push esi
call fcn.00906f60
push 0x91f8c0
push edi
call fcn.009083f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00906f60
push 0x91f8a0
push edi
call fcn.009083f0
push eax
push ebx
push esi
call fcn.00906f60
push 0x91f888
push edi
call fcn.009083f0
push eax
push ebx
push esi
call fcn.00906f60
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 0x9081b0
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.00908140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00908140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00908140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00908140
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 0x908bfa
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 0x908c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x91a87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x908c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x908c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x406970
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x210
lea eax, [esp]
push esi
mov esi, dword [esp + 0x218]
push edi
push eax
mov eax, dword [esp + 0x22c]
push 0
push edx
push eax
push esi
call fcn.00406e60
mov edi, eax
test edi, edi
jne 0x4069aa
pop edi
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 0x220]
test eax, eax
jne 0x4069ca
lea ecx, [esp + 0x10]
push 0x104
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4069f7
pop edi
xor eax, eax
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 0
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x210
ret 0x10
Function at 0x406b40
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x406b62
pop esi
pop ebx
add esp, 0xc
ret 0x10
push ebp
push edi
push esi
push 0x40
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x406ca9
push edi
push esi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x406ca2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push str.StringFileInfo040704B0FileVersion
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406be9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push str._u._u
push edx
call fcn.0042ab86
mov ecx, dword [esp + 0x3c]
add esp, 0x10
test ecx, ecx
je 0x406bd1
mov eax, dword [esp + 0x20]
push eax
call fcn.0040e060
push edi
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x446ac0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406c48
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push str._u._u
push edx
call fcn.0042ab86
mov ecx, dword [esp + 0x3c]
add esp, 0x10
test ecx, ecx
je 0x406bd1
mov eax, dword [esp + 0x20]
push eax
call fcn.0040e060
push edi
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x446abc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406ca2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x406ca2
cmp dword [esp + 0x10], 0x34
jne 0x406ca2
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x24]
shr eax, 0x10
mov dword [edx], eax
xor eax, eax
mov ax, word [ecx + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x406ca2
mov edx, dword [edx]
push eax
push edx
push str._u._u
push ecx
call fcn.0040f2c0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x406cc0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4362cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.0040de30
mov ebx, dword [esp + 0x268]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x258], ebp
jne 0x406d16
lea eax, [esp + 0x48]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov ecx, esi
call fcn.00406a30
lea ebx, [esp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
jne 0x406d42
lea ecx, [esp + 0x1c]
mov dword [esp + 0x258], 0xffffffff
call fcn.0040ded0
xor eax, eax
jmp 0x406e0b
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebp
je 0x406df5
push esi
push edi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x406dee
mov edi, dword [esp + 0x264]
lea edx, [esp + 0x1c]
push edi
push str.StringFileInfo040704B0_s
push edx
call fcn.0040f2c0
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
lea ecx, [esp + 0x28]
call fcn.0040eef0
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406da6
mov edx, dword [esp + 0x10]
push edx
jmp 0x406ddd
push edi
lea eax, [esp + 0x20]
push str.StringFileInfo040904B0_s
push eax
call fcn.0040f2c0
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push ebp
lea ecx, [esp + 0x28]
call fcn.0040eef0
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406dee
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [esp + 0x264]
call fcn.0040e060
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x258], 0xffffffff
call fcn.0040ded0
mov eax, ebp
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret 0xc

Function at 0x4078b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00407330
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.0041d570
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0xc], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4363c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x40], 2
call fcn.004085c0
lea ecx, [esi + 0x68]
mov byte [esp + 0x40], 1
call fcn.0041d680
xor ebx, ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], bl
call fcn.0040de30
mov eax, dword [esi + 0x30]
mov byte [esp + 0x40], 3
cmp eax, ebx
je 0x4079a1
push eax
mov eax, dword [esi + 0x3c]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x7368666c
lea ecx, [esp + 0x10]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0040f2c0
add esp, 0xc
lea ecx, [esp + 0xc]
push ebx
call fcn.0040eef0
mov edx, dword [esi + 0x3c]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
mov dword [esi + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], bl
call fcn.0040ded0
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call fcn.00407370
mov ecx, dword [esp + 0x38]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x40b7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436839
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea edi, [esi + 0x30]
mov dword [esp + 0x1c], ebx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004096f0
lea ecx, [edi + 0x2c0]
mov byte [esp + 0x1c], 1
call fcn.0040de30
mov dword [edi], 0x43a730
lea ecx, [esi + 0x31c]
mov byte [esp + 0x1c], 2
call fcn.0040de30
lea ecx, [esi + 0x34c]
mov byte [esp + 0x1c], 3
call fcn.00410590
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x388], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40b8b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4368af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x44], 3
call fcn.0040ba20
lea ecx, [esi + 0x34c]
mov byte [esp + 0x44], 2
call fcn.004105c0
lea ecx, [esi + 0x31c]
mov byte [esp + 0x44], 1
call fcn.0040ded0
lea edi, [esi + 0x30]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x2c0]
mov byte [esp + 0x44], 4
call fcn.0040ded0
mov ecx, edi
mov byte [esp + 0x44], 0
call fcn.004097a0
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], edi
call fcn.0040de30
mov eax, dword [esi]
mov dword [esp + 0x44], 5
test eax, eax
je 0x40b97e
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x62696d75
lea ecx, [esp + 0x14]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0040f2c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
call fcn.0040eef0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
mov dword [esi], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], edi
call fcn.0040ded0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x40c040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0040de30
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x40c095
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ded0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x62696d75
lea ecx, [esp + 8]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0040f2c0
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.0040eef0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ded0
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x40c750
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 1
je 0x40c760
xor eax, eax
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
and al, 0xfd
push 0
or al, 1
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi], ecx
push 0
push 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 4], edx
call fcn.00420dc0
lea eax, [esi + 0x34]
push eax
push 0
push esi
push 0x40c690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x40c7b6
mov eax, dword [esi + 0xc]
and al, 0xfe
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
ret 0xc
mov eax, 1
pop esi
ret 0xc

Function at 0x40c7c0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 1
je 0x40c7e9
and al, 0xfe
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
lea ecx, [esi + 0x18]
mov dword [esi + 8], 0
call fcn.00420f20
pop esi
ret

Function at 0x410030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0040de30
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x410085
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ded0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x7368656c
lea ecx, [esp + 8]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0040f2c0
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.0040eef0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ded0
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret