joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490030
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x49008e
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea esi, [edi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x40
mov eax, 0x48ff40
mov dword [edi + 4], ebx
sub eax, esi
push 0xd
sub eax, 0xd
push esi
mov dword [esi], 0x42444c7
mov dword [esi + 4], edi
mov byte [esi + 8], 0xe9
mov dword [esi + 9], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xd
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
mov dword [edi + 8], eax
pop ebx
pop edi
ret 4
Function at 0x4a10b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
cmp dword [edi], 0
je 0x4a10f5
lea edi, [esi + 0x44]
mov ecx, 6
mov esi, str.the_buffer_must_be_empty
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4a1178
push 0
push 0
lea ecx, [esp + 0x14]
call fcn.004a4b30
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004a4b90
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004a0cb0
lea ecx, [esp + 0xc]
test al, al
je 0x4a116b
push 1
call fcn.004a4bd0
lea ecx, [esp + 0xc]
mov dword [edi], eax
call fcn.004a4cb0
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
mov dword [edx], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004a4dd0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
mov dword [esp + 0x30], 0xffffffff
call fcn.004a4dd0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc

Function at 0x4a59c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4a59e5
cmp dword [edi + 0x54], 0
jne 0x4a59e5
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004ae44c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004a5982
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4ab689
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4ab6d0
call fcn.004ae44c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ab6d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4ab6ec
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004ab201
mov esi, eax
test edi, edi
je 0x4ab6ea
test ebx, ebx
je 0x4ab6ea
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4ac51c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x508f90
call fcn.004cb1aa
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4ac541
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4ac587
lea ecx, [ebp - 0x10]
call fcn.00405ed0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a5a8e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401020
mov eax, esi
call fcn.004cb282
ret 8

Function at 0x4b04c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4b0511
call fcn.004ae44c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4b0511
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4b0554
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4b053d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4b053d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4b0551
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4b384d
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4b3878
call fcn.004ae44c
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4b389b
push eax
push dword [esi + 4]
call fcn.004b37d3
push esi
push eax
mov ecx, 0x683c40
call fcn.004b3480
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4c57d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6503d0]
jne 0x4c57df
repz ret
jmp fcn.004d1cbc
Function at 0x4e11f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004cefe2
and dword [ebp - 4], 0
cmp dword [0x684aa8], 0
mov ebx, eax
jne 0x4e12a3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4e1354
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x62c758
push edi
call esi
test eax, eax
je 0x4e1354
push eax
call fcn.004cef70
mov dword [esp], 0x62c748
push edi
mov dword [0x684aa8], eax
call esi
push eax
call fcn.004cef70
mov dword [esp], 0x62c734
push edi
mov dword [0x684aac], eax
call esi
push eax
call fcn.004cef70
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x684ab0], eax
call esi
push eax
call fcn.004cef70
pop ecx
mov dword [0x684ab8], eax
test eax, eax
je 0x4e12a3
push 0x62c700
push edi
call esi
push eax
call fcn.004cef70
pop ecx
mov dword [0x684ab4], eax
mov eax, dword [0x684ab4]
cmp eax, ebx
je 0x4e12fb
cmp dword [0x684ab8], ebx
je 0x4e12fb
push eax
call fcn.004cefeb
push dword [0x684ab8]
mov esi, eax
call fcn.004cefeb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4e12fb
test edi, edi
je 0x4e12fb
call esi
test eax, eax
je 0x4e12f2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4e12f2
test byte [ebp - 0xc], 1
jne 0x4e12fb
or dword [ebp + 0x10], 0x200000
jmp 0x4e1334
mov eax, dword [0x684aac]
cmp eax, ebx
je 0x4e1334
push eax
call fcn.004cefeb
pop ecx
test eax, eax
je 0x4e1334
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4e1334
mov eax, dword [0x684ab0]
cmp eax, ebx
je 0x4e1334
push eax
call fcn.004cefeb
pop ecx
test eax, eax
je 0x4e1334
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x684aa8]
call fcn.004cefeb
pop ecx
test eax, eax
je 0x4e1354
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4e1356
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ef270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x4ef41a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x4ef2c8
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x4ef2db
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x4ef2ef
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x4ef336.3
jmp 0x4ef300
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x4ef30c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x4ef311
mov esi, 1
inc eax
cmp eax, edi
jl 0x4ef300
cmp si, cx
je case.0x4ef336.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x4ef336.3
movzx eax, byte [eax + 0x4ef434]
jmp dword [eax*4 + 0x4ef420]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x4ef336.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4ef350
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x4ef336.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x4ef390
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x4ef336.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x4ef3b6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x4ef336.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x4ef3e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4fa4e0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x4fa4fa
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x4fa60a
push ebp
jmp 0x4fa510
mov eax, ebx
cmp ebx, 0x15b0
jb 0x4fa51f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x4fa5cb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x4fa540
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x4fa540
test eax, eax
je 0x4fa5dd
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x4fa5d0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x4fa510
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x1000766f
Capabilities:
Get disk size

