joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b3e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d3608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [0x4d67b0]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xb
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x45b43b
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x45b451
mov eax, dword [edi + 4]
test eax, eax
je 0x45b458
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.004cd1e6
mov edx, dword [esi + 8]
push edx
call dword [0x4d6124]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.004c35c6
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CFont.0
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], ebx
call dword [0x4d60e4]
push eax
push 0x60
push 0x3c
call dword [0x4d6350]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call fcn.004cd27b
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 0x4f032c
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.004c258b
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 2
push edi
add edx, 2
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.004c251d
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004c35c6
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call fcn.004c3dae
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x45ba80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x154
push ebx
push esi
push edi
mov edi, ecx
push 0x17d
mov eax, dword [edi + 0x11c]
push eax
call dword [0x4d6808]
mov ebx, dword [0x4d67a0]
push 0
mov esi, eax
push 0
push 0x147
push esi
call ebx
test eax, eax
jle 0x45bac5
lea ecx, [esp + 0x5c]
push ecx
push eax
push 0x148
push esi
call ebx
jmp 0x45bad6
lea edx, [esp + 0x5c]
push 0x104
push edx
push esi
call dword [0x4d66c4]
mov ecx, dword [edi]
lea eax, [esp + 0xc]
push 0x50
push eax
push 0xa9
push ecx
call dword [0x4d679c]
mov ecx, dword [edi + 0x11c]
lea edx, [esp + 0xc]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
call fcn.00471ac0
add esp, 0xc
lea edx, [esp + 0x5c]
push edx
push 0xffffffffffffffff
push 0x158
push esi
call ebx
test eax, eax
jl 0x45bb31
push 0
push eax
push 0x14e
push esi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x154
ret
lea eax, [esp + 0x5c]
push eax
push esi
call dword [0x4d66c8]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x154
ret

Function at 0x45bb50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, ecx
push edi
push 0x17d
mov eax, dword [esi + 0x11c]
push eax
call dword [0x4d6808]
mov ebx, dword [0x4d67a0]
push 0
mov edi, eax
push 0
push 0x147
push edi
call ebx
test eax, eax
jle 0x45bb95
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x148
push edi
call ebx
jmp 0x45bba6
lea edx, [esp + 0xc]
push 0x104
push edx
push edi
call dword [0x4d66c4]
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004a8e56
add esp, 8
test eax, eax
je 0x45bbf9
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi]
push 0
push 0x205
push 0x1fb
push ecx
push edx
call fcn.00471530
add esp, 0x14
push edi
call dword [0x4d680c]
push 0xffffffffffffffff
push 0
push 0x142
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
lea eax, [esp + 0xc]
lea ecx, [esi + 0xc]
push eax
push ecx
call dword [0x4d633c]
mov edx, dword [esi + 0x11c]
mov ebx, dword [0x4d681c]
push 0x180
push edx
call ebx
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x11c]
push 0x182
push eax
call ebx
mov ecx, dword [esi + 0x11c]
push 0x183
push ecx
mov dword [esi + 0x114], eax
call ebx
push str.HistSyncFolders
push str.SoftwareACD_SystemsACDSee
push 0x400
push 0
push 1
push edi
mov dword [esi + 0x118], eax
call fcn.00472f40
mov edx, dword [esi + 0x11c]
add esp, 0x18
push 1
push edx
call dword [0x4d6810]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x45bc90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0045be30
test eax, eax
jne 0x45bca0
pop esi
pop ecx
ret
mov eax, dword [esi + 0x120]
test eax, eax
je 0x45bcfe
mov eax, dword [esi + 0x124]
push eax
call dword [0x4d6358]
mov ecx, dword [esi + 0x120]
push 0xbb8
push ecx
call dword [0x4d63a4]
cmp eax, 0x102
jne 0x45bcd8
push 0x40
call dword [0x4d6734]
mov edx, dword [esi + 0x120]
push edx
call dword [0x4d6384]
mov dword [esi + 0x120], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x45bcfe
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x124]
push eax
call dword [0x4d63b4]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x45bd40
push 0
push 0
call fcn.004a899b
add esp, 0x18
mov dword [esi + 0x120], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x45d460
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.TWAIN_32.DLL
call dword [0x4d636c]
test eax, eax
mov dword [esi + 8], eax
jne 0x45d485
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareACD_SystemsACDSee
push 0x80000001
call dword [0x4d6024]
test eax, eax
jne 0x45d4db
lea ecx, [esp + 0x14]
lea edx, [esi + 0x258]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.AcquireOptions
push ecx
mov dword [esp + 0x2c], 0x74
call dword [0x4d6028]
mov edx, dword [esp + 0x10]
push edx
call dword [0x4d6018]
mov eax, dword [esi + 8]
push 1
push eax
call dword [0x4d6368]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x45d50b
mov ecx, dword [esi + 8]
push ecx
call dword [0x4d6364]
mov dword [esi + 8], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push 0x2e
push ebp
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esi + 0x2cc], ecx
call fcn.004a8857
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45d538
inc ebx
mov edi, dword [0x4d633c]
lea edx, [esi + 0x1c]
push ebp
push edx
call edi
push ebp
call fcn.004a95fb
xor ebp, ebp
add esp, 4
cmp ebx, ebp
mov word [esi + 0x14], ax
je 0x45d563
push ebx
call fcn.004a95fb
add esp, 4
jmp 0x45d565
xor eax, eax
mov word [esi + 0x16], ax
lea eax, [esi + 0x46]
push 0x4f0430
push eax
mov word [esi + 0x18], 0xd
mov word [esi + 0x1a], 2
mov word [esi + 0x3e], 1
mov word [esi + 0x40], 8
mov dword [esi + 0x42], 3
call edi
lea ecx, [esi + 0x68]
push str.Imaging
push ecx
call edi
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x8a]
push edx
push eax
call edi
lea ebx, [esi + 4]
lea edi, [esi + 0x10]
push ebx
push 0x301
push 4
push 1
push ebp
push edi
call dword [esi + 0xc]
test ax, ax
je 0x45d642
cmp dword [esi + 0x148], ebp
je 0x45d5f2
lea ecx, [esp + 0x18]
lea edx, [esi + 0xac]
push ecx
push 0x501
push 9
push 1
push edx
push edi
call dword [esi + 0xc]
test ax, ax
jne 0x45d5f2
mov dword [esi + 0x148], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x45d607
push ebx
push 0x302
push 4
push 1
push ebp
push edi
call eax
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x45d615
push eax
call dword [0x4d6364]
mov eax, dword [esi + 0x2d0]
mov dword [esi + 8], ebp
push eax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x148], ebp
call fcn.004bd4c4
add esp, 4
mov dword [esi + 0x2d0], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x14
Function at 0x45d670
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x14c], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x45d693
lea ecx, [esi + 0x154]
push eax
push ecx
call dword [0x4d633c]
mov eax, dword [esi + 0x148]
test eax, eax
je 0x45d6a3
xor eax, eax
pop esi
ret 8
push ebx
lea edx, [esi + 0x2f0]
push edi
push edx
push 4
push 3
lea edi, [esi + 0x10]
push 1
push 0
push edi
call dword [esi + 0xc]
cmp ax, 7
mov dword [esi + 0x1538], 0
je 0x45d6fa
mov eax, dword [esi + 0x1538]
inc eax
mov dword [esi + 0x1538], eax
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
lea edx, [esi + ecx*4 + 0x2f0]
push edx
push 5
push 3
push 1
push 0
push edi
call dword [esi + 0xc]
cmp ax, 7
jne 0x45d6cb
call dword [0x4d6704]
mov ecx, dword [esi]
mov edi, eax
mov eax, dword [esi + 4]
push esi
push 0x45ec60
push eax
push 0x3ff
push ecx
call dword [0x4d6800]
push edi
mov ebx, eax
call dword [0x4d680c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x20006
push 0
push 0x4f55a8
push 0
push str.SoftwareACD_SystemsACDSee
push 0x80000001
call dword [0x4d602c]
test eax, eax
jne 0x45d778
mov ecx, dword [esp + 0x14]
add esi, 0x258
push 0x74
push esi
push 3
push eax
push str.AcquireOptions
push ecx
call dword [0x4d6030]
mov edx, dword [esp + 0x14]
push edx
call dword [0x4d6018]
mov eax, ebx
pop edi
pop ebx
pop esi
ret 8
Function at 0x46b980
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x2f0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x46b9a7
mov ecx, ebx
call fcn.0049d8a0
test eax, eax
je 0x46b9a7
mov edi, ebx
jmp 0x46b9c0
mov ecx, dword [esi + 0x3d8]
test ecx, ecx
je 0x46b9c0
call fcn.0049d8a0
test eax, eax
je 0x46b9c0
mov edi, dword [esi + 0x3d8]
push 0x10
call dword [0x4d686c]
mov bx, ax
shr ebx, 0xf
and ebx, 1
test edi, edi
jne 0x46b9e8
test ebx, ebx
jne 0x46b9e8
mov ecx, esi
call fcn.00465950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [0x4f83ec]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
xor ecx, ecx
mov dl, byte [eax + 0x521]
test dl, dl
setne cl
add ecx, 4
test edi, edi
mov ebp, ecx
je 0x46ba1b
mov ecx, edi
call fcn.0049d8b0
mov dword [esp + 0x10], eax
jmp 0x46ba23
mov dword [esp + 0x10], 0
mov edx, dword [esi + 0xc8]
push edx
call dword [0x4d678c]
test eax, eax
je 0x46bab2
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 5
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xc8]
mov edi, dword [0x4d67a0]
lea eax, [esp + 0x30]
push eax
push ebp
push 0x40a
push ecx
call edi
test ebx, ebx
je 0x46ba6b
inc dword [esp + 0x30]
mov edx, dword [esi + 0xc8]
push edx
call dword [0x4d67ac]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push 0
push 0x2b
push edx
mov dword [esp + 0x50], eax
call edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc8]
push eax
push ecx
call dword [0x4d67b4]
mov edx, dword [esi + 0xc8]
push edx
call dword [0x4d67a4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x46d610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
mov esi, ecx
push edi
push eax
lea edi, [esi + 0x668]
mov ecx, edi
call fcn.0041d730
push 0x80
mov ebx, eax
mov dword [esp + 0x10], vtable.Table_class_DirEntry_.0
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], 0x40
mov dword [esp + 0xc], vtable.DirTable.0
mov ecx, dword [esi + 0x3e0]
mov edx, dword [esi + 0x3c4]
cmp ecx, edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
jge 0x46d6b6
test ecx, ecx
jl 0x46d6b6
mov edx, dword [esi + 0x3c0]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x46d6b6
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0xc4]
lea eax, [esp + 0xc]
push ebx
push eax
push ecx
mov ecx, edi
call fcn.0041d780
test eax, eax
je 0x46d6d7
push 1
mov ecx, esi
call fcn.00466210
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
test eax, eax
mov dword [esp + 0xc], vtable.Table_class_DirEntry_.0
je 0x46d71b
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x46d71b
cmp esi, eax
jge 0x46d716
test esi, esi
jl 0x46d716
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x46d716
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x46d6fd
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004bd4c4
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x46d7d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x310
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x3c4]
cmp eax, ecx
jge 0x46d8c4
test eax, eax
jl 0x46d8c4
mov ecx, dword [esi + 0x3c0]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x46d8c4
push 0
push 0
lea edx, [esp + 0x218]
push 0
push edx
call fcn.00425910
test eax, eax
je 0x46d8c4
mov dx, word [0x4ede20]
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x112]
mov word [esp + 0x110], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x110]
lea ecx, [esp + 0x214]
push eax
push ecx
call fcn.00471240
add esp, 8
lea edx, [esp + 0x214]
lea eax, [esp + 9]
push edx
push eax
call dword [0x4d633c]
lea ecx, [esp + 8]
push 0x4ede20
push ecx
call dword [0x4d6340]
mov edx, dword [esp + 0x31c]
mov ecx, 0x4f55b0
push edx
call fcn.00450180
test eax, eax
pop edi
je 0x46d8c4
lea ecx, [esp + 0x10c]
push 5
lea edx, [esp + 8]
push ecx
push edx
push eax
mov eax, dword [esi + 0x1c]
push str.open
push eax
call dword [0x4d6544]
pop esi
add esp, 0x310
ret 4
Function at 0x46f0d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d3db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push str.SoftwareACD_SystemsACDInTouch
push 0x80000002
lea ecx, [esp + 0x10]
call fcn.0046fdd0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 4]
push eax
push ecx
push str.UserID
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], 0x10
call fcn.004701a0
neg eax
sbb eax, eax
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.0046ffb0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x46f150
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4d67d8]
push 0x7f02
push 0
call edi
mov ebx, dword [0x4d67dc]
push eax
call ebx
mov esi, eax
mov eax, dword [esp + 0x14]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [0x4d6544]
xor ecx, ecx
cmp eax, 0x1f
setg cl
dec ecx
test esi, esi
mov ebp, ecx
je 0x46f1a0
mov eax, esi
push eax
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4
push 0x7f00
push 0
call edi
push eax
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4702b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x4702e1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebp
push 0
push ebx
push eax
call dword [0x4d6030]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x4702f4
test esi, esi
jne 0x4702fd
push ebx
push edi
call dword [0x4d6004]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebp
push 0
push ebx
push edi
call dword [0x4d6030]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x470630
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edi
je 0x47073b
lea ecx, [esp + 0x1c]
push 0x100
push ecx
push edi
push eax
call dword [section..rdata]
test eax, eax
jne 0x47073b
lea edx, [esp + 0x1c]
push edx
call dword [0x4d637c]
inc eax
push eax
call fcn.004bd49b
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], esi
push eax
push esi
call dword [0x4d633c]
test esi, esi
je 0x470711
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x470701
mov edx, dword [ebx + 0x14]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004bd49b
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
push eax
call fcn.004bd4c4
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add esp, 8
add eax, ecx
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0xc], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], esi
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1c]
inc edi
push 0x100
push ecx
push edi
push edx
mov dword [esp + 0x20], edi
call dword [section..rdata]
test eax, eax
je 0x470672
test edi, edi
jne 0x470822
mov eax, dword [ebp + 4]
test eax, eax
je 0x470822
lea ecx, [esp + 0x1c]
push 0x100
push ecx
push 0
push eax
call dword [section..rdata]
test eax, eax
jne 0x470822
lea edx, [esp + 0x1c]
push edx
call dword [0x4d637c]
inc eax
push eax
call fcn.004bd49b
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], esi
push eax
push esi
call dword [0x4d633c]
test esi, esi
je 0x470800
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4707f0
mov edx, dword [ebx + 0x14]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004bd49b
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
push eax
call fcn.004bd4c4
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 8
add eax, ecx
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0xc], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], esi
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x1c]
inc edi
push 0x100
push ecx
push edi
push edx
mov dword [esp + 0x20], edi
call dword [section..rdata]
test eax, eax
je 0x470761
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
Function at 0x470840
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, dword [0x4d6004]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x47085a
push edi
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret 4

