joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cf60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40d13f
mov esi, dword [esi + 0x1d8]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov bl, byte [esi + 0xd]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x40d13f
lea ecx, [ebp - 0x24]
call fcn.0043a0d0
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x10], 0xd
call dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
mov esi, eax
test esi, esi
je 0x40d123
cmp esi, 0xffffffff
je 0x40d123
mov ebx, dword [ebp - 0x14]
push dword [ebx + 0x1b8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40d123
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x40d11d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043a160
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044df90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
push dword [eax + 4]
mov eax, dword [ebp - 0x24]
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.0043a210
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0043a210
push dword [ebx + 0x1c0]
lea ecx, [ebp - 0x24]
call fcn.0043a4d0
lea ecx, [ebp - 0x34]
push 0x4b0eac
test al, al
je 0x40d0d3
call fcn.0043a160
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x1bc]
mov eax, dword [ecx]
push dword [ebp - 0x30]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
call fcn.0043a210
lea ecx, [ebp - 0x24]
call fcn.0043a210
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043a160
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x1bc]
mov eax, dword [ecx]
push dword [ebp - 0x30]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0043a210
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0040e150
lea ecx, [ebp - 0x24]
call fcn.0043a210
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x24]
call fcn.0043a210
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
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 0x413140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4984ed
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x30]
push dword [ebp + 8]
call dword [eax + 4]
mov esi, dword [esi + 0x28]
push 0x50
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 1
call fcn.00471fe1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
mov esi, dword [esi + 8]
mov dword [ebx], vtable.FileTransferEventAdapter.0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 4], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 4], vtable.SafeVector_class_OperationEventListener__.0
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x38], 0
lea edi, [ebx + 0x3c]
mov dword [ebx], vtable.RemoteFileListOperation.0
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004217f0
mov edx, dword [esi]
mov eax, dword [esi + 4]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push edx
call fcn.00473660
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [edi]
mov word [ebx + 0x4c], 0
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00426ef0
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
Function at 0x413e40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4985d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
push 5
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x4bacec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x413f03
jmp 0x413eef
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
push eax
lea ecx, [ebp - 0x54]
call fcn.0044ff70
push 0x4ca318
lea eax, [ebp - 0x54]
push eax
call fcn.004735ed
int3
Function at 0x414d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4987a4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], vtable.Control.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.NewFolderDialog.0
mov dword [ebx + 0x24], vtable.Control.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], vtable.TextBox.0
lea edi, [ebx + 0x3c]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004217f0
mov edx, dword [esi]
mov eax, dword [esi + 4]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push edx
call fcn.00473660
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [edi]
push 0x4b0eac
mov dword [ebx + 8], 0x7a
call dword [eax + 4]
mov eax, ebx
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 0x414e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4987a4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], vtable.Control.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.NewFolderDialog.0
mov dword [ebx + 0x24], vtable.Control.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], vtable.TextBox.0
lea edi, [ebx + 0x3c]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004217f0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [ebx + 0x18], eax
mov eax, dword [edi]
push 0x4b0eac
mov dword [ebx + 8], 0x7a
call dword [eax + 4]
mov eax, ebx
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
Function at 0x417dd0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498a10
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x2e4], 0
jne 0x417f64
push 0x84
call fcn.00471fe1
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x43a050
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
mov dword [esi], vtable.TcpServer.0
call fcn.004364e0
push str.0.0.0.0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.0043a160
movzx eax, word [ebp + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov edx, str.0.0.0.0
push eax
mov word [esi + 0x58], ax
call fcn.00436d20
add esp, 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x10]
call fcn.00436840
push 0xa
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x417f83
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov dword [ebp - 0x2c], vtable.WsaStartup.0
setne al
mov byte [esi + 0xc], al
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 6
lea ebx, [esi + 0x60]
push 0
mov dword [esi], vtable.ConnectionListener.0
mov dword [esi + 0x5c], edi
push 0
mov dword [ebp + 8], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0040b820
mov dword [ebx], eax
lea eax, [esi + 0x6c]
push eax
mov dword [esi + 0x68], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x2e4], 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 4
lea eax, [ebp - 0x40]
push str.Listening_Server_already_started
push eax
call fcn.0043a760
add esp, 8
lea eax, [ebp - 0x40]
push 0x4ca0b8
push eax
call fcn.004735ed
lea ecx, [ebp - 0x58]
call fcn.00436e30
push 0x4ca2b4
lea eax, [ebp - 0x58]
push eax
call fcn.004735ed
int3
Function at 0x418280
Capabilities:
Inspect load icon resource

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2dc]
mov dl, byte [edi + 0x5c]
mov byte [eax + 0x24], dl
lea ecx, [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test dl, dl
je 0x4182a1
push 0
jmp 0x4182a3
push 1
call eax
mov esi, dword [edi + 0x2dc]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4182b9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x20], eax
mov esi, dword [edi + 0x2dc]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x418320
mov eax, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
je 0x4182e6
mov ecx, dword [eax + 4]
mov eax, dword [esi + 8]
test eax, eax
movzx eax, ax
jne 0x4182f3
mov eax, dword [esi + 4]
push esi
push 0x42ec20
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x2dc]
mov ecx, dword [ecx + 0x10]
call fcn.0044ed40
pop edi
pop esi
pop ecx
ret
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [edi + 0x2dc]
mov ecx, dword [ecx + 0x10]
call fcn.0044ed40
pop edi
pop esi
pop ecx
ret
Function at 0x420da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499780
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x34]
mov eax, dword [ebp + 8]
mov byte [edi + 0x2d8], 1
mov byte [edi + 0x2d0], 0
mov byte [edi + 0xbc], 1
mov dword [edx + 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x24]
mov ecx, dword [edi + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004267f0
mov edx, eax
movzx ecx, byte [edx + 4]
mov byte [esi + 0x24], cl
movzx ecx, byte [edx + 5]
mov byte [esi + 0x25], cl
movzx ecx, byte [edx + 6]
mov byte [esi + 0x26], cl
movzx ecx, byte [edx + 7]
mov byte [esi + 0x27], cl
movzx ecx, byte [edx + 8]
mov byte [esi + 0x28], cl
lea ecx, [edi - 0x30]
movzx eax, byte [edx + 9]
mov byte [esi + 0x29], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0x2a], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0x2b], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0x2c], al
call fcn.00420950
push dword [edi - 0x2c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [edi - 0x30]
call fcn.0041e0d0
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x420ef0
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420ed1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f36
push ecx
push edx
call fcn.00471b16
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x420f23
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420f19
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f3b
push ecx
push edx
call fcn.00471b16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0047da31
call fcn.0047da31
int3
Function at 0x4210c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4997a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 0x214]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov bl, byte [esi + 0xd]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x4211bd
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0044dda0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x1c]
and esi, 0xfffffffe
push dword [ebx + 0x1f4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4211a3
cmp dword [ebx + 0x1f0], 0
je 0x421160
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push dword [ebp - 0x1c]
mov dword [ebx + 0x1f0], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00473660
add esp, 0xc
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx + 0x1f0]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
call fcn.0043a210
mov eax, dword [ebx + 0x1f8]
lea ecx, [ebx + 0x1f8]
push dword [edi + 4]
call dword [eax + 4]
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
Function at 0x423920
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499be0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov dword [ebp - 4], 1
xor ebx, ebx
mov ecx, dword [edi + 8]
mov eax, ecx
mov esi, dword [edi + 4]
sub eax, esi
sar eax, 4
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x423a23
xor esi, esi
jmp 0x4239b9
mov esi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x24]
push 0x4b3fe4
push eax
call fcn.0043a670
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jbe 0x423a96
mov eax, dword [edi + 0x14]
mov edx, dword [esi + ecx + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4239f7
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x423a08
push dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [edi + 8]
add esi, 0x10
mov dword [ebp - 0x14], esi
mov eax, ecx
mov esi, dword [edi + 4]
inc ebx
sub eax, esi
mov dword [ebp - 0x10], ecx
sar eax, 4
cmp ebx, eax
jb 0x4239b6
mov byte [ebp - 4], 2
cmp esi, ecx
je 0x423a42
mov ebx, dword [ebp - 0x10]
nop
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x10
cmp esi, ebx
jne 0x423a30
mov esi, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [edi + 8], esi
mov dword [ebp - 0x24], vtable.StringStorage.0
test edx, edx
je 0x423a7f
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x423a75
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423a91
push ecx
push edx
call fcn.00471b16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047da31
call fcn.00423cc0
int3
Function at 0x4247f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0x10]
mov esi, 0x400
mov dword [ebp - 4], 0
nop
lea eax, [ebp - 0x18]
push eax
push esi
mov ecx, eax
call fcn.004217f0
push dword [edi + 0x18]
push esi
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
lea edx, [esi - 1]
shr ecx, 1
add esi, ecx
cmp eax, edx
je 0x424840
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4248ab
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4248a1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4248bf
push ecx
push edx
call fcn.00471b16
add esp, 8
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
call fcn.0047da31
int3
Function at 0x424b70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499db8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.00424940
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.00424a20
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [edi + 4]
call fcn.0044f0b0
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
mov ecx, dword [edi + 4]
call fcn.0044f190
mov ecx, dword [ebp - 0x44]
mov bl, al
test ecx, ecx
jne 0x424c7c
xor dl, dl
jmp 0x424c8e
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x44]
test eax, eax
sete dl
test bl, bl
jne 0x424c96
test dl, dl
je 0x424c98
mov bl, 1
mov dword [ebp - 0x48], vtable.RegistryKey.0
test ecx, ecx
je 0x424cb6
cmp ecx, dword [ebp - 0x40]
je 0x424caf
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a210
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x424d0d
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424cee
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424d5c
push ecx
push edx
call fcn.00471b16
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x424d47
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424d3d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424d61
push ecx
push edx
call fcn.00471b16
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0047da31
call fcn.0047da31
int3