joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002590f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10025938
push 0x11ae
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1002596e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002596e
push 0x135b
push 0x1bb1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov esp, ebp
pop ebp
ret
Function at 0x10029f97
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10029fd1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 1
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.10029c6c
add esp, 0xc
jmp 0x10029ff6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10029ff6
push 0
push 0x1a00
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret

Function at 0x1002a0c9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002a0ed
xor eax, eax
jmp 0x1002a212
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002a10b
xor eax, eax
jmp 0x1002a212
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0x5486
call fcn.10029f97
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002a12f
xor eax, eax
jmp 0x1002a212
push 0xb89
push dword [ebp - 0x10]
push 0x1bac
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.10029e2e
add esp, 0x20
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10029ffa
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002a195
push 0x628a
lea eax, [ebp - 4]
push eax
push 1
push 0x109b
lea eax, [ebp - 0x14]
push eax
call fcn.1002a05d
add esp, 0x14
push dword [ebp - 4]
call fcn.10029b58
pop ecx
test eax, eax
jne 0x1002a1a6
xor eax, eax
jmp 0x1002a212
push 0
push 0x30a5
push dword [ebp - 4]
call fcn.10027f97
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002a1fa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002a1d7
xor eax, eax
jmp 0x1002a212
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002a1f0
xor eax, eax
jmp 0x1002a212
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002a20b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002a20f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003d0ec
Capabilities:
Create process on windows
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003d101
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x1003d131
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003d131
push 0x11ae
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x10070665
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100795b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10060d16
mov dword [ebp - 0x14], eax
cmp dword [0x14b10740], esi
jne 0x10070758
push 0x800
push esi
push 0x10007b1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100706e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10070838
push esi
push esi
push 0x10007b1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10070838
push 0x10007b34
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10070838
push eax
call ebx
push 0x10007b40
push edi
mov dword [0x14b10740], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b50
push edi
mov dword [0x14b10744], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b64
push edi
mov dword [0x14b10748], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x14b10750], eax
test eax, eax
je 0x10070755
push 0x10007b80
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x14b1074c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007077d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10070770
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10070792
push 4
pop eax
jmp 0x1007083a
cmp dword [ebp - 0x14], esi
je 0x10070792
push dword [0x14b10740]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10070777
mov eax, dword [0x14b1074c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100707f0
cmp dword [0x14b10750], edi
je 0x100707f0
push eax
call ebx
push dword [0x14b10750]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100707f0
test eax, eax
je 0x100707f0
call ecx
test eax, eax
je 0x100707e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100707e5
test byte [ebp - 8], 1
jne 0x100707f0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10070820
mov eax, dword [0x14b10744]
cmp eax, edi
je 0x1007081d
push eax
call ebx
test eax, eax
je 0x1007081d
call eax
mov esi, eax
test esi, esi
je 0x1007081d
mov eax, dword [0x14b10748]
cmp eax, edi
je 0x1007081d
push eax
call ebx
test eax, eax
je 0x1007081d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x14b10740]
call ebx
test eax, eax
je 0x10070838
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007083a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
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.0040261d
and dword [ebp - 4], 0
cmp dword [0x43ecdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ecdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ece0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ece4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x43ecec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x43ece8], eax
mov eax, dword [0x43ece8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x43ecec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x43ecec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x43ece0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x43ece4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ecdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439b20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp edi, 0x19f
jne 0x439b39
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
test edi, edi
jle 0x439b81
nop
lea ecx, [esp + 8]
mov dword [esp], 5
mov dword [esp + 8], 0
call fcn.00439b10
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp], eax
sub dword [esp], 0x46
movsx eax, byte [edx + esi]
mov dword [esp + 4], eax
mov eax, dword [esp]
xor dword [esp + 4], eax
mov cl, byte [esp + 4]
mov byte [edx + esi], cl
inc edx
cmp edx, edi
jl 0x439b40
cmp edi, 0x2d
jne 0x439b9a
mov dword [0x2b3cef8], 0xa62e7790
mov dword [0x2b3cefc], 0xffffffff
add esp, 0xc
ret
Function at 0x403370
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040c6e0
mov eax, dword [0x2b89b7c]
mov ecx, dword [0x2b89af0]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40347b
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b89b7c], 0x959
jne 0x403461
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402ce8
push 0x402d14
call esi
push 0
push 0x402d4c
push 0x402d60
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004031b0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4033b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x4095b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fb80]
jne 0x4095bf
repz ret
jmp fcn.0040bb45

Function at 0x409717
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.00406fbd
and dword [ebp - 4], 0
cmp dword [0x432d00], 0
mov ebx, eax
jne 0x4097c8
push 0x401b84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409879
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b78
push edi
call esi
test eax, eax
je 0x409879
push eax
call fcn.00406f4b
mov dword [esp], 0x401b68
push edi
mov dword [0x432d00], eax
call esi
push eax
call fcn.00406f4b
mov dword [esp], 0x401b54
push edi
mov dword [0x432d04], eax
call esi
push eax
call fcn.00406f4b
mov dword [esp], 0x401b38
push edi
mov dword [0x432d08], eax
call esi
push eax
call fcn.00406f4b
pop ecx
mov dword [0x432d10], eax
test eax, eax
je 0x4097c8
push 0x401b20
push edi
call esi
push eax
call fcn.00406f4b
pop ecx
mov dword [0x432d0c], eax
mov eax, dword [0x432d0c]
cmp eax, ebx
je 0x409820
cmp dword [0x432d10], ebx
je 0x409820
push eax
call fcn.00406fc6
push dword [0x432d10]
mov esi, eax
call fcn.00406fc6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409820
test edi, edi
je 0x409820
call esi
test eax, eax
je 0x409817
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409817
test byte [ebp - 0xc], 1
jne 0x409820
or dword [ebp + 0x10], 0x200000
jmp 0x409859
mov eax, dword [0x432d04]
cmp eax, ebx
je 0x409859
push eax
call fcn.00406fc6
pop ecx
test eax, eax
je 0x409859
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409859
mov eax, dword [0x432d08]
cmp eax, ebx
je 0x409859
push eax
call fcn.00406fc6
pop ecx
test eax, eax
je 0x409859
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432d00]
call fcn.00406fc6
pop ecx
test eax, eax
je 0x409879
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40987b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d620
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49da59
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4d4028]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
push 0x7f6038
lea ecx, [edi + 0x594]
call fcn.00490162
mov eax, dword [0x7f6038]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42d715
test al, 0x10
je 0x42d715
push 0x7f6038
call fcn.0047e9ba
add esp, 4
test eax, eax
jge 0x42d6b7
push 0xc77
lea ecx, [edi + 0x590]
call dword [0x4a2eb8]
push 0
mov ecx, edi
call fcn.004900b4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x7f6038]
push 0
push ecx
call fcn.0045af04
push 1
push edx
push eax
lea esi, [esp + 0x24]
call fcn.0045ab8d
add esp, 0x14
push eax
lea ecx, [edi + 0x590]
mov dword [esp + 0x24], 0
call dword [0x4a2ea0]
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call dword [0x4a2ee8]
push 0
mov ecx, edi
call fcn.004900b4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea esi, [edi + 0x590]
push 0xc77
mov ecx, esi
call dword [0x4a2eb8]
mov edx, dword [esi]
push edx
lea ecx, [edi + 0x460]
call fcn.0049016e
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x434be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
jmp 0x434be8
pop edx
push edx
xor edx, 0x15d3b
pop edx
mov dword [ebp - 0xa5c], 0
Function at 0x437180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0xf590000
mov bh, 0x4d
rol byte [ebp + 0xf1575c9], 0xb7
xchg ebp, eax
hlt

Function at 0x437266
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x437266
add byte [0x4c37323d], bh
dec ebp
dec ebp
xor eax, 0x8104c483
repne scasd eax, dword es:[edi]
rol byte [eax], 1
add byte [ecx + 0x142d0ea], al
add byte [edx - 0x75], bl
test dword [ebx + edi*8], edx
invalid

Function at 0x44f6ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push edi
mov dword [esi + 8], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
call fcn.0047eea3
test eax, eax
setne al
mov byte [esi + 0x58], al
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.Control_PanelDesktop
push SysReAllocString
mov dword [esi + 0xfc], ebx
mov byte [esi + 0x100], 1
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x10c], bl
mov dword [esi + 0x110], 0x1f4
mov byte [esi + 0x114], bl
mov byte [esi + 0x115], bl
mov byte [esi + 0x116], bl
xor edi, edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x44f76a
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, ebx
jl 0x44f7ac
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.DragFullWindows
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44f79d
cmp dword [ebp - 0x10], 4
jne 0x44f79f
xor eax, eax
cmp eax, ebx
jl 0x44f7ac
cmp dword [ebp - 8], 0x31
sete al
mov byte [esi + 0x116], al
cmp edi, ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
je 0x44f7c9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
leave
ret

Function at 0x44fb11
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x4d4028]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.Button
lea eax, [ebp - 0x104]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44fb68
test dx, dx
je 0x44fb64
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44fb68
add eax, 4
add ecx, 4
test dx, dx
jne 0x44fb42
xor eax, eax
jmp 0x44fb6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44fbb7
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 7
je 0x44fbb7
test eax, 0x10000000
jne 0x44fbb7
push 0x200
lea eax, [ebp - 0x304]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea eax, [ebp - 0x304]
push str._Geometry:
push eax
call dword [0x4a3140]
add esp, 0xc
neg eax
sbb al, al
inc al
jmp 0x44fbb9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00490f79
leave
ret
Function at 0x44fc76
Capabilities:
Get graphical window text

