joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ab100
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f5a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x18]
push 0x871e84
call fcn.0059c250
mov esi, dword [esp + 0x130]
mov dword [esp + 0x128], 0
cmp byte [esi], 0
je 0x5ab173
cmp byte [esi + 0x104], 0
je 0x5ab173
cmp byte [esi + 0x105], 0xff
je 0x5ab173
cmp dword [esi + 0x10a], 0xffffffff
je 0x5ab173
cmp dword [esi + 0x106], 0xffffffff
je 0x5ab173
cmp dword [esi + 0x112], 0xffffffff
jne 0x5ab18c
push 0
push 0x1b8
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.IsValid__
call fcn.0059a430
add esp, 0x10
mov ebx, dword [esp + 0x138]
cmp dword [esi + 0x112], ebx
je 0x5ab1b4
push 0
push 0x1b9
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.csize__csize
call fcn.0059a430
add esp, 0x10
movzx eax, byte [esi + 0x105]
mov edi, dword [ebp + eax*4 + 0x338]
cmp edi, 0xffffffff
jne 0x5ab227
inc eax
mov ecx, ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005a9c00
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5ab219
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push eax
push str.cant_open__s_for_writing___d_n
call fcn.00599b80
add esp, 0xc
xor bl, bl
jmp 0x5ab2bf
movzx eax, byte [esi + 0x105]
mov dword [ebp + eax*4 + 0x338], edi
push 0
push 0
push dword [esi + 0x10a]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, dword [esi + 0x10a]
je 0x5ab256
call ebp
push eax
push str.SetFilePointer_failed__d
call fcn.00599b80
add esp, 8
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x69737573
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5ab28f
call ebp
push eax
push str.WriteFile_failed__d
call fcn.00599b80
add esp, 8
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push dword [esp + 0x140]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5ab2bd
push ebx
push eax
push esi
push str.failed_to_write__s__d_vs__d_n
call fcn.00599b80
add esp, 0x10
mov bl, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call fcn.00580bf0
mov ecx, dword [esp + 0x120]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0xc
Function at 0x5ab2f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f5b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea ecx, [esp + 0x24]
push 0x871e84
call fcn.0059c250
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x4c], 0
test eax, eax
jne 0x5ab349
push eax
push 0xf8
push str.SourceFileSystem_r3dFileSystem.cpp
push str.IsValid__
call fcn.0059a430
add esp, 0x10
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x5ab369
push ebp
push 0xf9
push str.SourceFileSystem_r3dFileSystem.cpp
push 0x6792fc
call fcn.0059a430
add esp, 0x10
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
imul edi, eax, 0x128
push 1
mov dword [esp + 0x2c], 0x31737573
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], edi
lea eax, [edi + 1]
push eax
call fcn.0059c0b0
mov ecx, dword [ebx + 8]
add esp, 8
sub ecx, dword [ebx + 4]
mov esi, eax
sar ecx, 2
xor edx, edx
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x5ab3e0
mov ebp, esi
mov esi, dword [ebx + 4]
mov edi, ebp
mov ecx, 0x4a
add ebp, 0x128
mov esi, dword [esi + edx*4]
inc edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
cmp edx, eax
jb 0x5ab3b1
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x13]
call fcn.0059abf0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
lea ecx, [esp + 0x23]
call fcn.0059ac00
test eax, eax
jne 0x5ab40f
push str.failed_to_compres_file_list_n
call fcn.00599b80
add esp, 4
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push edi
push esi
mov dword [esp + 0x48], eax
call fcn.0059af00
push ebp
push 8
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push 1
push eax
call fcn.005c16ea
push ebp
push 0x14
lea eax, [esp + 0x50]
push 1
push eax
call fcn.005c16ea
push ebp
push 1
push dword [esp + 0x44]
push dword [esp + 0x4c]
call fcn.005c16ea
push esi
call fcn.0059c050
push dword [esp + 0x54]
call fcn.0059c050
add esp, 0x40
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00580bf0
mov ecx, dword [esp + 0x44]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x5b3c60
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push esi
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x5b3c81
xor eax, eax
pop esi
add esp, 0x224
ret
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0x224
push eax
push esi
xor edi, edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x5b3cdb
jmp 0x5b3ca0
lea eax, [esp + 0x28]
push str..exe
push eax
call fcn.005b2310
add esp, 8
test eax, eax
jne 0x5b3cd7
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x5b3ca0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret

Function at 0x5b65b0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x5b7bd7
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x5b7bd7
cmp dword [ecx + 0xc], 0
je 0x5b7bd7
cmp dword [ecx], 0
jne 0x5b65e8
cmp dword [ecx + 4], 0
jne 0x5b7bd7
cmp dword [edi], 0xb
jne 0x5b65f3
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x5b6f58
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x5b6640
jmp dword [eax*4 + 0x5b7be4]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret

Function at 0x5b8730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5b8764
mov al, byte [ecx]
test al, al
je 0x5b8764
mov edx, 0x811c9dc5
movsx eax, al
lea ecx, [ecx + 1]
or eax, 0x20
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x5b8743
xor edx, 0x2a
imul eax, edx, 0x1000193
ret
xor eax, eax
ret
Function at 0x5d5cfc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6cdf60]
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.005ca9e5
mov dword [ebp - 0x14], eax
cmp dword [0x88e1e8], esi
jne 0x5d5def
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5d5d7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5d5ecf
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5d5ecf
push 0x68afb0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5d5ecf
push eax
call ebx
push 0x68afbc
push edi
mov dword [0x88e1e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x88e1ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationA
push edi
mov dword [0x88e1f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x88e1f8], eax
test eax, eax
je 0x5d5dec
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x88e1f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5d5e14
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d5e07
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], esi
je 0x5d5e29
push 4
pop eax
jmp 0x5d5ed1
cmp dword [ebp - 0x14], esi
je 0x5d5e29
push dword [0x88e1e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5d5e0e
mov eax, dword [0x88e1f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5d5e87
cmp dword [0x88e1f8], edi
je 0x5d5e87
push eax
call ebx
push dword [0x88e1f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5d5e87
test eax, eax
je 0x5d5e87
call ecx
test eax, eax
je 0x5d5e7c
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 0x5d5e7c
test byte [ebp - 8], 1
jne 0x5d5e87
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5d5eb7
mov eax, dword [0x88e1ec]
cmp eax, edi
je 0x5d5eb4
push eax
call ebx
test eax, eax
je 0x5d5eb4
call eax
mov esi, eax
test esi, esi
je 0x5d5eb4
mov eax, dword [0x88e1f0]
cmp eax, edi
je 0x5d5eb4
push eax
call ebx
test eax, eax
je 0x5d5eb4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x88e1e8]
call ebx
test eax, eax
je 0x5d5ecf
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5d5ed1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bf536
mov esp, ebp
pop ebp
ret
Function at 0x5dd66c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6cdf60]
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.005ca9e5
mov dword [ebp - 0x14], eax
cmp dword [0x88e240], esi
jne 0x5dd75f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5dd6ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5dd83f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5dd83f
push 0x68c658
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5dd83f
push eax
call ebx
push 0x68afbc
push edi
mov dword [0x88e240], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x88e244], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x88e248], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x88e250], eax
test eax, eax
je 0x5dd75c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x88e24c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5dd784
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5dd777
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5dd799
push 4
pop eax
jmp 0x5dd841
cmp dword [ebp - 0x14], esi
je 0x5dd799
push dword [0x88e240]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5dd77e
mov eax, dword [0x88e24c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5dd7f7
cmp dword [0x88e250], edi
je 0x5dd7f7
push eax
call ebx
push dword [0x88e250]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5dd7f7
test eax, eax
je 0x5dd7f7
call ecx
test eax, eax
je 0x5dd7ec
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 0x5dd7ec
test byte [ebp - 8], 1
jne 0x5dd7f7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5dd827
mov eax, dword [0x88e244]
cmp eax, edi
je 0x5dd824
push eax
call ebx
test eax, eax
je 0x5dd824
call eax
mov esi, eax
test esi, esi
je 0x5dd824
mov eax, dword [0x88e248]
cmp eax, edi
je 0x5dd824
push eax
call ebx
test eax, eax
je 0x5dd824
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x88e240]
call ebx
test eax, eax
je 0x5dd83f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5dd841
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bf536
mov esp, ebp
pop ebp
ret
Function at 0x401c80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [esi + 8]
call fcn.00401a90
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x401ca9
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov edi, dword [esi + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push edi
push 0x401a10
push 0
push 0
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10], eax
test eax, eax
je 0x401ced
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401ced
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], 0
mov eax, dword [esi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x402530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599738
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x40258a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
jb 0x4025a7
mov eax, dword [esi + 0x20]
jmp 0x4025aa
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4025c4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4025de
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 3
call fcn.0046c4ba
push eax
call fcn.0046c429
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0045ef40
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x402691
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.0045ef40
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x402682
test eax, eax
je 0x402682
add eax, eax
cmp eax, 0x412
jae 0x40267d
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x402688
call fcn.004487df
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00401e50
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4026bd
cmp dword [esi + 0x34], 8
jb 0x4026a3
mov ecx, dword [esi + 0x20]
jmp 0x4026a6
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4026bd
push 1
push 0x608fb4
lea ecx, [esi + 0x20]
call fcn.00404470
cmp dword [esi + 0x30], 0
jne 0x4026d2
push 3
push 0x608fb8
lea ecx, [esi + 0x20]
call fcn.00401ea0
mov dword [esi + 4], 0
mov eax, esi
mov dword [esi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448575
mov esp, ebp
pop ebp
ret
Function at 0x405dd1
Capabilities:
Read .ini file

Disassembly:
push 0x258
mov eax, 0x599bbf
call fcn.004485f1
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x405df9
xor al, al
jmp 0x405f59
call fcn.00406108
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0045ef40
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x264]
push eax
call fcn.0040647f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov esi, 0x608fd4
push 0x104
push ecx
push esi
push eax
push 0x5a0e94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
jne 0x405f08
and dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x230]
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
mov ecx, edi
push eax
push 0x5a0e94
call fcn.00405fcd
test al, al
jne 0x405ed2
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401de0
xor bl, bl
jmp 0x405f48
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00462bac
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00401de0
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0040633e
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x405f37
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004020f0
push 0
push 1
lea ecx, [ebp - 0x260]
mov bl, 1
call fcn.00401de0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401de0
mov al, bl
call fcn.0044859b
ret 8

