joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f520
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov ecx, dword [ecx]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 4], eax
test ecx, ecx
je 0x40f544
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov ecx, 0x20
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
shld edx, eax, cl
shl eax, cl
mov ecx, edx
xor edx, edx
add eax, esi
pop esi
adc edx, ecx
add esp, 0xc
ret

Function at 0x40f8b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aee1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0040cf20
mov dword [edi], vtable.asafe_thread.0
cmp byte [0x4b23a4], 0
mov dword [ebp - 4], 0
jne 0x40f91a
lea ecx, [ebp - 0x7c]
call fcn.0040f5a0
push eax
mov byte [ebp - 4], 1
call fcn.0040f9e0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0040f6a0
cmp byte [0x4b23a4], 0
je 0x40f9ba
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push ebx
push dword [ebp + 8]
mov dword [edi + 0x4c], eax
call fcn.00406a80
push 0x28
mov byte [ebp - 4], 2
call fcn.004493f0
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x40f96d
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebx], edi
call fcn.00406a80
mov dword [ebx + 0x24], esi
pop esi
jmp 0x40f96f
xor ebx, ebx
mov ecx, dword [ebp + 0x14]
mov edx, 4
mov byte [ebp - 4], 2
lea eax, [ecx + 8]
push eax
xor eax, eax
cmp byte [ecx + 4], al
cmovne eax, edx
push eax
push ebx
push 0x40f740
push 0
push 0
call fcn.0045e85b
add esp, 0x18
mov dword [edi + 8], eax
mov ecx, edi
call fcn.0040cdf0
mov eax, dword [ebp - 0x14]
pop ebx
cmp eax, 0x10
jb 0x40f9ba
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00420790
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x410040
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, dword [0x4b241c]
sub esp, 0x454
test eax, eax
je 0x410051
call eax
push esi
push edi
mov edi, dword [esp + 0x460]
mov ecx, dword [edi]
add ecx, 0x28
call fcn.00408d20
mov ecx, dword [0x4b2970]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov byte [eax + 0x24], 1
mov eax, dword [edi + 0x24]
cmp eax, 2
jne 0x410135
push 0x400
lea eax, [esp + 0x60]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4100f3
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0044c670
add esp, 0xc
mov dword [esp + 0x18], 0x44
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [edi + 0x20]
lea esi, [edi + 0xc]
cmp eax, 0x10
jb 0x410109
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00420790
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x41011f
mov esi, dword [esi]
push 0x28
push edi
mov byte [esi], 0
call fcn.00449423
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea esi, [edi + 0xc]
cmp eax, 1
mov eax, dword [esi + 0x14]
jne 0x41017c
cmp eax, 0x10
jb 0x410150
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00420790
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x410166
mov esi, dword [esi]
push 0x28
push edi
mov byte [esi], 0
call fcn.00449423
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_ExitThread]
cmp eax, 0x10
jb 0x41018c
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00420790
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x41011f
jmp 0x41011d
Function at 0x412ee0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00409d40
push 0x10
mov dword [ebp - 4], 0
mov dword [esi], vtable.ip_socket.0
call fcn.004493f0
add esp, 4
mov dword [esi + 0x40], eax
cmp dword [esi + 0x38], 0xffffffff
jne 0x412f57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x276d
jne 0x412f57
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x413000
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x413011
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 1
push 4
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.00409ea0
test al, al
jne 0x413044
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x413044
mov eax, dword [ecx]
push str.SO_REUSEADDR_is_off_n
push ecx
call dword [eax + 0x18]
add esp, 8
mov ecx, dword [esi + 0x24]
pop esi
test ecx, ecx
je 0x41305c
mov eax, dword [ecx]
push str._socket_reset_n
push 3
push ecx
call dword [eax + 0x14]
add esp, 0xc
ret

