joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a850
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x580d8e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5e91b4]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
xor eax, eax
test byte [0x5f2080], 1
mov edi, ecx
mov dword [esp + 0x14], eax
jne 0x44a8e0
or dword [0x5f2080], 1
push 0x5b7a18
mov ecx, 0x5f207c
mov dword [esp + 0x22c], eax
call fcn.00401bf0
push 0x58d0d0
call fcn.00558253
add esp, 4
mov dword [esp + 0x228], 0xffffffff
mov ebx, dword [ebp + 0x10]
mov dword [0x5f2074], ebx
test esi, esi
jne 0x44a8f1
xor eax, eax
jmp 0x44a8ff
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a8f6
sub eax, edx
push eax
push esi
mov ecx, 0x5f207c
call fcn.00401ea0
mov edx, dword [edi + 4]
push 0
push 0x10
push 0x10
movzx ecx, bx
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x1f8
mov edi, eax
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0055ade0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push esi
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x24], 0x1f8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], 0x420
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x44a9ba
push 0
push str.TrayNotifyWnd
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x44a9ba
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x44a9ba
cmp dword [esp + 0x10], 0
je 0x44a9ba
mov eax, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
jmp 0x44a9be
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005578df
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ac10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eae0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push 0x5f1f64
push ecx
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x18], ebx
call fcn.00404a10
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp + 8], ebx
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44ac7d
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.0044af30
mov edx, dword [ebp - 0x20]
push ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push SysReAllocString
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x44acca
push 0x5d8910
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.0055b038
cmp dword [ebp + 8], ebx
jne 0x44ace0
push 0x5d8910
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], bl
call fcn.0055b038
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1c]
push 0x5b7b5c
push eax
call fcn.00405330
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add esp, 0xc
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x44ad2e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5d8910
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp + 8], ebx
mov byte [ebp - 0x14], bl
call fcn.0055b038
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ad5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ad7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44ada0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eab0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push 0x5f1f64
push ecx
mov byte [ebp - 0x11], 1
call fcn.00404a10
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp + 8], ebx
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44ae0a
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
push ebx
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x44ae4f
push 0x5d8910
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.0055b038
cmp dword [ebp + 8], ebx
jne 0x44ae65
push 0x5d8910
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], bl
call fcn.0055b038
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x18]
push 0x5b7b5c
push eax
call fcn.00405330
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
push edx
push ebx
push ebx
push esi
push eax
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x44aebb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5d8910
lea edx, [ebp - 0x14]
push edx
mov dword [ebp + 8], ebx
mov byte [ebp - 0x14], bl
call fcn.0055b038
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44aee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44af0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44cde0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f3e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ebx, eax
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44ce39
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x64
or eax, ecx
jge 0x44ce6e
push 0x64
lea ecx, [ebp - 0x10]
call fcn.00401dd0
mov esi, dword [ebp - 0x10]
push ebx
push 0x64
push esi
push 5
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
test eax, eax
jne 0x44cec7
mov edi, dword [ebp + 8]
push 0x5b7a18
mov ecx, edi
call fcn.00401bf0
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ceb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00557e86
add esp, 8
test eax, eax
js 0x44cf1a
cmp eax, dword [esi - 8]
jg 0x44cf1a
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
add esi, 0xfffffff0
push esi
call fcn.00401f40
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ceb1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x44ceb1
push 0x80070057
call fcn.00402040
int3
Function at 0x44cf30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f3e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ebx, eax
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44cf89
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x64
or eax, ecx
jge 0x44cfbe
push 0x64
lea ecx, [ebp - 0x10]
call fcn.00401dd0
mov esi, dword [ebp - 0x10]
push ebx
push 0x64
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
test eax, eax
jne 0x44d017
mov edi, dword [ebp + 8]
push 0x5b7a18
mov ecx, edi
call fcn.00401bf0
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d001
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00557e86
add esp, 8
test eax, eax
js 0x44d06a
cmp eax, dword [esi - 8]
jg 0x44d06a
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
add esi, 0xfffffff0
push esi
call fcn.00401f40
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d001
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x44d001
push 0x80070057
call fcn.00402040
int3
Function at 0x44d080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f171
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44d0d4
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov edi, 1
mov dword [ebp - 4], edi
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44d105
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push 3
push 0x400
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push 0x5bd9bc
push eax
call fcn.00405330
mov edi, dword [ebp - 0x20]
add esp, 0xc
cmp dword [edi - 0xc], 0
je 0x44d154
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00401fb0
jmp 0x44d162
push 0
push 0x5b7a18
mov ecx, esi
call fcn.00401ea0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44d182
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
Function at 0x44d1a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f171
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44d1f4
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov edi, 1
mov dword [ebp - 4], edi
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44d225
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push 0x59
push 0x400
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push 0x5bd9bc
push eax
call fcn.00405330
mov edi, dword [ebp - 0x20]
add esp, 0xc
cmp dword [edi - 0xc], 0
je 0x44d274
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00401fb0
jmp 0x44d282
push 0
push 0x5b7a18
mov ecx, esi
call fcn.00401ea0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44d2a2
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
Function at 0x44e460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi]
sub eax, 0x10
push eax
xor ebx, ebx
call fcn.00401f40
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
push 8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00404990
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401fb0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e4dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
call fcn.00450010
push eax
lea ecx, [ebp - 0x10]
call fcn.00401fb0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], ebx
jl 0x44e54f
push str.http:__
push ecx
call fcn.005580df
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp eax, ebx
je 0x44e511
sub eax, ecx
cmp eax, 0xffffffff
jne 0x44e532
cmp dword [ecx - 0xc], ebx
jl 0x44e54f
push str.https:__
push ecx
call fcn.005580df
add esp, 8
cmp eax, ebx
je 0x44e54c
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 0xffffffff
je 0x44e54f
mov eax, dword [esi]
push 1
push ebx
push ebx
push eax
push 0x5bc1f4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jl 0x44e54c
mov bl, 1
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e572
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x5f1b6c]
push esi
mov eax, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push ecx
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450e19
lea edx, [ebp - 0xc]
push edx
mov edx, dword [0x5f1fc8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x450e0f
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4513a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58021d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x103
mov esi, ecx
lea ecx, [ebp - 0x117]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x119], 1
mov byte [ebp - 0x118], bl
call fcn.0055ade0
mov edi, dword [esi + 8]
add esi, 8
add esp, 0xc
cmp edi, ebx
je 0x451428
mov ebx, dword [esi + 4]
call fcn.00451d10
mov edx, dword [esi]
push edx
call fcn.005580f6
add esp, 4
mov dword [esi], 0
xor ebx, ebx
mov eax, dword [ebp - 0x120]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [eax]
push eax
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp eax, ebx
jg 0x451465
push 0x5d8910
lea edx, [ebp - 0x11a]
push edx
mov byte [ebp - 0x11a], 0
call fcn.0055b038
lea ebx, [ebp - 0x118]
jmp 0x451470
cmp byte [ebx], 0
je 0x45152f
push ebx
lea ecx, [ebp - 0x120]
call fcn.00401bf0
mov byte [ebp - 4], 1
mov edi, dword [esi + 4]
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x12c], edi
cmp edi, dword [esi + 8]
jb 0x4514b3
lea eax, [edi + 1]
call fcn.00451be0
test al, al
jne 0x4514b3
push 0x8007000e
call fcn.00402040
mov eax, dword [esi]
lea edi, [eax + edi*4]
mov dword [ebp - 0x128], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4514dd
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
push eax
call fcn.00401f40
add esp, 4
add eax, 0x10
mov dword [edi], eax
inc dword [esi + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
lea edx, [eax + 1]
jmp 0x451510
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451510
sub eax, edx
lea ebx, [ebx + eax + 1]
jmp 0x451470
mov al, byte [ebp - 0x119]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret 4
Function at 0x451560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ea19
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.004655e9
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4515ad
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov edi, dword [ebx + 4]
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x201
or eax, ecx
jge 0x4515e4
push 0x201
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov ebx, dword [ebx]
push edi
push 0x200
push eax
push 0x5b7a18
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi]
mov ecx, 0x201
cmp dword [eax - 8], ecx
jl 0x451640
mov dword [eax - 0xc], ecx
mov edx, dword [esi]
push 0x5b993c
push 0x5bdd10
mov ecx, esi
mov byte [edx + 0x201], 0
call fcn.0042ede0
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 8
push 0x80070057
call fcn.00402040
int3
Function at 0x451830
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f05d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1f54
call fcn.0055bc00
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov esi, ecx
mov dword [ebp - 0x1f5c], esi
mov edi, edx
mov dword [ebp - 0x1f64], eax
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x451898
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x1f3f
mov eax, 1
lea ecx, [ebp - 0x1f53]
push 0
mov dword [ebp - 4], eax
push ecx
mov dword [ebp - 0x1f64], eax
mov byte [ebp - 0x1f54], 0
call fcn.0055ade0
mov eax, dword [edi]
mov ecx, dword [ebx]
add esp, 0xc
push eax
push 0x1f40
lea edx, [ebp - 0x1f54]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp eax, 0x1f3e
jne 0x451908
push 0x5d8910
lea eax, [ebp - 0x1f56]
push eax
mov byte [ebp - 0x1f56], 0
call fcn.0055b038
push eax
lea ecx, [ebp - 0x1f60]
push ecx
lea ecx, [ebp - 0x1f54]
call fcn.004519b0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00401fb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1f60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45194d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
sete al
cmp al, 1
jne 0x45198e
push 0x5d8910
lea edx, [ebp - 0x1f55]
push edx
mov byte [ebp - 0x1f55], 0
call fcn.0055b038
mov ecx, dword [ebp - 0x1f5c]
push 0x5b7a18
call fcn.00401bb0
mov eax, 0x451988
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret 4