joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c9c0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x9c
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x98], eax
push esi
mov esi, dword [esp + 0xa4]
test esi, esi
push edi
je 0x42c9f5
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42c9f5
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, esi
je 0x42caf6
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x1c]
cmp eax, 2
jne 0x42ca4d
cmp dword [esp + 0x10], 4
ja 0x42ca64
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00473559
add esp, 0x9c
ret
cmp eax, 1
jne 0x42ca28
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x42ca64
jne 0x42ca28
cmp dword [esp + 0x14], 0
jbe 0x42ca28
push ebx
push ebp
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call ebx
push 0
push esi
mov edi, eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebx, eax
push edi
push ebx
call ebp
test eax, eax
je 0x42cab3
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
cmp eax, esi
sete cl
mov eax, ecx
test eax, eax
jne 0x42caf4
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x2000
call edi
push 2
push 0
push 0
push 0x2001
call edi
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [esp + 0x14]
push eax
push 0
push 0x2001
call edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
xor ecx, esp
call fcn.00473559
add esp, 0x9c
ret

Function at 0x42cb10
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42cb90
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x42cb4e
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x1c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x1c
ret
Function at 0x42cba0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.00475df0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x42cbf1
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
mov ecx, dword [esp + 0xa0]
xor eax, eax
cmp dword [esp + 8], 6
pop esi
sete al
xor ecx, esp
call fcn.00473559
add esp, 0xa0
ret

Function at 0x42cf80
Capabilities:
Move file

Disassembly:
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push esi
push edi
jle 0x42cfeb
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42cfed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
lea edi, [ebx + 1]
push edi
push ebp
push str.__s__MoveFile_failed..._:_current_retry__d___error_code_is___d_
push 0x961
push str.MoveFileRetry
push 0x4b9f70
call fcn.00427560
add esp, 0x1c
cmp esi, 0x20
jne 0x42cfeb
mov esi, dword [esp + 0x1c]
lea ecx, [esi - 1]
cmp ebx, ecx
je 0x42cfeb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, edi
cmp ebx, esi
jl 0x42cf90
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42d830
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4935b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], vtable.CArray_struct_HWND_____struct_HWND____.0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x1c]
push eax
push 0x42d7f0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebp
jle 0x42d8f5
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
lea esp, [esp]
cmp ebx, ebp
jl 0x42d941
cmp ebx, eax
jge 0x42d941
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + ebx*4]
cmp esi, ebp
je 0x42d8ea
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x18], eax
jne 0x42d8ea
push ebp
push ebp
push 0x4970
push esi
call edi
push ebp
push ebp
push 0x10
push esi
call edi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x24]
add ebx, 1
cmp ebx, eax
jl 0x42d8a0
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x42d90c
push eax
call fcn.00451432
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
cmp eax, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], vtable.CArray_struct_HWND_____struct_HWND____.0
je 0x42d929
push eax
call fcn.00451432
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
jmp fcn.0045152b
Function at 0x42d970
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4935f0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0x3c
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x64], 1
call fcn.00475df0
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
add esp, 0xc
test esi, esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 5
je 0x42d9e0
mov dword [esp + 0x18], 0x40
cmp dword [esp + 0x6c], 0
je 0x42d9f8
call fcn.0042cba0
test eax, eax
mov dword [esp + 0x20], str.runas
jne 0x42da00
mov dword [esp + 0x20], str.open
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test esi, esi
mov dword [esp + 0x68], eax
je 0x42da4f
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov edx, dword [esp + 0x4c]
push 0
push edx
call esi
cmp eax, 0x102
jne 0x42da4f
call fcn.0045240a
mov ecx, dword [eax + 4]
call fcn.00401290
test eax, eax
je 0x42da47
push 0xa
call edi
jmp 0x42da20
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov byte [esp + 0x58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x42ddb0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x493629
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ebp
call fcn.0045258f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42ddfb
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x42de9b
lea edx, [esi + 1]
push edx
call fcn.0045142d
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42de92
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4978c4
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42de92
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, ecx
movzx esi, cx
mov ecx, edx
movzx edx, dx
push edx
shr ecx, 0x10
push ecx
push esi
shr eax, 0x10
push eax
push str._d._d._d._d
push edi
call fcn.00402730
add esp, 0x18
push ebp
call fcn.00451432
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x42dec0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x493672
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
xor edi, edi
mov dword [esp + 0x220], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
call fcn.0045258f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42df2b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x100
lea ecx, [esp + 0x118]
push edi
push ecx
mov dword [esp + 0x22c], edi
mov dword [esp + 0x18], 1
call fcn.00475df0
push 0x100
lea edx, [esp + 0x24]
push edi
push edx
call fcn.00475df0
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x18
push 0xff
lea eax, [esp + 0x118]
push eax
push 0x59
push 0x800
call edi
push 0xff
lea ecx, [esp + 0x18]
push ecx
push 0x5a
push 0x800
call edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x118]
push eax
push str._s__s
push esi
call fcn.00402730
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00473559
add esp, 0x218
ret
Function at 0x42dfe0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4936c2
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0xc8], eax
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, dword [esp + 0xe8]
push 0x9c
lea eax, [esp + 0x3c]
push 0
push eax
mov dword [esp + 0xec], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], 0
call fcn.00475df0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x9c
call edi
test eax, eax
jne 0x42e073
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x94
call edi
push str.GetNativeSystemInfo
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
je 0x42e0bd
lea ecx, [esp + 0x10]
push ecx
call eax
jmp 0x42e0c8
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e0e2
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
movzx ecx, word [esp + 0x10]
movzx edx, byte [esp + 0xd2]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push str._d__d__d__d__d
push esi
mov dword [esp + 0xfc], 0
mov dword [esp + 0x28], 1
call fcn.00402730
add esp, 0x1c
mov eax, esi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00473559
add esp, 0xd8
ret
Function at 0x42e590
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x493793
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1b4]
mov eax, dword [esi - 0xc]
test eax, eax
mov dword [esp + 0x1ac], 0
jl 0x42e614
push 0x49bec4
push esi
call fcn.00473b3d
add esp, 8
test eax, eax
je 0x42e614
sub eax, esi
cmp eax, 0xffffffff
jle 0x42e614
add eax, 3
push eax
push 0
lea ecx, [esp + 0x1bc]
call fcn.00429de0
mov esi, dword [esp + 0x1b4]
cmp dword [esi - 0xc], 0
jle 0x42e686
push 0x2f
push esi
call fcn.00475dda
add esp, 8
test eax, eax
je 0x42e686
sub eax, esi
cmp eax, 0xffffffff
jle 0x42e686
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1bc]
call fcn.00401ec0
push eax
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x1b0], 1
call fcn.004023e0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1ac], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e67f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1b4]
lea ecx, [esp + 0x10]
push ecx
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
xor edx, edx
test eax, eax
setne dl
lea eax, [esi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
mov edi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e6cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00473559
add esp, 0x1a4
ret
Function at 0x42e700
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4937f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0
call fcn.00462ea3
mov byte [esp + 0x3c], 1
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e756
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.004023e0
push 4
push str..
lea ecx, [esp + 0x18]
call fcn.0040dc20
mov edi, dword [esp + 0x10]
push 0
push edi
lea ecx, [esp + 0x24]
call fcn.00462f2f
test eax, eax
je 0x42e839
lea ecx, [esp + 0x1c]
call fcn.00462c4f
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.00462e6a
test eax, eax
jne 0x42e831
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.004630ce
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 3
call edx
test eax, eax
mov eax, dword [esp + 0x14]
je 0x42e805
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004019a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042e700
add esp, 4
jmp 0x42e80c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x42e7a1
lea ecx, [esp + 0x1c]
call fcn.00462b7f
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0
call fcn.00462ec7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret
Function at 0x42e8f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x493832
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov edi, dword [esp + 0x234]
push 0x4978d6
mov ecx, edi
mov dword [esp + 0x230], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
call fcn.00402f40
mov eax, dword [esp + 0x238]
lea edx, [esp + 0x11c]
xor ebp, ebp
mov dword [esp + 0x22c], 0
mov dword [esp + 0x10], 1
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x42e980
lea eax, [esp + 0x11c]
push 0x4978c4
push eax
call fcn.00477678
mov esi, eax
add esp, 8
test esi, esi
je 0x42ea65
jmp 0x42e9b0
test ebp, ebp
push esi
jne 0x42e9c9
lea ecx, [esp + 0x1c]
push 0x4978b4
push ecx
call fcn.0047651e
add esp, 0xc
jmp 0x42e9de
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push 0x4980b0
push eax
call fcn.0047651e
add esp, 0x10
push 0x4978c4
push 0
call fcn.00477678
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e9fc
cmp dword [esp + 0x23c], eax
je 0x42ea5a
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00477664
add esp, 8
cmp eax, 0xffffffff
jne 0x42ea3b
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42ea5a
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42ea28
sub eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
jmp 0x42ea53
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42ea42
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.004020c0
add ebp, 1
test esi, esi
jne 0x42e9b0
mov eax, edi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00473559
add esp, 0x220
ret
Function at 0x42eb80
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4938b3
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x12c], 0
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ebe7
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x138]
push 1
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [esp + 0x138], 1
call fcn.0042e8f0
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edx - 0xc], 0
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42ec95
lea eax, [esi - 0x10]
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42ed50
lea ecx, [esp + 0x14]
call fcn.0040b080
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x49bed0
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x42ecd2
mov byte [esp + 0x12c], al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42ec5b
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42ece4
sub eax, edx
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.004020c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00473559
add esp, 0x11c
ret