joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49ea10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0047a93b
mov eax, dword [0x4f0158]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0047a86d
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00486440
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x485a07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4859fe
cmp al, 0xff
je 0x4859fe
dec al
mov byte [ecx], al
jmp 0x485a07
push ecx
call fcn.0048ee84
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x485a38
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x485a2f
cmp al, 0xff
je 0x485a2f
dec al
mov byte [ecx], al
jmp 0x485a38
push ecx
call fcn.0048ee84
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4914be
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4914f6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048f575
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048f54d
jmp 0x491502
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x492bb3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x492bf5
call fcn.00498768
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x492bf5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x492bec
xor eax, eax
jmp 0x492bfd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00492c03
pop edi
pop esi
pop ebx
ret 4

Function at 0x498c98
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x498cc6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x498ce4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00498bfe
jmp 0x498ce4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x498ce4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00498bfe
test edi, edi
mov eax, edi
jne 0x498cce
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42fd7f
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.00439a30
mov eax, dword [0x47405c]
mov ecx, dword [0x473ae8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x42fe74
mov edi, ecx
mov ebx, eax
cmp dword [0x47405c], 0x959
jne 0x42fe64
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x42f918
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x1400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x42f930
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.0042fb47
add edi, 8
dec ebx
jne 0x42fdab
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433099
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f058]
jne 0x4330a3
repz ret
jmp fcn.004376ca

Function at 0x437ffb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00435261
and dword [ebp - 0x14], 0
cmp dword [0x445a40], 0
mov dword [ebp - 0x18], eax
jne 0x4380ae
push 0x402604
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x438156
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4025f8
push ebx
call edi
test eax, eax
je 0x438156
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4025e8
push ebx
mov dword [0x445a40], eax
call edi
push eax
call esi
push 0x4025d4
push ebx
mov dword [0x445a44], eax
call edi
push eax
call esi
push 0x4025b8
push ebx
mov dword [0x445a48], eax
call edi
push eax
call esi
mov dword [0x445a50], eax
test eax, eax
je 0x4380ae
push 0x4025a0
push ebx
call edi
push eax
call esi
mov dword [0x445a4c], eax
mov eax, dword [0x445a4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x438107
cmp dword [0x445a50], ecx
je 0x438107
push eax
call esi
push dword [0x445a50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x438107
test ebx, ebx
je 0x438107
call edi
test eax, eax
je 0x4380fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4380fe
test byte [ebp - 8], 1
jne 0x438107
or dword [ebp + 0x10], 0x200000
jmp 0x43813a
mov eax, dword [0x445a44]
cmp eax, dword [ebp - 0x18]
je 0x43813a
push eax
call esi
test eax, eax
je 0x43813a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43813a
mov eax, dword [0x445a48]
cmp eax, dword [ebp - 0x18]
je 0x43813a
push eax
call esi
test eax, eax
je 0x43813a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x445a40]
call esi
test eax, eax
je 0x438156
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x438158
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433099
leave
ret
Function at 0x401e50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret

Function at 0x402000
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x402030
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x6a385dbc
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x6ae05968
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40297c
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x415044], 0
jne 0x402a05
mov eax, esp
call fcn.00405fac
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040fe14
test eax, eax
jne 0x402a05
push 0x41523d
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040fce8
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040fc68
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x402aee
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x4158fc], 0
je 0x402b65
cmp byte [0x416e3c], 0
je 0x402b65
lea edx, [esp + 8]
mov eax, 0x416e3c
call fcn.00402abd
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x402b65
mov eax, ebx
call fcn.0040fce8
inc eax
push eax
push ebx
push 1
push 0
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x408
pop ebx
ret

Function at 0x402b6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x4158fc], 0
je 0x402be6
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.00402abd
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402be6
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x402bde
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040fd68
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x402cac
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1a6363c3
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a81ed9
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402469
Capabilities:
Delete file
Query environment variable

Disassembly:
push str.MOZ_CRASHREPORTER_NO_DELETE_DUMP
call dword [sym.imp.MOZCRT19.dll_getenv]
test eax, eax
pop ecx
je 0x40247e
cmp byte [eax], 0
jne 0x4024a4
cmp dword [0x41417c], 0
je 0x402491
mov ecx, 0x414168
call fcn.0040a6db
cmp dword [0x414198], 0
je 0x4024a4
mov ecx, 0x414184
jmp fcn.0040a6db
ret
Function at 0x404da7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x41411c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x28], edi
je 0x404ebb
cmp byte [edi + 0x41], 0
je 0x404ebb
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x404de6
xor al, al
jmp 0x404ebd
lea esi, [ebp - 0x20]
call fcn.004043b5
lea eax, [edi + 0x44]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x20]
call fcn.004047b5
mov esi, eax
call fcn.00403c3d
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x20]
call fcn.004047b5
mov esi, eax
call fcn.00403c3d
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x24]
push esi
mov esi, dword [ebp - 0x30]
add ebx, esi
push ebx
push eax
push dword [ebp - 0x2c]
call dword [edx + 0x18]
sub eax, 0
je 0x404e52
dec eax
je 0x404e56
dec eax
dec eax
je 0x404eb7
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404930
mov al, bl
jmp 0x404ebd
mov byte [edi + 0x41], 0
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x20]
call fcn.004047b5
mov esi, eax
call fcn.00403c3d
mov ebx, dword [ebp - 0x24]
sub ebx, eax
je 0x404e95
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x20]
call fcn.004047b5
mov esi, eax
call fcn.00403c3d
push dword [edi + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.MOZCRT19.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x404e40
cmp byte [edi + 0x41], 0
je 0x404eb7
test ebx, ebx
jne 0x404df4
push ebx
push 8
pop ebx
lea edi, [ebp - 0x20]
call fcn.00404408
mov edi, dword [ebp - 0x28]
jmp 0x404df4
mov bl, 1
jmp 0x404e42
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ea20
leave
ret

Function at 0x407ce3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x407d26
cmp byte [ebp + 0x10], al
push 4
setne al
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x407d28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.0040f540
mov eax, dword [0x41411c]
xor eax, ebp
mov dword [ebp + 0xf88], eax
mov eax, dword [ebp + 0xf94]
push esi
mov esi, ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push str.Email
push eax
mov dword [ebp - 0x80], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407d87
cmp dword [ebp - 0x7c], 1
jne 0x407d87
lea eax, [ebp - 0x78]
call fcn.004050e8
mov al, 1
jmp 0x407d89
xor al, al
mov ecx, dword [ebp + 0xf88]
xor ecx, ebp
pop esi
call fcn.0040ea20
add ebp, 0xf8c
leave
ret
Function at 0x407d4d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.0040f540
mov eax, dword [0x41411c]
xor eax, ebp
mov dword [ebp + 0xf88], eax
mov eax, dword [ebp + 0xf94]
push esi
mov esi, ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push str.Email
push eax
mov dword [ebp - 0x80], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407d87
cmp dword [ebp - 0x7c], 1
jne 0x407d87
lea eax, [ebp - 0x78]
call fcn.004050e8
mov al, 1
jmp 0x407d89
xor al, al
mov ecx, dword [ebp + 0xf88]
xor ecx, ebp
pop esi
call fcn.0040ea20
add ebp, 0xf8c
leave
ret

Function at 0x408197
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x41411c]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b0]
push ebx
push esi
push edi
push 0x800
lea ecx, [ebp - 0x5c]
push ecx
push 0x3f1
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.0040426f
cmp dword [0x41421c], 8
mov eax, dword [0x414208]
mov ebx, 0x414208
jae 0x4081f3
mov eax, ebx
lea ecx, [ebp - 0x64]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x408237
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x408213
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.Email
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea esi, [ebp - 0x80]
call fcn.00405155
cmp dword [0x41421c], 8
mov edi, dword [0x414208]
jae 0x408254
mov edi, ebx
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f2
push dword [ebp - 0x60]
call esi
test eax, eax
setne al
push eax
push str.IncludeURL
push edi
call fcn.00407ce3
mov edi, dword [0x414208]
add esp, 0xc
cmp dword [0x41421c], 8
jae 0x408289
mov edi, ebx
push 0x3f0
push dword [ebp - 0x60]
call esi
test eax, eax
setne al
push eax
push str.EmailMe
push edi
call fcn.00407ce3
mov edi, dword [0x414208]
add esp, 0xc
cmp dword [0x41421c], 8
jae 0x4082b8
mov edi, ebx
push 0x3ef
push dword [ebp - 0x60]
call esi
test eax, eax
setne al
push eax
push str.SubmitReport
push edi
call fcn.00407ce3
add esp, 0xc
push dword [ebp + 0x7b4]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp + 0x7a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ea20
add ebp, 0x7a8
leave
ret
Function at 0x4082fd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x41411c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x3f6
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x408345
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x81c]
push eax
push ebx
push edi
call fcn.00407f76
add esp, 0xc
push 0x400
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.MOZCRT19.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x408495
mov eax, dword [ebp - 0x814]
sub eax, dword [ebp - 0x81c]
cmp dword [ebp - 0x824], eax
mov dword [ebp - 0x80c], eax
jl 0x408495
fild dword [ebp - 0x824]
push ecx
push ecx
fidiv dword [ebp - 0x80c]
fstp dword [ebp - 0x80c]
fld dword [ebp - 0x80c]
fstp qword [esp]
call dword [sym.imp.MOZCRT19.dll_ceil]
fstp dword [ebp - 0x80c]
fld dword [ebp - 0x80c]
pop ecx
fstp dword [ebp - 0x80c]
pop ecx
fld dword [ebp - 0x80c]
call fcn.0040f490
imul eax, dword [ebp - 0x820]
mov esi, dword [ebp - 0x818]
sub esi, dword [ebp - 0x810]
add esi, eax
test esi, esi
jle 0x408495
push 1
push eax
mov eax, dword [ebp - 0x814]
sub eax, dword [ebp - 0x81c]
push eax
push dword [ebp - 0x818]
push dword [ebp - 0x81c]
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
call fcn.0040ad52
lea eax, [ebp - 0x80c]
push eax
lea edi, [ebp - 0x830]
mov dword [ebp - 0x80c], 0x3ed
call fcn.0040ac10
lea eax, [ebp - 0x80c]
push eax
lea edi, [ebp - 0x830]
mov dword [ebp - 0x80c], 0x3f4
call fcn.0040ac10
push esi
push ebx
call fcn.00407fb9
pop ecx
pop ecx
push 0xa
mov esi, 0x410ac0
pop ebx
push esi
lea edi, [ebp - 0x830]
call fcn.0040ac10
add esi, 4
dec ebx
jne 0x408483
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ea20
leave
ret
Function at 0x4084a4
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, 0x3ef
push esi
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
push 0
jne 0x4084cc
push edi
call fcn.00408197
pop ecx
pop ecx
jmp 0x4085f3
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
push 0x3ee
push edi
call ebx
push eax
call esi
push 0
push 0x3f3
push edi
call ebx
push eax
call esi
push 0
push 0x3f2
push edi
call ebx
push eax
call esi
push 0
push 0x3f0
push edi
call ebx
push eax
call esi
push 0
push 0x3f1
push edi
call ebx
push eax
call esi
push 0
push 0x3ed
push edi
call ebx
push eax
call esi
push 0
push 0x3f4
push edi
call ebx
push eax
call esi
lea eax, [ebp - 0x24]
push str.ReportDuringSubmit2
push eax
call fcn.00407c0a
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x408555
mov eax, dword [eax + 4]
jmp 0x408558
add eax, 4
push eax
push 0x3f6
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 1
lea esi, [ebp - 0x24]
call fcn.00405155
mov ecx, edi
call fcn.004082fd
push 0xffff0000
push 0xffffffffffffffff
push 0x465
mov esi, 0x3f7
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 0x4141c0
xor esi, esi
mov eax, ebx
cmp eax, 0x41490c
mov dword [0x4148c0], esi
mov dword [0x4141a0], edi
je 0x4085da
mov eax, dword [0x4141c4]
mov ecx, dword [eax]
push eax
mov edx, ebx
push edx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call fcn.0040b778
mov eax, ebx
call fcn.0040b85f
push esi
push esi
push 0x4141a0
push 0x4080a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4148c0], eax
pop esi
pop ebx
leave
ret