Function at 0x406cfb
Capabilities:
Read .ini file

Disassembly:
call fcn.00406dcd
mov ecx, eax
jmp fcn.00409acf
Function at 0x409de8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x418], ebx
call fcn.0045ef40
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045ef40
mov eax, dword [ebx + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x41c], ecx
cmp ecx, eax
je 0x409f5b
mov esi, ebx
push edi
mov ebx, dword [ecx + 0x14]
lea edi, [ebx + 0xc]
push edi
call fcn.00462b51
pop ecx
test eax, eax
jle 0x409f3e
push edi
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.004065f3
mov esi, dword [ebp - 0x418]
add esp, 0xc
add esi, 0x90
cmp dword [esi + 0x14], 8
jb 0x409e83
mov eax, dword [esi]
jmp 0x409e85
mov eax, esi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5a1294
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x5a1294
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
je 0x409ed2
lea eax, [ebp - 0x20c]
push eax
call fcn.0046bbe8
pop ecx
mov ecx, dword [ebx + 4]
mov byte [ecx], al
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.004065f3
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x409eef
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, str.nothing
push eax
push esi
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
je 0x409f38
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 8]
call fcn.00462bac
pop ecx
pop ecx
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x41c]
call fcn.004554fa
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x41c]
cmp ecx, dword [eax]
jne 0x409e43
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00448575
mov esp, ebp
pop ebp
ret

Function at 0x40af77
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x208], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, eax
je 0x40afb6
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
call fcn.00405c97
mov ecx, dword [ebp - 0x208]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20c], 0x200
jb 0x40afc8
mov edi, dword [edi]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x40b00c
cmp byte [ebp - 0x204], al
je 0x40affd
lea eax, [ebp - 0x204]
push eax
call fcn.0046bc40
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x204]
mov ecx, ebx
push eax
call fcn.0040c2e7
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448575
mov esp, ebp
pop ebp
ret
Function at 0x40b4c6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
sub eax, 0x201
je 0x40b4f5
sub eax, 9
jne 0x40b540
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x40b540
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x40b540
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ebx
movzx eax, bx
shr edi, 0x10
push edi
push eax
mov dword [ebp + 8], eax
lea eax, [esi + 0x2f4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40b53e
push edi
push dword [ebp + 8]
lea eax, [esi + 0x304]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x40b53e
push ebx
push 2
push 0xa1
lea ecx, [esi - 0x24]
call dword [sym.imp.DuiLib32.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x40bb83
Capabilities:
Set registry value

Disassembly:
push 0x38
mov eax, 0x59a03f
call fcn.004485f1
mov esi, dword [ebp + 0x20]
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], ebx
mov edi, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.00462b51
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401ea0
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004046b0
add esp, 0xc
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ebx
push ecx
push ebx
push 0x20006
push 1
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bc34
push 4
lea eax, [ebp + 0x24]
push eax
push 4
push ebx
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x44]
xor ecx, ecx
inc ecx
movzx ebx, cl
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
xor eax, eax
lea ecx, [ebp - 0x40]
xor esi, esi
inc eax
push esi
push eax
call fcn.00401de0
xor eax, eax
lea ecx, [ebp - 0x28]
push esi
inc eax
push eax
call fcn.00401de0
xor eax, eax
lea ecx, [ebp + 8]
push esi
inc eax
push eax
call fcn.00401de0
mov al, bl
call fcn.0044859b
ret