joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ax, word [0x406188]
mov cl, byte [0x40618a]
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SoftwareElaborate_BytesVirtualCloneDriveSettings
push 0x80000001
mov word [esp + 0x14], ax
mov byte [esp + 0x16], cl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401069
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0
push str.LocaleName
push edx
mov dword [esp + 0x20], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 4]
push ecx
push 0x408900
push str._smanual_sindex.html
push 0x408a08
call esi
add esp, 0x10
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push 0x408a08
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x4010bb
test eax, eax
je 0x4010bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
push 0x408900
push str._smanualenindex.html
push 0x408a08
call esi
add esp, 0xc
pop esi
add esp, 0xc
ret

Function at 0x4010e0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 0x104
push 0x408900
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401101
mov eax, 0x14
ret 0x10
mov eax, 0x408900
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401110
sub eax, edx
dec eax
je 0x401134
mov cl, 0x5c
mov edi, edi
cmp byte [eax + 0x408900], cl
je 0x40112d
dec eax
jne 0x401120
jmp 0x401134
mov byte [eax + 0x408901], 0
call section..text
push 5
push 0x408900
push 0
push 0x408a08
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10
Function at 0x4011a7
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x406198
call fcn.0040226c
mov edi, 0x94
mov eax, edi
call fcn.004023d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x408b1c], ecx
mov eax, dword [esi + 4]
mov dword [0x408b28], eax
mov edx, dword [esi + 8]
mov dword [0x408b2c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x408b20], esi
cmp ecx, 2
je 0x401207
or esi, 0x8000
mov dword [0x408b20], esi
shl eax, 8
add eax, edx
mov dword [0x408b24], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401242
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401242
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40125a
cmp eax, 0x20b
je 0x401247
mov dword [ebp - 0x1c], esi
jmp 0x40126e
cmp dword [ecx + 0x84], 0xe
jbe 0x401242
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x401268
cmp dword [ecx + 0x74], 0xe
jbe 0x401242
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00402218
pop ecx
test eax, eax
jne 0x401282
push 0x1c
call fcn.00401183
pop ecx
call fcn.0040210f
test eax, eax
jne 0x401293
push 0x10
call fcn.00401183
pop ecx
call fcn.00401ea9
mov dword [ebp - 4], esi
call fcn.00401cab
test eax, eax
jge 0x4012ac
push 0x1b
call fcn.0040115e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x409334], eax
call fcn.00401b89
mov dword [0x408b0c], eax
call fcn.00401ae7
test eax, eax
jge 0x4012d2
push 8
call fcn.0040115e
pop ecx
call fcn.004018b4
test eax, eax
jge 0x4012e3
push 9
call fcn.0040115e
pop ecx
push 1
call fcn.004013d6
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4012f9
push eax
call fcn.0040115e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401857
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x40131a
movzx eax, word [ebp - 0x40]
jmp 0x40131d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004010e0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40133b
push edi
call fcn.00401503
call fcn.00401525
jmp 0x40136d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004022a7
ret
Function at 0x401440
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4061c0
call fcn.0040226c
push 8
call fcn.00402560
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x408b5c], esi
jne 0x401474
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x408b58], esi
mov al, byte [ebp + 0x10]
mov byte [0x408b54], al
cmp dword [ebp + 0xc], edi
jne 0x4014be
cmp dword [0x409328], edi
je 0x4014ae
mov eax, dword [0x409324]
sub eax, 4
mov dword [0x409324], eax
cmp eax, dword [0x409328]
jb 0x4014ae
mov eax, dword [eax]
cmp eax, edi
je 0x40148f
call eax
jmp 0x40148f
push 0x408020
mov eax, 0x40801c
call fcn.004013be
pop ecx
push 0x408028
mov eax, 0x408024
call fcn.004013be
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4014ef
cmp dword [ebp + 0x10], edi
jne 0x4014fd
mov dword [0x408b5c], esi
push dword [ebp + 8]
call fcn.0040137c
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4014fc
push 8
call fcn.004024ab
pop ecx
ret
call fcn.004022a7
ret

