joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043f1
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.00412e90
mov eax, dword [0x42dc20]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x78]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0x404437
xor eax, eax
jmp 0x40447f
cmp dword [ebp - 0x78], ebx
jbe 0x40446e
push 0
push 0x1000
lea eax, [ebp - 0x74]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x40446e
mov ecx, dword [ebp - 0x7c]
push dword [ecx]
push eax
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.0040f21f
add ebx, dword [ebp - 0x80]
add esp, 0x10
cmp ebx, dword [ebp - 0x78]
jb 0x40443c
mov eax, dword [ebp - 0x7c]
push dword [eax]
call fcn.0040f041
cmp ebx, dword [ebp - 0x78]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0xf8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e959
add ebp, 0xf90
leave
ret

Function at 0x40e959
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42dc20]
jne 0x40e963
repz ret
jmp fcn.00412ebb
Function at 0x41e232
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041733e
and dword [ebp - 4], 0
cmp dword [0x431a9c], 0
mov ebx, eax
jne 0x41e2e3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41e394
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41e394
push eax
call fcn.004172cc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x431a9c], eax
call esi
push eax
call fcn.004172cc
mov dword [esp], 0x426dac
push edi
mov dword [0x431aa0], eax
call esi
push eax
call fcn.004172cc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x431aa4], eax
call esi
push eax
call fcn.004172cc
pop ecx
mov dword [0x431aac], eax
test eax, eax
je 0x41e2e3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004172cc
pop ecx
mov dword [0x431aa8], eax
mov eax, dword [0x431aa8]
cmp eax, ebx
je 0x41e33b
cmp dword [0x431aac], ebx
je 0x41e33b
push eax
call fcn.00417347
push dword [0x431aac]
mov esi, eax
call fcn.00417347
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41e33b
test edi, edi
je 0x41e33b
call esi
test eax, eax
je 0x41e332
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41e332
test byte [ebp - 0xc], 1
jne 0x41e33b
or dword [ebp + 0x10], 0x200000
jmp 0x41e374
mov eax, dword [0x431aa0]
cmp eax, ebx
je 0x41e374
push eax
call fcn.00417347
pop ecx
test eax, eax
je 0x41e374
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41e374
mov eax, dword [0x431aa4]
cmp eax, ebx
je 0x41e374
push eax
call fcn.00417347
pop ecx
test eax, eax
je 0x41e374
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431a9c]
call fcn.00417347
pop ecx
test eax, eax
je 0x41e394
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e396
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402e20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0x41b4a4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.PageMargin
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
leave
ret

Function at 0x402e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0x10
test eax, eax
je 0x402eab
lea edx, [ebp - 0xc]
mov dword [esp + 0x10], 0x41b4a4
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PageMargin
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x402ed8
mov dword [0x41b4a4], 0x6dd
mov dword [0x41b4ac], 0x6dd
mov dword [0x41b4a8], 0x589
mov dword [0x41b4b0], 0x589
leave
ret
cmp dword [ebp - 0xc], 0x10
jne 0x402eab
jmp 0x402ed3

Function at 0x402ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x41b444
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.PreviewPages
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
leave
ret

