joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bbdc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x67f0cc
mov dword [edi + 8], 0x67f0bc
mov dword [ebp - 4], 7
mov ecx, dword [edi + 0x74]
lea esi, [edi + 0x74]
test ecx, ecx
je 0x449e6f
call fcn.004ab800
push esi
call fcn.004ab500
add esp, 4
mov dword [esi], 0
mov ecx, dword [edi + 0x78]
lea esi, [edi + 0x78]
test ecx, ecx
je 0x449e8d
call fcn.004ab800
push esi
call fcn.004ab500
add esp, 4
mov dword [esi], 0
mov esi, dword [edi + 0xc4]
cmp esi, dword [edi + 0xc8]
je 0x449ed3
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x449eae
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi]
test eax, eax
je 0x449ec8
cmp dword [eax], 0
je 0x449ebf
mov dword [eax], 0
push eax
call fcn.004c56c2
add esp, 4
add esi, 4
cmp esi, dword [edi + 0xc8]
jne 0x449ea1
mov byte [ebp - 4], 6
mov eax, dword [edi + 0xc4]
test eax, eax
je 0x449f08
push eax
call fcn.004c56c2
add esp, 4
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov byte [ebp - 4], 5
mov esi, dword [edi + 0xb8]
test esi, esi
je 0x449f82
mov ebx, dword [edi + 0xbc]
mov dword [ebp - 0x10], esi
cmp esi, ebx
je 0x449f56
mov byte [ebp - 4], 5
cmp dword [esi + 0x18], 8
jb 0x449f38
push dword [esi + 4]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
add esi, 0x20
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x449f23
push dword [edi + 0xb8]
call fcn.004c56c2
add esp, 4
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0xa4]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0042c150
mov byte [ebp - 4], 4
push dword [esi]
call fcn.004c56c2
add esp, 4
mov byte [ebp - 4], 3
cmp dword [edi + 0x94], 8
jb 0x449fcc
push dword [edi + 0x80]
call fcn.004c56c2
add esp, 4
mov dword [edi + 0x94], 7
mov dword [edi + 0x90], 0
xor eax, eax
mov word [edi + 0x80], ax
mov byte [ebp - 4], 2
cmp dword [edi + 0x68], 8
jb 0x449ffe
push dword [edi + 0x54]
call fcn.004c56c2
add esp, 4
mov dword [edi + 0x68], 7
mov dword [edi + 0x64], 0
xor eax, eax
mov word [edi + 0x54], ax
mov byte [ebp - 4], 1
cmp dword [edi + 0x50], 8
jb 0x44a027
push dword [edi + 0x3c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [edi + 0x50], 7
mov dword [edi + 0x4c], 0
mov word [edi + 0x3c], ax
mov byte [ebp - 4], al
cmp dword [edi + 0x2c], 8
jb 0x44a04f
push dword [edi + 0x18]
call fcn.004c56c2
add esp, 4
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
xor eax, eax
mov word [edi + 0x18], ax
mov dword [ebp - 4], 0xffffffff
mov dword [edi], 0x67e8d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fd10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62c673
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi], 0x680528
xor ecx, ecx
mov dword [esi + 0x24], 7
mov dword [esi + 0x20], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
mov word [esi + 0x10], cx
mov dword [ebp - 4], ecx
lea edi, [esi + 0x34]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ecx
mov word [edi], cx
mov byte [ebp - 4], 1
lea ebx, [esi + 0x4c]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], ecx
mov word [ebx], cx
mov byte [ebp - 4], 2
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ecx
mov byte [ebp - 4], 3
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], ecx
mov byte [ebp - 4], 4
mov dword [esi + 0xbc], 7
mov dword [esi + 0xb8], ecx
mov word [esi + 0xa8], cx
mov byte [ebp - 4], 5
push 6
push ecx
push 0x680598
mov ecx, eax
call fcn.0040cd50
cmp eax, 0xffffffff
setne al
mov byte [esi + 0x70], al
mov al, byte [ebp + 0xc]
mov byte [esi + 0x71], al
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x28], 0
movsd qword [esi + 0xa0], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x68], 0
mov byte [esi + 0x64], 0
mov byte [esi + 0x98], 0
cmp ebx, eax
je 0x44fe4e
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00403b10
call fcn.00401520
add eax, 0x708
cmp edi, eax
je 0x44fe68
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00403b10
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00423ed0
push ecx
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004a0a50
mov ecx, edi
call fcn.004a0b60
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], 8
jb 0x44fec0
push dword [ebp - 0x28]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 8
Function at 0x4512a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c81c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00423ff0
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x45130f
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x30], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [case.0x79a990.0]
cmp dword [0x6d664c], 0
je 0x451368
test al, 1
jne 0x45134c
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x30], 1
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [0x6d6650], 8
mov eax, 0x6d663c
cmovae eax, dword [0x6d663c]
push eax
call fcn.005eaf27
add esp, 4
mov eax, dword [ebp + 8]
cmp eax, 0x194
jne 0x45138d
push 0x676964
lea ecx, [esp + 0x10]
call fcn.004035b0
mov dword [esp + 0x30], 2
jmp 0x451466
cmp eax, 0x190
je 0x451450
cmp eax, 0x193
je 0x451450
mov ecx, esi
call fcn.00450980
push 0x676964
lea ecx, [esp + 0x10]
test al, al
je 0x45140c
mov dword [esi + 0x30], 1
call fcn.004035b0
mov dword [esp + 0x30], 4
lea eax, [esp + 0xc]
push eax
push 1
call fcn.00405290
mov ecx, eax
call fcn.0045c400
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00403680
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov byte [esi + 4], 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.004035b0
mov dword [esp + 0x30], 5
lea eax, [esp + 0xc]
push eax
push 1
call fcn.00405290
mov ecx, eax
call fcn.0045c400
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00403680
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x676964
lea ecx, [esp + 0x10]
call fcn.004035b0
mov dword [esp + 0x30], 3
lea eax, [esp + 0xc]
push eax
push 1
call fcn.00405290
mov ecx, eax
call fcn.0045c400
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x451494
push dword [esp + 0xc]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0xc], ax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 7
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x451c10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62cbef
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 3
cmp byte [edi + 0x65], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x451c8c
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x451c6c
cmp eax, 0xffffffff
je 0x451c6c
push eax
call ebx
mov dword [edi + 0xa0], 0
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x451c88
cmp eax, 0xffffffff
je 0x451c88
push eax
call ebx
mov dword [edi + 0x9c], 0
mov byte [edi + 0x65], 0
mov eax, dword [edi + 0xa4]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x451cd1
push 0x1388
push eax
call ecx
cmp eax, 0x102
jne 0x451cb9
push 0xffffffffffffffff
push dword [edi + 0xa4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0xa4]
call ebx
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [edi + 0xa4], 0
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x451d2b
lea esp, [esp]
mov eax, dword [esi]
push 0xbb8
mov ebx, dword [eax]
push ebx
call ecx
cmp eax, 0x102
jne 0x451cfc
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
test eax, eax
je 0x451d1d
cmp dword [eax], 0
je 0x451d14
mov dword [eax], 0
push eax
call fcn.004c56c2
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 4
cmp esi, dword [edi + 8]
jne 0x451ce0
mov byte [ebp - 4], 2
lea esi, [edi + 0xb0]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00456670
mov byte [ebp - 4], 2
push dword [esi]
call fcn.004c56c2
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [edi + 0x2c]
call fcn.004984e0
mov byte [ebp - 4], 0
cmp dword [edi + 0x24], 8
jb 0x451d7b
push dword [edi + 0x10]
call fcn.004c56c2
add esp, 4
mov dword [edi + 0x24], 7
mov dword [edi + 0x20], 0
xor eax, eax
mov word [edi + 0x10], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
test eax, eax
je 0x451dbb
push eax
call fcn.004c56c2
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d158
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x451e5d
mov eax, dword [edi]
jmp 0x451e5f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451e98
call fcn.00401520
cmp dword [edi + 0x14], 8
lea ecx, [eax + 0xf8]
jb 0x451e7d
mov edi, dword [edi]
mov eax, dword [ecx]
push edi
push 0x6806c0
push 0x676964
push ecx
call dword [eax + 0x1c]
add esp, 0x10
xor bl, bl
jmp 0x451fb7
cmp byte [ebx + 0xb8], 0
je 0x451ebf
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
lea edx, [ebp + 0xc]
push ecx
push 1
push esi
mov ecx, edi
call fcn.00422b40
add esp, 0x18
mov bl, al
jmp 0x451fb7
push 0xc
call fcn.004c568c
mov esi, eax
add esp, 4
test esi, esi
je 0x451edf
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
jmp 0x451ee1
xor esi, esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 1
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
push esi
push 0x451dd0
lea eax, [ebp - 0x28]
push eax
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00429f80
mov byte [ebp - 4], 2
push edi
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.00452f00
mov byte [ebp - 0x29], al
test al, al
je 0x451f82
cmp byte [esi + 8], 0
je 0x451f73
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401520
mov al, byte [eax]
test al, al
jne 0x451f73
cmp byte [ebx + 0xba], al
jne 0x451f73
push 0x64
call edi
cmp byte [esi + 8], 0
jne 0x451f56
mov eax, dword [esi]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 4]
mov dword [ecx], eax
push esi
call fcn.004c56c2
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x451fa0
push dword [ebp - 0x28]
call fcn.004c56c2
add esp, 4
mov bl, byte [ebp - 0x29]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x451ff5
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2a]
push ecx
push dword [ebp + 0x10]
push eax
call fcn.00418be0
push dword [ebp + 0xc]
call fcn.004c56c2
add esp, 0x14
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 0x18
Function at 0x453330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62d18e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xa4], 0
je 0x4533dc
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x4533a9
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x20], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x680cac
push 0x6d66e8
call dword [eax + 0x10]
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x4560e0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x4533be
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x680c88
push 0x680ce0
push eax
call dword [ecx + 0x20]
add esp, 0xc
xor al, al
jmp 0x4533c0
Function at 0x454280
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4542c1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4542ab
push 0xffffffffffffffff
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa4], 0
mov al, 1
pop esi
ret
Function at 0x45fe40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62eea4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], 0x67e8d0
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi], 0x682a9c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x28]
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043f330
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x30]
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c6b0
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x38]
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c6b0
mov dword [esi], eax
mov byte [ebp - 4], 0x10
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46dda0
Capabilities:
Create thread
Get number of processors
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
xor edx, edx
push 0xffffffffffffffff
mov dword [esi], 0x6850e8
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 0x18], esi
mov word [ecx], dx
call fcn.00403b10
mov dword [ebp - 4], 0
push 1
push 0x400
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0x69
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 1
call fcn.005eb46d
add esp, 8
cmp dword [esi + 0x18], 0
mov dword [esi + 0x2c], eax
je 0x46de8c
lea eax, [ebp - 0x14]
push eax
push 4
push esi
push 0x46e200
push 0
push 0
mov dword [ebp - 0x14], 0
call fcn.005eccfd
add esp, 0x18
mov dword [esi + 0x24], eax
test eax, eax
jne 0x46de7e
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x685260
push 0x6796b0
push eax
call dword [ecx + 0x24]
add esp, 0xc
mov dword [esi + 0x28], 0x64
jmp 0x46de8c
push eax
mov dword [esi + 0x28], 0x69
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 4
Function at 0x46df50
Capabilities:
Create thread
Get number of processors
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630e03
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea ecx, [edi + 8]
xor edx, edx
push 0xffffffffffffffff
mov dword [edi], 0x6850e8
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403b10
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0x1c]
inc esi
push 1
push esi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x68
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 1
call fcn.005eb46d
cmp dword [ebp + 0x20], 0x10
mov ecx, eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push esi
push ecx
mov dword [edi + 0x2c], ecx
call fcn.005ead65
add esp, 0x14
cmp dword [edi + 0x18], 0
je 0x46e056
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push 0x46e200
push 0
push 0
mov dword [ebp - 0x14], 0
call fcn.005eccfd
add esp, 0x18
mov dword [edi + 0x24], eax
test eax, eax
jne 0x46e048
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x685260
push 0x6796b0
push eax
call dword [ecx + 0x24]
add esp, 0xc
mov dword [edi + 0x28], 0x64
jmp 0x46e056
push eax
mov dword [edi + 0x28], 0x68
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x46e06e
push dword [ebp + 0xc]
call fcn.004c56c2
add esp, 4
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x46e0a0
Capabilities:
Create thread
Get number of processors
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630e43
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea ecx, [edi + 8]
xor edx, edx
push 0xffffffffffffffff
mov dword [edi], 0x6850e8
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403b10
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0x20]
mov al, byte [ebp + 0xc]
inc esi
push 1
push esi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x68
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], al
call fcn.005eb46d
cmp dword [ebp + 0x24], 0x10
mov ecx, eax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
push esi
push ecx
mov dword [edi + 0x2c], ecx
call fcn.005ead65
add esp, 0x14
cmp dword [edi + 0x18], 0
je 0x46e1a8
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push 0x46e200
push 0
push 0
mov dword [ebp - 0x14], 0
call fcn.005eccfd
add esp, 0x18
mov dword [edi + 0x24], eax
test eax, eax
jne 0x46e19a
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x685260
push 0x6796b0
push eax
call dword [ecx + 0x24]
add esp, 0xc
mov dword [edi + 0x28], 0x64
jmp 0x46e1a8
push eax
mov dword [edi + 0x28], 0x68
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x24], 0x10
jb 0x46e1c0
push dword [ebp + 0x10]
call fcn.004c56c2
add esp, 4
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 0x20
Function at 0x48de40
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6317ec
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x48deb0
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x48], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x68cb48
push 0x6d66e8
call dword [eax + 0x14]
add esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x48df2c
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x48df10
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x48], 1
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x68cba0
push 0x6d66e8
call dword [eax + 0x14]
add esp, 8
xor al, al
jmp 0x48dfc6
push 4
push 0x683208
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x48df67
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x68cd30
push eax
call dword [ecx + 0x14]
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x48dfc6
lea eax, [esp + 0x10]
push eax
push 0x24
lea eax, [esp + 0x1c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
test edi, edi
jne 0x48dfae
push 0x68cdb0
push eax
call dword [ecx + 0x14]
add esp, 8
xor al, al
jmp 0x48dfc6
push dword [esp + 0x18]
push 0x68ccd0
push eax
call dword [ecx + 0x14]
add esp, 0xc
cmp dword [esp + 0x18], 4
sete al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret