joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4281a4
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
push ebx
push esi
push edi
xor edi, edi
mov ebx, 0x206
push ebx
lea eax, [ebp - 0x442]
push edi
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov word [ebp - 0x444], di
call fcn.00489500
push 0x228
lea eax, [ebp - 0x238]
push edi
push eax
mov dword [ebp - 0x23c], edi
call fcn.00489500
mov eax, dword [0x512bd4]
mov esi, 0x512bd4
add esp, 0x18
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
call fcn.00428148
call fcn.004285f6
test eax, eax
je 0x4282b4
mov eax, dword [0x512bd4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
push ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x64a]
push edi
push eax
mov word [ebp - 0x64c], di
call fcn.00489500
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
push 0x4f43f8
lea eax, [ebp - 0xc]
call fcn.00421c33
add esp, 0x14
push 0x104
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
lea eax, [ebp - 0x64c]
push eax
call fcn.00488c9a
pop ecx
lea ecx, [ebp - 0x64c]
mov ebx, eax
push ecx
lea eax, [ebp - 8]
call fcn.00413bce
lea esi, [ebp - 8]
call fcn.00427f1d
mov esi, dword [ebp + 8]
push esi
call fcn.00488c9a
cmp eax, 3
pop ecx
jbe 0x4282a7
add esi, 6
push esi
lea eax, [ebp - 8]
push eax
call fcn.00401000
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
jmp 0x4282c0
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00413ba8
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4283c3
lea eax, [ebp - 0x23c]
push eax
push ebx
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x4283c0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0xc]
je 0x428398
cmp eax, edi
je 0x428398
cmp eax, 4
je 0x428398
push eax
push edi
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x428398
call fcn.004285f6
test eax, eax
je 0x428356
mov eax, dword [0x513f14]
cmp eax, edi
je 0x428356
push 0x104
lea ecx, [ebp - 0x444]
push ecx
push dword [ebp - 4]
call eax
jmp 0x428371
mov eax, dword [0x513f10]
cmp eax, edi
je 0x428390
push 0x104
lea ecx, [ebp - 0x444]
push ecx
push edi
push dword [ebp - 4]
call eax
cmp eax, edi
je 0x428390
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx - 0xc]
jne 0x428390
lea eax, [ebp - 0x444]
push eax
push ecx
call fcn.0048a14c
test eax, eax
pop ecx
pop ecx
je 0x4283af
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x428301
jmp 0x4283b6
mov dword [ebp - 0x10], 1
cmp dword [ebp - 4], edi
je 0x4283c0
push dword [ebp - 4]
call esi
push ebx
call esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4283d6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
xor esi, esi
push 0x228
lea eax, [ebp - 0x240]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x244], esi
call fcn.00489500
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.0042241f
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x42853a
push edi
lea ecx, [ebp - 0x244]
push ecx
push eax
mov dword [ebp - 0x244], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x428534
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
push ebx
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x14]
je 0x4284d8
cmp eax, esi
je 0x4284d8
cmp eax, 4
je 0x4284d8
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00413c3b
mov eax, dword [eax]
push esi
push eax
call fcn.00489e54
mov ebx, eax
mov eax, dword [ebp - 8]
add esp, 0xc
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00401023
test bl, bl
je 0x4284d8
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
call fcn.00413c3b
mov eax, dword [eax]
pop ecx
push esi
push 0x80
push 3
push esi
push esi
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401023
cmp ebx, 0xffffffff
je 0x4284f1
push ebx
call edi
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x42844f
jmp 0x428533
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00413c3b
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0xffffffffffffffff
push str.IsProcessRunningByDirectory_CreateFile_return:_d__error:_d__path:_ws
mov esi, 0x514ad4
call fcn.00443ae2
mov eax, dword [ebp - 8]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00401023
mov dword [ebp - 0x10], 1
pop ebx
push dword [ebp - 0xc]
call edi
pop edi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0x10]
pop esi
leave
ret
Function at 0x42854b
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x5054b8
call fcn.004dcb10
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x4285d0
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x4285d0
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x4285d0
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
call fcn.004285e4
mov eax, dword [ebp - 0x20]
call fcn.004dcb4b
ret
Function at 0x42897e
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor edi, edi
push edi
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
je 0x42899d
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
push str.KillProcessByPid_TerminateProcess_return:_d__error:_d__pid:_d
mov esi, 0x514ad4
call fcn.00443ae2
add esp, 0x10
mov eax, edi
pop edi
pop esi
ret
Function at 0x429123
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
test byte [0x515024], 1
jne 0x42915c
mov eax, dword [0x512bd4]
or dword [0x515024], 1
mov ecx, 0x512bd4
call dword [eax + 0xc]
add eax, 0x10
push 0x4e051e
mov dword [0x515020], eax
call fcn.0048969e
pop ecx
mov eax, dword [0x515020]
cmp dword [eax - 0xc], 0
jne 0x4291b8
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x4291b3
push ebx
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00488c9a
pop ecx
lea ecx, [ebp - 0x208]
mov ebx, eax
mov esi, 0x515020
push ecx
mov eax, esi
call fcn.00413bce
call fcn.00427f1d
push str.drivers_
push esi
call fcn.00401000
pop esi
pop ebx
mov eax, dword [0x515020]
add eax, 0xfffffff0
call fcn.00423492
add eax, 0x10
mov dword [edi], eax
mov eax, edi
leave
ret

