joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401260
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
sub esp, 0x60
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0
call fcn.004011c0
add esp, 4
test eax, eax
jne 0x401281
pop esi
add esp, 0x60
ret
mov ecx, 0x10
lea eax, [esp + 8]
lea ebx, [ebx]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x401290
mov ecx, 0x44
lea eax, [esp + 0x18]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x4012a4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x38], 0x44
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
pop esi
add esp, 0x60
ret

Function at 0x111a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0111a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x111a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111a06a
add dl, dl
jne 0x111a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111a0dc
xor eax, eax
add dl, dl
jne 0x111a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111a17d
add dl, dl
jne 0x111a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x111a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x111a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x111a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x111a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x111a075
mov eax, 1
add dl, dl
jne 0x111a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x111a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x111a0e1
sub eax, ebx
mov ebx, 1
jne 0x111a128
mov ecx, 1
add dl, dl
jne 0x111a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x111a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x111a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x111a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x111a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x111a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x111a136
cmp eax, 0x7d00
jae 0x111a16d
cmp eax, 0x500
jb 0x111a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x111a075
cmp eax, 0x7f
ja 0x111a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x111a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x111a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x111a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x404e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404e8b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404e8b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404e78
cmp esi, edx
jae 0x404e8b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404e66
cmp esi, edx
jae 0x404e8b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x417ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a0d7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4c0180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [edi], vtable.FastObserver::EventListener.0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
push 0x14
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00470c26
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.00418cb0
mov dword [ebp - 4], 2
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
add edi, 0x30
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], 0
mov byte [edi + 4], 0
mov eax, dword [ebp - 0x14]
movq qword [eax + 0x38], xmm0
push 0x30
lea esi, [eax + 0x44]
mov byte [ebp - 4], 5
push 0
push esi
mov byte [eax + 0x40], 0
call fcn.00473110
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [esi + 0xc], xmm0
lea eax, [ebp - 0x18]
add esp, 0xc
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi], 2
mov dword [esi + 0x2c], 0
call fcn.00418db0
mov edx, eax
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 0x18], edx
cmp edi, edx
je 0x41805e
mov ecx, dword [edi]
test ecx, ecx
je 0x41804e
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x41804e
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x418045
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x418049
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [edx], 0
mov dword [edi], eax
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x418081
lock xadd dword [ecx + 4], esi
dec esi
jne 0x418081
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x41807b
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x41807f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x418097
cmp byte [edi + 4], 0
je 0x418093
cmp byte [eax + 0x6c], 0
jne 0x418097
mov cl, 1
jmp 0x418099
xor cl, cl
mov edx, dword [ebp - 0x14]
lea eax, [edx + 0x40]
xchg byte [eax], cl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x418580
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a16d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c0180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x44]
push esi
mov dword [ebp - 0x18], esi
call fcn.00459154
add esp, 4
test eax, eax
jne 0x4186e0
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x4186e7
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
call dword [eax + 8]
mov edx, eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov eax, edx
shr eax, 8
movzx ecx, dl
xor ecx, 0x811c9dc5
movzx eax, al
imul ecx, ecx, 0x1000193
mov dword [ebp - 0x10], edx
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 4]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418fa0
mov eax, dword [eax + 4]
test eax, eax
jne 0x418640
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 0x14]
je 0x4186c3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea ecx, [edi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00418c10
xor edx, edx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
mov ecx, dword [ebx]
cmp ecx, ebx
je 0x4186a5
mov edx, dword [ebp + 8]
mov edi, dword [ecx]
cmp dword [ecx + 8], edx
jne 0x41869c
dec dword [eax + 4]
mov edx, dword [ecx]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, edi
cmp edi, ebx
jne 0x418674
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4186c3
nop dword [eax]
mov edi, dword [edx]
push 0xc
push edx
call fcn.00470c18
add esp, 8
mov edx, edi
test edi, edi
jne 0x4186b0
push esi
call fcn.00459165
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.004593a6
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.004593a6
int3
Function at 0x418770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, dl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 8]
push edi
lea edi, [ecx + 4]
imul ecx, eax, 0x1000193
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
sar eax, 0x10
movzx eax, al
sar edx, 0x18
xor ecx, eax
movzx eax, dl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418fa0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4187d7
mov eax, dword [edi + 4]
cmp eax, esi
je 0x418819
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00418b90
mov ecx, edi
mov esi, dword [eax]
lea eax, [ebp + 8]
push eax
mov esi, dword [esi]
call fcn.00418b90
cmp esi, dword [eax]
je 0x418819
nop dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00418b90
cmp esi, dword [eax]
jne 0x418800
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x418b90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
je 0x418c03
mov ecx, dword [edi]
mov edx, dword [edx]
pop edi
pop esi
cmp ecx, dword [eax + 8]
je 0x418bfc
nop word [eax + eax]
cmp eax, edx
je 0x418c03
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x418bf0
add eax, 0xc
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.0045833f
int3
Function at 0x419390
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x4194ea
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00418cb0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x4194bd
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x419443
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x4194b3
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x41947d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x419475
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x4194b0
cmp edi, edx
je 0x41948d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x4194c6
cmp edi, edx
jne 0x419481
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x4193f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x4194b0
push str.invalid_hash_bucket_count
call fcn.0045831f
int3
Function at 0x41c110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x41c13b
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41c124
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret

Function at 0x41e5f0
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ad26
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc
push esi
mov eax, dword [0x4c0180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
mov dword [ebp - 0x18], 0x4c5f90
mov dword [0x4c5f90], 0
mov dword [0x4c5f94], 0
mov dword [0x4c5f98], 0
mov dword [0x4c5f9c], 0
mov dword [0x4c5fa0], 0
call fcn.00470c26
mov dword [eax + 4], 0
mov dword [0x4c5f90], eax
mov dword [eax], 0x4c5f90
push 0x30
push 0
push 0x4c5fa4
mov dword [ebp - 4], 0
call fcn.00473110
xorps xmm0, xmm0
mov dword [0x4c5fc8], 0
movq qword [0x4c5fd4], xmm0
add esp, 0x10
movups xmmword [0x4c5fb0], xmm0
mov dword [0x4c5fa8], 0
movq qword [0x4c5fc0], xmm0
mov dword [0x4c5fac], 0
mov dword [0x4c5fcc], 0xffffffff
mov dword [0x4c5fa4], 2
mov dword [0x4c5fd0], 0
mov dword [0x4c5fd4], 0
mov byte [0x4c5fd8], 0
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 1
mov byte [0x4c5fdc], 0
mov dword [0x4c5fe0], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004046a0
add eax, 0x10
mov dword [0x4c5fe4], eax
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004046a0
add eax, 0x10
mov dword [0x4c5fe8], eax
mov byte [ebp - 4], 3
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x41e7f3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.WinHTTP_1.0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004044c0
test al, al
jne 0x41e782
push 0xb
push str.WinHTTP_1.0
lea ecx, [ebp - 0x14]
call fcn.004047f0
push 0
push 0
push 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [0x4c5fe0], eax
test eax, eax
je 0x41e7bc
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e7d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041e810
mov eax, 0x4c5f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80004005
call fcn.00404f30
int3
Function at 0x41f6c0
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49aeed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c0180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [eax + 0x50]
xor ebx, ebx
test edx, edx
je 0x41f7ec
mov edi, dword [ebp + 8]
push ebx
push 0x1bb
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], ebx
cmove eax, dword [0x4c5ed0]
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41f7ec
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x41f86d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov edi, dword [edi + 0x14]
mov esi, dword [0x4c5ecc]
cmp dword [edi - 0xc], ebx
cmove edi, dword [0x4c5ed4]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x58]
push dword [eax + 0x54]
lea eax, [ebp - 0x14]
push edi
push esi
push eax
call fcn.00404a60
mov esi, dword [ebp - 0x14]
add esp, 0x2c
push 0x800000
push ebx
push ebx
push ebx
push esi
push 0x4ad88c
push dword [ebp - 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x41f802
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x41f802
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x10]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f7ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f821
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x41f852
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ebx, eax
test ebx, ebx
je 0x41f84f
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
push edi
call esi
push dword [ebp - 0x10]
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404f30
int3
Function at 0x420f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b060
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x4c0180]
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], 0
mov dword [edi + 8], vtable.FastCore::TrialController.0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0xff
mov dword [edi + 0x18], 0x708
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x708
mov dword [edi + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
lea ecx, [edi + 0x40]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov byte [edi + 0x38], 0
call fcn.00438650
mov dword [ebp - 4], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x224], xmm0
mov dword [edi + 0x224], 0
mov byte [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov byte [edi + 0x230], 0
push 0x30
lea esi, [edi + 0x234]
mov byte [ebp - 4], 3
push 0
push esi
call fcn.00473110
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esi + 0xc], xmm0
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi], 2
mov dword [esi + 0x2c], 0
lea esi, [edi + 0x264]
mov dword [ebp - 0x18], esi
lea edi, [esi + 4]
mov dword [esi], vtable.FastService::FastSrvController.0
mov dword [ebp - 0x18], edi
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x421138
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x4adb98
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004044c0
test al, al
jne 0x4210e3
push 7
push 0x4adb98
mov ecx, edi
call fcn.004047f0
push 0xf003f
push 0
push 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esi + 8], eax
test eax, eax
je 0x421118
push 0xf003f
push dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 5
call fcn.004218f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404f30
int3
Function at 0x421150
Capabilities:
Modify service
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4c0180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x234]
push esi
call fcn.00459154
add esp, 4
test eax, eax
jne 0x42128f
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x421296
mov eax, dword [edi + 0x270]
test eax, eax
je 0x421274
cmp byte [ebp + 8], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
je 0x421209
push 2
push 0xffffffffffffffff
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea eax, [ebp - 0x50]
mov dword [ebp - 8], 0
push eax
push 0x24
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], 0
push eax
push 0
push dword [edi + 0x270]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x421274
cmp dword [ebp - 0x24], 4
je 0x421274
push 0
push 0
push dword [edi + 0x270]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x421274
push 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], 0
push eax
push 0x24
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push eax
push 0
push dword [edi + 0x270]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x421274
cmp dword [ebp - 0x48], 4
jne 0x421274
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
push 1
push dword [edi + 0x270]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call fcn.00459165
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.00470c0a
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.004593a6
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.004593a6
int3