joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba2e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x572408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CPen.0
push 0xff0000
push 1
push 0
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call fcn.005365f8
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00535c08
mov edx, dword [esi]
push 5
mov ecx, esi
mov edi, eax
call dword [edx + 0x24]
mov ebx, eax
push 0
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, esi
call fcn.005360d4
mov eax, dword [esp + 0x30]
push 0
mov ecx, dword [eax + 8]
mov edx, dword [eax]
sub ecx, edx
push ecx
mov ecx, esi
call fcn.00536120
push ebx
mov ecx, esi
call fcn.00535c08
push edi
mov ecx, esi
call fcn.00535c08
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.0053664f
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x4bb3f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5724d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x14], edi
call fcn.0052c3f3
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], 0x58da30
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x11
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0xa
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4bc400
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edi, eax
test edi, edi
je 0x4bc464
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible:_MSIE_5.01__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x4bc46a
mov ecx, dword [esp + 0x10]
push ebx
push 0
push SysReAllocStringLen
push 0
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x4bc45e
push eax
call ebx
push esi
call ebx
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
push esi
xor edi, edi
call ebx
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x4bcca0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x572688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, ecx
push 4
lea eax, [edi + 4]
push eax
push str.UseAuth
push esi
call fcn.004c5a40
lea ecx, [edi + 0x14]
push 4
push ecx
push str.ProxyType
push esi
call fcn.004c5a40
lea edx, [edi + 0x1c]
push 4
push edx
push str.ProxySubType
push esi
call fcn.004c5a40
lea ebx, [edi + 8]
push ebx
push str.HostName
push esi
call fcn.004c5ab0
lea eax, [edi + 0x18]
push 4
push eax
push str.Port
push esi
call fcn.004c5a40
add esp, 0x4c
push ebx
push str.HostName
push esi
call fcn.004c5ab0
lea ecx, [edi + 0xc]
push ecx
push str.UserName
push esi
call fcn.004c5ab0
lea ebx, [edi + 0x10]
push ebx
push str.Password
push esi
call fcn.004c5ab0
mov eax, dword [ebx]
lea edx, [esp + 0x38]
push eax
push edx
call fcn.004c7aa0
add esp, 0x2c
push eax
mov ecx, ebx
mov dword [esp + 0x94], 0
call fcn.00530cc8
lea ecx, [esp + 0x14]
mov dword [esp + 0x90], 0xffffffff
call fcn.00530b8f
lea eax, [edi + 0x20]
push eax
push str.ProxySeparator
push esi
call fcn.004c5ab0
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
mov dword [esp + 0xc], 0
push ecx
push 0
push edx
push 0
push str.CustomProxyCommands
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4bce73
mov eax, dword [esp + 0xc]
push eax
call fcn.00531c00
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov ebx, eax
push edx
push ebx
push str.CustomProxyCommands
push esi
mov dword [esp + 0x24], ecx
call fcn.004c5b40
add esp, 0x14
test eax, eax
jne 0x4bce6a
test ebx, ebx
je 0x4bce6a
push eax
mov eax, dword [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.0053ecfc
push 0
push 0x1000
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0xa0], 1
call fcn.005369bd
mov edx, dword [edi + 0x24]
lea ecx, [edi + 0x24]
lea eax, [esp + 0x44]
mov byte [esp + 0x90], 2
push eax
call dword [edx + 8]
lea ecx, [esp + 0x44]
call fcn.00536b21
lea ecx, [esp + 0x1c]
call fcn.0053ef5c
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 1
call fcn.00536a99
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.0053ed75
push ebx
call fcn.00531c29
add esp, 4
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 4
Function at 0x4c53e0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x98
call fcn.004c5570
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
mov dword [esp], 0
cmp eax, 2
jne 0x4c544d
cmp dword [esp + 8], 4
ja 0x4c544d
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesRemoteAccess
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c5442
xor eax, eax
mov dword [0x66e37c], eax
jmp 0x4c5501
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.rasapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x66e37c], eax
je 0x4c5501
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasGetEntryDialParamsA
push eax
call esi
mov dword [0x66e384], eax
mov eax, dword [0x66e37c]
push str.RasGetEntryPropertiesA
push eax
call esi
mov ecx, dword [0x66e37c]
push str.RasDialA
push ecx
mov dword [0x66e388], eax
call esi
mov edx, dword [0x66e37c]
push str.RasGetErrorStringA
push edx
mov dword [0x66e38c], eax
call esi
mov dword [0x66e390], eax
mov eax, dword [0x66e37c]
push str.RasGetConnectStatusA
push eax
call esi
mov ecx, dword [0x66e37c]
push str.RasEnumEntriesA
push ecx
mov dword [0x66e394], eax
call esi
mov edx, dword [0x66e37c]
push str.RasEnumConnectionsA
push edx
mov dword [0x66e398], eax
call esi
mov dword [0x66e39c], eax
mov eax, dword [0x66e37c]
push str.RasHangUpA
push eax
call esi
mov dword [0x66e3a0], eax
mov eax, dword [0x66e37c]
pop esi
mov ecx, dword [0x66e384]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e388]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e38c]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e390]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e394]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e398]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e39c]
test ecx, ecx
je 0x4c5551
mov ecx, dword [0x66e3a0]
test ecx, ecx
jne 0x4c555b
call fcn.004c5570
mov eax, dword [0x66e37c]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add esp, 0x98
ret
Function at 0x4c57c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5734f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5d2d10]
push edi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esp + 8]
call fcn.00530f6b
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
push 0x20006
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c5867
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c5867
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00530b8f
xor eax, eax
pop edi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.004ef390
mov ecx, dword [esp + 0x10]
add esp, 4
inc eax
push eax
mov eax, dword [esp + 0x2c]
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
inc esi
cmp eax, edi
je 0x4c58a2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop edi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c58d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x573518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5d2d10]
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00530f6b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xc]
push edx
push 0x20019
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c59f8
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push esi
push eax
push esi
push edi
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], 1
call ebx
test eax, eax
jne 0x4c59e5
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x4c59e5
push eax
call fcn.00531c00
mov ecx, dword [esp + 0x10]
add esp, 4
lea edx, [esp + 0x2c]
mov esi, eax
push edx
lea eax, [esp + 0x18]
push esi
push eax
push 0
push edi
push ecx
call ebx
mov eax, dword [esp + 0x14]
mov edi, 1
cmp eax, edi
jne 0x4c59a2
mov ecx, dword [esp + 0x34]
push esi
call fcn.00530d18
jmp 0x4c59a4
xor edi, edi
push esi
call fcn.00531c29
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, ecx
je 0x4c59c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00530b8f
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x4c59f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x4c5a20
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x4c5a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0xc]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c5a77
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [ecx], edx
ret

Function at 0x4c5a80
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push esi
call fcn.004ef390
mov ecx, dword [esp + 0xc]
add esp, 4
inc eax
push eax
mov eax, dword [esp + 0x10]
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret
Function at 0x4c5ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.00515810
mov eax, dword [esp + 0x100c]
test eax, eax
jne 0x4c5acc
add esp, 0x1008
ret
lea ecx, [esp]
push esi
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x101c]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x4c5b0c
mov ecx, dword [esp + 0x1018]
lea eax, [esp + 0xc]
push eax
call fcn.00530d18
mov eax, esi
pop esi
add esp, 0x1008
ret

Function at 0x4c5b20
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x4c5b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push ebx
mov dword [esi], 0
push ebp
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
test eax, eax
mov dword [edi], ecx
jne 0x4c5be9
push ecx
call fcn.00531c00
add esp, 4
lea edx, [esp + 0x1c]
mov dword [esi], eax
push edx
push eax
lea eax, [esp + 0x28]
push eax
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x4c5be7
mov ecx, dword [esi]
push ecx
call fcn.00531c29
add esp, 4
mov dword [esi], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov eax, 0x1008
call fcn.00515810
push ebx
mov ebx, dword [esp + 0x1014]
push ebp
mov ebp, dword [esp + 0x1014]
lea eax, [esp + 8]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c5f39
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [esp + 0x14], 0x1000
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push eax
call edi
test eax, eax
je 0x4c5f0d
cmp eax, 0xea
jne 0x4c5f2d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004c5ea0
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], 0x1000
jne 0x4c5ee7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4c5f58
test esi, esi
je 0x4c5f58
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1008
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1008
ret
Function at 0x4c5f70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x573588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esp]
push ebp
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push edx
mov dword [esp + 0x18], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c5fc0
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [0x5d2d10]
push ebx
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x2c], ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x28]
push ebp
push ecx
push 0x12c
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], 0x12c
call fcn.00530fbf
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x20], eax
je 0x4c60cc
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.0053100e
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebp
push ecx
push 0x20019
push ebp
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c60cc
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push ebp
push edx
push ebp
push esi
push eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], 1
call ebx
test eax, eax
je 0x4c607a
cmp dword [esp + 0x14], 1
jne 0x4c60b8
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
inc edx
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00530fbf
mov ecx, dword [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push ecx
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.0053100e
mov eax, dword [edi + 8]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, edi
call fcn.0052bbb2
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x18]
jmp 0x4c5fe2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
cmp eax, ecx
pop ebx
je 0x4c60e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x18]
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4c7e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x573873
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [0x5d2d10]
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
mov dword [ecx], eax
push str.user_anonymous.com
mov byte [esp + 0x18], 1
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 8], 5
mov dword [esi + 0xc], 2
call fcn.00530d18
mov ecx, dword [esp + 0xc]
mov eax, 0x1e
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1c], 1
mov dword [esi + 0x28], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4c8210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x573890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
push 0x400
lea ecx, [esp + 0xc]
call fcn.0053ecb0
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c], 0
call fcn.005369bd
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x80], 1
mov edx, dword [ecx]
call dword [edx + 8]
lea ecx, [esp + 0x30]
call fcn.00536b21
lea ecx, [esp + 8]
call fcn.0053376f
lea ecx, [esp + 8]
mov edi, eax
call fcn.0053ed63
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov esi, eax
push edi
push esi
push ecx
push edx
call fcn.004c5b20
push esi
mov edi, eax
call fcn.00516a1d
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
call fcn.00536a99
lea ecx, [esp + 8]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0053ed75
mov ecx, dword [esp + 0x74]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
Function at 0x4c8380
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5738b0
push eax
mov dword fs:[0], esp
sub esp, 0x7c
lea eax, [esp]
push ebp
push esi
push edi
push eax
mov ebp, ecx
mov ecx, dword [esp + 0x9c]
push 0x20019
push 0
push str.AutoRenaming
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edi, [ebp + 0xc]
mov esi, eax
mov ecx, edi
call fcn.0052cf64
test esi, esi
jne 0x4c84ea
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push esi
push str.AutoRenameRulesInfo
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c84b2
mov edx, dword [esp + 0x10]
push edx
call fcn.00531c00
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push ecx
push esi
push str.AutoRenameRulesInfo
push edx
mov dword [esp + 0x28], eax
call fcn.004c5b40
add esp, 0x14
test eax, eax
jne 0x4c84a9
test esi, esi
je 0x4c84a9
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0053ecfc
push 0
push 0x1000
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0xa0], 0
call fcn.005369bd
mov edx, dword [edi]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x94], 1
call dword [edx + 8]
lea ecx, [esp + 0x44]
call fcn.00536b21
lea ecx, [esp + 0x1c]
call fcn.0053ef5c
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 0
call fcn.00536a99
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.0053ed75
push esi
call fcn.00531c29
add esp, 4
mov edx, dword [esp + 0xc]
lea ecx, [ebp + 8]
push 4
push ecx
push str.UseAutoRenameScheme
push edx
call fcn.004c5a40
mov eax, dword [esp + 0x1c]
add ebp, 0x28
push 4
push ebp
push str.NumerateStyle
push eax
call fcn.004c5a40
mov ecx, dword [esp + 0x2c]
add esp, 0x20
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x88
ret 4
Function at 0x4c8f90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x573990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
lea eax, [esp]
push edi
push eax
mov edi, ecx
mov ecx, dword [esp + 0x94]
push 0x20019
push 0
push str.FileTypes
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c90cc
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.ASCIIFileExts
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c90c1
mov edx, dword [esp + 8]
push esi
push edx
call fcn.00531c00
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
push esi
push str.ASCIIFileExts
push edx
mov dword [esp + 0x24], eax
call fcn.004c5b40
add esp, 0x14
test eax, eax
jne 0x4c90b7
test esi, esi
je 0x4c90b7
push eax
mov eax, dword [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0053ecfc
push 0
push 0x1000
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.005369bd
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
lea eax, [esp + 0x40]
mov byte [esp + 0x8c], 1
push eax
call dword [edx + 8]
lea ecx, [esp + 0x40]
call fcn.00536b21
lea ecx, [esp + 0x18]
call fcn.0053ef5c
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.00536a99
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0053ed75
push esi
call fcn.00531c29
add esp, 4
pop esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x80]
pop edi
mov dword fs:[0], ecx
add esp, 0x88
ret 4