joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b440
Capabilities:
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x462338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x28]
push 3
lea eax, [esp + 0x10]
push edi
push eax
call fcn.00418d30
mov eax, dword [eax]
push eax
mov dword [esp + 0x2c], 0
call fcn.00418410
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x24]
push 9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40b4cc
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00414a20
add esp, 8
push 0
push edi
push esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40b582
call ebp
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00414a20
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
push 0x46764c
mov byte [esp + 0x38], 2
call fcn.00402ab0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b56e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop ebp
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40b5c0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x462368
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
test eax, eax
mov eax, dword [esi + 4]
push edi
je 0x40b683
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
je 0x40b61d
mov eax, dword [esi + 4]
push eax
push 0x4676d0
call fcn.00402ab0
add esp, 8
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00414a20
mov edx, dword [eax]
mov eax, dword [esi + 4]
push edx
push eax
push 0x4676b8
mov dword [esp + 0x2c], 0
call fcn.00402ab0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x14
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esi]
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40b6ba
mov eax, dword [esi + 4]
push eax
push str.b__rY
call fcn.00402ab0
add esp, 8
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00414a20
add esp, 8
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push eax
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b738
mov edx, dword [esi + 4]
push edx
push str.b__rY
call fcn.00402ab0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b722
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
call edi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00414a20
mov ecx, dword [eax]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
push 0x467678
mov byte [esp + 0x30], 2
call fcn.00402ab0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x18], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40c100
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x462448
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov al, byte [esi + 0x28]
push edi
xor edi, edi
test al, al
mov dword [esi + 0x10], edi
je 0x40c13e
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebp
lea ecx, [esp + 0x10]
call fcn.004556a9
mov dword [esp + 0x10], vtable.CFileException.0
call fcn.00456047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
or ebp, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
call fcn.00401710
mov eax, dword [esi + 0x24]
push 3
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x38], 1
call fcn.00418d30
mov eax, dword [eax]
push eax
mov byte [esp + 0x3c], 2
call fcn.00418410
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c1ec
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x40c1ec
mov eax, dword [esi + 0x24]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edi, [esi + 0x14]
push 0x1001
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
jne 0x40c25e
mov edx, dword [esp + 0x1c]
push edx
push 0x4677fc
push eax
call fcn.004031e0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esi + 0x10], 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40c24a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push 0x4677f4
push 0
call fcn.004031e0
mov eax, dword [edi]
add esp, 8
push 0
push 0
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40c2a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40cdc0
Capabilities:
Check os version
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x47b6dc]
push ebx
mov dword [esp + 0x124], eax
mov eax, dword [0x47d49c]
push esi
xor ebx, ebx
test eax, eax
push edi
jne 0x40ce0d
mov dword [esp + 0x10], 0x114
mov ecx, 0x44
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
mov dword [0x47d49c], eax
cmp eax, 6
jae 0x40ce5c
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edi
push esi
push 0
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x40ceb2
push edi
push esi
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x40ceb2
push 0x467948
push esi
call fcn.0042be6a
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x12c]
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.QueryFullProcessImageNameW
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
push 0
push ecx
call eax
test eax, eax
jne 0x40ceb2
push 0x467948
push esi
call fcn.0042be6a
add esp, 8
mov eax, ebx
mov ecx, dword [esp + 0x12c]
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
mov eax, 1
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d540
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46252b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x47b6dc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x21c], eax
push esi
xor eax, eax
test ebx, ebx
push edi
je 0x40d6f5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40d6f5
mov ecx, 0x102
mov edi, esi
rep stosd dword es:[edi], eax
call fcn.00456047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x14]
push str.Process_ID__0x_08X
xor edi, edi
push ecx
mov dword [esp + 0x240], edi
call fcn.004023d0
mov edx, dword [esp + 0x1c]
push edx
push esi
call fcn.0042be6a
mov eax, dword [ebx + 0x14]
push eax
lea ecx, [esp + 0x28]
push str.Thread_Count___d
push ecx
call fcn.004023d0
mov edx, dword [esp + 0x30]
push edx
lea eax, [esi + 0x2c8]
push eax
call fcn.0042be6a
mov ecx, dword [ebx + 0x18]
push ecx
lea edx, [esp + 0x3c]
push str.Parent_Process_ID__0x_08X
push edx
call fcn.004023d0
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esi + 0x308]
push ecx
call fcn.0042be6a
mov edx, dword [ebx + 0x1c]
push edx
lea eax, [esp + 0x50]
push str.Priority_Base_ID___d
push eax
call fcn.004023d0
mov ecx, dword [esp + 0x58]
add esp, 0x48
push ecx
lea edx, [esi + 0x348]
push edx
call fcn.0042be6a
lea eax, [ebx + 0x24]
push eax
lea ecx, [esi + 0x248]
push ecx
call fcn.0042be6a
mov word [esp + 0x28], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
push 0x104
lea edx, [esp + 0x2c]
stosw word es:[edi], ax
mov eax, dword [ebx + 8]
push edx
push eax
call fcn.0040cf20
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push str.Full_Path___s
push edx
call fcn.004023d0
mov edi, dword [esp + 0x38]
push edi
lea eax, [esi + 0x40]
push eax
call fcn.0042be6a
mov ebx, dword [ebx + 8]
add esp, 0x30
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
mov dword [esp + 0x18], eax
push 0x40ced0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x10]
push 0x40
add esi, 0x388
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d6f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d9c0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x430
mov eax, dword [0x47b6dc]
push ebp
mov dword [esp + 0x430], eax
mov eax, dword [esp + 0x43c]
push edi
push eax
push 8
xor ebp, ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x40da0a
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esp + 0x14], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x40da21
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x42c]
call fcn.0042a4a0
add esp, 0x430
ret
push ebx
push esi
mov esi, dword [esp + 0x444]
lea ebx, [ebx]
lea edx, [esp + 0x10]
push esi
push edx
call fcn.0040d900
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0042a4fc
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40da71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40da8a
lea eax, [esp + 0x234]
push eax
push esi
call fcn.0042a4fc
add esp, 8
test eax, eax
je 0x40da9b
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x40da30
jmp 0x40daa0
mov ebp, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
pop esi
pop ebx
pop edi
mov eax, ebp
pop ebp
call fcn.0042a4a0
add esp, 0x430
ret