Function at 0x413060
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, ecx
call fcn.00413000
mov eax, dword [esi + 0x40]
mov ecx, 2
push dword [esp + 0x10]
mov word [eax], cx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x40]
mov ebx, dword [esp + 0xc]
push ebx
mov word [ecx + 2], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esi + 0x40]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4130b2
push dword [esp + 0x10]
mov eax, dword [ecx]
push ebx
push str._connecting_to__s:_d..._n
push 3
push ecx
call dword [eax + 0x14]
add esp, 0x14
push 0
push 0x10
push dword [esi + 0x40]
push dword [esi + 0x38]
call dword [sym.imp.WS2_32.dll_connect]
push eax
mov ecx, esi
call fcn.0040a320
mov bl, al
test bl, bl
je 0x4130e5
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4130e5
mov ecx, dword [edx]
push str._connected_n
push edx
call dword [ecx + 0x18]
add esp, 8
call fcn.0040ac70
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
mov al, bl
mov dword [esi + 0x1c], edx
mov dword [esi + 0x14], edx
pop esi
pop ebx
ret 8
Function at 0x41c020
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x41c03f
push 0
push 0x5e
push str.c:projectsgitpoco_build_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00420350
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x41c04a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c076
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x41c06b.4
movzx eax, byte [eax + 0x41c08c]
jmp dword [eax*4 + 0x41c084]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.0041c0b0
nop
jb 0x41c046
inc ecx
add byte [edx - 0x40], bh
inc ecx
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
invalid

Function at 0x41c084
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x41c03f
push 0
push 0x5e
push str.c:projectsgitpoco_build_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00420350
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x41c04a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c076
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x41c06b.4
movzx eax, byte [eax + 0x41c08c]
jmp dword [eax*4 + 0x41c084]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.0041c0b0
nop
jb 0x41c046
inc ecx
add byte [edx - 0x40], bh
inc ecx
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
invalid

Function at 0x41c0b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47bfd8
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x41c760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x41c782
push 0
push 0x9f
push str.c:projectsgitpoco_build_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00420350
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x41c78d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c7a1
shr eax, 4
and eax, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.0041c0b0
int3
Function at 0x41c7b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x41c7c0
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x41c7e2
push 0
push 0xaa
push str.c:projectsgitpoco_build_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00420350
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x41c7ed
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x41c80e
and ecx, 0x410
xor eax, eax
cmp ecx, 0x400
pop esi
sete al
ret
lea eax, [esi + 4]
push eax
call fcn.0041c0b0
int3

Function at 0x41e5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47caa6
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004493f0
mov edi, eax
add esp, 4
test edi, edi
je 0x41e5e8
push 1
mov dword [ebp - 4], 0
call fcn.00472463
add esp, 4
mov dword [edi + 4], eax
jmp 0x41e5ea
xor edi, edi
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41e660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c24a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004189cf
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x41e70f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0044c5e4
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x4a91a4
push eax
call fcn.0044bc24
push eax
push esi
call fcn.00472566
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x423760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c749
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4237ac
mov eax, dword [esi]
jmp 0x4237ae
mov eax, esi
push ebx
push edi
mov byte [eax], 0
push 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test ebx, ebx
je 0x423869
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov edx, 2
mov dword [ebp - 0x1c], ebx
mul edx
mov byte [ebp - 0x14], 1
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044996b
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push edi
push ebx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42385c
cmp eax, ebx
ja 0x42385c
push esi
push edi
call fcn.00425810
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x42382b
mov eax, dword [esi]
jmp 0x42382d
mov eax, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x423840
push 0x47ef64
mov ecx, esi
call fcn.00423490
push edi
call fcn.00449974
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov byte [ebp - 4], 0
call fcn.00449974
add esp, 4
push 0x1c
push str.Cannot_get_current_directory
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004048c0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.00419a80
push 0x4aba14
lea eax, [ebp - 0x54]
push eax
call fcn.0044bc24
int3
Function at 0x4238d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
xor eax, eax
mov dword [ebp - 0x10], 0
push edi
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.00425650
xor ecx, ecx
mov dword [ebp - 0x20], 0x7fff
mov eax, 0x7fff
mov dword [ebp - 0x1c], 0x7fff
mov edx, 2
mov byte [ebp - 0x14], 1
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044996b
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
push 0x7fff
cmovae ecx, dword [ebp - 0x38]
push edi
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x423a0b
cmp eax, 0x7ffe
jae 0x423a0b
lea esi, [eax + 1]
cmp esi, 0x7fff
jb 0x42399f
push 0
push 0x130
push str..includePoco_Buffer.h
push str.index____used
call fcn.00420350
add esp, 0x10
xor eax, eax
mov word [edi + esi*2], ax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x50], al
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.00425810
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
add esp, 8
mov ecx, esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.00404010
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x4239f7
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00420790
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jmp 0x423a2d
mov esi, dword [ebp + 8]
mov ecx, esi
push 0xffffffffffffffff
push 0
push dword [ebp + 0xc]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.004047b0
push edi
call fcn.00449974
mov ecx, dword [ebp - 0x24]
add esp, 4
cmp ecx, 8
jb 0x423a4b
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.0041bfb0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x424da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, 0x7fff
mov dword [ebp - 4], 0
mov edx, 2
mov dword [ebp - 0x20], 0x7fff
mul edx
push esi
push edi
seto cl
mov dword [ebp - 0x1c], 0x7fff
neg ecx
mov byte [ebp - 0x14], 1
or ecx, eax
push ecx
call fcn.0044996b
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x7fff
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x424ed5
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x424e59
push str.Cannot_get_system_directory_long_path_name
lea ecx, [ebp - 0x38]
call fcn.0041b370
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x64]
call fcn.00419a80
push 0x4aba14
lea eax, [ebp - 0x64]
push eax
call fcn.0044bc24
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x424e82
mov eax, dword [esi]
jmp 0x424e84
mov eax, esi
mov byte [eax], 0
push esi
push edi
mov dword [ebp - 0x10], 1
call fcn.00425810
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x424ea5
mov eax, dword [esi]
jmp 0x424ea7
mov eax, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x424eba
push 0x47ef64
mov ecx, esi
call fcn.00423490
push edi
call fcn.00449974
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x23
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004048c0
mov byte [ebp - 4], 3
jmp 0x424e3d
Function at 0x43edc0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 8], 0
cmp dword [esi + 0x14], 0x10
jb 0x43eddb
mov eax, dword [esi]
jmp 0x43eddd
mov eax, esi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test ebx, ebx
je 0x43ee54
push edi
push ebx
call fcn.0044996b
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x43ee02
mov esi, dword [esi]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [esp + 0x40]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edi], 0
jne 0x43ee29
xor ecx, ecx
jmp 0x43ee39
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ee30
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.004048c0
push edi
call fcn.00449974
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push 0
push esi
lea ecx, [esp + 0x14]
call fcn.00419640
push 0x4ab9d4
lea eax, [esp + 0x10]
push eax
call fcn.0044bc24
int3
Function at 0x448170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
mov esi, ecx
mov dword [ebp - 0x30], 0
xor bl, bl
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [esi + 4]
push eax
call fcn.00425650
add esp, 8
lea eax, [ebp - 0x10]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
push eax
mov eax, dword [esi + 0x24]
or eax, 0x20019
push eax
push 0
push ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448240
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.00425650
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x448240
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041bfb0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x448255
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0041bfb0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x448270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d1e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00448d90
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor eax, eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
call fcn.00425650
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [edi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44836c
cmp dword [ebp - 0x18], 3
jne 0x44836c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x448343
push eax
mov ecx, esi
call fcn.00448ee0
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x10]
push ecx
push dword [esi]
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push 0
push 0
push eax
push dword [edi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x448358
inc ecx
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call fcn.0041bfb0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.00448c00
push 0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00419640
push 0x4ab9d4
lea eax, [ebp - 0x74]
push eax
call fcn.0044bc24
int3

Function at 0x4483a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
mov esi, ecx
call fcn.00448d90
xor eax, eax
mov dword [ebp - 0x10], 8
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.00425650
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x448450
cmp dword [ebp - 0x14], 0xb
jne 0x448450
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp ecx, 8
jb 0x44843a
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0041bfb0
mov ecx, dword [ebp - 0xc]
mov edx, edi
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00448c00
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00419640
push 0x4ab9d4
lea eax, [ebp - 0x78]
push eax
call fcn.0044bc24
int3