joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c3a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b75db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
xor edi, edi
cmp edi, dword [esi + 0xb0]
jge 0x49c4bc
mov eax, dword [0x6754d4]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x78], bx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x6c], bx
call fcn.00414e30
mov eax, dword [0x6754d4]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call fcn.00414e30
mov eax, dword [0x6754d4]
mov dword [ebp - 0xd8], 0x5d1124
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xd8]
push ebx
push eax
push edi
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0056f480
cmp al, bl
je 0x49c48c
cmp byte [ebp - 0x90], bl
je 0x49c48c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x49c46e
lea eax, [ebp - 0x3c]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
jbe 0x49c48c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x49c485
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.00458730
inc edi
jmp 0x49c3cd
mov eax, dword [esi + 0x434]
cmp eax, ebx
jne 0x49c4cc
lea eax, [esi + 0x438]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x49c4f2
mov eax, dword [esi + 0x434]
cmp eax, ebx
jne 0x49c4e9
lea eax, [esi + 0x438]
push eax
call fcn.00580fbb
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a62d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
mov bl, 1
lea ecx, [edi + 0x8b0]
mov byte [ebp - 4], bl
call fcn.004d6d00
mov ecx, dword [ebp + 8]
cmp ecx, eax
jge 0x4a636c
mov edx, dword [edi + ecx*4 + 0x8b4]
mov esi, dword [0x679fe0]
mov byte [ebp - 0x11], bl
mov ebx, dword [0x679fe4]
xor eax, eax
cmp eax, ebx
jge 0x4a6362
lea ecx, [eax + eax*2]
cmp edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
jne 0x4a6397
mov ecx, dword [ecx + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401fc0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4a6356
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4a639a
mov al, byte [ebp - 0x11]
test al, al
je 0x4a639a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [edi + 0x8b0]
call fcn.004d6f10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc eax
jmp 0x4a6331
lea ecx, [edi + 0x738]
call fcn.0048c420
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4a63af
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.004a7f80
jmp 0x4a6378
Function at 0x4a9a40
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x653324
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4a9b76
mov edx, dword [0x67a6b0]
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push 0x65807c
push edx
call esi
mov edx, dword [0x67a698]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x18]
push 0x65806c
push eax
call esi
mov edx, dword [0x67a6a8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
push 0x65805c
push ecx
call esi
mov edx, dword [0x67a6a4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push 0x658048
push edx
call esi
mov edx, dword [0x67a6ac]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x18]
push 0x658034
push eax
call esi
mov edx, dword [0x67a6a0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
mov ecx, dword [esp + 0x14]
push eax
push 0x658024
push ecx
call esi
mov edx, dword [0x67a69c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push 0x658010
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x4ad480
Capabilities:
Identify system language via api
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b8d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
push edi
mov esi, ecx
call fcn.00433b40
mov ecx, esi
call fcn.004b3170
mov ecx, esi
call fcn.004a8a50
mov edx, dword [0x67a050]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push 0x6536e4
push edx
mov dword [esp + 0x24], 4
call edi
test eax, eax
jne 0x4ad504
push eax
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.004a9870
pop edi
pop esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
add esp, 0xac
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0xffff
push 0
push eax
mov ecx, esi
call fcn.004ad440
push eax
mov ecx, esi
call fcn.004a9870
cmp word [esi + 0x24], 9
je 0x4ad5c7
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4ad5c7
mov eax, dword [0x67a050]
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push 0x664d4c
push eax
mov dword [esp + 0x24], 4
call edi
test eax, eax
je 0x4ad5c7
push 0
lea ecx, [esp + 0x14]
call fcn.004e1770
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0
call fcn.00596cd3
mov edx, dword [0x67a050]
lea ecx, [esp + 8]
push 4
push ecx
push 4
push 0
mov esi, 1
push 0x664d4c
push edx
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], esi
call fcn.005a28ea
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00596914
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xac
ret
Function at 0x4b55e0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5b9206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebp
push edi
mov edi, ecx
push 0
mov dword [esp + 0xc], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x6754d4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [edi + 0x14]
mov dword [esp + 0x184], 0
neg ebp
sbb ebp, ebp
test ebp, ebp
je 0x4b5762
push ebx
push esi
cmp ebp, 0xffffffff
mov ecx, ebp
jne 0x4b5655
mov esi, dword [edi + 0x10]
xor eax, eax
test esi, esi
jbe 0x4b5655
mov edx, dword [edi + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x4b5655
inc eax
add edx, 4
cmp eax, esi
jb 0x4b5647
mov ebp, dword [ecx]
test ebp, ebp
jne 0x4b567d
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x10]
lea edx, [edi + 8]
inc eax
cmp eax, esi
jae 0x4b567d
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ebp, dword [edx]
test ebp, ebp
jne 0x4b567d
inc eax
add edx, 4
cmp eax, esi
jb 0x4b566f
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push esi
lea ecx, [esp + 0x18]
call fcn.0059ae76
lea eax, [esi + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.0059ae76
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x4b5754
mov edx, dword [esp + 0x14]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x4411
lea ecx, [esp + 0x28]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea esi, [edx + 8]
push ecx
push ebx
mov ecx, esi
call fcn.004b5ee0
test eax, eax
jne 0x4b5731
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b570a
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.004b5f40
mov ecx, esi
call fcn.004b5fb0
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
lea esi, [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0059ae76
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call fcn.0059ae76
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x4b5634
pop esi
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 4]
test edi, edi
je 0x4b5782
push 0
push 0x1446
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 1
call fcn.0059ad3d
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x17c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x4b71b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b93f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5db3e0
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.004d3f40
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004d3f40
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004d3f40
mov dword [esp + 0x10], esi
mov dword [esi], 0x5db3e4
mov esi, dword [esi + 4]
mov byte [esp + 0x1c], 3
test esi, esi
je 0x4b7228
push esi
call fcn.00597102
add esp, 4
mov dword [esp + 0x10], edi
mov dword [edi], 0x5db3e4
mov edi, dword [edi + 4]
mov byte [esp + 0x1c], 4
test edi, edi
je 0x4b7247
push edi
call fcn.00597102
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [ebx], 0x5db3e4
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], 5
test ebx, ebx
je 0x4b7269
push ebx
call fcn.00597102
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4b7620
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b9420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
lea eax, [esp + 0x14]
mov dword [esp + 0x34], ebx
push eax
call fcn.004b7750
mov ecx, dword [0x6754d4]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x20]
mov byte [esp + 0x34], 1
push edx
call fcn.005801dc
mov eax, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0xc]
push eax
push 0x6650d4
push ecx
call fcn.00593b08
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x4b7699
lea eax, [esp + 0x18]
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b76df
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
call fcn.00401070
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push ebx
push edx
push ecx
push eax
push esi
call edi
lea eax, [esp + 0x14]
push ebx
push eax
add ebp, 0x44
push 0x1684
push ebp
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call fcn.0059ad3d
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4b9eb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b9800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6754d4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ebp
call fcn.0059aec6
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004ba730
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [esp + 0x14]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.0059ae76
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x6754d4]
mov dword [esp + 0x30], edx
cmp ebp, 1
mov byte [esp + 0x28], 1
jne 0x4b9f4b
mov eax, 0x64f01c
jmp 0x4b9f71
cmp ebp, 4
jne 0x4b9f57
mov eax, 0x64f008
jmp 0x4b9f71
cmp ebp, 2
jne 0x4b9f63
mov eax, 0x64f010
jmp 0x4b9f71
test ebp, ebp
mov eax, 0x64eff8
je 0x4b9f71
mov eax, 0x64f000
push ebx
push eax
lea eax, [esp + 0x38]
push 0x6651c8
push eax
call fcn.00593b08
add esp, 0x10
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4b9fdc
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push 4
push ecx
push 4
push eax
push 0x665168
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.0059ad3d
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4ba010
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x64f01c
mov ebx, ecx
push esi
call fcn.00580b90
add esp, 0xc
test eax, eax
jne 0x4ba03b
mov dword [esp + 0x10], 1
jmp 0x4ba094
push 7
push 0x64f008
push esi
call fcn.00580b90
add esp, 0xc
test eax, eax
jne 0x4ba059
mov dword [esp + 0x10], 4
jmp 0x4ba094
push 8
push 0x64f010
push esi
call fcn.00580b90
add esp, 0xc
test eax, eax
jne 0x4ba077
mov dword [esp + 0x10], 2
jmp 0x4ba094
push 6
push 0x64f000
push esi
call fcn.00580b90
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push esi
call fcn.0057e940
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4ba1a8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi - 2]
cmp ebp, eax
jae 0x4ba1a8
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4ba15f
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [edi + ecx]
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
jne 0x4ba0f4
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + edx + 4]
je 0x4ba101
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4ba0d3
jmp 0x4ba15f
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
lea eax, [esi + esi*2]
sub edi, esi
shl eax, 2
dec edi
mov dword [esp + 0x18], eax
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.004a9040
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4ba11e
test edi, edi
je 0x4ba15c
mov eax, dword [ebx + 4]
lea edx, [edi + edi*2]
shl edx, 2
lea ecx, [esi + esi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.0057f970
add esp, 0xc
dec dword [ebx + 8]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x665190
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4ba1a8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4bc1d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b9a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x67a050]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0
push 0x6651fc
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4bc269
mov ecx, dword [0x67a050]
lea eax, [esp]
push 4
push eax
push 4
push 0
push 0x6651fc
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4bc269
push eax
lea ecx, [esp + 0xc]
call fcn.004f9f10
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.00596cd3
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00596914
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4bea30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x67a050]
lea eax, [esp]
push esi
lea ecx, [esp + 8]
xor esi, esi
push eax
push ecx
push esi
push esi
push 0x6652e8
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4bea66
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4c19c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5ba710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6754d4]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
lea ecx, [esi + 0x104]
call fcn.00597feb
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.0046ea50
mov eax, dword [0x6754d4]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.00597feb
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [0x67a050]
push 1
push eax
push 0x653480
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x148]
push ecx
push eax
call fcn.0057f505
add esp, 8
test eax, eax
je 0x4c1a70
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0059ad3d
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4c29d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x220]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x67a050]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x6532c8
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c2a43
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.0059a141
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x67a050]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x65329c
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c2a90
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.0059a141
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4c3d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x2d4]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x98]
call fcn.0040f680
test eax, eax
je 0x4c3d9b
mov ecx, dword [esi + 0x98]
call fcn.0040f8e0
mov eax, dword [0x67a050]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x6532c8
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c3ded
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.0059a141
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x67a050]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x65329c
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c3e3a
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.0059a141
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4c7c50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bb288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6754d4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x220]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x147
push ecx
mov dword [esp + 0x30], ebx
call ebp
lea edx, [esp + 0x10]
lea ecx, [esi + 0x204]
push edx
push eax
call fcn.005a298e
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp dword [eax + 8], ebx
jle 0x4c7cdd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4c7d77
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x18
cmp edi, dword [eax + 8]
jl 0x4c7cb1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4c7ced
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4c7cfd
lea edi, [esi + 0x94]
push eax
call fcn.0057e90a
mov ecx, dword [0x67a050]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0x652530
push ecx
call edi
mov edx, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x67a050]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push 0x65253c
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ebp, dword [esi + 0x90]
test ebp, ebp
jne 0x4c7d87
lea ebp, [esi + 0x94]
mov edx, dword [esi + 0x8c]
lea edi, [edi + edi*2]
shl edi, 3
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x10]
lea ebx, [eax + edi + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebp
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
mov edx, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x8c]
test eax, eax
mov edx, dword [ecx + 4]
setne al
mov byte [edx + edi + 0x14], al
mov ecx, dword [esi + 0x8c]
call fcn.004843c0
jmp 0x4c7d53