joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a890
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3fab
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0047d290
push 4
mov dword [ebp - 4], 0
call fcn.0047e06e
mov edi, eax
add esp, 4
test edi, edi
je 0x44a910
call fcn.0047ceb1
mov dword [edi], eax
call fcn.0047cc70
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0047cba5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x44a906
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0047cbcd
jmp 0x44a912
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fdb0
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4898
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x260], 0
call fcn.0047e610
push 0x4d1d94
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.0040338d
mov eax, dword [eax]
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44fe4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
je 0x44ff3f
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
mov ecx, 0x4cf288
lea eax, [ebp - 0x234]
jmp 0x44fe70
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44fe96
test dx, dx
je 0x44fe92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44fe96
add eax, 4
add ecx, 4
test dx, dx
jne 0x44fe70
xor eax, eax
jmp 0x44fe9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44ff29
mov ecx, 0x4cf280
lea eax, [ebp - 0x234]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44fed6
test dx, dx
je 0x44fed2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44fed6
add eax, 4
add ecx, 4
test dx, dx
jne 0x44feb0
xor eax, eax
jmp 0x44fedb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44ff29
test byte [ebp - 0x260], 0x20
je 0x44ff29
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x264]
push eax
call fcn.0040338d
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ff29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44fe60
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ff76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x457060
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5435
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push str.ContentClientParam
call fcn.00498b90
mov dword [esi], vtable.ContentClientParam.0
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov dword [ebp - 4], 0
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov byte [ebp - 4], 1
lea edi, [esi + 0x10]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov byte [ebp - 4], 2
lea ebx, [esi + 0x14]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov byte [ebp - 4], 4
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov byte [ebp - 4], 6
call edx
add eax, 0x10
lea ecx, [esi + 0x24]
mov dword [ecx], eax
xor eax, eax
push 0x4cdb58
mov byte [ebp - 4], 7
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
call fcn.00403254
push eax
lea ecx, [esi + 0x20]
call fcn.0040195e
lea eax, [esi + 0x20]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040195e
lea eax, [esi + 0x1c]
push eax
lea ecx, [esi + 0x18]
call fcn.0040195e
lea eax, [esi + 0x18]
push eax
mov ecx, ebx
call fcn.0040195e
push ebx
mov ecx, edi
call fcn.0040195e
push edi
lea ecx, [esi + 0xc]
call fcn.0040195e
mov dword [esi + 0x34], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459790
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x4597a5
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push esi
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0xd
push 1
push edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.dbghelp.dll_ImageDirectoryEntryToDataEx]
mov esi, eax
cmp esi, edi
jne 0x4597d0
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push ebx
cmp eax, edi
je 0x4597fc
mov ebx, dword [ebp + 0xc]
jmp 0x4597e0
cmp dword [esi], edi
jne 0x4597fc
push ebx
push eax
call fcn.0048acc4
add esp, 8
test eax, eax
je 0x4597fc
mov eax, dword [esi + 0x24]
add esi, 0x20
cmp eax, edi
jne 0x4597e0
cmp dword [esi + 4], edi
je 0x459854
test byte [esi], 1
je 0x459854
mov esi, dword [esi + 0xc]
add esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, edi
je 0x459854
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, edi
cmp eax, dword [ebp + 0x10]
jne 0x45984a
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x45984a
push 0
push 4
lea ecx, [ebp + 0x14]
push ecx
push esi
call ebx
push eax
call edi
test eax, eax
jne 0x45985d
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x459820
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x459b10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x459b25
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 1
push 1
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.dbghelp.dll_ImageDirectoryEntryToDataEx]
mov esi, eax
cmp esi, ebx
je 0x459bdc
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov ebx, dword [ebp + 0xc]
je 0x459b71
add eax, edi
push ebx
push eax
call fcn.0048acc4
add esp, 8
test eax, eax
je 0x459b71
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x459b57
cmp dword [esi + 0xc], 0
jne 0x459b90
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push edi
call fcn.00459790
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x10]
mov eax, dword [esi + edi]
add esi, edi
test eax, eax
je 0x459bdc
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, dword [ebp + 0x10]
jne 0x459bd2
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x459bd2
push 0
push 4
lea edx, [ebp + 0x14]
push edx
push esi
call ebx
push eax
call edi
test eax, eax
jne 0x459be5
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x459ba8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459ee0
Capabilities:
Allocate or change rwx memory
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0047e8f0
push ebx
xor ebx, ebx
push 0xffc
lea eax, [ebp - 0x1014]
push ebx
push eax
mov dword [ebp - 0x1018], ebx
call fcn.0047e610
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0xc]
push ecx
push 0x1000
lea edx, [ebp - 0x1018]
push edx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x45a01a
xor eax, eax
test dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 4], eax
jbe 0x45a01a
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + eax*4 - 0x1018]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], ebx
je 0x45a003
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.dbghelp.dll_ImageDirectoryEntryToDataEx]
mov esi, eax
cmp esi, ebx
je 0x45a003
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x459fa0
mov ecx, dword [ebp + 8]
push ecx
add eax, edi
push eax
call fcn.0048acc4
add esp, 8
test eax, eax
je 0x459fa0
mov eax, dword [esi + 0x20]
add esi, 0x14
cmp eax, ebx
jne 0x459f83
cmp dword [esi + 0xc], ebx
jne 0x459fbc
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
push edi
call fcn.00459790
add esp, 0x10
jmp 0x45a003
mov esi, dword [esi + 0x10]
mov eax, dword [esi + edi]
add esi, edi
cmp eax, ebx
je 0x45a003
cmp eax, dword [ebp + 0xc]
jne 0x459ff9
lea edx, [ebp - 0x18]
push edx
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x459ff9
push ebx
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x45a003
mov eax, dword [esi + 4]
add esi, 4
cmp eax, ebx
jne 0x459fc8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
shr ecx, 2
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x459f43
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a3c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c58f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ebx, 1
mov ecx, 0x4fc7ec
mov dword [ebp - 4], ebx
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
call fcn.0045cf90
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x10]
push 0x4cda94
push eax
mov byte [ebp - 4], 2
call fcn.00401a85
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a46e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
jne 0x45a486
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x4fb8c4]
cmp eax, 0xffffffff
je 0x45a4bc
cmp dword [ebp + 0x10], 0
je 0x45a4bc
push eax
push ebx
push str._s_ld
push esi
call fcn.00401a85
mov eax, dword [esi]
add esp, 0x10
push eax
call edi
test eax, eax
jne 0x45a4c7
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x45a4c7
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0040195e
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a4e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c7a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx]
test edx, edx
je 0x45c7e1
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c7b3
mov ecx, dword [ebp + 8]
sub eax, edi
sar eax, 1
add eax, eax
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
test eax, eax
je 0x45c7e1
xor eax, eax
pop ebp
ret 8
mov eax, 1
pop ebp
ret 8

Function at 0x45c830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5b3a
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
push 0x4cefbc
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.004019fa
push 0x4cefbc
lea ecx, [ebp + 0xc]
call fcn.00401811
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0047e610
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str._s_s_
push esi
mov dword [ebp - 0x21c], 1
call fcn.00401a85
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c91b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x45cc50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5b80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4fe9b4
lea ecx, [ebp - 0x18]
call fcn.0040e6c0
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
test esi, esi
jne 0x45cc96
mov esi, str.cfg.ini
lea eax, [ebp + 0x18]
push eax
call fcn.0045c9a0
push esi
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 1
call fcn.0040338d
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ccd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cd0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45cd30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5bcc
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x228], ecx
push 0x4fe9b4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], eax
call fcn.0040e6c0
mov dword [ebp - 4], 0
test esi, esi
jne 0x45cd99
mov esi, str.cfg.ini
lea edx, [ebp - 0x22c]
push edx
call fcn.0045c9a0
push esi
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 1
call fcn.0040338d
add esp, 0x10
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cde0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x228]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00402008
mov ecx, dword [ebp - 0x220]
push eax
mov byte [ebp - 4], 4
call fcn.0040195e
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ce4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ce70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x45cea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x210], 0
mov esi, dword [ecx]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
test esi, esi
je 0x45cf6b
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x210], 1
mov word [ebp - 0x20c], cx
call fcn.0047e610
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push edi
push esi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x214]
test esi, esi
je 0x45cf5b
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45cf40
sub eax, edx
sar eax, 1
jne 0x45cf5b
push esi
mov ecx, ebx
call fcn.00402008
jmp 0x45cf77
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00402008
jmp 0x45cf77
push 0x4cdb58
mov ecx, ebx
call fcn.004037ce
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45fb10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
push edx
mov ecx, edi
call fcn.00458ed0
test eax, eax
jne 0x45fb4c
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp dword [0x4fe854], 0
jne 0x45fb78
mov eax, dword [edi + 0x2c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x2c]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, edi
call fcn.004577f0
jmp 0x45fb84
mov edx, dword [edi + 0x2c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4cdb58
lea ecx, [edi + 0x54]
call fcn.00403254
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x5c]
cmp ecx, eax
je 0x45fbbc
mov edx, dword [ebp + 8]
push edx
push ecx
push eax
push eax
call fcn.0049d010
mov ebx, eax
mov eax, dword [edi + 0x60]
add esp, 0x10
push eax
push ebx
lea ecx, [edi + 0x5c]
call fcn.0040d860
mov dword [edi + 0x60], ebx
cmp dword [ebp + 0x10], 0
je 0x45fbce
push str.about:blank_first
mov ecx, edi
call fcn.00458170
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc