joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43da80
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aeea0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x43db12
lea eax, [ebp - 0xc]
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x18], xmm0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call fcn.0043db80
add esp, 8
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], 8
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x43db24
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a8cf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0045a8cf
mov esp, ebp
pop ebp
ret

Function at 0x4400e0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x440112
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
pop ebp
ret

Function at 0x440290
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x4402c3
push 0x2e
push edi
call fcn.0045f190
add esp, 8
test eax, eax
je 0x4402c1
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x441190
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4411bd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x441204
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x44120a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x44126a
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
lea ebx, [ebx]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
lea ebx, [ebx + 1]
call eax
add esp, 0x18
dec dword [ebp + 0x10]
jne 0x441230
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x441297
nop
mov eax, dword [esi + 4]
push 1
push str.6digit
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x49bbb7
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x441270
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47c98a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aeea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004658d5
mov dword [ebp - 0x14], eax
cmp dword [0x4b4e44], edi
jne 0x47ca7b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x47ca08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47cb5b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47cb5b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47cb5b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4b4e44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4b4e48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4b4e4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b4e54], eax
test eax, eax
je 0x47ca78
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b4e50], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47caa0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47ca93
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x47cab5
push 4
pop eax
jmp 0x47cb5d
cmp dword [ebp - 0x14], edi
je 0x47cab5
push dword [0x4b4e44]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47ca9a
mov eax, dword [0x4b4e50]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x47cb13
cmp dword [0x4b4e54], esi
je 0x47cb13
push eax
call ebx
push dword [0x4b4e54]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47cb13
test eax, eax
je 0x47cb13
call ecx
test eax, eax
je 0x47cb08
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47cb08
test byte [ebp - 8], 1
jne 0x47cb13
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x47cb43
mov eax, dword [0x4b4e48]
cmp eax, esi
je 0x47cb40
push eax
call ebx
test eax, eax
je 0x47cb40
call eax
mov edi, eax
test edi, edi
je 0x47cb40
mov eax, dword [0x4b4e4c]
cmp eax, esi
je 0x47cb40
push eax
call ebx
test eax, eax
je 0x47cb40
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4b4e44]
call ebx
test eax, eax
je 0x47cb5b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x47cb5d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a8cf
leave
ret
Function at 0x480a8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004681a7
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x480ac6
xor eax, eax
jmp 0x480af2
cmp esi, dword [ebp - 4]
je 0x480aef
cmp dword [ebp + 0xc], 0
je 0x480aef
push dword [edi + 0x9c]
call fcn.0048069c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00465be2
pop ecx
pop ecx
cmp esi, eax
je 0x480ac2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x405d9f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x457288
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x457288], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405dda
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405f90
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405fad
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x405fb0
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [eax + 1]
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40968c]
mov dword [ebp - 8], eax
mov eax, dword [0x409690]
dec edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x406030
test edi, edi
jne 0x405fed
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x40602a

Function at 0x406034
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4060ad
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x4008
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406096
cmp dword [ebp + 0x14], 1
je 0x40609b
cmp dword [ebp + 0x14], 2
je 0x40609b
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x4006], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x14
Function at 0x406248
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406271
mov eax, dword [0x40b058]
cmp eax, 0xffffffff
je 0x406265
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40b058], 0xffffffff
jmp 0x40631c
cmp dword [0x461530], ebx
je 0x40631c
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp word [0x46a560], bx
je 0x4062e8
cmp dword [0x40b058], 0xffffffff
jne 0x4062f1
mov esi, 0x46a560
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 4
push 0x40000000
push esi
mov dword [ebp + 8], eax
call fcn.00405fb0
mov dword [0x40b058], eax
cmp eax, 0xffffffff
je 0x40631a
cmp dword [ebp + 8], 0xffffffff
jne 0x4062dd
push ebx
lea ecx, [ebp - 4]
push ecx
push 2
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 8], 0xfeff
call edi
mov eax, dword [0x40b058]
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40b058], 0xffffffff
je 0x40631a
push 0x4096a8
mov esi, 0x461540
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push esi
push dword [0x40b058]
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4068df
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4572d0
push esi
call fcn.0040616a
push esi
call fcn.00405eb9
mov edi, eax
test edi, edi
jne 0x406900
xor eax, eax
jmp 0x40695d
push edi
call fcn.00406199
test byte [0x472e28], 0x80
je 0x40691c
movzx eax, word [edi]
test ax, ax
je 0x4068fc
cmp eax, 0x5c
je 0x4068fc
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x40693e
push esi
call fcn.00406436
test eax, eax
je 0x406938
test byte [eax], 0x10
je 0x406962
push esi
call fcn.004068b2
push esi
call ebx
cmp eax, edi
jg 0x406929
push esi
call fcn.00406883
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x40695c
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
push 0
mov dword [edi], 0x4237d4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xc
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x401082
sub eax, esi
sub eax, 0xa
mov dword [esi + 6], eax
mov byte [esi], 0xb9
mov byte [esi + 5], 0xe9
mov dword [esi + 1], edi
mov dword [edi + 8], esi
mov eax, edi
pop esi
leave
ret

Function at 0x401639
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
pop ecx
lea ecx, [esp + 0xc]
call fcn.00413dfe
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00401613
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0x432b50
push 0x432f4c
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x4016b8
push 0x4237ec
mov ecx, 0x427140
call fcn.00416d9e
pop ecx
call fcn.004010c5
mov esi, eax
call fcn.004019e4
test eax, eax
je 0x40173b
lea eax, [esp + 0xc]
push eax
mov eax, esi
call fcn.0040175c
push dword [eax]
call fcn.00414700
mov eax, dword [esp + 0x10]
pop ecx
add eax, 0xfffffff0
call fcn.00401613
mov eax, dword [esi]
push dword [eax + 0x5d4]
call fcn.00412df3
mov eax, dword [esi]
pop ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x2c]
and ecx, 4
mov ebx, esi
mov dword [0x432f94], ecx
mov dword [0x4320ec], eax
call fcn.00403a74
call fcn.004097f8
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [0x432f4c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 2
pop esi
jmp 0x40171f
Function at 0x402d1e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x402cd7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret 4

Function at 0x403c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
stosd dword es:[edi], eax
push esi
push esi
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push esi
push dword [eax + 0x5e0]
push dword [eax + 0x5dc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x403cf2
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x403d02
push str.CBugReportInfo::RestartCrashProcess_Fail_
mov ecx, str.BugReport
call fcn.00416d9e
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x406aae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406b05
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x406af7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x406af3
cmp edi, eax
jae 0x406af7
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x406ae5
cmp edi, eax
jb 0x406afb
xor eax, eax
jmp 0x406b04
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4070d8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x420189
call fcn.0041fbf4
and dword [ebp - 0x10], 0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x407139
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.00401409
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
or eax, 0xffffffff
call fcn.0040583a
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
call fcn.00405f8b
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
call fcn.00401613
mov eax, edi
call fcn.0041fccc
ret 8
Function at 0x40841d
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x2f4
mov eax, 0x420d4d
call fcn.0041fc5d
mov ebx, ecx
push 0x3f2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x2cc], eax
test eax, eax
je 0x408698
push 0x4075a7
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x432f54], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x110
push 0x2b4
mov dword [ebx + 0x34], eax
lea eax, [ebp - 0x2c8]
push eax
push 0x80
push str.file.txt
call edi
push dword [ebp - 0x2c8]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0xffffffffffffffff
push dword [ebx + 0x34]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0x80
push str.file.dmp
call edi
push dword [ebp - 0x2c8]
push 0xffffffffffffffff
push dword [ebx + 0x34]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0x80
push str.file.tlg
call edi
push dword [ebp - 0x2c8]
push 0xffffffffffffffff
push dword [ebx + 0x34]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2fc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x300]
push eax
push 0
push 0x1061
push dword [ebp - 0x2cc]
mov dword [ebp - 0x300], 4
mov dword [ebp - 0x2f4], str.name
call esi
push dword [ebx + 0x34]
push 0
push 0x1003
push dword [ebp - 0x2cc]
call esi
xor edi, edi
inc edi
lea eax, [ebp - 0x2e0]
push edi
push eax
call fcn.004010c5
mov ebx, eax
call fcn.0040471c
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x2cc]
mov ecx, eax
call fcn.00409d00
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
call fcn.00401613
lea eax, [ebp - 0x2d0]
push 2
push eax
call fcn.004010c5
mov ebx, eax
call fcn.0040471c
mov dword [ebp - 4], edi
push dword [ebp - 0x2d0]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4085c2
push 0
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2d0]
call fcn.00409d00
lea eax, [ebp - 0x2d4]
push 0x60
push eax
call fcn.004010c5
call fcn.004046b5
mov byte [ebp - 4], 2
push dword [ebp - 0x2d4]
call esi
test eax, eax
je 0x4085f7
push edi
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2d4]
call fcn.00409d00
cmp dword [0x432f90], 0
je 0x40863a
lea eax, [ebp - 0x2dc]
push 0x167
push eax
call fcn.004010c5
call fcn.004046b5
push edi
push dword [ebp - 0x2cc]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00409d00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2dc]
add eax, 0xfffffff0
call fcn.00401613
lea eax, [ebp - 0x2d8]
push eax
call fcn.004010c5
call fcn.004046fb
mov byte [ebp - 4], 4
push dword [ebp - 0x2d8]
call esi
test eax, eax
je 0x40866e
push 0
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2d8]
call fcn.00409d00
mov eax, dword [ebp - 0x2d8]
add eax, 0xfffffff0
call fcn.00401613
mov eax, dword [ebp - 0x2d4]
add eax, 0xfffffff0
call fcn.00401613
mov eax, dword [ebp - 0x2d0]
add eax, 0xfffffff0
call fcn.00401613
call fcn.0041fce0
ret
Function at 0x40a43c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42123e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x432034]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x3fc
call fcn.0040872d
test eax, eax
je 0x40a5ca
call fcn.004010c5
mov edi, eax
call fcn.00404e4d
test eax, eax
je 0x40a5ca
push 0x40
xor esi, esi
lea eax, [esp + 0x34]
push esi
push eax
mov dword [esp + 0x38], 0x44
call sub.MSVCR100.dll_memset
xor eax, eax
mov dword [esp + 0x28], esi
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
inc ebx
stosd dword es:[edi], eax
mov eax, ebx
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], ax
call int.00414842
lea ecx, [esp + 0x14]
push 0x42872c
push ecx
mov ecx, eax
mov dword [esp + 0x88], esi
call fcn.004057c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], bl
push str.___manual_0
push ecx
mov ebx, eax
call fcn.00405748
add esp, 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401613
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401613
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x40a53d
push dword [eax - 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.00401506
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
or eax, 0xffffffff
lea esi, [esp + 0x10]
call fcn.0040583a
test edi, edi
je 0x40a5a6
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
push 0x428730
mov ecx, 0x427118
call fcn.00416d9e
mov eax, dword [esp + 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.00401613
xor eax, eax
inc eax
jmp 0x40a5cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateCrashApp:_launch_txupd_failed__lu
mov ecx, 0x427118
call fcn.00416d9e
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401613
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4