Function at 0x42920a
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call fcn.00489500
push str.ALLUSERSPROFILE
call fcn.0048b6fb
add esp, 0x10
call fcn.0042b759
cmp dword [esi + 0x14], edi
jne 0x42926e
push edi
push 0x23
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x208]
call fcn.0042b759
cmp dword [esi + 0x14], edi
je 0x4292f2
mov eax, dword [esi + 0x14]
push ebx
lea ebx, [eax - 1]
cmp eax, ebx
ja 0x42927e
call fcn.00487ca1
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x42928b
mov eax, dword [edi]
jmp 0x42928d
mov eax, edi
movzx eax, word [eax + ebx*2]
cmp ax, 0x5c
pop ebx
je 0x4292a9
cmp ax, 0x2f
je 0x4292a9
push 0x4e96bc
push esi
call fcn.0042ad29
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp al, 5
jne 0x4292d6
push str.Application_Data
call fcn.00488c9a
pop ecx
push eax
mov eax, esi
call fcn.0042b7c5
cmp eax, 0xffffffff
jne 0x4292d6
push str.Application_Data_
push esi
call fcn.0042ad29
push str.kcmcm_
push esi
call fcn.0042ad29
cmp dword [esi + 0x18], 8
jb 0x4292e9
mov edi, dword [edi]
push edi
call fcn.00427fa3
pop ecx
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4292f8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42937e
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x429343
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call fcn.004292f8
cmp eax, esi
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jne 0x429384
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], 0x200
call edi
test eax, eax
je 0x42932b
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
jmp 0x42937e

Function at 0x429394
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and word [ebp - 0x208], 0
push esi
push 0x206
mov esi, eax
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.00489500
add esp, 0xc
mov ecx, 0x512bd4
call fcn.0040de3b
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x429419
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00413ba8
push str.kdesk_
push esi
call fcn.00401000
push dword [esi]
call fcn.00427fa3
mov dword [esp], str.kdesksetup.log
push esi
call fcn.00401000
jmp 0x42941e
call fcn.00413449
mov eax, esi
pop esi
leave
ret

Function at 0x429423
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.0040d43b
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x4294d0
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x4294cf
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
call fcn.0040d47a
mov esi, eax
mov dword [ebp - 8], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4294cf
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4294cf
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
jne 0x429480
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x4294ba
xor eax, eax
jmp 0x4294c1
push eax
call fcn.00489bc0
pop ecx
mov edx, esi
call fcn.0040c74b
mov dword [ebp - 0x10], 1
pop edi
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret
Function at 0x42989b
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x4298bd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop esi
leave
ret
mov dword [ebp - 4], pe_nt_image_headers32
call fcn.0043eb92
cmp eax, 8
jne 0x4298df
call fcn.0043ee91
cmp eax, 2
jne 0x4298df
mov dword [ebp - 4], 0x10
push ebx
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push dword [ebp - 4]
push 0x32
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
cmp edi, esi
jne 0x42997c
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
cmp eax, 0x431
je 0x42992b
call ebx
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, esi
pop ebx
jmp 0x4298ba
push 2
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
je 0x429918
push dword [ebp + 0x10]
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x42997c
call ebx
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004297b0
add esp, 0x18
jmp 0x42991a
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x429998
cmp word [eax], si
je 0x429998
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x42991c
Function at 0x4299a4
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push str.CreateShellLink_start...
mov esi, 0x514ad4
xor edi, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.00443ae2
pop ecx
lea eax, [ebp - 4]
push eax
push 0x4e180c
push 1
push ebx
push 0x4e181c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jl 0x429a9c
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x14], ebx
je 0x429a14
push dword [ebp + 0x14]
call fcn.00488c9a
test eax, eax
pop ecx
jbe 0x429a14
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x14]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x429a2a
cmp word [eax], bx
je 0x429a2a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x4e182c
push eax
call dword [ecx]
test eax, eax
jl 0x429a89
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
call fcn.0042241f
lea eax, [ebp - 0xc]
call fcn.00427f61
mov edi, dword [ebp - 0xc]
push edi
call fcn.00427fa3
pop ecx
lea eax, [edi - 0x10]
call fcn.00401023
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp dword [ebp - 0xc], ebx
setge al
mov edi, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push str.CreateShellLink_return:_d__file:_ws__cmd:_ws__link:_ws
call fcn.00443ae2
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e24f
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
lea ebp, [edi + 4]
lea esi, [ebp + 0x10]
call fcn.00433f83
lea esi, [ebp + 0x28]
call fcn.00433f83
or dword [ebp + 0x40], 0xffffffff
xor ebx, ebx
mov dword [ebp], 1
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov byte [ebp + 0x44], bl
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], 0x2710
cmp dword [0x512938], ebx
je 0x42e2a5
push 0x5127a8
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x512938], eax
fld dword [0x4fab68]
lea esi, [edi + 0x54]
mov dword [edi], vtable.ATL::CAtlHttpClientT_class_ATL::ZEvtSyncSocket_.0
fstp dword [esi + 0xc]
fld dword [0x4fab6c]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0x10]
mov dword [esi], ebx
fld dword [0x4fab70]
mov dword [esi + 4], ebx
fstp dword [esi + 0x14]
mov dword [esi + 8], 0x11
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040a08e
fld dword [0x4fab68]
lea esi, [edi + 0x84]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0xc]
fld dword [0x4fab6c]
mov dword [esi], ebx
fstp dword [esi + 0x10]
mov dword [esi + 4], ebx
fld dword [0x4fab70]
mov dword [esi + 8], 0x11
fstp dword [esi + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040a08e
lea eax, [edi + 0xb4]
lea esi, [edi + 0xc8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.0042f695
lea esi, [edi + 0x10d8]
call fcn.00426ef4
lea esi, [edi + 0x3544]
mov ecx, 0x512bd4
call fcn.0040de3b
lea esi, [edi + 0x3548]
mov ecx, 0x512bd4
call fcn.0040de3b
mov esi, ebp
call fcn.00427a47
call fcn.00430cfc
mov dword [edi + 0xc4], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x433d1f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.0041352b
mov edi, eax
cmp edi, esi
je 0x433d5c
cmp dword [ebp - 8], esi
je 0x433d58
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x433dc9
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x433d7a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00433d1f
cmp eax, esi
mov dword [ebp - 0x10], eax
jne 0x433dd0
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
je 0x433d64
cmp dword [ebp - 8], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x433db0
push dword [ebp - 8]
call edi
mov dword [ebp - 8], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 8], esi
mov ebx, eax
je 0x433dc7
push dword [ebp - 8]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x433dde
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x433dc9

Function at 0x435a66
Capabilities:
Set registry value

Disassembly:
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push 1
push 0
push str.idex
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x435b8e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
xor ebx, ebx
push esi
inc ebx
test eax, eax
push edi
jne 0x435bb1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ebx
call fcn.00435a96
mov eax, dword [eax]
pop ecx
push eax
lea eax, [ebp - 0xc]
call fcn.0042241f
test byte [ebp - 4], bl
je 0x435bca
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [0x512bd4]
mov ecx, 0x512bd4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 8]
call fcn.004051ca
push dword [eax]
mov esi, dword [ebp - 0xc]
push esi
push str._sressrc_suplive.svr
lea eax, [ebp - 4]
call fcn.00421c33
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401023
mov edi, dword [ebp - 4]
push edi
push 0xbbb
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov ebx, eax
lea eax, [edi - 0x10]
call fcn.00401023
lea eax, [esi - 0x10]
call fcn.00401023
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x435d49
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
push 0x40
xor esi, esi
lea eax, [ebp - 0x9c]
push esi
push eax
call fcn.00489500
add esp, 0xc
push 0x58
lea eax, [ebp - 0x5c]
push esi
push eax
mov byte [ebp - 0x9c], 0x80
call fcn.00489500
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.00435c3a
push dword [ebp + 8]
lea eax, [ebp - 0x9c]
push eax
mov eax, esi
call fcn.00435cd1
pop esi
leave
ret

Function at 0x436323
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00404dbb
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 8]
mov dword [0x51489c], eax
mov eax, dword [esp + 0xc]
mov dword [0x514894], eax
mov eax, dword [0x5148a8]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x436360
mov eax, 0xe000001f
call fcn.004296c4
xor eax, eax
jmp 0x43638d
push esi
push esi
push 0x514890
push 0x436a54
push esi
push esi
mov dword [0x5148a0], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x5148a4], eax
jne 0x43638a
mov eax, 0xe0000020
jmp 0x436357
xor eax, eax
inc eax
pop esi
ret 8