Function at 0x40dac0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x47b6dc]
push ebx
push esi
push edi
mov dword [esp + 0x244], eax
xor eax, eax
push eax
mov ecx, 0x8b
lea edi, [esp + 0x14]
push 2
xor ebx, ebx
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40db17
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40db2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x244]
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
nop
mov ecx, dword [esp + 0x18]
push ecx
push edi
call fcn.0040d9c0
add esp, 8
test eax, eax
jne 0x40db53
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40db30
jmp 0x40db69
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0040d540
add esp, 8
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x244]
mov eax, ebx
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40db90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x47b6dc]
push ebx
push esi
push edi
mov dword [esp + 0x454], eax
xor eax, eax
push eax
mov ecx, 0x8b
lea edi, [esp + 0x1c]
push 2
mov dword [esp + 0x18], 0xffffffff
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
je 0x40dbf1
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40dc07
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [esp + 0x454]
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea ebx, [ebx]
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.0040d900
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.0042a4fc
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0x10
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40dcdc
xor eax, eax
mov word [esp + 0x248], 0
mov ecx, 0x81
lea edi, [esp + 0x24a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x40dca6
lea eax, [esp + 0x248]
push 0x467948
push eax
call fcn.0042be6a
add esp, 8
jmp 0x40dcc3
push 0x104
lea ecx, [esp + 0x24c]
push ecx
push ebx
call fcn.0040cdc0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x248]
push edx
push esi
call fcn.0042a4fc
add esp, 8
test eax, eax
je 0x40dcf1
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40dc10
jmp 0x40dd08
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, 0x8b
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x454]
mov eax, dword [esp + 0x10]
call fcn.0042a4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.004020a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004017d0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x414112
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x414de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004048b0
test edi, edi
mov dword [esp + 0x14], 0
je 0x414e19
add edi, 0x28
jmp 0x414e1b
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x414e31
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 8]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x38], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41e150
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x463321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esi], eax
push edi
mov dword [esp + 8], esi
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [edx]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov byte [esi + 0x3f], cl
lea edi, [esi + 0x40]
mov dword [edi], eax
mov dword [esp + 0x14], ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00449290
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x41e20a
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x463351
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esi], eax
push edi
mov dword [esp + 8], esi
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [edx]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov byte [esi + 0x3f], cl
mov dword [esi + 0x40], eax
lea edi, [esi + 0x40]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.004496e0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x4206e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4635e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x47b6dc]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
push esi
push eax
mov eax, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x1c]
push edx
xor esi, esi
push eax
mov dword [esp + 0x20], esi
call fcn.004203d0
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 8]
call fcn.004205e0
lea edx, [esp + 4]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x48]
push edx
push esi
call fcn.00420550
mov eax, dword [esp + 0xc]
push eax
call fcn.00455706
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
call fcn.0042a4a0
add esp, 0x40
ret