joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x43000c]
mov esi, ecx
lea edi, [ebp - 0x20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [edi]
movzx ecx, word [edi + 2]
movzx edi, word [edi + 6]
imul eax, eax, 0x2710
imul ecx, ecx, 0x64
add ecx, eax
add edi, ecx
cmp edi, dword [esi + 0x1c]
jne 0x401892
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x401892
cmp dword [esi + 0x20], eax
mov ebx, 3
jge 0x401960
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
xor ebx, ebx
mov dword [eax], ebx
push eax
push edx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call fcn.00401aa0
add esp, 0x18
test al, al
je 0x4018bf
cmp dword [esi + 0x1c], edi
jne 0x4018d4
mov eax, dword [esi + 0x20]
jmp 0x4018e0
mov eax, 0xfffffe70
xor ebx, ebx
add eax, dword [ebp - 0x24]
cmp eax, 0x64
setb bl
jmp 0x401960
xor eax, eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0
inc eax
mov dword [esi + 0x20], eax
cmp dword [esi + 0x10], 0
je 0x40195b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4018f4
mov eax, dword [esi]
push 0x42c82e
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x40195b
push dword [ebp - 0x20]
push 1
push 5
push str.GBP1_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.004019d0
add esp, 0xc
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.004019d0
add esp, 0xc
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ebx, 2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x404d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x43000c]
mov bl, 1
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x38], 0
je 0x404de3
cmp byte [ecx + 0x3d], 0
mov esi, ecx
je 0x404de3
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xffffffffffffffff
call edi
cmp eax, 0xffffffff
je 0x404de1
mov edi, dword [esi + 0x38]
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov ecx, ebx
call dword [section..00cfg]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x38]
call ebx
cmp eax, 3
je 0x404df7
cmp eax, 1
je 0x404dba
test eax, eax
jne 0x404de1
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
sub edi, eax
je 0x404dd8
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x404de1
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x404de3
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x404de3
Function at 0x406660
Capabilities:
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x1c
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 8], eax
push str.MOZ_CRASHREPORTER_NO_DELETE_DUMP
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x40668c
cmp byte [eax], 0
jne 0x40676b
cmp dword [0x43057c], 0
je 0x4066d9
lea esi, [ebp - 0x20]
mov edx, 0x43056c
mov ecx, esi
call fcn.00413af0
cmp dword [esi + 0x14], 7
jbe 0x4066ad
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
cmp ecx, 8
jb 0x4066d9
mov eax, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x40677b
push edx
push eax
call fcn.004286a1
add esp, 8
cmp dword [0x430594], 0
je 0x406722
lea esi, [ebp - 0x20]
mov edx, 0x430584
mov ecx, esi
call fcn.00413af0
cmp dword [esi + 0x14], 7
jbe 0x4066fa
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
cmp ecx, 8
jb 0x406722
mov eax, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x406796
push edx
push eax
call fcn.004286a1
add esp, 8
cmp dword [0x4305ac], 0
je 0x40676b
lea esi, [ebp - 0x20]
mov edx, 0x43059c
mov ecx, esi
call fcn.00413af0
cmp dword [esi + 0x14], 7
jbe 0x406743
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
cmp ecx, 8
jb 0x40676b
mov eax, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x4067b1
push edx
push eax
call fcn.004286a1
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00429010
add esp, 0x1c
pop esi
pop ebp
ret
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4067c9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x4066cf
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4067c9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x406718
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4067c9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x406761
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4133e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
mov eax, dword [0x43000c]
lea esi, [ebp - 0x24]
mov edx, ecx
mov ecx, esi
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.00413af0
cmp dword [esi + 0x14], 7
jbe 0x413407
mov esi, dword [ebp - 0x24]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
cmp ecx, 8
jb 0x413433
mov eax, dword [ebp - 0x24]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x41345d
push edx
push eax
call fcn.004286a1
add esp, 8
test esi, esi
jne 0x413444
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413459
mov bl, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00429010
mov eax, ebx
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x413446
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x413475
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x413429
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4143b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
cmp byte [0x430688], 1
movzx eax, cx
jne 0x41443e
xor ebx, ebx
push 5
push eax
push ebx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push eax
push ebx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push edi
push dword [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
or byte [esi + 0xa], 0x40
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
jmp 0x41444d
xor ecx, ecx
push ecx
push dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x415d00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x43000c]
mov edi, edx
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x10]
cmp dword [ecx + 0x10], eax
jne 0x415d42
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x415d29
mov ecx, dword [esi]
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x415d33
mov edx, dword [edi]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x415dbe
lea ebx, [ebp - 0x28]
mov edx, edi
mov ecx, ebx
call fcn.00413af0
cmp dword [ebx + 0x14], 7
jbe 0x415d57
mov ebx, dword [ebp - 0x28]
lea edi, [ebp - 0x40]
mov edx, esi
mov ecx, edi
call fcn.00413af0
cmp dword [edi + 0x14], 7
jbe 0x415d6c
mov edi, dword [ebp - 0x40]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x2c]
cmp eax, 1
sete bl
cmp ecx, 8
jb 0x415d9b
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x415dd4
push edx
push eax
call fcn.004286a1
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x415dc0
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x415dec
push edx
push eax
call fcn.004286a1
add esp, 8
jmp 0x415dc0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x415e04
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x415d91
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x415e04
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x415db2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4184c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x81c
mov eax, dword [0x43000c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ecx + 8]
mov dword [ebp - 0x824], eax
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
xor eax, eax
push eax
push eax
push 0x31
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x418505
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea edi, [ebp - 0x810]
push 0x400
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x1c], 8
mov ecx, dword [ebp - 0x824]
jb 0x418530
mov ecx, dword [ebp - 0x824]
mov ecx, dword [ecx]
lea edx, [ebp - 0x818]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
mov dword [ebp - 0x828], 0
je 0x4185c1
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ecx, [ebp - 0x820]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x4185c1
mov eax, dword [ebp - 0x818]
mov edx, dword [ebp - 0x820]
sub eax, edx
js 0x4185c1
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 4]
test edi, edi
jne 0x41858c
mov edi, dword [ecx + 8]
sub edi, edx
sub edi, dword [ecx]
add edi, eax
cmp byte [esi + 0x20], 0
mov dword [ebp - 0x828], edi
je 0x41859e
sub dword [ecx], edi
jmp 0x4185a1
add dword [ecx + 8], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
sub ecx, edi
sub eax, edx
push 1
push ecx
push eax
push edi
push edx
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x1c]
cmp ecx, 8
jb 0x4185e7
mov eax, dword [ebp - 0x824]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
mov eax, dword [eax]
jae 0x418616
push edx
push eax
call fcn.004286a1
add esp, 8
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
mov eax, dword [ebp - 0x828]
add esp, 0x81c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41862e
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x4185dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x418640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x43000c]
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, edx
lea ebx, [ebp - 0x1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ecx], 0
push ebx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x418686
push ebx
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x418686
xor ebx, ebx
jmp 0x4186c6
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x20]
lea edi, [ebp - 0x14]
mov dword [ecx], 4
push ecx
push edx
push edi
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
test eax, eax
jne 0x4186bd
cmp dword [ebp - 0x14], 4
jne 0x4186bd
cmp dword [ebp - 0x20], 1
mov eax, dword [ebp + 8]
mov bl, 1
sete byte [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x418aa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x83c
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x3f6
mov dword [ebp - 0x840], ecx
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
xor eax, eax
push eax
push eax
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x418aec
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x838]
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
push esi
push dword [ebp - 0x840]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea esi, [ebp - 0x810]
push 0x400
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ecx, [ebp - 0x828]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x418ba2
mov ecx, dword [ebp - 0x838]
mov esi, dword [ebp - 0x830]
mov eax, dword [ebp - 0x828]
sub esi, ecx
mov dword [ebp - 0x844], ecx
cmp eax, esi
jl 0x418ba2
cvtsi2ss xmm0, eax
cvtsi2ss xmm1, esi
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x848]
mov ecx, dword [ebp - 0x834]
cvttss2si eax, dword [ebp - 0x848]
mov ebx, ecx
imul eax, dword [ebp - 0x824]
sub ebx, dword [ebp - 0x82c]
add ebx, eax
test ebx, ebx
jg 0x418bb7
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
add esp, 0x83c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
inc edx
push edx
push eax
push esi
push ecx
push dword [ebp - 0x844]
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [0x430680]
mov ecx, dword [esi + 4]
call fcn.004180a0
mov eax, dword [0x430680]
lea edi, [ebp - 0x83c]
lea ecx, [ebp - 0x820]
mov edx, edi
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 8], esi
mov dword [0x430684], 0
mov dword [edi], 0x3ed
call fcn.004198f0
mov dword [edi], 0x3f4
lea edi, [ebp - 0x820]
lea edx, [ebp - 0x83c]
mov ecx, edi
call fcn.004198f0
push edi
mov esi, dword [ebp - 0x840]
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
add ebx, dword [edi + 0xc]
mov dword [edi + 0xc], ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
sub ebx, ecx
sub edx, eax
xor edi, edi
inc edi
push edi
push ebx
push edx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
lea esi, [ebp - 0x820]
mov edx, 0x42a440
mov ecx, esi
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a444
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a448
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a44c
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a450
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a454
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a458
call fcn.004198f0
mov ecx, esi
mov edx, 0x42a45c
call fcn.004198f0
jmp 0x418ba2
Function at 0x419560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x43000c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x3ef
push ecx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x4196a1
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
push ecx
push eax
call ebx
push 0x3ee
push esi
call edi
xor ecx, ecx
push ecx
push eax
call ebx
push 0x3f3
push esi
call edi
xor ecx, ecx
push ecx
push eax
call ebx
push 0x3f2
push esi
call edi
xor ecx, ecx
push ecx
push eax
call ebx
push 0x3ed
push esi
call edi
xor ecx, ecx
push ecx
push eax
call ebx
push 0x3f4
push esi
call edi
xor ecx, ecx
push ecx
push eax
call ebx
lea edi, [ebp - 0x28]
mov edx, str.ReportDuringSubmit2
mov ecx, edi
call fcn.00413a10
cmp dword [edi + 0x14], 7
jbe 0x419601
mov edi, dword [ebp - 0x28]
push edi
push 0x3f6
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x419633
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x41972c
push edx
push eax
call fcn.004286a1
add esp, 8
mov ecx, esi
call fcn.00418aa0
mov edi, 0x3f7
push edi
push esi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
call ebx
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push esi
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
mov dword [0x4305d0], esi
mov ecx, 0x4305d8
mov dword [0x43068c], edi
push 0x430638
call fcn.00422630
push edi
push edi
push 0x4305d0
push 0x413c80
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x43068c], eax
jmp 0x41971a
push 0x3f2
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
xor ebx, ebx
test eax, eax
mov edi, 0x430650
mov ecx, 0x430650
setne al
cmp dword [0x430664], 7
jbe 0x4196cd
mov ecx, dword [0x430650]
mov bl, al
mov edx, str.IncludeURL
push ebx
call fcn.00419b50
add esp, 4
push 0x3ef
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
xor ebx, ebx
test eax, eax
setne al
cmp dword [0x430664], 7
jbe 0x4196ff
mov edi, dword [0x430650]
mov bl, al
mov ecx, edi
mov edx, str.SubmitCrashReport
push ebx
call fcn.00419b50
add esp, 4
push 0
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x419747
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x419629
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x419750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x9c54
call fcn.00429750
mov dword [ebp - 0x9c60], edx
mov edi, ecx
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x4e32]
push 0x2711
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ebx, [ebp - 0x9c5c]
lea esi, [ebp - 0x9c58]
push ebx
push esi
push 0xb0
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx]
mov ecx, dword [esi]
mov edi, 0xfffffffe
sub eax, ecx
je 0x4197f9
lea ecx, [ebp + ecx*2 - 0x4e32]
lea esi, [ebp - 0x9c54]
push eax
push ecx
push 0x2711
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov eax, dword [ebp - 0x9c5c]
sub eax, dword [ebp - 0x9c58]
mov word [ebp + eax*2 - 0x9c54], 0
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
not edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor esi, esi
xor eax, eax
mov ecx, 0xfde9
dec eax
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x4e32]
push eax
push esi
push ecx
call ebx
mov ecx, ebx
mov ebx, eax
push esi
push esi
push esi
push esi
mov eax, 0xffffffff
push eax
push dword [ebp - 0x9c60]
push esi
mov eax, 0xfde9
push eax
call ecx
mov ecx, dword [ebp - 0x10]
add ebx, edi
add ebx, eax
xor ecx, ebp
call fcn.00429010
mov eax, ebx
add esp, 0x9c54
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x419b50
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x43000c]
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push 2
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419b96
push str.SubmitReport
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 2
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419bc2
push str.SubmitReport
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x419bf9
movzx eax, byte [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
mov eax, 4
push eax
push ecx
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x427fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x43000c]
mov esi, edx
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [ecx]
mov edx, dword [ebx + 4]
cmp byte [edx + 0xd], 0
je 0x42802b
mov dword [ebp - 0x14], ebx
mov eax, ebx
cmp ebx, dword [eax]
je 0x428064
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, esi
call fcn.004278f0
mov esi, dword [esi]
mov al, 1
mov dword [ebp - 0x20], eax
lea ecx, [esi + 0x10]
mov edx, edi
call fcn.00422ba0
test al, al
je 0x42807c
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ebp - 0x20]
mov edx, esi
push dword [ebp + 0xc]
push ebx
push eax
call fcn.00427dc0
add esp, 0xc
mov al, 1
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429010
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov esi, edx
add edx, 0x10
mov ecx, edi
call fcn.00422ba0
mov ecx, eax
xor cl, 1
movzx ecx, cl
mov edx, dword [esi + ecx*8]
cmp byte [edx + 0xd], 0
je 0x428031
test al, al
mov dword [ebp - 0x14], esi
je 0x42806e
mov ecx, dword [ebp - 0x1c]
mov ebx, esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx]
jmp 0x427fc8
mov edx, esi
push dword [ebp + 0xc]
push ebx
push 1
jmp 0x42800a
mov dword [ebp - 0x20], 0
mov ebx, esi
jmp 0x427fe7
mov ecx, dword [ebp + 0xc]
call fcn.00428090
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov esi, eax
xor eax, eax
jmp 0x428014