Function at 0x402f20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 4
test eax, eax
je 0x402f6b
lea edx, [ebp - 0xc]
mov dword [esp + 0x10], 0x41b444
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PreviewPages
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x402f80
mov dword [0x41b444], 1
leave
ret
cmp dword [ebp - 0xc], 4
jne 0x402f6b
mov eax, dword [0x41b444]
test eax, eax
jle 0x402f6b
cmp eax, 2
jle 0x402f75
mov dword [0x41b444], 2
leave
ret
Function at 0x403d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [0x41b440], 1
mov dword [0x41b458], 0
mov esi, eax
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [0x41b45c], 0
mov dword [0x41b498], 0
mov dword [0x41b49c], 0
mov dword [0x41b4a0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x7d4
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ecx, 0x3f2
mov edx, 0x5a8
sub esp, 8
mov ebx, eax
xor eax, eax
cmp dword [0x41b444], 1
mov dword [esp], 6
setg al
mov edi, eax
mov eax, ebx
call fcn.00401be0
mov eax, ebx
mov ecx, 0x3f9
mov dword [esp], 7
mov edx, 0x5a9
add edi, 0x5ab
call fcn.00401be0
mov eax, ebx
mov ecx, 0x3fa
mov dword [esp], 8
mov edx, 0x5aa
call fcn.00401be0
mov edx, edi
mov eax, ebx
mov dword [esp], 9
mov ecx, 0x3fb
call fcn.00401be0
mov eax, ebx
mov ecx, 0x3fc
mov dword [esp], 0xa
mov edx, 0x5ad
call fcn.00401be0
mov eax, ebx
mov ecx, 0x3fd
mov dword [esp], 0xb
mov edx, 0x5ae
call fcn.00401be0
mov ecx, 0x3e8
mov eax, ebx
mov edx, 0x5af
mov dword [esp], 0xc
call fcn.00401be0
mov edi, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x41142e
mov dword [esp], 0
call edi
mov dword [ebp - 0x7c], 0x50
sub esp, 0x30
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x78], 0x371
mov dword [ebp - 0x74], 0x140
mov dword [ebp - 0x54], 0x16
mov dword [ebp - 0x44], 0x16
mov dword [ebp - 0x58], 0x5a
mov dword [ebp - 0x50], 0x5a
mov dword [ebp - 0x38], 0x64
mov dword [ebp - 0x48], 0xd
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7e0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50300000
mov dword [esp + 8], 0
mov dword [esp + 4], str.PrtPreview
mov dword [esp], 0
call edi
sub esp, 0x30
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
sub esp, 0x30
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0
call fcn.00404fd0
test eax, eax
je 0x4051c0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 4
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BarState0
lea ebx, [eax*4]
mov eax, dword [ebp + 0x10]
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call esi
add ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
sub esp, 0x18
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.Wrap
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x10]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x405250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x20]
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea eax, [esi*4]
add ebx, eax
add eax, dword [ebp + 0x14]
mov dword [ebx], 0
mov edi, eax
mov dword [eax], 0
lea eax, [ebp - 0x24]
call fcn.00404fd0
test eax, eax
jne 0x4052bd
mov eax, dword [ebp - 0x20]
cmp eax, 2
je 0x4052c8
mov dword [ebx], 0xf
cmp eax, 2
je 0x405310
xor eax, eax
test esi, esi
sete al
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.BarState0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x40529a
jmp 0x4052a0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Wrap
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4052a5
jmp 0x4052ae
Function at 0x405360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ecx, str.Options
mov ebp, esp
push ebx
lea edx, [ebp - 0x3c]
sub esp, 0x64
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
call fcn.00404fd0
test eax, eax
je 0x4053a0
lea edx, [ebp - 0x3c]
mov ecx, str.Settings
lea eax, [ebp - 0x40]
call fcn.00404fd0
test eax, eax
je 0x405458
mov ebx, dword [ebp - 4]
leave
ret
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowPlacement]
xor eax, eax
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 8
cmp dword [ebp - 0x2c], 3
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], str.FrameRect
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x38]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Maximized
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x40]
sub esp, 0x18
mov dword [esp], eax
call fcn.00402e20
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x405382
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.00402ee0
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret

Function at 0x405480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
xor edx, edx
mov ecx, str.Options
mov ebp, esp
push ebx
lea eax, [ebp - 0x10]
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], 0x10
call fcn.00404fd0
test eax, eax
je 0x4054e0
test ebx, ebx
je 0x4054ca
mov dword [ebx], 0
mov dword [ebx + 8], 0x258
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0x12c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.FrameRect
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4054ab
cmp dword [ebp - 0xc], 0x10
jne 0x4054ab
jmp 0x4054ca
Function at 0x405520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
xor edx, edx
mov ecx, str.Options
mov ebp, esp
push ebx
lea eax, [ebp - 0x10]
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], 4
call fcn.00404fd0
test eax, eax
je 0x405568
mov dword [ebx], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Maximized
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x40554b
cmp dword [ebp - 0xc], 4
jne 0x40554b
jmp 0x405551
Function at 0x405b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ecx, str.Recent_file_list
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x68]
push ebx
lea eax, [ebp - 0x6c]
sub esp, 0x9c
call fcn.00404fd0
test eax, eax
je 0x405b68
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004055b0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [ebp - 0x48]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edi, 0x3ed
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov dword [ebp - 0x48], 0x30
sub esp, 4
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x44], 0x20
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
je 0x405be6
mov eax, dword [ebp - 0x28]
mov dword [ebp + edi*4 - 0x100c], eax
add edi, 1
cmp edi, 0x3f1
jne 0x405bae
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x7c], eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x405cd8
mov eax, dword [ebp - 0x7c]
xor edi, edi
mov ecx, esi
mov esi, edi
mov edi, ecx
test eax, eax
je 0x405c40
mov ecx, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call edi
sub esp, 8
test eax, eax
je 0x405cf7
add esi, 1
cmp esi, 4
je 0x405c40
mov eax, dword [ebp + esi*4 - 0x58]
test eax, eax
jne 0x405c18
nop
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x405c59
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov edi, dword [sym.imp.user32.dll_wsprintfW]
lea esi, [ebp - 0x64]
mov edx, dword [ebp + 8]
test edx, edx
je 0x405cd8
add ebx, 1
mov dword [ebp + 8], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.File_d
mov dword [esp], esi
call edi
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x405cf0
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x405c90
sub eax, edx
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
cmp ebx, 4
je 0x405cd8
mov edx, dword [ebp + ebx*4 - 0x58]
jmp 0x405c65
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x405b50
mov eax, 2
jmp 0x405c9e
test esi, esi
je 0x405c59
lea eax, [ebp - 0x58]
lea edx, [esi*4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memmove
jmp 0x405c59
Function at 0x407850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x6fc]
push ebx
sub esp, 0x71c
mov eax, dword [0x41d708]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d4
mov dword [esp], eax
call edi
mov dword [ebp - 0x710], edi
sub esp, 8
mov dword [ebp - 0x714], eax
mov dword [esp + 4], 0x7dd
mov dword [esp], eax
call edi
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x6f8]
mov ecx, 0x1c
mov dword [ebp - 0x6fc], 0x74
mov edi, edx
mov dword [ebp - 0x70c], eax
xor eax, eax
sub esp, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [0x41d704]
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x612]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x70c]
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov dword [esp], ecx
call ebx
sub esp, 0x10
test eax, eax
jne 0x407938
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.kernel32.dll_lstrcmpW]
lea edi, [ebp - 0x6e2]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [ebp - 0x718], edx
call edx
sub esp, 8
mov esi, eax
test eax, eax
je 0x4079b0
mov ecx, dword [ebp - 0x70c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], ecx
call ebx
mov eax, dword [ebp - 0x714]
sub esp, 0x10
mov edi, dword [ebp - 0x710]
mov dword [esp + 4], 0x7de
mov dword [esp], eax
call edi
sub esp, 8
call fcn.004073a0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x41d708]
mov dword [esp + 4], 0x7d4
mov edi, dword [ebp - 0x710]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0x7de
mov dword [esp], eax
call edi
lea edi, [ebp - 0x684]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x688]
mov ecx, 0x1c
mov dword [ebp - 0x688], 0x74
mov dword [ebp - 0x70c], eax
mov eax, esi
sub esp, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [0x41d704]
mov dword [esp + 0xc], edx
lea edi, [ebp - 0x414]
mov dword [esp + 8], 1
lea esi, [ebp - 0x216]
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x70c]
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x67c]
mov edx, 0x66666667
sub esp, 0x10
mov dword [esp + 4], 0x411d18
mov dword [esp], esi
mov eax, ecx
sar ecx, 0x1f
imul edx
sar edx, 3
sub edx, ecx
mov dword [esp + 8], edx
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, dword [ebp - 0x718]
mov dword [esp + 4], esi
mov dword [esp], edi
call eax
sub esp, 8
test eax, eax
je 0x40792d
mov eax, dword [ebp - 0x70c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x40792d
Function at 0x407ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov eax, dword [0x41d708]
mov dword [esp + 4], 0x7d0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
test ebx, ebx
je 0x407b38
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x410284]
sub esp, 8
mov dword [esp], eax
call fcn.00405d30
mov ebx, dword [ebp - 4]
or dword [eax*4 + 0x41d6e8], 2
leave
ret
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x410284]
sub esp, 8
mov dword [esp], eax
call fcn.00405d30
mov ebx, dword [ebp - 4]
and dword [eax*4 + 0x41d6e8], 0xfffffffd
leave
ret
Function at 0x407e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x5c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x407ff0
lea esi, [ebp - 0x24]
mov edx, eax
cmp ebx, 0x11
je 0x407fa0
mov eax, dword [0x41d704]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], edx
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x1c], 0x4067e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x44a
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x40]
sub esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x41d704]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [ebp - 0x3c]
sub esp, 4
test ecx, ecx
je 0x407f60
xor eax, eax
movzx edx, word [edi + eax]
add eax, 2
mov word [eax + 0x41d4de], dx
test dx, dx
jne 0x407ed0
mov eax, 0x41d4e0
call fcn.00407b70
mov eax, dword [0x41d704]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov dword [esp], eax
call esi
mov dword [0x410284], ebx
sub esp, 0x10
call fcn.00407d10
call fcn.00405fe0
mov eax, dword [0x410284]
mov dword [esp], eax
call fcn.00405d30
mov eax, dword [eax*4 + 0x41d6f0]
mov dword [esp + 4], eax
mov eax, dword [0x41d708]
mov dword [esp], eax
call fcn.00402fa0
mov ecx, 1
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [esp + 8], eax
mov eax, dword [0x41d704]
mov dword [ebp - 0x28], 0x4b0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x45f
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x3c]
sub esp, 0x10
test eax, eax
je 0x407ece
jmp 0x407f4c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x411b44
mov dword [esp], eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x3c]
sub esp, 0x14
cmp dword [ebp - 0x24], 2
je 0x407e70
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
sub esp, 4
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 5
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], 0x411d38
sete al
movzx eax, al
add eax, 0x6ab
mov dword [esp + 4], eax
mov eax, dword [0x41d708]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
xor ecx, ecx
sub esp, 0x10
jmp 0x407f4c