Function at 0x470870
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
mov ecx, dword [esp + 0xc]
push 0x4d3ddb
mov edx, dword [esp + 0xc]
push eax
mov dword fs:[0], esp
sub esp, 0x130
lea eax, [esp]
push ebx
push eax
push ecx
push edx
call dword [0x4d601c]
xor ebx, ebx
cmp eax, ebx
jne 0x470a47
push ebp
push esi
push edi
push 0x80
mov dword [esp + 0x1c], vtable.Table_char_.0
call fcn.004bd49b
mov edi, 0x1f
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 0x40
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push 0x105
push eax
push ebx
push ecx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], ebx
call dword [section..rdata]
test eax, eax
jne 0x4709ae
lea edx, [esp + 0x38]
push edx
call dword [0x4d637c]
inc eax
push eax
call fcn.004bd49b
add esp, 4
mov ebp, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x34], ebp
push eax
push ebp
call dword [0x4d633c]
test ebp, ebp
je 0x470987
lea esi, [edi + 1]
cmp ebx, esi
jne 0x47097a
lea ecx, [edi*4 + 0x104]
push ecx
call fcn.004bd49b
mov edx, dword [esp + 0x20]
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x20]
mov edi, ebp
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004bd4c4
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, 0x40
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov edi, eax
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x20], ebx
mov dword [eax + ebx*4 - 4], ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38]
inc eax
push 0x105
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [section..rdata]
test eax, eax
je 0x47090d
xor edi, edi
test ebx, ebx
jle 0x4709dd
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jge 0x4709c5
test edi, edi
jl 0x4709c5
mov eax, dword [ebp]
jmp 0x4709c7
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00470870
add esp, 8
inc edi
add ebp, 4
cmp edi, ebx
jl 0x4709bc
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x4d6018]
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
push edx
push eax
call dword [0x4d6008]
xor edi, edi
mov esi, eax
test ebx, ebx
mov dword [esp + 0x148], 0xffffffff
jle 0x470a35
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jge 0x470a22
test edi, edi
jl 0x470a22
mov eax, dword [ebp]
jmp 0x470a24
xor eax, eax
push eax
call fcn.004bd4c4
add esp, 4
inc edi
add ebp, 4
cmp edi, ebx
jl 0x470a19
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004bd4c4
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x134]
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x470b20
Capabilities:
Set registry value

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
lea eax, [esp]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4f55a8
push 0
push edx
push 0x80000001
call dword [0x4d602c]
test eax, eax
jne 0x470b8f
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0x2c
call dword [0x4d6830]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 4]
push 0x2c
push edx
push 3
push 0
push eax
push ecx
call dword [0x4d6030]
mov edx, dword [esp + 0x34]
push edx
call dword [0x4d6018]
add esp, 0x30
ret

Function at 0x470ba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
lea eax, [esp + 0x38]
push esi
push eax
push 0x20019
push 0
push ecx
push 0x80000001
call dword [0x4d6024]
test eax, eax
je 0x470bdb
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push esi
push edx
call dword [0x4d6828]
mov eax, esi
pop esi
add esp, 0x34
ret
push edi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, 0x2c
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push 0
push eax
push ecx
call dword [0x4d6028]
mov edx, dword [esp + 0x40]
mov esi, eax
push edx
call dword [0x4d6018]
test esi, esi
pop edi
je 0x470c40
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push esi
push eax
call dword [0x4d6828]
mov eax, esi
pop esi
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
cmp eax, 6
mov esi, eax
je 0x470c50
cmp eax, 2
jne 0x470c58
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x48]
cmp eax, 0xa
je 0x470c65
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [0x4d682c]
mov eax, esi
pop esi
add esp, 0x34
ret