joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417800
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
mov eax, dword [esp + 0x24]
push ebp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
mov esi, ecx
push 0x40000000
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x417977
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 0x20c]
push ecx
push ebx
mov ecx, esi
call fcn.00417720
test eax, eax
jne 0x417863
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
mov eax, dword [edi + 0x20c]
xor ebp, ebp
test eax, eax
jbe 0x417912
lea esi, [edi + 0x224]
mov al, byte [esi - 0x10]
mov dl, byte [esi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [esi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov cx, word [eax + 0xc]
mov word [esp + 0x1c], cx
mov dx, word [eax + 0xe]
mov word [esp + 0x1e], dx
mov ecx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and eax, 0xffff
imul ecx, eax
cmp ecx, 8
jl 0x4178c2
mov byte [esp + 0x1a], 0
jmp 0x4178ca
mov dl, 1
shl dl, cl
mov byte [esp + 0x1a], dl
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0x14]
push ebp
push edi
mov dword [esp + 0x28], eax
call fcn.004177d0
lea ecx, [esp + 0x30]
push 0
push ecx
lea edx, [esp + 0x20]
push 0x10
push edx
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x417977
cmp dword [esp + 0x30], 0x10
jne 0x417977
mov eax, dword [edi + 0x20c]
inc ebp
add esi, 0x20
cmp ebp, eax
jb 0x417879
mov eax, dword [edi + 0x20c]
xor ebx, ebx
test eax, eax
jbe 0x41796c
lea esi, [edi + 0x224]
mov eax, dword [esi]
push 0
mov ebp, dword [eax + 0x14]
mov dword [eax + 0x14], 0
mov ecx, dword [esi - 4]
mov edx, dword [esi - 8]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x417977
mov ecx, dword [esp + 0x30]
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x417977
mov edx, dword [esi]
inc ebx
add esi, 0x20
mov dword [edx + 0x14], ebp
mov eax, dword [edi + 0x20c]
cmp ebx, eax
jb 0x417924
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
Function at 0x41abb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46abe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x41abf3
mov eax, dword [esi]
jmp 0x41abf5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x8c]
test eax, eax
jge 0x41ac14
push 0x488490
push edi
push eax
call fcn.00457cec
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x41ac74
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ac74
mov eax, dword [esi]
test eax, eax
je 0x41ac5b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41ac6b
push eax
call fcn.0045da32
add esp, 4
push esi
call fcn.0045da32
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x41b820
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
mov dword [esp + 4], 0xffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x417c10
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x10
ret 4
Function at 0x41b870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ad08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0xc], ecx
je 0x41b937
push ebx
mov ebx, dword [esp + 0x2c]
push edi
mov ecx, dword [ecx + 0xc]
cmp ecx, ebp
mov dword [esp + 0x30], ecx
je 0x41b91c
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.0041cad0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x41b8e0
mov edx, dword [esp + 0x30]
mov esi, dword [ecx + 0xc]
cmp edx, esi
jb 0x41b8e0
lea ecx, [esp + 0x10]
jmp 0x41b8e8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov edi, dword [ecx]
cmp edi, eax
je 0x41b91c
mov esi, dword [edi + 0x10]
cmp esi, ebp
je 0x41b90f
push ebp
push esi
call fcn.0041ac90
add esp, 8
mov ecx, esi
call fcn.00417ef0
push esi
call fcn.0045da32
add esp, 4
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, ebx
call fcn.0041c350
lea ecx, [esp + 0x14]
call fcn.00407270
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x41b8a8
pop edi
pop ebx
mov edx, dword [esp + 0x38]
mov esi, eax
cmp edx, ebp
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esi]
mov dword [esp + 0x28], ecx
je 0x41b981
mov edx, ecx
cmp ecx, edx
jne 0x41b981
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00406fa0
mov edx, dword [esp + 0x30]
mov eax, dword [0x48e484]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], ebp
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
jmp 0x41b9ab
cmp ecx, esi
je 0x41b9af
lea ecx, [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x30]
call fcn.0041c040
mov edx, dword [eax]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.004054c0
cmp dword [esp + 0x28], esi
jne 0x41b985
mov eax, dword [esp + 0x30]
push eax
call fcn.0045da32
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
xor esi, esi
call fcn.00449fec
mov eax, dword [0x48e480]
dec eax
mov dword [0x48e480], eax
jne 0x41b9e4
mov esi, dword [0x48e484]
mov dword [0x48e484], ebp
lea ecx, [esp + 0x10]
call fcn.0044a088
cmp esi, ebp
je 0x41b9fa
push esi
call fcn.0045da32
add esp, 4
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x41bcd0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x46ad5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
push 0x48e488
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.0045dd36
push 0
push 2
mov dword [esp + 0x24], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov edi, eax
call fcn.0045da09
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41bd57
mov ebp, dword [esp + 0x28]
cmp dword [esi + 8], ebp
je 0x41bd4a
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41bd38
jmp 0x41bd57
lea eax, [esi + 0x24]
lea ecx, [esp + 0xc]
push eax
call fcn.0045de51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0045da32
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0045da3d
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.0045dcc8
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x41e860
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46b0b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
xor ebx, ebx
push 0x10
mov dword [esp + 0x30], ebx
xor edi, edi
call fcn.0045da09
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x41e8a9
mov ecx, eax
call fcn.00461c32
mov esi, eax
jmp 0x41e8ab
xor esi, esi
push 0x48e488
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0045dd36
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push ebx
push ebx
push ecx
mov ecx, esi
mov byte [esp + 0x38], 2
call dword [eax + 0x20]
test eax, eax
je 0x41e972
push 0x2000
lea ecx, [esp + 0x1c]
call fcn.004225c0
mov edi, dword [esi]
push 0x2000
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00422620
push eax
mov ecx, esi
call dword [edi + 0x34]
cmp eax, ebx
je 0x41e958
lea ecx, [esp + 0x18]
call fcn.00422620
push eax
lea ecx, [esp + 0x10]
call fcn.0045e0a4
lea ecx, [esp + 0x18]
call fcn.00422660
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], 0x7d000
jg 0x41e94a
mov edi, dword [esi]
push 0x2000
lea ecx, [esp + 0x1c]
call fcn.00422620
push eax
mov ecx, esi
call dword [edi + 0x34]
cmp eax, ebx
jne 0x41e905
jmp 0x41e958
push 0x48e488
lea ecx, [esp + 0x10]
call fcn.0045de51
mov eax, dword [esi]
mov ecx, esi
mov edi, 1
call dword [eax + 0x4c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.00422630
cmp esi, ebx
je 0x41e97f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
cmp edi, 0xffffffff
jne 0x41e9b7
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.0045dcc8
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call fcn.0045dcc8
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
call fcn.0041ea10
mov esi, eax
lea ecx, [esp + 0xc]
dec esi
mov byte [esp + 0x2c], bl
neg esi
sbb esi, esi
inc esi
call fcn.0045dcc8
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0045dcc8
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x41eb60
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
sub esp, 0x34c
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x48e53c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x218]
push ecx
push str.iClick.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41ecf1
mov al, byte [esp + 0x218]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test al, 0x10
jne 0x41ec47
lea edx, [esp + 0x118]
push 0
push edx
lea eax, [esp + 0x250]
push 0x104
push eax
call ebp
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41ec1f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x118]
push ecx
push edx
call fcn.00445c80
add esp, 8
test eax, eax
jge 0x41ec47
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41ece9
test byte [esp + 0x21c], 0x10
jne 0x41ecd2
lea edx, [esp + 0x118]
push 0
push edx
lea eax, [esp + 0x250]
push 0x104
push eax
call ebp
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41ecaa
lea ecx, [esp + 0x14]
lea edx, [esp + 0x118]
push ecx
push edx
call fcn.00445c80
add esp, 8
test eax, eax
jge 0x41ecd2
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41ec5e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
mov eax, dword [0x48e6b8]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00445c80
add esp, 8
test eax, eax
jne 0x41ed0f
push 0x48e488
jmp 0x41ed14
lea ecx, [esp + 0x10]
push ecx
mov esi, dword [esp + 0x360]
mov ecx, esi
call fcn.0045dd36
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x34c
ret 4
Function at 0x423250
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x4231b0
push 0
push 0
call fcn.0043a375
add esp, 0x1c
ret

Function at 0x424260
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x424230
push 0
push 0
call fcn.0043a375
add esp, 0x1c
ret

Function at 0x424410
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4244f0
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [esp + 4]
push edi
push ecx
push 0
push 0
call esi
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jl 0x42445e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push edx
push eax
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 8]
push eax
push 0x19
push 0
call esi
test eax, eax
jl 0x424488
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 8]
push eax
push 0xb
push 0
call esi
test eax, eax
jl 0x4244b2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 8]
push eax
push 0x17
push 0
call esi
test eax, eax
jl 0x4244dc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0x10
xor eax, eax
add esp, 8
ret 0x10
Function at 0x425260
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x426450
push 0
push 0
call fcn.0043a375
add esp, 0x1c
ret
Function at 0x425800
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46b5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x44]
lea esi, [ebx + 0x44]
push edi
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00404a40
mov ecx, dword [0x46f7b0]
push ecx
push 0
push esi
lea ecx, [esp + 0x1c]
call fcn.004044d0
mov eax, dword [ebx + 4]
mov dword [esp + 0x834], 0
test eax, eax
mov esi, 0x46f7ac
je 0x425862
mov esi, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x46f7b0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
cmp edx, edi
ja 0x425885
call fcn.0044a09d
test edi, edi
jbe 0x4258c5
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebp, [eax + edi]
push ebp
call fcn.00405b60
test al, al
je 0x4258c5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, edi
push ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00405b40
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4258d2
mov eax, 0x46f7ac
lea ecx, [esp + 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edx, eax
test edx, edx
je 0x425923
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x42c]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42590b
mov eax, 0x46f7ac
lea ecx, [esp + 0x42c]
push ecx
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42594c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x425a00
mov al, byte [ecx - 1]
test al, al
je 0x4259f6
cmp al, 0xff
je 0x4259f6
dec al
mov byte [ecx - 1], al
jmp 0x425a00
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x434]
push 0x487374
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
lea eax, [esp + 0x34]
shr edx, 0x10
push ecx
push edx
push str._u._u._u._u
push eax
call fcn.0043ac7e
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
add ebx, 0x34
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00405b60
test al, al
je 0x4259dc
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x425a00
mov al, byte [ecx - 1]
test al, al
je 0x4259f6
cmp al, 0xff
je 0x4259f6
dec al
mov byte [ecx - 1], al
jmp 0x425a00
dec ecx
push ecx
call fcn.0045da32
add esp, 4
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x828
ret
Function at 0x425b10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov al, byte [ebp + 0x44]
lea esi, [ebp + 0x44]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00404a40
mov ecx, dword [0x46f7b0]
push ecx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.004044d0
mov edx, dword [0x46f7b0]
lea ecx, [esp + 0x20]
push edx
push ebx
push ebp
mov dword [esp + 0x44], ebx
call fcn.00404330
mov edi, str..tmp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str..tmp
lea ecx, [esp + 0x28]
call fcn.00404410
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00404a40
mov ecx, dword [0x46f7b0]
push ecx
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.004044d0
mov edx, dword [0x46f7b0]
lea ecx, [esp + 0x10]
push edx
push ebx
push ebp
mov byte [esp + 0x44], 1
call fcn.00404330
mov edi, 0x4889f4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4889f4
lea ecx, [esp + 0x18]
call fcn.00404410
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x425bee
mov eax, 0x46f7ac
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov eax, dword [esp + 0x24]
mov ecx, 0x46f7ac
cmp eax, ebx
je 0x425c06
mov ecx, eax
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x425c12
mov eax, 0x46f7ac
push ecx
push eax
call fcn.0040d530
mov ecx, dword [ebp + 0x30]
add esp, 8
cmp eax, ecx
je 0x425c44
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x425c30
mov eax, 0x46f7ac
push eax
call esi
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call fcn.00404a40
jmp 0x425c98
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x425c51
mov ecx, 0x46f7ac
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x425c5e
mov eax, 0x46f7ac
push ecx
push eax
call fcn.0043be8b
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, ebx
je 0x425c8c
mov al, byte [ecx - 1]
cmp al, bl
je 0x425c82
cmp al, 0xff
je 0x425c82
dec al
mov byte [ecx - 1], al
jmp 0x425c8c
dec ecx
push ecx
call fcn.0045da32
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x425cbc
mov al, byte [ecx - 1]
cmp al, bl
je 0x425cb2
cmp al, 0xff
je 0x425cb2
dec al
mov byte [ecx - 1], al
jmp 0x425cbc
dec ecx
push ecx
call fcn.0045da32
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x427b20
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
xor edi, edi
not ecx
dec ecx
mov ebp, ecx
test ebp, ebp
jle 0x427bab
mov dl, byte [edi + ebx]
cmp dl, 0x7f
jg case.default.0x427b62
cmp dl, 0x3d
je 0x427bb9
movsx ecx, dl
mov dl, byte [ecx + 0x473a64]
cmp dl, 0xff
je case.default.0x427b62
cmp esi, 3
ja case.default.0x427b62
jmp dword [esi*4 + 0x427bc8]
shl dl, 2
mov byte [eax], dl
mov esi, 1
jmp case.default.0x427b62
mov cl, dl
mov esi, 2
shr cl, 4
or byte [eax], cl
inc eax
shl dl, 4
mov byte [eax], dl
jmp case.default.0x427b62
mov cl, dl
mov esi, 3
shr cl, 2
or byte [eax], cl
inc eax
shl dl, 6
mov byte [eax], dl
jmp case.default.0x427b62
mov cl, byte [eax]
or cl, dl
mov byte [eax], cl
inc eax
xor esi, esi
inc edi
cmp edi, ebp
jl 0x427b42
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov byte [eax], 0
pop ebp
sub eax, ecx
pop ebx
ret
mov edx, dword [esp + 0x18]
pop edi
sub eax, edx
pop esi
pop ebp
inc eax
pop ebx
ret
Function at 0x428be0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x428c10
push 0
push 0
call fcn.0043a375
add esp, 0x1c
ret
Function at 0x42b410
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0xa0
mov eax, dword [0x488dec]
mov cl, byte [0x488df0]
push ebp
push esi
push edi
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], cl
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x48e488
push str.UnInstallDriver
stosb byte es:[edi], al
call fcn.0042b9e0
add esp, 8
xor edi, edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
je 0x42b53a
push 0x48e488
push str.Opened_the_SCM
call fcn.0042b9e0
add esp, 8
lea edx, [esp + 0x2c]
push 0xf01ff
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, eax
test ebp, ebp
je 0x42b53a
push 0x48e488
push str.Opened_the_IRNP_service_in_the_SCM
call fcn.0042b9e0
add esp, 8
lea eax, [esp + 0x10]
push eax
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, eax
push 0x48e488
test edi, edi
jne 0x42b4ca
push str.Failed_to_stop_the_IRNP_service
jmp 0x42b4cf
push str.IRNP_service_stopped
call fcn.0042b9e0
add esp, 8
mov esi, 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
push 0x48e488
jne 0x42b510
push str.Delete_IRNP_service_failed
call fcn.0042b9e0
add esp, 8
xor edi, edi
push 0x3e8
call ebx
dec esi
test esi, esi
jg 0x42b4e3
jmp 0x42b51d
push str.Delete_IRNP_service_success
call fcn.0042b9e0
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0xa0
ret