Disassembly:
push 0xb4
mov eax, 0x1022bdda
call fcn.101e81e1
mov eax, ecx
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0xbc], ebx
je 0x100077a7
cmp dword [ebp + 0x18], 3
jb 0x100077a7
xor eax, eax
lea edi, [ebp - 0x30]
push 8
pop esi
cmp dword [ebp + 0x1c], esi
mov ecx, esi
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x5c
pop esi
movzx eax, word [eax]
mov edx, eax
mov word [ebp - 0x30], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
movzx eax, word [eax + 2]
mov ecx, eax
mov word [ebp - 0x2e], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
movzx eax, word [eax + 4]
mov word [ebp - 0x2c], ax
cmp eax, 0x2f
jne 0x100076ec
mov ax, si
mov word [ebp - 0x2c], ax
cmp dx, si
je 0x100077a7
cmp ecx, 0x3a
jne 0x100077a7
cmp ax, si
jne 0x100077a7
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], ebx
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x40], ebx
push eax
lea eax, [ebp - 0x30]
mov bl, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x100077a9
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x3c]
mov ecx, eax
mov eax, edx
mul dword [ebp - 0x34]
mov esi, eax
mov eax, ecx
mul dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
add esi, edx
imul ecx, dword [ecx + 0xbc], 3
test esi, esi
ja 0x100077a9
jb 0x1000775d
cmp eax, ecx
jae 0x100077a9
push 0xcd
lea ecx, [ebp - 0xc0]
call fcn.100bbff0
mov dword [ebp - 0xc0], vtable.RC::RCWidgetMessageBox.1.0
mov dword [ebp - 0xa0], vtable.RC::RCWidgetMessageBox.0
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xc0]
call fcn.100bc180
lea ecx, [ebp - 0xc0]
call fcn.10008fbe
xor bl, bl
jmp 0x100077a9
mov bl, 1
lea ecx, [ebp + 8]
call fcn.10005e33
mov al, bl
call fcn.101e819c
ret 0x18
Function at 0x1000a15a
Capabilities:
Query service status
Start service

Disassembly:
push 0x68
mov eax, 0x1022c1cb
call fcn.101e81e1
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x6c], esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x70], 0x14
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
xor eax, eax
and dword [ebp - 0x18], 0
push str.2345SafeSvc
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10005e61
xor eax, eax
or esi, 1
push 1
push eax
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x74], esi
test esi, esi
je 0x1000a207
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 4
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1000a207
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push dword [ebp - 0x68]
test eax, eax
je 0x1000a202
mov esi, dword [ebp - 0x58]
call edi
push dword [ebp - 0x74]
call edi
cmp esi, 4
je 0x1000a207
mov byte [ebp - 0x61], 1
jmp 0x1000a20b
call edi
push esi
call edi
mov byte [ebp - 0x61], 0
or esi, 0xffffffff
mov dword [ebp - 4], esi
and dword [ebp - 0x6c], 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.10005e33
cmp byte [ebp - 0x61], 0
mov dword [ebp - 4], esi
je 0x1000a2d0
xor eax, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push str.2345SafeSvc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10005e61
push 0xf003f
push 0
push 0
mov dword [ebp - 4], 5
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x1000a2a2
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0xf01ff
cmovae ecx, dword [ebp - 0x40]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1000a29f
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x68]
call edi
push esi
call edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 6
call fcn.10005e33
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x1000a313
dec eax
push 0x64
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x6c]
jmp 0x1000a17b
cmp dword [ebx + 0x14], 8
jb 0x1000a2d8
mov ebx, dword [ebx]
push ecx
push 0
push ebx
lea ecx, [ebp - 0x60]
call fcn.1007bbc0
mov dword [ebp - 4], 0xa
cmp byte [ebp - 0x5c], 0
je 0x1000a308
cmp dword [ebp - 0x60], 0
je 0x1000a300
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x60]
call fcn.1007be80
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], esi
call fcn.1007be10
call fcn.101e819c
ret 4
Function at 0x1000a3f4
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x1022c1fd
call fcn.101e81ad
mov edi, ecx
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x14]
cmp eax, 0x131
jne 0x1000a43e
cmp dword [edi + 0xbc], 5
jae 0x1000a41f
call fcn.1000e972
jmp 0x1000a48a
mov esi, 0x132
xor edx, edx
mov ecx, esi
call fcn.1000e9d0
push esi
mov ecx, edi
call fcn.1000a910
mov ecx, edi
call fcn.1000acf3
jmp 0x1000a48a
cmp eax, 0x132
jne 0x1000a540
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x166
call fcn.1000ea92
push 0x41001
push 0x10277774
push 0x10277780
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
cmp eax, 2
jne 0x1000a490
call fcn.1000eb1a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.101e8187
ret
inc ecx
call fcn.1000eb1a
cmp dword [edi + 0xbc], 5
jb 0x1000a418
lea ebx, [edi + 0x90]
cmp dword [ebx], 0
jne 0x1000a48a
lea eax, [edi + 0xb8]
push eax
push 0x164
lea ecx, [edi + 0x24]
mov byte [eax], 0
call fcn.100b8cf0
push 0x133
mov ecx, edi
call fcn.1000a910
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push 0x7e8
push dword [edi + 4]
mov dword [edi + 0xd0], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xc
call fcn.101e74f1
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov ecx, eax
push edi
push 0x1000a7e8
call fcn.10079750
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.100089cd
mov ecx, dword [ebx]
call fcn.100799a0
push 0x64
push 0x66
lea ecx, [edi + 0x24]
call fcn.100c3740
jmp 0x1000a48a
cmp eax, 0x133
jne 0x1000a481
lea ecx, [eax + 0x68]
call fcn.1000eb7d
mov ecx, edi
call fcn.1000a948
push 0x134
mov ecx, edi
call fcn.1000a910
jmp 0x1000a48a
Function at 0x1000c424
Capabilities:
Read file on windows

Disassembly:
call fcn.1000d962
mov ecx, eax
jmp 0x1000c93f
push 0x44c
mov eax, 0x1022c622
call fcn.101e81e1
mov esi, ecx
lea ecx, [ebp - 0x450]
call fcn.1001c560
push 7
pop edi
xor ebx, ebx
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], ebx
xor eax, eax
push str.2345PCSafe
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], edi
mov word [ebp - 0x438], ax
call fcn.10005e61
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x450]
call fcn.1001c5b0
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.10005e33
test esi, esi
jne 0x1000c9c0
lea ecx, [ebp - 0x450]
call fcn.10020b70
jmp 0x1000cac4
cmp esi, 1
jne 0x1000c9d5
lea ecx, [ebp - 0x450]
call fcn.10020d50
jmp 0x1000cac4
cmp esi, 2
jne 0x1000cac4
push 0x410
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.101ffde0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x207
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], edi
push eax
call fcn.10005e61
push 0x10277a7c
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.1000b885
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push ebx
cmovae eax, dword [ebp - 0x438]
push 0x80
push 3
push ebx
push 1
push accept
push eax
mov dword [ebp - 0x454], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000caa8
push ebx
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], ebx
push eax
push 4
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
push esi
sbb eax, eax
and dword [ebp - 0x454], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x454]
lea ecx, [ebp - 0x450]
call fcn.10020ee0
lea ecx, [ebp - 0x438]
call fcn.10005e33
lea ecx, [ebp - 0x450]
call fcn.10018960
call fcn.101e819c
ret
Function at 0x1000d4b0
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x1022c76d
call fcn.101e81ad
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 4]
test eax, eax
je 0x1000d4e7
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d4e7
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000d4e3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi + 4], 0
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
sub esp, 0xc
movups xmmword [ebp - 0x28], xmm0
call fcn.1000d56b
push 0x80
call fcn.101e74f1
mov ebx, eax
mov dword [ebp - 0x18], ebx
and dword [ebp - 4], 0
mov ecx, ebx
mov dword [esp], 0x191
call fcn.100b61f0
mov byte [ebp - 4], 1
sub esp, 0x10
or dword [ebp - 4], 0xffffffff
mov edi, esp
mov dword [ebx + 0x7c], esi
mov dword [ebx], vtable.RC::RCDownloadDlg.1.0
mov dword [ebx + 0x24], vtable.RC::RCDownloadDlg.0
mov dword [esi + 4], ebx
lea esi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
push 0x80
push accept
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100b6540
mov eax, dword [ebp - 0x14]
push 4
mov eax, dword [eax + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.101e8187
ret