Function at 0x401543
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4082b0]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x408038]
je 0x401578
inc eax
cmp eax, 0x13
jb 0x401569
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x408038]
jne 0x40169e
mov eax, dword [0x408b14]
cmp eax, 1
je 0x401676
cmp eax, edx
jne 0x4015a8
cmp dword [0x408034], 1
je 0x401676
cmp ecx, 0xfc
je 0x40169e
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4015de
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00402780
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.004029b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x401612
mov eax, edi
push eax
call fcn.004029b0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065b8
push edi
call fcn.00402880
add esp, 0x10
push edi
call fcn.004029b0
push dword [esi + 0x40803c]
mov ebx, eax
call fcn.004029b0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004023d0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00402780
push edi
push ebx
call fcn.00402790
push 0x406598
push ebx
call fcn.00402790
push dword [esi + 0x40803c]
push ebx
call fcn.00402790
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00402683
add esp, 0x2c
jmp 0x40169e
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x40803c]
push dword [esi]
call fcn.004029b0
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00402a6c
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x402683
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x408dd8], ebx
push esi
push edi
jne 0x402703
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40273e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x408dd8], eax
je 0x40273e
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x408ddc], eax
call esi
cmp dword [0x408b1c], 2
mov dword [0x408de0], eax
jne 0x402703
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x408de8], eax
je 0x402703
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x408de4], eax
mov eax, dword [0x408de4]
test eax, eax
je 0x402748
call eax
test eax, eax
je 0x40272f
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x408de8]
test eax, eax
je 0x40272f
test byte [ebp - 8], 1
jne 0x402748
cmp dword [0x408b28], 4
jb 0x402742
or byte [ebp + 0x12], 0x20
jmp 0x402767
xor eax, eax
jmp 0x402777
or byte [ebp + 0x12], 4
jmp 0x402767
mov eax, dword [0x408ddc]
test eax, eax
je 0x402767
call eax
mov ebx, eax
test ebx, ebx
je 0x402767
mov eax, dword [0x408de0]
test eax, eax
je 0x402767
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x408dd8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404342
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x404370
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x404377
cmp ebx, dword [eax + 4]
jae 0x404377
xor eax, eax
jmp 0x404567
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x404388
xor eax, eax
inc eax
jmp 0x404566
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40439e
cmp ecx, edx
jae 0x4044e3
cmp dword [eax + 4], 0
je 0x4043a7
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40438f
cmp dword [ebp + 8], 0
je 0x4043c9
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4044e3
cmp eax, esi
jae 0x4044e3
mov eax, dword [0x408e00]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4043ee
cmp dword [esi*4 + 0x408e08], edi
je 0x4044e7
inc esi
cmp esi, eax
jl 0x4043dc
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x404563
cmp dword [ebp - 8], 0x1000000
jne 0x404563
test byte [ebp - 0xc], 0xcc
je 0x40446c
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x404563
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404563
cmp word [eax + 0x18], 0x10b
jne 0x404563
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x404563
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40446c
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40446c
test byte [ecx + 0x27], 0x80
jne 0x4044e3
push 1
push 0x408e48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x404380
mov ecx, dword [0x408e00]
test ecx, ecx
mov edx, ecx
jle 0x4044a0
lea eax, [ecx*4 + 0x408e04]
cmp dword [eax], edi
je 0x4044a0
dec edx
sub eax, 4
test edx, edx
jg 0x404494
test edx, edx
jne 0x4044d1
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4044ad
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4044c5
lea eax, [edx*4 + 0x408e08]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4044b3
cmp ecx, 0x10
jge 0x4044d1
inc ecx
mov dword [0x408e00], ecx
push 0
push 0x408e48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x404380
xor eax, eax
jmp 0x404566
test esi, esi
jle 0x404380
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x408e48
call ebx
test eax, eax
jne 0x404380
cmp dword [esi*4 + 0x408e08], edi
je 0x40453d
mov eax, dword [0x408e00]
lea esi, [eax - 1]
test esi, esi
jl 0x40452b
cmp dword [esi*4 + 0x408e08], edi
je 0x404527
dec esi
jns 0x40451b
test esi, esi
jge 0x40453b
cmp eax, 0x10
jge 0x404536
inc eax
mov dword [0x408e00], eax
lea esi, [eax - 1]
jmp 0x40453d
je 0x404555
xor ecx, ecx
test esi, esi
jl 0x404555
lea eax, [ecx*4 + 0x408e08]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x404543
push 0
push 0x408e48
call ebx
jmp 0x404380
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405979
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004023d0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405a14
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x408b1c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x405a14
cmp eax, 1
je 0x405a35
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405a14
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4059e1
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x405a10
xor eax, eax
inc eax
jmp 0x405a54
cmp edi, eax
jae 0x405a18
xor eax, eax
jmp 0x405a54
cmp eax, esi
jae 0x405a1f
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x408b1c]
jmp 0x405a38
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
xor ecx, ecx
mov dword [ebp - 0x14], ebx
push edi
mov edi, dword [0x422b70]
test esi, esi
je 0x401106
mov edx, dword [ebp + 8]
cmp esi, 0x10
jb 0x4010eb
lea eax, [esi - 1]
lea eax, [ebx + eax*4]
cmp edx, eax
ja 0x401045
lea eax, [esi - 1]
lea eax, [edx + eax*4]
cmp eax, ebx
jae 0x4010eb
lea eax, [esi - 1]
lea eax, [edi + eax*4]
cmp edx, eax
ja 0x40105d
lea eax, [esi - 1]
lea eax, [edx + eax*4]
cmp eax, edi
jae 0x4010eb
mov eax, esi
mov esi, edi
sub esi, ebx
and eax, 0xfffffff0
mov dword [ebp - 4], esi
mov esi, edx
sub esi, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 8], esi
mov ebx, edi
lea esi, [edx + 0x20]
sub ebx, edx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
movups xmm0, xmmword [eax - 0x10]
mov edx, dword [ebp - 8]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + ecx*4]
lea esi, [esi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [esi - 0x60], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edx + eax - 0x40], xmm1
mov edx, dword [ebp - 0xc]
movups xmm1, xmmword [edx + esi - 0x40]
mov edx, dword [ebp + 8]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [edi + ecx*4 + 0x30]
add ecx, 0x10
pxor xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x401083
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, esi
jae 0x401106
sub edi, ebx
lea eax, [ebx + ecx*4]
sub edx, ebx
sub esi, ecx
mov ecx, dword [eax + edi]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [eax + edx - 4], ecx
sub esi, 1
jne 0x4010f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4019f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 4]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
shr eax, 2
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x401a77
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, esi
sub edx, eax
lea ebx, [eax + 4]
push edi
mov dword [ebp - 0x18], edx
mov edi, dword [esi + ecx*4]
lea ecx, [ebp - 4]
mov esi, dword [edx + ebx]
lea edx, [ebp - 8]
push 0x425d48
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
call fcn.00401580
mov eax, dword [ebp - 4]
lea ebx, [ebx + 8]
xor eax, dword [ebp - 0xc]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebx - 0xc], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebx - 8], eax
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x401a26
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ad0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1850
call fcn.004177a0
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0x464]
push 0xffffffffffffffff
push eax
call fcn.00401a80
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00407c44
add esp, 0x1c
lea eax, [esp + 8]
push eax
call fcn.00407c8c
add esp, 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040626f
lea eax, [esp + 0x3c]
push eax
push str._H:_M
lea eax, [esp + 0x24]
push 0x20
push eax
call fcn.00406660
lea eax, [esp + 0x470]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x78]
push str.__s___s_r_n
push eax
call fcn.00402320
add esp, 0x28
lea eax, [esp + 0x858]
push 0x1000
push eax
push dword [0x422b18]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x858]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b81
sub ecx, edx
cmp ecx, 0x400
jbe 0x401bab
push 0x1000
lea eax, [esp + 0x85c]
push 0
push eax
call fcn.004053b0
add esp, 0xc
xor edi, edi
lea esi, [esp + 0x58]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x401bb2
sub esi, ecx
lea eax, [esp + 0x58]
push esi
push eax
lea eax, [esp + 0x860]
add eax, edi
push eax
call fcn.00405a60
add esp, 0xc
lea eax, [esi + edi]
mov byte [esp + eax + 0x858], 0
lea eax, [esp + 0x858]
push eax
push dword [0x422b18]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 7
push 0x115
push dword [0x422b18]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
cmp esi, 1
jl 0x401c24
cmp esi, 3
jle 0x401c29
mov esi, 1
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf1
push dword [0x422b34]
mov dword [0x421a30], esi
call edi
push 0
push 0
push 0xf1
push dword [0x422b40]
call edi
push 0
push 0
push 0xf1
push dword [0x422b24]
call edi
cmp esi, 3
jne 0x401c8c
push 0
push dword [0x422b44]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push 1
push 0xf1
push dword [0x422b24]
jmp 0x401cb6
push 0xfffffffffffffff1
push dword [0x422b44]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push 1
push 0xf1
cmp esi, 1
jne 0x401cb0
push dword [0x422b34]
jmp 0x401cb6
push dword [0x422b40]
call edi
lea eax, [ebp - 4]
mov dword [ebp - 8], esi
push eax
push 0x41f354
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
pop edi
pop esi
test eax, eax
je 0x401ced
lea eax, [ebp - 4]
push eax
push 0x41f364
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x401d0e
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x41f374
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x402040
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push str.Courier_New
push 0x31
push 1
push 2
push 3
push 1
push 0
push 0
push 0
push 0x1f4
push 0
push 0
push 0
push 0xf
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push dword [0x422b2c]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
push 0
push dword [0x422b1c]
push 0x5a
push 0x180
push 5
push 5
push 0x40000007
push str.Info
push 0x41f3f8
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b20], eax
push 0
push eax
push 0xe
push 0x172
push 0x14
push 0xa
push 0x40000000
push str.Testing:__
push 0x41f40c
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b30], eax
push 0
push dword [0x422b20]
push 0xe
push 0x172
push 0x30
push 0xa
push 0x40000000
push str.Speed:__
push 0x41f420
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b28], eax
push 0
push dword [0x422b20]
push 0xe
push 0x172
push 0x40
push 0xa
push 0x40000000
push str.ETA:____
push str.static
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b3c], eax
push 0
push dword [0x422b1c]
push 0xe
push 0x32
push 0x6e
push 0x78
push 0x40000004
push str.Slow
push 0x41f444
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b34], eax
push 0
push dword [0x422b1c]
push 0xe
push 0x46
push 0x6e
push 0xaf
push 0x40000004
push str.Medium
push 0x41f454
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b40], eax
push 0
push dword [0x422b1c]
push 0xe
push 0x46
push 0x6e
push 0xfa
push 0x40000004
push str.Fast
push 0x41f464
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b24], eax
push 0
push dword [0x422b1c]
push 0x19
push 0x4b
push 0x8b
push 0xa3
push 0x40000000
push str.Pause
push str.button
push 0
call esi
push 0
push dword [0x422b2c]
mov dword [0x422b38], eax
push 0
push dword [0x422b1c]
push 0xc3
push 0x180
push 0xae
push 5
push 0x40a00804
push 0x41f2fe
push str.edit
push 0
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push edi
push 0x30
push dword [0x422b20]
mov dword [0x422b18], eax
call esi
push 1
push edi
push 0x30
push dword [0x422b30]
call esi
push 1
push edi
push 0x30
push dword [0x422b28]
call esi
push 1
push edi
push 0x30
push dword [0x422b3c]
call esi
push 1
push edi
push 0x30
push dword [0x422b34]
call esi
push 1
push edi
push 0x30
push dword [0x422b40]
call esi
push 1
push edi
push 0x30
push dword [0x422b24]
call esi
push 1
push edi
push 0x30
push dword [0x422b38]
call esi
push 1
push edi
push 0x30
push dword [0x422b18]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x422b20]
call esi
push 5
push dword [0x422b30]
call esi
push 5
push dword [0x422b28]
call esi
push 5
push dword [0x422b3c]
call esi
push 5
push dword [0x422b34]
call esi
push 5
push dword [0x422b40]
call esi
push 5
push dword [0x422b24]
call esi
push 5
push dword [0x422b38]
call esi
push 5
push dword [0x422b18]
call esi
pop edi
pop esi
ret