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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x918
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x190
push 1
mov dword [ebp - 0x908], eax
mov ebx, ecx
call fcn.1116406b
mov ecx, dword [ebx + 6]
mov ebx, dword [ebp - 0x908]
push edi
mov esi, eax
push esi
push ecx
push ebx
call fcn.111110c0
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x918], ecx
test ecx, ecx
je 0x11111eea
add ebx, 0x5c
cmp ecx, ebx
je 0x11111eea
xor ebx, ebx
xor eax, eax
test eax, eax
jne 0x11111e49
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], ax
mov edx, 0x56
mov eax, 1
mov word [esi], dx
mov word [esi + 8], ax
mov dword [edi], 0xe
lea edx, [ebp - 0x90c]
push edx
lea eax, [ebp - 0x904]
push eax
lea edx, [ebp - 0x910]
push edx
push 0
lea eax, [ebp - 0x914]
push eax
mov eax, dword [ecx]
lea edx, [ebp - 0x104]
push edx
push ebx
push eax
mov dword [ebp - 0x914], 0x100
mov dword [ebp - 0x90c], 0x800
call dword [sym.imp.aDvapi32.DLL_RegEnumValueA]
test eax, eax
jne 0x11111ec8
mov edx, dword [ebp - 0x90c]
mov eax, dword [ebp - 0x910]
push edi
lea ecx, [ebp - 0x904]
push ecx
push edx
mov edx, dword [ebp - 0x908]
push eax
lea ecx, [ebp - 0x104]
push ecx
push edx
call fcn.11111870
mov ecx, dword [ebp - 0x918]
add esp, 0x18
inc ebx
jmp 0x11111e22
xor ecx, ecx
mov word [esi + 8], cx
cmp eax, 0x103
je 0x11111ed8
mov dword [esi + 2], eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
push edi
push 0
mov eax, 6
call fcn.11111090
mov ecx, dword [ebp - 4]
add esp, 8
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret

Function at 0x11112140
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x114], 0
call dword [sym.imp.KeRneL32.DLl_GetSystemDirectoryA]
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
mov byte [ebp - 0xc], 0
call fcn.11169f04
lea edi, [ebp - 0xc]
add esp, 0x14
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x11112191
mov ax, word [0x1119a5bc]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
lea edx, [ebp - 0xc]
push edx
mov word [edi], ax
call dword [sym.imp.KeRneL32.DLl_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
xor ecx, ebp
pop edi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x111121e0
Capabilities:
Encrypt data using rc4 prga
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.11112140
mov edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x1111222d
movsx eax, byte [esi]
movsx ecx, byte [esi + 1]
movsx edx, byte [esi + 2]
and eax, 0xff
shl eax, 8
and ecx, 0xff
or eax, ecx
shl eax, 8
and edx, 0xff
or eax, edx
xor edi, eax
push edi
push 0x111b7230
push ebx
call fcn.110d1540
add esp, 0xc
test esi, esi
je 0x111122a5
mov ecx, 0x111a1460
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x11112270
test dl, dl
je 0x1111226c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x11112270
add eax, 2
add ecx, 2
test dl, dl
jne 0x11112250
xor eax, eax
jmp 0x11112275
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x111122a5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.KeRneL32.DLl_GetComputerNameA]
test eax, eax
je 0x111122a5
lea edx, [ebp - 0x24]
push edx
push edi
push 0x111b7204
push ebx
call fcn.110d1540
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11114590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
test byte [esi + 0xc0], 1
je 0x111146d6
cmp dword [esi + 0xf0], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x320], edi
mov dword [esi + 0x324], eax
mov dword [esi + 0x32c], ecx
je 0x111146d6
push ebx
push 2
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.uSEr32.dll_PeekMessageA]
mov ecx, dword [esi + 8]
push 0
push 0
push 0x111b7580
push 0x111a0fc4
call fcn.1105e820
mov ebx, dword [sym.imp.uSEr32.dll_GetKeyState]
test eax, eax
jne 0x11114630
push 0x90
call ebx
and eax, 1
cmp edi, eax
je 0x11114630
mov ecx, 0x45
lea edx, [ecx + 0x4b]
mov eax, esi
mov byte [esi + 0x2d1], 0x45
call fcn.11113190
mov ecx, 0x45
mov edx, 0x8090
mov eax, esi
call fcn.11113190
mov ecx, dword [esi + 8]
push 0
push 0
push 0x111b756c
push 0x111a0fc4
call fcn.1105e820
test eax, eax
jne 0x11114685
push 0x14
call ebx
and eax, 1
cmp dword [ebp + 8], eax
je 0x11114685
mov ecx, 0x3a
lea edx, [ecx - 0x26]
mov eax, esi
mov byte [esi + 0x2d2], 0x3a
call fcn.11113190
push 0x64
call dword [sym.imp.KeRneL32.DLl_Sleep]
mov ecx, 0x3a
mov edx, 0x8014
mov eax, esi
call fcn.11113190
mov ecx, dword [esi + 8]
push 0
push 0
push 0x111b7554
push 0x111a0fc4
call fcn.1105e820
test eax, eax
jne 0x111146d5
push 0x91
call ebx
and eax, 1
cmp dword [ebp + 0xc], eax
je 0x111146d5
mov ecx, 0x46
lea edx, [ecx + 0x4b]
mov eax, esi
mov byte [esi + 0x2d3], 0x46
call fcn.11113190
mov ecx, 0x46
mov edx, 0x8091
mov eax, esi
call fcn.11113190
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11116d50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.11145ef0
test eax, eax
je 0x11116de3
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x111b7c94
push reloc.wsOcK32.dll_bind
mov dword [ebp - 4], 0
call dword [sym.imp.aDvapi32.DLL_RegOpenKeyExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x11116de3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x11116dc3
lea edx, [ebp + 0xc]
push edx
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x111b7c8c
push eax
mov dword [ebp + 0xc], 4
call fcn.11143bd0
mov eax, dword [ebp - 4]
add esp, 0x18
push eax
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0
push 0x111b7c8c
push eax
call dword [sym.imp.aDvapi32.DLL_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
mov esp, ebp
pop ebp
ret 8

Function at 0x11116e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov edx, edi
neg edx
sbb edx, edx
and edx, 0xfffffffa
push eax
mov eax, dword [ecx + 0x250]
add edx, 0x2001f
push edx
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x11116ecb
mov dword [ebp + 8], 4
test edi, edi
je 0x11116e8d
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push edi
lea edx, [ebp + 0xc]
push edx
push 0
push eax
push esi
call fcn.11143bd0
add esp, 0x18
push esi
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
test byte [ebp + 0x18], 1
mov edi, dword [ebp + 0xc]
je 0x11116eb2
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push esi
call fcn.11143bd0
add esp, 0x18
test eax, eax
jne 0x11116ec4
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
push edi
push esi
call dword [sym.imp.aDvapi32.DLL_RegSetValueExA]
push esi
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x111175c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test ecx, ecx
jne 0x11117602
lea eax, [ebp - 0x20]
push eax
call fcn.11095990
add esp, 4
jmp 0x11117619
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push edx
push 0x111173c0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 1
call dword [sym.imp.uSEr32.dll_EnumWindows]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x11117643
push eax
call dword [sym.imp.Gdi32.Dll_DeleteObject]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x11117654
push eax
push eax
push eax
push eax
call dword [sym.imp.Gdi32.Dll_CreateRectRgn]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11117d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [esi + 0x5d4], 0
je 0x11117e7d
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x5e8], edi
je 0x11117d91
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
lea edi, [eax - 1]
mov eax, dword [esi + 0x5ec]
or edi, 1
mov ecx, edi
sub ecx, dword [esi + 0x5e8]
test eax, eax
je 0x11117d53
mov ebx, edi
sub ebx, eax
jmp 0x11117d55
mov ebx, ecx
cmp ecx, 0xc8
jb 0x11117d91
cmp ebx, 0x1f4
jae 0x11117d91
cmp ecx, 0x1f4
jae 0x11117d91
xor edx, edx
mov eax, edi
div ecx
cmp edx, 0x64
jb 0x11117d91
mov eax, dword [ebp + 8]
push eax
push ebx
push ecx
push 0x111b7d60
call fcn.11147060
add esp, 0x10
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x148]
test ecx, ecx
je 0x11117daa
cmp dword [esi + 0x590], 4
jl 0x11117daa
push 4
xor edx, edx
jmp 0x11117e26
mov ebx, dword [esi + 0x5e0]
mov eax, dword [esi + 0x5d8]
mov edx, dword [esi + 0x5dc]
mov dword [ebp - 8], ebx
mov ebx, dword [esi + 0x5e4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x11117e11
test eax, eax
jle 0x11117ddd
dec eax
and eax, 0xfffffffc
mov dword [ebp - 0x10], eax
test edx, edx
jle 0x11117de8
dec edx
and edx, 0xfffffffc
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
add ecx, 4
add ebx, 4
xor edx, edx
and ecx, 0xfffffffc
and ebx, 0xfffffffc
cmp dword [esi + 0x590], 2
mov dword [ebp - 8], ecx
setl dl
mov dword [ebp - 4], ebx
dec edx
and edx, 3
inc edx
push edx
jmp 0x11117e23
xor eax, eax
cmp dword [esi + 0x590], 2
setl al
dec eax
and eax, 3
inc eax
push eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.11113fa0
xor eax, eax
mov dword [esi + 0x5d8], eax
mov dword [esi + 0x5dc], eax
mov dword [esi + 0x5e0], eax
mov dword [esi + 0x5e4], eax
mov ecx, dword [esi + 0x5d4]
add esp, 4
push ecx
xor ebx, ebx
call dword [sym.imp.Gdi32.Dll_DeleteObject]
mov dword [esi + 0x5d4], ebx
mov dword [esi + 0x5e8], ebx
cmp edi, ebx
jne 0x11117e75
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
lea edi, [eax - 1]
or edi, 1
mov dword [esi + 0x5ec], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11122980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [edi + 0x2ea], 0
push ebx
push esi
je 0x11122ad1
cmp dword [ebp + 8], 0
jne 0x111229ef
mov ecx, dword [edi + 8]
push 0
push 0
push 0x111b8988
push 0x111a0fc4
call fcn.1105e820
cmp dword [edi + 0x31c], 0
mov esi, eax
je 0x111229c4
cdq
sub eax, edx
sar eax, 1
mov esi, eax
test esi, esi
je 0x111229ef
cmp esi, 0xa
jl 0x111229d5
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
imul esi, esi, 0xc8
mov ecx, dword [edi + 0x314]
add ecx, esi
sub ecx, eax
test ecx, ecx
jg 0x111229cd
movzx eax, word [edi + 0x2ea]
mov esi, dword [edi + 0x10]
mov edx, 0x2e
lea ecx, [eax*4 + 4]
mov dword [ebp - 8], esi
mov word [edi + 0x2e8], dx
mov dword [ebp - 4], ecx
call dword [sym.imp.WinMM.DlL_timeGetTime]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov ebx, eax
mov eax, dword [ebp - 4]
push 0
push eax
lea eax, [edi + 0x2e8]
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x11122a94
cmp dword [ebp + 8], 0
je 0x111229cd
cmp dword [ebp + 0xc], 0
je 0x11122a63
cmp dword [edi + 0x3c], 0
je 0x11122a63
call dword [sym.imp.WinMM.DlL_timeGetTime]
mov esi, eax
sub eax, ebx
cmp eax, 0x23
jae 0x11122a6b
mov ecx, dword [edi + 4]
call fcn.11122920
test eax, eax
jne 0x11122a46
jmp 0x11122a6b
call dword [sym.imp.WinMM.DlL_timeGetTime]
mov esi, eax
sub esi, ebx
cmp esi, 0x23
jae 0x11122a79
push esi
call dword [sym.imp.KeRneL32.DLl_Sleep]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push 0
push eax
lea eax, [edi + 0x2e8]
push eax
call edx
test eax, eax
je 0x11122a34
mov ecx, dword [edi + 0x578]
test ecx, ecx
je 0x11122ab2
mov eax, dword [ebp - 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0
push eax
lea eax, [edi + 0x2e8]
push eax
call edx
xor eax, eax
mov word [edi + 0x2ea], ax
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov dword [edi + 0x314], eax
mov dword [edi + 0x31c], 0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x111261c0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor esi, esi
push 0x111a424c
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KeRneL32.DLl_GetModuleHandleA]
push esi
push esi
mov ebx, eax
push 0x1f0fff
lea eax, [ebp - 4]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.KeRneL32.DLl_GetCurrentProcess]
push eax
call esi
mov edi, dword [ebp + 8]
push eax
push edi
call esi
push eax
call dword [sym.imp.KeRneL32.DLl_DuplicateHandle]
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x11126214
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KeRneL32.DLl_GetExitCodeProcess]
test eax, eax
je 0x11126273
cmp dword [ebp - 0x14], 0x103
jne 0x11126273
push 0x111b8c2c
push ebx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov ecx, dword [ebp - 4]
test esi, esi
jne 0x11126241
mov ecx, edi
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
push 0
push esi
push eax
push 0
push 0
push ecx
call dword [sym.imp.KeRneL32.DLl_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
jne 0x1112627f
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push esi
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KeRneL32.DLl_TerminateProcess]
mov edi, dword [ebp - 8]
jmp 0x111262c4
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], 0x42b
jmp 0x111262c7
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
jne 0x1112628a
mov eax, edi
push 0x7d0
push eax
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
test eax, eax
je 0x111262b3
push esi
push edi
call dword [sym.imp.KeRneL32.DLl_TerminateProcess]
mov edi, eax
test edi, edi
jne 0x111262bd
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x111262bd
mov dword [ebp - 8], 1
mov edi, dword [ebp - 8]
push ebx
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x111262d5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
test edi, edi
jne 0x111262e3
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x111282e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0xffffffff
jne 0x11128305
push 0x28c
push 0x111b9ad0
push 0x111b9b70
call fcn.11029a70
add esp, 0xc
push 0x28
xor bl, bl
call fcn.111101b0
add esp, 4
test eax, eax
je 0x1112839c
mov ecx, dword [ebp + 8]
push 0
push ecx
push 0
mov ecx, eax
call fcn.11127fa0
mov esi, eax
test esi, esi
je 0x1112839c
mov ecx, dword [esi + 4]
lea edx, [esi + 8]
push edx
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
mov eax, dword [edi + 0x24]
push ecx
push edx
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.KeRneL32.DLl_ReadFile]
mov ebx, eax
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov edi, eax
test ebx, ebx
jne 0x11128393
cmp edi, 0x3e5
je 0x11128393
push edi
push 0x111b9b44
call fcn.11147060
add esp, 8
push edi
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov ecx, dword [esi]
push ecx
call fcn.11163aa5
push esi
call fcn.11162777
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
push 8
call dword [sym.imp.KeRneL32.DLl_SetLastError]
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 4
Function at 0x11128b10
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KeRneL32.DLl_Sleep]
push 1
push 0x111a6438
push 0
call dword [sym.imp.aDvapi32.DLL_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x11128b80
push ebx
push esi
push 0xf01ff
push 0x111b9d20
push edi
call dword [sym.imp.aDvapi32.DLL_OpenServiceA]
mov ebx, dword [sym.imp.aDvapi32.DLL_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x11128b70
push 0
push 0
push esi
call dword [sym.imp.aDvapi32.DLL_StartServiceA]
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push edi
call ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
call dword [sym.imp.KeRneL32.DLl_GetLastError]
pop edi
pop ebp
ret 4

Function at 0x11129b20
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
mov edi, ecx
call fcn.11162be0
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
test ebx, ebx
jne 0x11129b4e
mov ebx, 0x11195264
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11129b53
sub eax, esi
mov ecx, edi
lea esi, [eax + 1]
call fcn.111298c0
push esi
call fcn.111101b0
mov dword [edi], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
push esi
mov byte [eax], 0
call fcn.111101b0
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
push esi
mov byte [eax], 0
call fcn.111101b0
mov dword [edi + 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
push esi
mov byte [eax], 0
call fcn.111101b0
mov dword [edi + 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push esi
mov byte [eax], 0
call fcn.111101b0
mov dword [edi + 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
push esi
mov byte [eax], 0
call fcn.111101b0
mov dword [edi + 0x1c], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
push esi
mov byte [eax], 0
call fcn.111101b0
add esp, 0x1c
mov dword [edi + 0x20], eax
mov byte [eax], 0
mov ecx, dword [ebp - 0x30]
mov dx, word [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
push 0x10000000
push 0
push ebx
mov dword [edi + 4], ecx
mov word [edi + 0xc], dx
call dword [sym.imp.wiNiNET.dll_InternetCrackUrlA]
test eax, eax
setne bl
test bl, bl
je 0x11129c48
mov ecx, edi
call fcn.111299d0
mov dx, word [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x1c]
mov word [edi + 0xc], dx
mov dword [edi + 4], ecx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11129c23
mov edi, dword [edi + 0x18]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x11129c30
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1112a580
Capabilities:
Continue service
Pause service
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x1112a5c7
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.aDvapi32.DLL_ControlService]
test eax, eax
jne 0x1112a5be
push 0x111da99c
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
call fcn.111634b1
mov dword [ebp - 0x24], 1
jmp 0x1112a63a
cmp eax, 2
jne 0x1112a5ec
push 0
push 0
push edi
call dword [sym.imp.aDvapi32.DLL_StartServiceA]
test eax, eax
jne 0x1112a633
push 0x111da99c
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], eax
call fcn.111634b1
cmp eax, 3
jne 0x1112a60b
lea eax, [ebp - 0x20]
push eax
push 2
push edi
call dword [sym.imp.aDvapi32.DLL_ControlService]
test eax, eax
je 0x1112a5a9
mov dword [ebp - 0x24], 7
jmp 0x1112a63a
cmp eax, 4
jne 0x1112a6ba
lea edx, [ebp - 0x20]
push edx
push 3
push edi
call dword [sym.imp.aDvapi32.DLL_ControlService]
test eax, eax
jne 0x1112a633
mov dword [ebp - 0x24], eax
push 0x111da99c
lea eax, [ebp - 0x24]
push eax
jmp 0x1112a5b9
mov dword [ebp - 0x24], 4
push esi
lea ecx, [ebp - 0x20]
push ecx
push edi
mov esi, 0x64
call dword [sym.imp.aDvapi32.DLL_QueryServiceStatus]
test eax, eax
jne 0x1112a664
push 0x111da99c
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
jmp 0x1112a5b9
mov ecx, dword [ebp - 8]
push ebx
test ecx, ecx
je 0x1112a67c
mov eax, 0x51eb851f
mul ecx
mov esi, edx
shr esi, 4
test esi, esi
je 0x1112a6a0
mov ebx, dword [sym.imp.KeRneL32.DLl_Sleep]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.aDvapi32.DLL_QueryServiceStatus]
test eax, eax
je 0x1112a64f
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], ecx
je 0x1112a6b8
push 0x64
call ebx
dec esi
jne 0x1112a682
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], eax
je 0x1112a6b8
push 0x41d
call dword [sym.imp.KeRneL32.DLl_SetLastError]
jmp 0x1112a5a9
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x1112a6d0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118bb60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
push 0xf003f
push edi
push edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], edi
call dword [sym.imp.aDvapi32.DLL_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0x44], ebx
cmp ebx, edi
jne 0x1112a733
push 0x111da99c
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], edi
call fcn.111634b1
push 0x74
push esi
push ebx
call dword [sym.imp.aDvapi32.DLL_OpenServiceA]
mov edi, eax
xor esi, esi
mov dword [ebp - 0x38], edi
cmp edi, esi
jne 0x1112a759
push 0x111da99c
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], esi
call fcn.111634b1
lea edx, [ebp - 0x30]
push edx
push edi
call dword [sym.imp.aDvapi32.DLL_QueryServiceStatus]
test eax, eax
jne 0x1112a779
push 0x111da99c
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], esi
call fcn.111634b1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffffc
cmp eax, 0x1c
ja case.0x1112a78b.5
movzx ecx, byte [eax + 0x1112a854]
jmp dword [ecx*4 + 0x1112a840]
push 1
call fcn.1112a580
add esp, 4
jmp 0x1112a806
cmp dword [ebp - 0x2c], 1
jne 0x1112a7b0
push 2
call fcn.1112a580
add esp, 4
jmp 0x1112a806
push 4
call fcn.1112a580
add esp, 4
jmp 0x1112a806
push 3
call fcn.1112a580
add esp, 4
jmp 0x1112a806
push 1
call fcn.1112a580
add esp, 4
push 2
call fcn.1112a580
add esp, 4
jmp 0x1112a806
push 0x111da99c
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], esi
call fcn.111634b1
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, 0x1112a7fe
ret
cmp edi, esi
je 0x1112a811
push edi
call dword [sym.imp.aDvapi32.DLL_CloseServiceHandle]
cmp ebx, esi
je 0x1112a81c
push ebx
call dword [sym.imp.aDvapi32.DLL_CloseServiceHandle]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0xc