joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x49be78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea eax, [esp + 8]
mov dword [esp + 0x1c], 1
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x428adf
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048c403
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
push 0x100
call fcn.0048c144
mov ecx, dword [esp + 0x30]
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push esi
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x428b56
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048c403
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
mov eax, dword [0x4cc854]
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.0048c58c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0048c53c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.0048c403
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x428b97
push edi
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x428ba2
push eax
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 7
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10

Function at 0x428cc0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49beb8
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x428d12
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.0048c403
mov eax, 6
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
test esi, esi
je 0x428d1d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 4]
mov eax, 7
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x428d50
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x49bee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
mov dword [esp + 8], ebx
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x428dbe
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048c403
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
push ebx
push ebx
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
je 0x428e12
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048c403
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
mov dword [ecx], edx
je 0x428e2a
push esi
call edi
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x428e35
push eax
call edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], bl
call fcn.0048c403
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, 7
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x428e70
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x49bf03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
mov ecx, dword [esp + 0x124]
mov esi, dword [esp + 0x120]
lea eax, [esp + 4]
mov dword [esp + 0x118], 0
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x428ed4
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call fcn.0048c403
xor eax, eax
jmp 0x428f92
mov ecx, dword [esp + 0x12c]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov byte [esp + 0x30], 0
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x428f28
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call fcn.0048c403
mov eax, 2
jmp 0x428f92
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0048c471
mov ecx, dword [esp + 0x12c]
push eax
mov byte [esp + 0x120], 1
call fcn.0048c53c
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 0
call fcn.0048c403
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x428f6a
push esi
call edi
mov eax, dword [esp + 8]
test eax, eax
je 0x428f75
push eax
call edi
lea ecx, [esp + 0x128]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0048c403
mov eax, 7
pop edi
mov ecx, dword [esp + 0x110]
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 0x10
Function at 0x429020
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], edx
mov dword [esi + 8], eax
lea eax, [esp + 0x18]
push eax
push edx
mov dword [0x4d1614], ecx
push esi
push 0x429080
lea ecx, [esp + 0x14]
push edx
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0xc
call fcn.00476866
add esp, 0x18
xor edx, edx
test eax, eax
sete dl
mov dword [esi + 4], eax
mov eax, edx
pop esi
add esp, 0xc
ret 8

Function at 0x429027
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], edx
mov dword [esi + 8], eax
lea eax, [esp + 0x18]
push eax
push edx
mov dword [0x4d1614], ecx
push esi
push 0x429080
lea ecx, [esp + 0x14]
push edx
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0xc
call fcn.00476866
add esp, 0x18
xor edx, edx
test eax, eax
sete dl
mov dword [esi + 4], eax
mov eax, edx
pop esi
add esp, 0xc
ret 8

Function at 0x429e40
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
xor eax, eax
lea ecx, [esp]
mov dword [esp + 8], eax
push ecx
push eax
push edx
push 0x429170
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0xc
call fcn.00476866
add esp, 0x28
ret 4

Function at 0x429f00
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x4d1614]
sub esp, 0x200
lea ecx, [esp]
push eax
push 0x4c2284
push ecx
call fcn.004750c2
add esp, 0xc
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x200
ret
Function at 0x42a9e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x42aa40
lea edx, [esp + 0x18]
push 0
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
call fcn.00476866
add esp, 0x18
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x930], eax
mov eax, ecx
pop esi
add esp, 0x10
ret 4

Function at 0x42a9e3
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x42aa40
lea edx, [esp + 0x18]
push 0
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
call fcn.00476866
add esp, 0x18
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x930], eax
mov eax, ecx
pop esi
add esp, 0x10
ret 4

Function at 0x42ac40
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
lea ecx, [esp]
xor eax, eax
push ecx
push eax
push edx
push 0x42ac80
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xc
push eax
call fcn.00476866
add esp, 0x28
ret 4
Function at 0x42b9c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x49c158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x34]
push esi
mov eax, dword [ebp]
push edi
push ecx
push ebx
mov ecx, ebp
call dword [eax + 4]
mov eax, dword [ebp + 0x64c]
mov esi, dword [ebp + 0x648]
cmp esi, eax
mov dword [esp + 0x3c], eax
je 0x42ba2d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
push eax
mov ecx, esi
call fcn.0042d2c0
test eax, eax
je 0x42ba2d
mov eax, dword [esp + 0x3c]
add esi, 0x10
cmp esi, eax
jne 0x42ba04
mov eax, dword [ebp + 0x64c]
cmp esi, eax
jne 0x42babe
mov al, byte [esp + 0x3c]
mov edi, ebx
mov byte [esp + 0x14], al
xor eax, eax
or ecx, 0xffffffff
mov dword [esp + 0x18], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], eax
push ecx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.004249e0
mov eax, dword [ebp + 0x64c]
lea ecx, [ebp + 0x644]
lea edx, [esp + 0x14]
xor esi, esi
push edx
push 1
push eax
mov dword [esp + 0x38], esi
call fcn.0042ce70
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, esi
je 0x42bab2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42baa9
cmp al, 0xff
je 0x42baa9
dec al
mov byte [ecx], al
jmp 0x42bab2
push ecx
call fcn.0048c16d
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea eax, [ebp + 0x5e4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp + 0x608]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.0048c144
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push 0
push eax
push 0x42c410
push 0
push 0
mov dword [eax], ebp
mov dword [eax + 4], ecx
call fcn.00476866
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x42bb62
mov esi, dword [ebp + 0x5cc]
mov ebx, dword [esp + 0x38]
push 0x10
mov edi, dword [esi + 4]
call fcn.0048c144
add esp, 4
mov ecx, esi
test esi, esi
jne 0x42bb2c
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x42bb34
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x42bb4f
mov edx, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0x5d0]
mov esi, dword [esp + 0x10]
inc eax
mov dword [ebp + 0x5d0], eax
jmp 0x42bb80
call fcn.00476313
mov eax, dword [eax]
mov ecx, ebp
push eax
push str.AddClient
push str._beginthreadex_...__failure
push str.UMServer.log
call fcn.00433790
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x42bbb0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x640]
test eax, eax
jne 0x42bc34
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x608]
push eax
mov dword [esi + 0x638], ecx
mov dword [esi + 0x63c], edx
call edi
lea ecx, [esi + 0x620]
push ecx
call edi
mov ecx, esi
call fcn.0042beb0
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esi + 0x5c0], eax
call edi
lea edx, [esi + 0x5b0]
push edx
push 0
push esi
push 0x42c050
push 0
push 0
call fcn.00476866
add esp, 0x18
mov dword [esi + 0x5ac], eax
test eax, eax
jne 0x42bc5a
call fcn.00476313
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x4c5c90
push str._beginthreadex_...__failure__for_Launch_Thread
push str.UMServer.log
call fcn.00433790
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esi + 0x5c0]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7530
push ecx
call ebx
test eax, eax
je 0x42bca2
push 0x7530
push 0x4c5c90
push str.Unable_to_get_response_from_Accept_Thread_withing_specified_Timeout___
push str.UMServer.log
mov ecx, esi
call fcn.00433790
mov edx, dword [esi + 0x5c0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov eax, dword [esi + 0x5c0]
push eax
call edi
lea ecx, [esi + 0x5b8]
push ecx
push 0
push esi
push 0x42cbd0
push 0
push 0
call fcn.00476866
add esp, 0x18
mov dword [esi + 0x5b4], eax
test eax, eax
jne 0x42bcf6
call fcn.00476313
mov edx, dword [eax]
mov ecx, esi
push edx
push 0x4c5c90
push str._beginthreadex_...__failure__for_Helper_Thread
push str.UMServer.log
call fcn.00433790
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov eax, dword [esi + 0x5c0]
push 0x7530
push eax
call ebx
test eax, eax
je 0x42bd38
push 0x7530
push 0x4c5c90
push str.Unable_to_get_response_from_Helper_Thread_within_specified_Timeout___
push str.UMServer.log
mov ecx, esi
call fcn.00433790
mov ecx, dword [esi + 0x5c0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi + 0x5c0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x640], 1
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
Function at 0x42bd60
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x640]
test eax, eax
jne 0x42bd77
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esi + 0x5bc]
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5b4]
push ebx
push edi
push edx
mov ebx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
lea eax, [esp + 0x10]
push ebx
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x42bdbe
cmp eax, 0xffffffff
jne 0x42be3a
push 0
push str.Shutdown
push str.WaitForMultipleObjects_...__timed_out
push str.UMServer.log
mov ecx, esi
call fcn.00433790
mov ecx, dword [esi + 0x5ac]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x1234
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42be0d
call ebx
push eax
push str.Shutdown
push str.TerminateThread_.ThreadA.__failure__probably_it_is_already_terminated
push str.UMServer.log
mov ecx, esi
call fcn.00433790
mov edx, dword [esi + 0x5b4]
push 0x1234
push edx
call edi
test eax, eax
jne 0x42be38
call ebx
push eax
push str.Shutdown
push str.TerminateThread_.ThreadC.__failure__probably_it_is_already_terminated
push str.UMServer.log
mov ecx, esi
call fcn.00433790
xor ebx, ebx
mov eax, dword [esi + 0x5ac]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x5b4]
push ecx
call edi
mov eax, dword [esi + 0x5d0]
test eax, eax
je 0x42be70
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
mov eax, dword [esi + 0x5d0]
test eax, eax
jne 0x42be62
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [esi + 0x608]
push edx
call edi
lea eax, [esi + 0x620]
push eax
call edi
mov eax, ebx
pop edi
mov dword [esi + 0x640], 0
pop ebx
pop esi
add esp, 8
ret
Function at 0x434d60
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49ccc8
push eax
mov dword fs:[0], esp
push esi
push edi
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 2
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x434dda
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0048c403
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x14
mov eax, dword [esp + 0x28]
cmp eax, 1
jne 0x434e06
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
mov eax, dword [edx - 8]
push eax
push eax
call fcn.0048c833
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push esi
push eax
jmp 0x434e42
cmp eax, 4
jne 0x434e91
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
push eax
call fcn.0048c833
push eax
call fcn.00474f72
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x434e91
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0048c403
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x14
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x434e9e
push edi
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x434ea9
push eax
call esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 8]
pop edi
mov eax, 7
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x14
Function at 0x434ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x49ccf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x1c], 1
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x434f5f
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048c403
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
push 0x100
call fcn.0048c144
mov esi, eax
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0x100
jne 0x434fa4
mov dword [esp + 0x24], eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push edx
push eax
jmp 0x434fbb
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push esi
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x434ffc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048c403
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov eax, dword [esp + 8]
dec eax
je 0x435021
sub eax, 3
jne 0x435056
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push edx
push 0x4c6964
push eax
call fcn.0048a7fc
add esp, 0xc
jmp 0x435056
mov ecx, dword [0x4cc854]
push esi
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
call fcn.0048c58c
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x20], 2
call fcn.0048c53c
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 1
call fcn.0048c403
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x435063
push edi
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43506e
push eax
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 7
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x4350b0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
push 0x2001f
test esi, esi
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsCache
sete al
push reloc.WS2_32.dll_accept
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4350f6
lea edx, [esp + 0xc]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsCache
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.Persistent
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 4
Function at 0x438bb0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49d409
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebp
push esi
push edi
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x2b0], esi
call fcn.0048b852
push 0x4d0e20
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b4], 1
call fcn.0048c471
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x2b8], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
or edi, 0xffffffff
cmp eax, edi
je 0x438c24
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x438d48
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.0048b8e5
mov eax, dword [esp + 0x2b8]
cmp dword [eax - 8], esi
jle 0x438ca8
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x438c56
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0048c806
jmp 0x438c77
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0048ba2e
push 0x4c2288
lea ecx, [esp + 0x10]
call fcn.0048c7df
mov eax, dword [esp + 0x2b8]
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jne 0x438ca0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0048ba2e
mov eax, dword [esp + 0x2b8]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jl 0x438c3b
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebp
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
jle 0x438d1f
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00438de0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b4], 3
call fcn.0048c53c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b0], 2
call fcn.0048c403
mov edx, dword [esp + 0xc]
push 0
push edx
call edi
test eax, eax
je 0x438d13
mov eax, dword [esp + 0xc]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x438cc4
or edi, 0xffffffff
push edi
push 0
lea ecx, [esp + 0x1c]
call fcn.0048b8e5
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0x168]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, edi
push edi
je 0x438d81
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x2b0], 1
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b0], 0
call fcn.0048b885
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x2b0], edi
call fcn.0048c403
mov al, 1
jmp 0x438dba
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x2b0], 1
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b0], 0
call fcn.0048b885
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x2b0], edi
call fcn.0048c403
xor al, al
mov ecx, dword [esp + 0x2a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2a8
ret 4