joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4455ad
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x45500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4ec], edi
mov dword [ebp - 0x4e0], 0x6a09e667
mov dword [ebp - 0x4dc], 0xbb67ae85
mov dword [ebp - 0x4d8], 0x3c6ef372
mov dword [ebp - 0x4d4], 0xa54ff53a
mov dword [ebp - 0x4d0], 0x510e527f
mov dword [ebp - 0x4cc], 0x9b05688c
mov dword [ebp - 0x4c8], 0x1f83d9ab
mov dword [ebp - 0x4c4], 0x5be0cd19
movlpd qword [ebp - 0x4e8], xmm0
mov byte [ebp - 0x480], 0
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x43bff5
push 0
push 0x400
lea eax, [ebp - 0x478]
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [esi + 8]
test eax, eax
je 0x43bfb0
push eax
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x4e8]
call fcn.00438950
add esp, 4
jmp 0x43bfb0
push 0x41
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x4e8]
call fcn.00438a10
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x4e8]
call fcn.00438b10
lea eax, [ebp - 0x78]
mov ecx, edx
push eax
call fcn.00438bf0
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
movups xmmword [edi], xmm0
add esp, 0x10
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c043
sub ecx, edx
lea eax, [ebp - 0x78]
push ecx
push eax
mov ecx, edi
call fcn.004018f0
mov eax, edi
jmp 0x43c0f3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043f497
mov esp, ebp
pop ebp
ret
Function at 0x43cf60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4456ed
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push 0x1c
call fcn.0043f6a2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ecx + 0x18]
mov dword [eax + 0x18], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x43d020
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
jne 0x43cfdf
push 6
mov dword [edi], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f497
mov esp, ebp
pop ebp
ret
Function at 0x43dbf0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445835
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x45500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edi, dword [ecx]
test edi, edi
jne 0x43dc5a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_open_the_process._Error_code:
call fcn.00401fc0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x40b340
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x43dd00
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x60], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x43dc7c
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov edx, dword [ebp + 0x30]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0043d660
add esp, 0x28
lea eax, [ebp - 0x38]
push 0x28
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x64], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x43dcc9
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push dword [ebp + 0x30]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x64], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43dcee
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 4
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0043d080
add esp, 0x54
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43dd1f
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x2c], 0
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x43dd37
mov edx, dword [ecx]
lea eax, [ebp + 0x34]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f497
mov esp, ebp
pop ebp
ret 0x54
Function at 0x43ed4f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0043ed2b
pop esi
leave
ret 8

Function at 0x4400b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4400f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4400f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4400f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4400f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4400f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403252
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x40e
push eax
mov word [ebp - 0x414], ax
mov esi, ecx
lea eax, [ebp - 0x412]
push eax
call fcn.00434620
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
add esp, 0xc
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4032a8
xor al, al
jmp 0x4032fa
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4032d5
cmp dword [ebp - 0x418], eax
je 0x4032a4
push dword [ebp - 0x418]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4032a4
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
call fcn.00401628
cmp dword [ebp - 0x418], 0
je 0x4032f8
push dword [ebp - 0x418]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043341a
mov esp, ebp
pop ebp
ret

Function at 0x40330a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
xor ebx, ebx
mov dword [ebp - 0x20], 0x25
mov esi, edx
lea eax, [ebp - 0x20]
push ebx
mov edi, ecx
mov ecx, esi
push eax
call fcn.004016ae
push esi
cmp eax, 0xffffffff
jne 0x40334a
mov ecx, edi
call fcn.00401e5c
jmp 0x4033de
lea ecx, [ebp - 0x1c]
call fcn.00401e5c
cmp dword [esi + 0x14], 8
jb 0x40335c
mov eax, dword [esi]
jmp 0x40335e
mov eax, esi
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x403379
push esi
mov ecx, edi
call fcn.00401e5c
push ebx
jmp 0x4033d4
xor ecx, ecx
add eax, 2
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00433411
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
jb 0x40339b
mov esi, dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4033c0
cmp eax, dword [ebp - 0x20]
ja 0x4033c0
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.00401628
push ebx
call fcn.004342b4
pop ecx
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00401432
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401751
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043341a
mov esp, ebp
pop ebp
ret
Function at 0x405316
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40537d
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00434620
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40537d
lea eax, [ebp - 0x804]
push eax
lea ecx, [esi + 0x10]
call fcn.00401628
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043341a
mov esp, ebp
pop ebp
ret 4

Function at 0x40538f
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
mov edi, ecx
xor ebx, ebx
push str.advapi32.dll
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [edi + 0x18], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x40542e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegCreateKeyExW
push eax
call esi
push str.RegQueryValueW
push dword [edi + 0x1c]
mov dword [edi], eax
call esi
push str.RegSetValueW
push dword [edi + 0x1c]
mov dword [edi + 4], eax
call esi
push str.RegQueryValueExW
push dword [edi + 0x1c]
mov dword [edi + 8], eax
call esi
push str.RegSetValueExW
push dword [edi + 0x1c]
mov dword [edi + 0xc], eax
call esi
push str.RegCloseKey
push dword [edi + 0x1c]
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
pop esi
cmp dword [edi], ebx
je 0x40542e
cmp dword [edi + 4], ebx
je 0x40542e
cmp dword [edi + 8], ebx
je 0x40542e
cmp dword [edi + 0xc], ebx
je 0x40542e
cmp dword [edi + 0x10], ebx
je 0x40542e
test eax, eax
je 0x40542e
mov byte [edi + 0x18], 1
mov eax, edi
pop edi
pop ebx
ret

Function at 0x40611e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00434620
push 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x58], 0x44
push edi
push eax
call fcn.00434620
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [ebp - 0x2c], 1
cmp dword [ecx + 0x14], 8
push 5
pop eax
mov word [ebp - 0x28], ax
jb 0x406162
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x40616d
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x58]
push edx
push ecx
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406199
cmp dword [ebp - 0x10], edi
je 0x406195
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x40619b
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4069ea
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, dword [edi]
jmp 0x406b8e
push esi
lea ecx, [ebp - 0x4c]
call fcn.00401e5c
lea ecx, [ebp - 0x4c]
call fcn.0040e960
test al, al
je 0x406b7f
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401e5c
lea ecx, [ebp - 0x64]
call fcn.004137ff
test al, al
je 0x406b73
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x38], 8
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.00434d0e
pop ecx
pop ecx
test eax, eax
jne 0x406b73
lea ecx, [ebp - 0xb4]
call fcn.0040538f
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 7
push str.delete
mov word [ebp - 0x34], ax
call fcn.00401628
and dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x68], 7
mov edx, ebx
mov word [ebp - 0x7c], ax
call fcn.0040c9e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
call fcn.00402149
push 0
push 1
lea ecx, [ebp - 0x1c]
inc ebx
call fcn.00401751
lea eax, [ebp - 0x64]
mov edx, str.cmd.exe__c_del__
push 0x449818
push eax
lea ecx, [ebp - 0x94]
call fcn.00404c52
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00404ca4
pop ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401e84
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401751
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.00401751
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 8], 7
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov word [ebp - 0x1c], ax
call fcn.00401628
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0xb4]
call fcn.0040558a
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401751
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00401751
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00401751
lea ecx, [ebp - 0xb4]
call fcn.00405433
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00401751
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401751
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x406a0b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043341a
mov esp, ebp
pop ebp
ret
Function at 0x406faf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x20], 0
push ebx
push esi
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0xc]
jb 0x406fd4
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
jne 0x406fe9
xor al, al
jmp 0x40702d
xor esi, esi
cmp dword [ebp - 0x20], esi
jle 0x40701e
push dword [ebx + esi*4]
lea ecx, [ebp - 0x1c]
call fcn.0040140d
cmp dword [ebp - 0xc], 0
je 0x40700c
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004049fc
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401751
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x406ff0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043341a
mov esp, ebp
pop ebp
ret 8
Function at 0x408d99
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [eax + 0x14], 8
jb 0x408dba
mov eax, dword [eax]
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x408de1
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043341a
mov esp, ebp
pop ebp
ret 4
Function at 0x409863
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x260]
mov esi, ecx
push 0x27f4
push eax
call fcn.004033f1
mov ecx, eax
call fcn.004133f6
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00434620
add esp, 0xc
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov edi, eax
test edi, edi
je 0x409919
push edi
call ebx
test eax, eax
je 0x409919
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x409919
xor eax, eax
lea ecx, [esi + 0x240]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x218]
push eax
call fcn.00401628
jmp 0x409936
push edi
call ebx
test eax, eax
je 0x409936
lea eax, [esi + 0x240]
cmp dword [eax + 0x14], 8
jb 0x40992e
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esi + 0x240]
mov edx, edi
lea ecx, [ebp - 0x248]
call fcn.0040330a
push eax
mov ecx, edi
call fcn.00401e84
xor ebx, ebx
lea ecx, [ebp - 0x248]
push ebx
push 1
call fcn.00401751
mov edx, str.__r_n
mov ecx, edi
call fcn.0040c740
cmp byte [esi + 0x80], bl
je 0x409a98
cmp dword [esi + 0x78], ebx
je 0x409a98
lea ecx, [esi + 0x68]
mov edx, edi
call fcn.0040c510
test al, al
jne 0x409a98
lea ecx, [ebp - 0x280]
call fcn.0040538f
lea eax, [esi + 0x2c4]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401e5c
lea ecx, [ebp - 0x248]
call fcn.0040c830
push 0x25
push 0x3a
pop edx
lea ecx, [ebp - 0x248]
call fcn.0040c680
add esp, 4
push 0x25
push 0x5c
pop edx
call fcn.0040c680
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x21c], esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
mov dword [esp], 0x449d80
call fcn.00401628
lea eax, [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.00405443
push 0
push 1
lea ecx, [ebp - 0x230]
mov bl, al
call fcn.00401751
test bl, bl
je 0x409a7d
xor eax, eax
mov dword [ebp - 0x21c], esi
xor ebx, ebx
mov word [ebp - 0x230], ax
push 0x449d80
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], ebx
call fcn.00401628
push edi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.0040558a
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00401751
jmp 0x409a7f
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.00401751
lea ecx, [ebp - 0x280]
call fcn.00405433
push ebx
push 1
lea ecx, [ebp - 0x260]
call fcn.00401751
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043341a
mov esp, ebp
pop ebp
ret
Function at 0x40d440
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x442658
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x456178]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x1c], 0
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004019ce
mov dword [esp + 0x30], 0
mov edx, 0x24
lea ecx, [esp + 0xc]
call fcn.0040cc20
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x40d4ef
push dword [esp + 0xc]
call fcn.004342db
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043341a
add esp, 0x2c
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442688
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov eax, dword [0x456178]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], 0
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.004019ce
mov dword [esp + 0x30], 0
mov edx, 0x24
lea ecx, [esp + 8]
call fcn.0040cc20
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d5d1
test al, 0x10
jne 0x40d5d1
mov bl, 1
jmp 0x40d5d3
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x1c], 8
jb 0x40d5ee
push dword [esp + 8]
call fcn.004342db
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
mov word [esp + 8], ax
mov al, bl
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043341a
mov esp, ebp
pop ebp
ret
Function at 0x40d630
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x442658
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x456178]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x1c], 0
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004019ce
mov dword [esp + 0x30], 0
mov edx, 0x24
lea ecx, [esp + 0xc]
call fcn.0040cc20
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d6cb
test al, 0x10
je 0x40d6cb
mov bl, 1
jmp 0x40d6cd
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x40d6e8
push dword [esp + 0xc]
call fcn.004342db
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043341a
add esp, 0x2c
ret