Disassembly:
push 0x314
mov eax, 0x49c9d9
call fcn.00492097
mov eax, dword [edi + 8]
test eax, eax
je 0x44fc8f
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
jmp 0x44fe24
mov esi, dword [ebp - 0x218]
call fcn.0044fb11
test al, al
je 0x44fe1c
push 0x100
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x214]
push str._Geometry:
push eax
call dword [0x4a3144]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x220], eax
je 0x44fce8
add dword [ebp - 0x220], 0x14
mov eax, dword [edi + 8]
test eax, eax
je 0x44fcf2
mov eax, dword [eax + 0x20]
push 5
push eax
jmp 0x44fe0c
mov esi, dword [ebp - 0x21c]
call fcn.0044fb11
test al, al
jne 0x44fe04
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x218]
call esi
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x21c]
call esi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x44fe04
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
push dword [ebp - 0x220]
lea esi, [ebp - 0x320]
mov dword [ebp - 4], eax
call fcn.00416ab0
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x29c]
push eax
lea ebx, [ebp - 0x230]
call fcn.00403d20
mov esi, eax
push dword [ebp - 0x21c]
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 8]
lea ecx, [edi + 0x2c]
push esi
push ecx
mov ecx, eax
call fcn.0045044c
lea esi, [ebp - 0x29c]
call fcn.00403ff0
lea eax, [ebp - 0x31c]
cmp dword [ebp - 0x320], eax
je 0x44fdef
push dword [ebp - 0x320]
call dword [0x4a308c]
pop ecx
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x230]
call int.00440760
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 2
push dword [ebp - 0x21c]
call ebx
test eax, eax
mov dword [ebp - 0x21c], eax
jne 0x44fcfa
push 2
push dword [ebp - 0x218]
call ebx
test eax, eax
mov dword [ebp - 0x218], eax
jne 0x44fc9d
call fcn.0049211a
ret
Function at 0x45b88b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
mov eax, dword [0x4d4028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
push edi
mov dword [ebp - 0xc4c], esi
jne 0x45b8bb
mov eax, 0x80070057
jmp 0x45ba77
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45b8ce
xor eax, eax
jmp 0x45ba77
mov eax, 0x100
push eax
lea ecx, [ebp - 0xa38]
push ecx
push eax
lea ecx, [ebp - 0x228]
push ecx
push eax
lea eax, [ebp - 0x838]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call dword [0x4a3150]
lea eax, [ebp - 0x228]
add esp, 0x24
and dword [ebp - 0xc48], 0
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x45b90c
sub eax, ecx
sar eax, 1
lea ebx, [eax - 1]
cmp word [ebp + ebx*2 - 0x228], 0x29
jne 0x45b992
push 5
pop ecx
mov esi, str.0123456789
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc44], 1
movsw word es:[edi], word [esi]
jmp 0x45b97b
movzx eax, word [esi]
push eax
call dword [0x4a315c]
test eax, eax
pop ecx
je 0x45b992
lea eax, [ebp - 0x24]
push esi
push eax
call dword [0x4a3160]
test eax, eax
pop ecx
pop ecx
jl 0x45b97b
mov ecx, dword [ebp - 0xc44]
imul eax, ecx
add dword [ebp - 0xc48], eax
imul ecx, ecx, 0xa
mov dword [ebp - 0xc44], ecx
dec ebx
lea esi, [ebp + ebx*2 - 0x228]
cmp word [esi], 0x28
jne 0x45b943
and word [ebp + ebx*2 - 0x228], 0
xor eax, eax
movzx ecx, word [ebp + eax - 0xc]
mov word [ebp + eax - 0x430], cx
inc eax
inc eax
test cx, cx
jne 0x45b994
lea eax, [ebp - 0x838]
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45b9b0
sub eax, edx
lea edi, [ebp - 0x430]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x45b9c4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x228]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45b9e7
sub eax, edx
lea edi, [ebp - 0x430]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x45b9fb
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xa38]
push eax
push 0x4a5e60
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0xc40]
and ecx, 3
push str._s_s_s
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044f343
xor esi, esi
add esp, 0x14
inc esi
push esi
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x638]
push eax
call fcn.0044f343
add esp, 0xc
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45ba86
inc esi
cmp esi, 0x3e8
jle 0x45ba40
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490f79
leave
ret
mov ecx, dword [ebp - 0xc4c]
lea eax, [ebp - 0x638]
push eax
call dword [0x4a2d8c]
jmp 0x45b8c7