joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403939
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.00413e8c
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x403978
lea eax, [esi + 1]
push eax
push eax
mov ecx, edi
call fcn.004030a9
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 4], esi
mov word [eax + esi*2], cx
mov eax, edi
pop edi
pop esi
ret

Function at 0x403b44
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call edi
mov esi, dword [ebp + 8]
mov ecx, esi
mov ebx, eax
call fcn.00413e8c
lea eax, [ebx + 2]
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.004030a9
inc ebx
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.004030a9
push eax
push dword [ebp + 0xc]
call edi
mov edi, dword [esi]
push edi
call fcn.00401d34
pop ecx
mov dword [esi + 4], eax
xor ecx, ecx
mov word [edi + eax*2], cx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x404000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x422778], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.0041b390
call fcn.00402579
push 3
call fcn.004025d4
push 0x28
mov dword [0x4227a0], eax
call fcn.004025d4
push 2
mov dword [0x42279c], eax
call fcn.004025d4
push 5
mov dword [0x422798], eax
call fcn.004025d4
push 0x15
mov dword [0x422794], eax
call fcn.004025d4
push 0x16
mov dword [0x422790], eax
call fcn.004025d4
push 0x17
mov dword [0x42278c], eax
call fcn.004025d4
xor ebx, ebx
add esp, 0x1c
mov dword [0x422788], eax
mov dword [0x422780], ebx
mov dword [0x422784], ebx
xor edi, edi
push ebx
push edi
lea eax, [ebp - 0x268]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4040f4
push edi
lea eax, [ebp - 0x5c]
push str.SfxFolder_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 1
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403bf7
add esp, 0x18
xor esi, esi
cmp dword [esi + 0x4223b4], edi
jne 0x4040ec
push ebx
lea eax, [ebp - 0x268]
push eax
push dword [esi + 0x4223b8]
call fcn.00403bf7
add esp, 0xc
add esi, 8
cmp esi, 0x28
jb 0x4040ce
inc edi
cmp edi, 0x40
jl 0x404093
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404afc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.00413e8c
lea ecx, [ebp - 0x18]
call fcn.00413e8c
push 0x3c
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x10]
xor ebx, ebx
inc ebx
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x50], 0x740
mov dword [ebp - 0x38], ebx
test byte [ebp + 0xc], bl
je 0x404b4e
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x50], 0x8740
test byte [ebp + 0xc], 2
je 0x404b5b
mov dword [ebp - 0x48], str.runas
mov eax, dword [0x422760]
push 5
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00404372
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004142f0
cmp dword [ebp - 8], edi
jne 0x404ba5
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, ebx
jmp 0x404bf0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404bde
test dword [ebp + 0xc], 0x10000
jne 0x404bd3
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, edi
pop ecx
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x404ebc
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00413e8c
push 2
mov ecx, esi
call fcn.004030a9
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push 1
call edi
and dword [esi + 4], 0
mov ecx, dword [esi]
xor edx, edx
mov word [ecx], dx
test eax, eax
je 0x404f11
lea ebx, [eax + 1]
push ebx
mov ecx, esi
call fcn.004030a9
push eax
push ebx
call edi
mov edi, dword [esi]
push edi
call fcn.00401d34
pop ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov word [edi + eax*2], cx
mov eax, dword [esi + 4]
and dword [ebp + 8], 0
lea ecx, [eax + 0xf]
mov dword [ebp - 4], ecx
lea ebx, [eax + eax]
push dword [ebp - 4]
mov ecx, esi
call fcn.004030a9
push dword [ebp + 8]
add eax, ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esi]
push edi
call fcn.00401d34
xor ecx, ecx
add esp, 0x10
mov dword [esi + 4], eax
mov word [edi + eax*2], cx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404f67
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xfff
jl 0x404f21
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x404f6e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x42282c], esi
jle 0x404fc2
mov eax, dword [0x422828]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00413eb0
lea eax, [ebp - 0xc]
push eax
call fcn.00404133
mov eax, dword [0x422828]
mov eax, dword [eax + esi*4]
pop ecx
push dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
inc esi
pop ecx
cmp esi, dword [0x42282c]
jl 0x404f7f
pop esi
leave
ret
Function at 0x4050a2
Capabilities:
Create process on windows
Get disk information
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
cmp word [eax + 2], 0x3a
push ebx
push edi
jne 0x405256
movzx ecx, word [eax + 4]
cmp ecx, 0x5c
je 0x4050ca
cmp ecx, 0x2f
jne 0x405256
mov ax, word [eax]
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4050fc
push dword [ebp + 8]
jmp 0x405257
lea eax, [ebp - 0x24]
push str.7ZSfx_03x.cmd
push eax
call fcn.00404ebc
pop ecx
pop ecx
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40521e
push esi
lea ecx, [ebp - 0x18]
call fcn.00413e8c
push str.:Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.004142f0
mov edi, str.del__
push edi
lea ecx, [ebp - 0x18]
call fcn.00414348
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413f30
mov esi, 0x41e9b4
push esi
lea ecx, [ebp - 0x18]
call fcn.00414348
push str.if_exist__
lea ecx, [ebp - 0x18]
call fcn.00414348
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413f30
push str.__goto_Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.00414348
push edi
lea ecx, [ebp - 0x18]
call fcn.00414348
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413f30
push esi
lea ecx, [ebp - 0x18]
call fcn.00414348
mov esi, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040313c
mov eax, dword [eax]
add esp, 0xc
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x30]
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
pop esi
je 0x405231
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jne 0x405231
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push edi
push edi
push dword [ebp - 0x24]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40525c
push dword [ebp - 0x24]
call fcn.00402baf
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x40525d
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x406dd9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.00406d8c
add esp, 0x1c
leave
ret
Function at 0x408726
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.0040716f
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
add eax, 2
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.0040718c
push 1
inc edi
push edi
mov ecx, esi
call fcn.0040718c
and dword [ebp - 0x2c4], 0
push 0x2b0
lea eax, [ebp - 0x2c0]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4077dc
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.004083ed
mov ecx, esi
mov edi, eax
call fcn.00407deb
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40a830
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret

Function at 0x40ad60
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
cmp edi, 0x38
je 0x40ad98
lea ebx, [ebx]
and edi, 0x3f
jne 0x40ad8e
push esi
call fcn.0040a880
add esp, 4
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x40ad80
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.0040a880
mov edx, dword [esp + 0x18]
add esp, 4
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edi, dword [esi + eax*4]
bswap edi
bswap ecx
mov dword [edx], edi
mov dword [edx + 4], ecx
add eax, 2
add edx, 8
cmp eax, 8
jb 0x40adc1
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebx
ret
Function at 0x40af70
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
push esi
mov esi, ecx
cmp dword [esi], 0x3f
jne 0x40afd6
xor eax, eax
cmp dword [esi + 4], eax
jbe 0x40af90
mov cl, byte [esi + eax + 8]
mov byte [esi + eax + 0x20], cl
inc eax
cmp eax, dword [esi + 4]
jb 0x40af82
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jbe 0x40afb1
cmp eax, 0x20
jae 0x40b0de
mov edx, dword [esi + 0x18]
mov dl, byte [ecx + edx]
mov byte [eax + esi + 0x20], dl
inc ecx
inc eax
cmp ecx, dword [esi + 0x1c]
jb 0x40af97
cmp eax, 0x20
jae 0x40b0de
mov edx, 0x20
sub edx, eax
push edx
lea ecx, [eax + esi + 0x20]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
pop esi
add esp, 0x74
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x1c]
push ebx
push ebp
lea eax, [eax + ecx + 8]
xor ebp, ebp
xor ebx, ebx
push edi
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x40affa
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov edx, dword [esi + 4]
push edx
lea eax, [esi + 8]
push eax
push ebx
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 4]
push ecx
push edx
add eax, ebx
push eax
call sub.MSVCRT.dll_memcpy
mov edi, dword [esi + 4]
add edi, ebx
add edi, dword [esi + 0x1c]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov ecx, dword [esi]
add esp, 0x18
mov eax, 1
xor edx, edx
mov dword [esp + 0x1c], 0x6a09e667
mov dword [esp + 0x20], 0xbb67ae85
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.0041b950
mov ebp, eax
mov dword [esp + 0x18], edx
lea esp, [esp]
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.0040aa90
add esp, 0xc
xor eax, eax
inc byte [eax + edi]
jne 0x40b0b0
inc eax
cmp eax, 8
jb 0x40b0a5
mov eax, dword [esp + 0x18]
add ebp, 0xffffffff
adc eax, 0xffffffff
mov ecx, ebp
or ecx, eax
mov dword [esp + 0x18], eax
jne 0x40b090
add esi, 0x20
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.0040ad60
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x74
ret
Function at 0x41376a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413790
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x413790
xor al, al
jmp 0x4137a5
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x41b390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c20], ecx
inc edx
cmp edx, 0x100
jb 0x41b392
cmp edx, 0x800
jae 0x41b469
lea esp, [esp]
mov eax, dword [edx*4 + 0x424820]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c20]
inc edx
mov dword [edx*4 + 0x424c1c], eax
cmp edx, 0x800
jb 0x41b440
mov eax, 0x41bc40
mov dword [0x424c0c], eax
mov dword [0x426c20], eax
mov dword [0x424c08], 0x41bb60
call fcn.0041b6a0
test eax, eax
jne 0x41b495
mov dword [0x426c20], 0x41bb60
ret
Function at 0x401050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429bbe
mov eax, dword fs:[0]
push eax
mov eax, 0x4080
call fcn.004140a0
mov eax, dword [0x4312d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4030], 0
jmp 0x40109b
mov eax, dword [ebp - 0x4030]
add eax, 1
mov dword [ebp - 0x4030], eax
cmp dword [ebp - 0x4030], 2
jge 0x4011af
cmp dword [ebp - 0x4030], 0
jne 0x4010bf
mov ecx, dword [0x43b638]
mov dword [ebp - 0x407c], ecx
jmp 0x4010cb
mov edx, dword [0x43b63c]
mov dword [ebp - 0x407c], edx
mov eax, dword [ebp - 0x407c]
mov dword [ebp - 0x403c], eax
push 0x2000
push 0
mov ecx, dword [ebp - 0x4030]
shl ecx, 0xd
lea edx, [ebp + ecx - 0x402c]
push edx
call fcn.00413c30
add esp, 0xc
push 0x42b208
mov eax, dword [ebp - 0x4030]
shl eax, 0xd
lea ecx, [ebp + eax - 0x402c]
push ecx
call fcn.00413c0e
add esp, 8
mov edx, dword [ebp - 0x4030]
shl edx, 0xd
lea esi, [ebp + edx - 0x402c]
mov eax, dword [ebp - 0x4030]
shl eax, 0xd
lea ecx, [ebp + eax - 0x402c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esi + eax*2]
mov dword [ebp - 0x4034], edx
push 0
push 0
push 0x147
mov eax, dword [ebp - 0x403c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x4038], eax
cmp dword [ebp - 0x4038], 0
jne 0x40118a
push 0x42b210
mov ecx, dword [ebp - 0x4030]
shl ecx, 0xd
lea edx, [ebp + ecx - 0x402c]
push edx
call fcn.00413c0e
add esp, 8
jmp 0x4011aa
mov eax, dword [ebp - 0x4034]
push eax
mov ecx, dword [ebp - 0x4038]
push ecx
push 0x148
mov edx, dword [ebp - 0x403c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40108c
lea ecx, [ebp - 0x2c]
call fcn.00404960
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x202c]
push ecx
lea ecx, [ebp - 0x405c]
call fcn.00404990
mov dword [ebp - 0x4080], eax
mov edx, dword [ebp - 0x4080]
mov dword [ebp - 0x4084], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4084]
push eax
lea ecx, [ebp - 0x402c]
push ecx
lea ecx, [ebp - 0x4078]
call fcn.00404990
mov dword [ebp - 0x4088], eax
mov edx, dword [ebp - 0x4088]
mov dword [ebp - 0x408c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x408c]
push eax
call fcn.00401280
add esp, 0x10
mov byte [ebp - 0x403d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4078]
call fcn.004049d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x405c]
call fcn.004049d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004049d0
mov al, byte [ebp - 0x403d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414090
mov esp, ebp
pop ebp
ret
Function at 0x402010
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429c04
mov eax, dword fs:[0]
push eax
mov eax, 0x4080
call fcn.004140a0
mov eax, dword [0x4312d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4030], 0
jmp 0x40205b
mov eax, dword [ebp - 0x4030]
add eax, 1
mov dword [ebp - 0x4030], eax
cmp dword [ebp - 0x4030], 2
jge 0x40216f
cmp dword [ebp - 0x4030], 0
jne 0x40207f
mov ecx, dword [0x43b638]
mov dword [ebp - 0x407c], ecx
jmp 0x40208b
mov edx, dword [0x43b63c]
mov dword [ebp - 0x407c], edx
mov eax, dword [ebp - 0x407c]
mov dword [ebp - 0x403c], eax
push 0x2000
push 0
mov ecx, dword [ebp - 0x4030]
shl ecx, 0xd
lea edx, [ebp + ecx - 0x402c]
push edx
call fcn.00413c30
add esp, 0xc
push 0x42b7ec
mov eax, dword [ebp - 0x4030]
shl eax, 0xd
lea ecx, [ebp + eax - 0x402c]
push ecx
call fcn.00413c0e
add esp, 8
mov edx, dword [ebp - 0x4030]
shl edx, 0xd
lea esi, [ebp + edx - 0x402c]
mov eax, dword [ebp - 0x4030]
shl eax, 0xd
lea ecx, [ebp + eax - 0x402c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esi + eax*2]
mov dword [ebp - 0x4034], edx
push 0
push 0
push 0x147
mov eax, dword [ebp - 0x403c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x4038], eax
cmp dword [ebp - 0x4038], 0
jne 0x40214a
push 0x42b7f4
mov ecx, dword [ebp - 0x4030]
shl ecx, 0xd
lea edx, [ebp + ecx - 0x402c]
push edx
call fcn.00413c0e
add esp, 8
jmp 0x40216a
mov eax, dword [ebp - 0x4034]
push eax
mov ecx, dword [ebp - 0x4038]
push ecx
push 0x148
mov edx, dword [ebp - 0x403c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40204c
lea ecx, [ebp - 0x2c]
call fcn.00404960
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x202c]
push ecx
lea ecx, [ebp - 0x405c]
call fcn.00404990
mov dword [ebp - 0x4080], eax
mov edx, dword [ebp - 0x4080]
mov dword [ebp - 0x4084], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4084]
push eax
lea ecx, [ebp - 0x402c]
push ecx
lea ecx, [ebp - 0x4078]
call fcn.00404990
mov dword [ebp - 0x4088], eax
mov edx, dword [ebp - 0x4088]
mov dword [ebp - 0x408c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x408c]
push eax
call fcn.00402240
add esp, 0x10
mov byte [ebp - 0x403d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4078]
call fcn.004049d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x405c]
call fcn.004049d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004049d0
mov al, byte [ebp - 0x403d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414090
mov esp, ebp
pop ebp
ret
Function at 0x403320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 4
push str.HelpTextTitle
push 0x42bfd4
call fcn.00409190
add esp, 8
push eax
push str.HelpText
push 0x42bfe8
call fcn.00409190
add esp, 8
push eax
mov eax, dword [0x434620]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x403387
push 1
push 0
push 0
push str.ManualPath
push 0x42bffc
call fcn.00409190
add esp, 8
push eax
push str.open
mov ecx, dword [0x434620]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret