joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d679
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4877c2
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x4b457c]
or dword [esp + 0x14], 0xffffffff
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0x40], edi
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, esi
lea esi, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.00402112
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x40], 3
mov eax, dword [ebx + 8]
lea edi, [esp + 0x10]
call fcn.004024a3
mov eax, dword [ebx + 8]
add eax, 4
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x41d719
call fcn.004024a3
lea esi, [esp + 0x18]
call fcn.00420b9e
mov byte [esp + 0x40], 4
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax]
mov esi, dword [ecx]
push edx
push eax
add ecx, 0x18
push ecx
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.00423dbf
mov edi, eax
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebx + 8]
push dword [eax]
mov esi, 0x4b4d74
push edi
push str.KChannel::UpdateIndex_return:_d__indexname:_ws
call fcn.00411a60
add esp, 0xc
test edi, edi
jne 0x41d779
and dword [esp + 0x14], edi
lea esi, [esp + 0x24]
call fcn.0040ca41
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e5f9
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4866a9
call fcn.0048062c
or dword [ebp - 0x10], 0xffffffff
push edi
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00402357
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040813c
push dword [ebp - 0x14]
call fcn.0040847c
pop ecx
push ebx
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
mov esi, 0x4b4d74
jne 0x41e6fb
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call fcn.0040bdbc
pop ecx
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
je 0x41e692
cmp dword [ebp + 0xc], ebx
je 0x41e6ae
push 2
push edi
push dword [ebp + 0xc]
call fcn.00408f4a
add esp, 0xc
test eax, eax
je 0x41e6ae
push edi
call fcn.0040be1f
pop ecx
push edi
push str.updateFile_CopyFile_double_check_failed__file_:__s
call fcn.00411a60
pop ecx
pop ecx
push edi
push dword [ebp + 8]
call fcn.004095bb
cmp eax, ebx
pop ecx
pop ecx
jne 0x41e6fb
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [0x4b4ed8], eax
jmp 0x41e6f8
push str.updateFile_CopyFile_double_check_success
call fcn.00411a60
pop ecx
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.00402357
push 0x490070
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.004021d8
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call fcn.004276b9
push edi
call fcn.0045d7c6
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040214e
mov dword [ebp - 0x10], ebx
push edi
call fcn.0040be78
pop ecx
push ebx
push dword [ebp - 0x10]
push 0x14
call fcn.0042aee9
add esp, 0xc
push edi
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.UpdateFile_return:_d__src:_ws__dst:_ws
call fcn.00411a60
mov eax, dword [0x4b457c]
add esp, 0x10
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov eax, 0x497e38
je 0x41e74a
mov eax, 0x497e40
push eax
push edi
lea eax, [ebp + 8]
push 0x497e48
push eax
call fcn.00404e7f
add esp, 0x10
cmp dword [ebp - 0x18], ebx
je 0x41e775
cmp dword [ebp - 0x10], ebx
jne 0x41e775
push 0x497e60
lea eax, [ebp + 8]
push eax
call fcn.004021d8
mov esi, dword [ebp + 8]
push esi
call fcn.00412193
pop ecx
lea eax, [esi - 0x10]
call fcn.0040214e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x10]
call fcn.00480704
ret 8
Function at 0x41ea88
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push 8
mov eax, 0x481d4c
call fcn.0048062c
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00402357
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00402357
lea eax, [ebp - 0x10]
push str._del
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0040400d
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ecx
pop ecx
push 1
push dword [ebp - 0x10]
push dword [ebp + 8]
call esi
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
push 0
push dword [ebp - 0x10]
mov ebx, eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, ebx
call fcn.00480704
ret 8
Function at 0x41f909
Capabilities:
Read .ini file

Disassembly:
push 0x18
mov eax, 0x483177
call fcn.0048062c
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
xor edi, edi
cmp dword [0x4b4f54], ebx
jne 0x41fa31
lea esi, [ebp - 0x1c]
call fcn.00420b9e
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004024a3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp + 8]
push dword [eax + 8]
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0040c38f
lea ecx, [ebp - 0x1c]
push str..txt
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040400d
add esp, 0x10
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004024a3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
lea eax, [ebp - 0x20]
push str..old.txt
push eax
mov ecx, edi
call fcn.0040400d
pop ecx
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004024a3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
mov ebx, 0x497c2c
push ebx
mov edi, 0x497c30
push edi
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
push 0
push ebx
push edi
call esi
xor ecx, ecx
cmp dword [ebp - 0x20], eax
setg cl
mov edi, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push edi
push dword [eax]
mov esi, 0x4b4d74
push str.KChannel::IsScrollBack_name:_ws_return:_d
call fcn.00411a60
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, edi
call fcn.00480704
ret 4
Function at 0x4205b5
Capabilities:
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], ebx
je 0x4205ca
mov dword [eax], ebx
cmp edi, ebx
je 0x4205d0
mov dword [edi], ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x420663
cmp eax, 0xffffffff
je 0x420663
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x420663
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
call eax
and dword [ebp - 4], 0xffff
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.00420669
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x420663
cmp dword [ebp - 0xc], 6
jb 0x420663
cmp dword [ebp - 4], 0x3839
jae 0x420663
push esi
xor esi, esi
inc esi
cmp edi, ebx
je 0x42063a
mov dword [edi], esi
push ebx
push ebx
push str.00000000_0000_0000_0000_000000000000
push 0x48f268
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x420662
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42065f
mov dword [eax], esi
mov dword [ebp - 8], esi
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x4215f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x486663
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4b2068]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x74]
push eax
call fcn.0045dcc8
and dword [esp + 0xf0], 0
mov eax, dword [0x4b4f70]
neg eax
sbb eax, eax
and eax, 0x4b4f74
push eax
lea edi, [esp + 0x40]
call fcn.00406468
lea esi, [esp + 0x28]
mov byte [esp + 0xf0], 1
call fcn.0042ae58
mov eax, esi
mov dword [esp + 0x34], vtable.KCs3MemWrite.0
mov dword [esp + 0x38], eax
mov eax, edi
mov byte [esp + 0xf0], 3
mov dword [esp + 0xa0], eax
push str.post
lea eax, [esp + 0x78]
push eax
call fcn.0045dda9
lea eax, [esp + 0x34]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], 0x3c
call fcn.0040d1d1
push eax
mov ecx, ebx
lea esi, [esp + 0x1c]
call fcn.0040d20d
mov byte [esp + 0xf0], 4
push dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
call fcn.0045de24
push dword [esp + 0xd4]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call fcn.00402357
cmp dword [esp + 0x20], 0
mov byte [esp + 0xf0], 5
je 0x42172e
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x2c]
mov eax, dword [ecx]
call dword [eax]
jmp 0x421760
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
call esi
sub eax, dword [esp + 0x14]
push eax
push 0
push edi
push dword [esp + 0x30]
push ebx
call fcn.00403459
mov dword [0x4b4f5c], edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040214e
cmp dword [esp + 0x28], 0
mov dword [esp + 0x34], vtable.IHttpWrite.0
je 0x421791
push dword [esp + 0x28]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
lea esi, [esp + 0x3c]
call fcn.00406770
or dword [esp + 0xf0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.0045dd5c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0047f7b2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422ac9
Capabilities:
Get disk size

Disassembly:
push 0x30
mov eax, 0x486594
call fcn.0048062c
xor ebx, ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00420bd3
push 3
pop ecx
lea edx, [ebp - 0x18]
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.00404dff
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004024a3
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
mov esi, dword [ebp - 0x1c]
je 0x422be7
mov eax, dword [ebp - 0x20]
shrd eax, esi, 0x14
shr esi, 0x14
cmp esi, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
ja 0x422bce
jb 0x422b5a
cmp eax, 0xc8
jae 0x422bce
lea esi, [ebp - 0x3c]
call fcn.0041553a
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push 0x48d88c
lea esi, [edi + 0x200]
push esi
mov byte [ebp - 4], 2
call fcn.0042c595
lea eax, [ebp - 0x3c]
push eax
push str.fast
push esi
call fcn.0042c595
lea eax, [ebp - 0x3c]
push eax
lea eax, [edi + 8]
push eax
call fcn.0046069c
push 0x4988a4
call fcn.00412193
mov eax, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
shrd eax, ecx, 0x14
push eax
push dword [ebp - 0x20]
shr ecx, 0x14
push dword [ebp - 0x10]
call fcn.00403696
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00415845
mov esi, dword [ebp - 0x1c]
jmp 0x422bd1
mov edi, dword [ebp + 8]
lea eax, [edi + 0x200]
call fcn.0042d246
test eax, eax
jne 0x422be7
mov dword [ebp - 0x14], 1
push esi
push dword [ebp - 0x20]
mov esi, 0x4b4d74
push str.KDubaUpdate::CheckDiskSize_diskSpace:_I64d_MB
call fcn.00411a60
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
call fcn.00480704
ret 4
Function at 0x423196
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xc
mov eax, 0x48302c
call fcn.0048062c
mov eax, dword [0x4b457c]
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea edi, [ebp - 0x18]
call fcn.004081f7
lea ecx, [ebp - 0x14]
push str.update
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040400d
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004024a3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov edi, dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x423230
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x423230
push 0
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
call fcn.0040214e
xor eax, eax
call fcn.00480704
ret

Function at 0x42349b
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x40
mov eax, 0x484842
call fcn.0048062c
lea eax, [ebp - 0x4c]
push eax
call fcn.0040154d
call fcn.0040524b
and dword [ebp - 4], 0
push 0x498dec
add eax, 8
push eax
call fcn.0040f0ca
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x4c]
inc bl
call fcn.0040122f
test bl, bl
je 0x4235e1
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0041452d
lea ecx, [ebp - 0x18]
push str.ressrcchsuplive.svr
push ecx
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0040400d
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
lea ecx, [ebp - 0x20]
call fcn.0041452d
lea ecx, [ebp - 0x10]
push str.uplive.svr
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040400d
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4235cb
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x4235cb
push dword [ebp - 0x18]
mov edi, str.TryNo
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
mov esi, str.Common
push esi
call ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
push edi
push esi
call ebx
cmp dword [ebp - 0x14], 0
je 0x4235cb
cmp dword [ebp - 0x14], eax
je 0x4235cb
mov eax, dword [0x4b457c]
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push 0x4919e8
push eax
mov byte [ebp - 4], 7
call fcn.00404e7f
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
push dword [ebp - 0x10]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebx - 0x10]
call fcn.0040214e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
call fcn.00480704
ret
Function at 0x425996
Capabilities:
Reference 114dns dns server

Disassembly:
push 8
mov eax, 0x48338a
call fcn.0048062c
xor ebx, ebx
and dword [ebp - 0x10], ebx
and dword [ebp - 4], ebx
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
lea eax, [ebp - 0x14]
push eax
call fcn.00402357
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004021d8
push ebx
push dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push reloc.WS2_32.dll_bind
call fcn.004067a2
test eax, eax
je 0x4259ee
push str.114.114.114.114
push str.NameServer
call fcn.00406923
mov ebx, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
cmp dword [ebp - 0x10], 0
je 0x425a08
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.00480704
ret 4

Function at 0x425a12
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4859d2
call fcn.0048062c
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.004164d1
lea eax, [ebp - 0x10]
push str.cmd.exe
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0040400d
push esi
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 0x10
test eax, eax
jne 0x425a6f
push esi
push dword [ebp - 0x14]
push str._c_ipconfig__renew
push dword [ebp - 0x10]
push 0x496ef8
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, esi
call fcn.00480704
ret
Function at 0x4277fd
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x481f3f
call fcn.0048062c
mov eax, dword [0x4b457c]
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [0x4b5098], 0
lea edi, [ebp - 0x10]
mov eax, 0x4b5090
jne 0x427836
mov eax, 0x4b508c
call fcn.004024a3
mov ebx, dword [ebp - 0x10]
push 3
push ebx
push 0x4b509c
call fcn.00410518
mov edi, eax
push edi
push str.KRebootConfigWritter::AddRebootFile_Save_config_file_return:_d
mov esi, 0x4b4d74
call fcn.00411a60
test edi, edi
pop ecx
pop ecx
jne 0x427866
push ebx
jmp 0x42787d
cmp dword [0x4b5098], 0
je 0x427877
push dword [0x4b508c]
jmp 0x42787d
push dword [0x4b5090]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebx - 0x10]
call fcn.0040214e
call fcn.00480704
ret

Function at 0x427891
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x481f3f
call fcn.0048062c
xor ebx, ebx
cmp dword [0x4b50a8], ebx
jne 0x4278b1
call fcn.004272fb
jmp 0x42793a
mov eax, dword [0x4b508c]
add eax, 0xfffffff0
call fcn.00402441
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp dword [0x4b5098], ebx
je 0x4278df
mov eax, 0x4b5090
lea edi, [ebp - 0x10]
call fcn.004024a3
mov esi, dword [ebp - 0x10]
push 3
push esi
push 0x4b509c
call fcn.00410518
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.0040214e
mov edi, 0x4b5078
mov eax, edi
xor esi, esi
call fcn.0041fe76
test eax, eax
jbe 0x427923
call fcn.00404080
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
inc esi
call fcn.0041fe76
cmp esi, eax
jb 0x42790a
mov ebx, edi
call fcn.0040c4dd
push str.KRebootConfigWritter::SaveRebootConfig_end
mov esi, 0x4b4d74
call fcn.00411a60
pop ecx
call fcn.00480704
ret
Function at 0x428dcc
Capabilities:
Terminate process

Disassembly:
push 0x18
mov eax, 0x482f53
call fcn.0048062c
mov eax, dword [0x4b457c]
xor ebx, ebx
mov ecx, 0x4b457c
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
add edi, 0x14
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], ebx
mov esi, dword [edi + 4]
je 0x428e11
cmp dword [ebp - 0x24], edi
je 0x428e17
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 0x20], esi
je 0x428e54
lea esi, [ebp - 0x24]
call fcn.00429cdf
add eax, 4
push dword [eax]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x428e4a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x24]
call fcn.00429d01
jmp 0x428e04
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], ebx
mov esi, dword [edi + 4]
je 0x428e6c
cmp dword [ebp - 0x24], edi
je 0x428e72
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 0x20], esi
je 0x428ece
lea esi, [ebp - 0x24]
call fcn.00429cdf
mov esi, eax
mov ebx, dword [esi + 0xc]
add esi, 4
mov dword [ebp - 0x18], 0x1f40
jmp 0x428e9e
sub dword [ebp - 0x18], 0x64
js 0x428eab
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.0040a023
test eax, eax
pop ecx
je 0x428e90
jmp 0x428ec2
push dword [esi + 8]
inc dword [ebp - 0x14]
push str.KReupdate::ExitActiveProcess_fail_to_exit_process:_ws
mov esi, 0x4b4d74
call fcn.00411a60
pop ecx
pop ecx
lea esi, [ebp - 0x24]
call fcn.00429d01
xor ebx, ebx
jmp 0x428e5f
cmp dword [ebp - 0x14], ebx
jne 0x428ee1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], ebx
je 0x428ee1
mov dword [0x4b27ac], ebx
push dword [ebp - 0x14]
mov esi, 0x4b4d74
push str.KReupdate::ExitActiveProcess_fail_count:_d
call fcn.00411a60
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
call fcn.00480704
ret 4

Function at 0x429035
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, eax
add edi, 0x14
push edi
push 0x42819f
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
mov esi, dword [edi + 4]
je 0x429066
cmp dword [ebp - 8], edi
je 0x42906c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 4], esi
je 0x42908e
lea esi, [ebp - 8]
call fcn.00429cdf
add eax, 4
cmp dword [eax + 4], 0
jne 0x429089
call fcn.00429d01
jmp 0x429058
xor eax, eax
inc eax
jmp 0x429090
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42b09a
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480a44
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x10]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x30], 0
lea edi, [esi + 4]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ebx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
je 0x42b0fc
cmp ebx, edi
je 0x42b102
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x20]
je 0x42b140
test ebx, ebx
jne 0x42b112
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 4]
jne 0x42b11d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax]
lea esi, [esp + 0x14]
call fcn.0042b197
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x42b0ed
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc