joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4d0084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
cmp dword [esi + 4], 0
jne 0x445d92
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x445da4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x445da4
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebx]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x445dd7
mov ecx, dword [ebx]
push 0
push 0x2719
push edi
call fcn.004124a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004785e6
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x445dff
mov ecx, dword [ebx]
push 0
push 0
push edi
call fcn.004124a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004785e6
mov esp, ebp
pop ebp
ret 0x14
push edi
lea ecx, [ebp - 8]
mov dword [edi + 8], 0
push ecx
mov dword [edi + 0xc], 0
push dword [eax + 4]
mov dword [ebp - 8], 0
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x445e5f
cmp eax, 0x3e5
je 0x445e5f
cmp eax, 0xea
je 0x445e5f
push dword [ebp - 8]
mov ecx, dword [ebx]
push eax
push edi
call fcn.004124a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004785e6
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push edi
call fcn.00412520
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004785e6
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4475f0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x18], ebx
xor edi, edi
lea esi, [ebx + 0x15]
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x158], edx
inc edi
cmp edi, 0x10
jb 0x447610
lea edx, [ebp - 0x150]
mov esi, 0x40
nop word [eax + eax]
mov eax, dword [edx + 0x2c]
lea edx, [edx + 4]
xor eax, dword [edx + 0x14]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
mov ecx, eax
add eax, eax
shr ecx, 0x1f
xor ecx, eax
mov dword [edx + 0x34], ecx
sub esi, 1
jne 0x447650
mov eax, dword [ebx]
mov edi, eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x447693
mov edi, dword [ebp - 8]
cmp ebx, 0x14
jae 0x4476ad
mov eax, edx
mov dword [ebp - 4], 0x5a827999
not eax
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x4476e2
cmp ebx, 0x28
jae 0x4476bb
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x4476dc
cmp ebx, 0x3c
jae 0x4476d5
mov eax, esi
mov dword [ebp - 4], 0x8f1bbcdc
or eax, edx
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x4476e2
mov dword [ebp - 4], 0xca62c1d6
mov eax, ecx
xor eax, esi
xor eax, edx
mov ecx, dword [ebp - 8]
shr edi, 0x1b
shl ecx, 5
xor edi, ecx
mov ecx, esi
add edi, dword [ebp + ebx*4 - 0x158]
inc ebx
add edi, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 0x10]
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, edx
shr edx, 2
shl esi, 0x1e
xor esi, edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 8], edi
cmp ebx, 0x50
jb 0x447690
mov eax, dword [ebp - 0x14]
add eax, edi
mov edi, dword [ebp - 0x18]
add dword [edi + 8], esi
add dword [edi + 4], edx
add dword [edi + 0xc], ecx
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447960
Capabilities:
Generate random numbers via winapi
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4d0084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x88], 0x67452301
mov dword [ebp - 0x84], 0xefcdab89
mov dword [ebp - 0x80], 0x98badcfe
mov dword [ebp - 0x7c], 0x10325476
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x78], 0xc3d2e1f0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x4479d9
lea ecx, [ebp - 0x20]
push ecx
push 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0x14
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x88]
call fcn.00447530
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
push 4
lea eax, [ebp - 0x24]
push eax
call fcn.00447530
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
push 4
lea eax, [ebp - 0x24]
push eax
call fcn.00447530
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x88]
call fcn.00447530
push 0
call fcn.0048c91c
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x88]
push 8
push eax
call fcn.00447530
push 0x14
push 0x53aa6c
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x24], 0x53aa6c
call fcn.00447530
push 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x88]
call fcn.00447530
call fcn.0048ca25
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x88]
push 4
lea eax, [ebp - 0x10]
push eax
call fcn.00447530
call fcn.0048ca87
mov dword [ebp - 0x18], eax
call fcn.0048ca87
mov dword [ebp - 0x14], eax
call fcn.0048ca87
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x88]
push 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.00447530
push 4
call fcn.004785f7
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push 4
push eax
call fcn.00447530
push 4
push dword [ebp - 0x10]
call fcn.00478627
add esp, 8
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push 4
push eax
call fcn.00447530
push 4
push fcn.0048ca87
lea ecx, [ebp - 0x88]
call fcn.00447530
push 0x14
push esi
lea ecx, [ebp - 0x88]
call fcn.00447530
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x88]
call fcn.00447750
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
xor dword [ecx], eax
xor dword [esi], eax
mov eax, dword [ebp - 0x1c]
xor dword [ecx + 4], eax
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
xor dword [ecx + 8], eax
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ecx + 0xc], eax
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
xor dword [esi + 0x10], eax
xor ecx, ebp
pop esi
call fcn.004785e6
mov esp, ebp
pop ebp
ret
Function at 0x448f90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, ecx
sub edi, ebx
jne 0x448fa8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
cmp edi, 0xffffffff
jne 0x448fb9
call fcn.004490f0
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
lea ecx, [edi + 1]
or eax, 0xffffffff
xor edx, edx
div ecx
cmp edx, edi
lea ecx, [eax + 1]
cmovne ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x9c0]
cmp ecx, 0x270
jne 0x448fe9
mov ecx, esi
call fcn.00449450
mov ecx, dword [esi + 0x9c0]
mov edx, dword [esi + ecx*4]
mov eax, edx
shr eax, 0xb
inc ecx
xor edx, eax
mov dword [esi + 0x9c0], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
xor edx, edx
div dword [ebp + 8]
cmp eax, edi
ja 0x448fd4
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
Function at 0x449450
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
cmp dword [0x4d5a90], 2
jl 0x4494d0
movaps xmm3, xmmword [0x4bed00]
mov eax, 1
movaps xmm4, xmmword [0x4bed20]
movaps xmm6, xmmword [0x4bed30]
movaps xmm7, xmmword [0x4becc0]
movd xmm5, eax
movups xmm1, xmmword [ecx + esi*4 + 4]
movups xmm2, xmmword [ecx + esi*4]
movaps xmm0, xmm3
pand xmm0, xmm1
pand xmm2, xmm4
por xmm2, xmm0
movaps xmm0, xmm7
pand xmm0, xmm1
psrld xmm2, xmm5
pmulld xmm0, xmm6
pxor xmm2, xmm0
movups xmm0, xmmword [ecx + esi*4 + 0x634]
pxor xmm2, xmm0
movups xmmword [ecx + esi*4], xmm2
add esi, 4
cmp esi, 0xdc
jb 0x449481
cmp esi, 0xde
jae 0x449502
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 + 0x634]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0xde
jb 0x4494d0
mov edx, dword [ecx + 0x378]
mov esi, dword [ecx + 0x380]
push edi
mov edi, dword [ecx + 0x37c]
xor edx, edi
and edx, 0x7ffffffe
mov eax, edi
xor edx, dword [ecx + 0x378]
and eax, 1
shr edx, 1
imul eax, eax, 0x9908b0df
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9ac]
and eax, 1
mov dword [ecx + 0x378], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
mov edi, dword [ecx + 0x384]
shr edx, 1
xor edx, eax
mov eax, edi
xor edx, dword [ecx + 0x9b0]
and eax, 1
mov dword [ecx + 0x37c], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, esi
mov esi, dword [ecx + 0x388]
shr edx, 1
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9b4]
and eax, 1
mov dword [ecx + 0x380], edx
mov edx, esi
xor edx, edi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
shr edx, 1
pop edi
xor edx, eax
mov eax, dword [ecx + 0x38c]
xor edx, dword [ecx + 0x9b8]
mov dword [ecx + 0x384], edx
mov edx, eax
xor edx, esi
and eax, 1
and edx, 0x7ffffffe
imul eax, eax, 0x9908b0df
xor edx, esi
mov esi, 0xe3
shr edx, 1
xor edx, eax
xor edx, dword [ecx + 0x9bc]
mov dword [ecx + 0x388], edx
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 - 0x38c]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0x26f
jb 0x4495f0
mov edx, dword [ecx + 0x9bc]
mov eax, dword [ecx]
xor edx, eax
and edx, 0x7ffffffe
mov dword [ecx + 0x9c0], 0
xor edx, dword [ecx + 0x9bc]
and eax, 1
imul eax, eax, 0x9908b0df
shr edx, 1
pop esi
xor edx, eax
xor edx, dword [ecx + 0x630]
mov dword [ecx + 0x9bc], edx
ret
Function at 0x44e6b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ca778
push 0x479da0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d0084]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov edx, 0x53a578
nop dword [eax]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
sete al
test al, al
jne 0x44e714
inc esi
add edx, 4
cmp edx, 0x53a708
jl 0x44e6f0
xor esi, esi
jmp 0x44e71d
shl esi, 0xc
add esi, 0x4d6578
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0xffffffff
test esi, esi
jne 0x44e75d
mov edx, 0x53a578
mov ecx, 0x4d6578
mov esi, 0x64
nop word [eax + eax]
test ecx, ecx
jne 0x44e748
xor eax, eax
xchg dword [edx], eax
add ecx, 0x1000
add edx, 4
sub esi, 1
jne 0x44e740
xor eax, eax
jmp 0x44e839
mov dword [ebp - 4], 0
call fcn.0044e150
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, 0xffffffff
je 0x44e828
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x26]
push ecx
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
push str.__04u__02u__02u__02u:_02u:_02u._04u_t_
push 0x800
push esi
call fcn.0044ddc0
add esp, 0x28
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44e7c0
sub edx, ecx
push 0
lea eax, [ebp - 0x24]
push eax
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, ebx
call fcn.0044e0f0
mov ebx, eax
test ebx, ebx
je 0x44e80f
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44e7f0
sub ecx, edx
push 0
lea eax, [ebp - 0x24]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov word [ebp - 0x20], 0xa0d
push 0
lea eax, [ebp - 0x24]
push eax
push 2
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xfffffffe
call fcn.0044e85b
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004785e6
mov esp, ebp
pop ebp
ret
Function at 0x44e880
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x53a710]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test dword [ebp + 8], eax
je 0x44e8e2
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x53a70c]
ja 0x44e8e2
mov edi, 0x53aa10
mov ecx, edi
call fcn.0041ccd0
call fcn.0044e080
mov esi, eax
test esi, esi
jne 0x44e8ea
mov eax, connect
lock xadd dword [edi], eax
test eax, 0x40000000
jne 0x44e8e2
cmp eax, 0x80000000
jle 0x44e8e2
lock bts dword [edi], 0x1e
jb 0x44e8e2
mov ecx, edi
call fcn.0041cc40
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
lea eax, [ebp + 0x20]
push eax
push ecx
push dword [ebp + 0x1c]
push ecx
mov ecx, esi
call fcn.0044ed10
add esp, 0x10
call fcn.0044e080
mov edi, eax
test edi, edi
jne 0x44e921
mov ecx, esi
call fcn.0044e0c0
mov ecx, 0x53aa10
call fcn.0041bab0
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [0x4d0a44], 0
jne 0x44e931
mov eax, str.empty
jmp 0x44e944
cmp dword [0x4d0a48], 8
mov eax, 0x4d0a34
cmovae eax, dword [0x4d0a34]
push esi
push dword [ebp + 0x14]
push ebx
push eax
push str.__s_t___S:_d_t___s
push 0x800
push edi
call fcn.0044dd40
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [ebp + 0x18], 0
jne 0x44e973
cmp dword [0x53a70c], 1
jne 0x44e97a
mov ecx, edi
call fcn.0044e6b0
mov ecx, esi
call fcn.0044e0c0
mov ecx, edi
call fcn.0044e0c0
mov ecx, 0x53aa10
call fcn.0041bab0
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
pop ebp
ret
Function at 0x452e20
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a987b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4d0084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], ax
push 0xf003f
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x452e8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x452fa5
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452eb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004472e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.SAMSUNG_Mobile_Connectivity_Service_V2
push str.ss_conn_service2
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x452f5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x4d0a10]
cmp eax, 0x4d0a10
je 0x452f4a
test byte [eax + 0x1c], 1
je 0x452f4a
cmp byte [eax + 0x19], 3
jb 0x452f4a
push esi
push dword [eax + 0x14]
mov edx, 0x4be7ac
mov ecx, 0x23
push dword [eax + 0x10]
call fcn.00401960
add esp, 0xc
push esi
push str.CreateService_Failed__08x_n
call fcn.00459f60
add esp, 8
jmp 0x452f9e
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [0x4d0a10]
cmp eax, 0x4d0a10
je 0x452f91
test byte [eax + 0x1c], 1
je 0x452f91
cmp byte [eax + 0x19], 3
jb 0x452f91
push dword [eax + 0x14]
mov edx, 0x4be7ac
mov ecx, 0x24
push dword [eax + 0x10]
call fcn.00401940
add esp, 8
push str.CreateService_Succeed_n
call fcn.00459f60
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x452fe1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ffe
push edx
push ecx
call fcn.00478627
add esp, 8
mov eax, esi
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.004785e6
mov esp, ebp
pop ebp
ret
call fcn.004836a9
int3
Function at 0x453880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a991f
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4d0084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
xor eax, eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x28], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 7
mov word [ebx + 0x2c], ax
mov byte [ebp - 4], 2
lea edi, [ebx + 0x48]
mov byte [ebx + 0x44], 0xff
push 8
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004785f7
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.0045b34f
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.boost::io::basic_altstringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [edi + 0x38], 0
mov byte [edi + 0x3c], 0
mov dword [edi + 0x40], 3
mov byte [ebx + 0x90], 0
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test edx, edx
je 0x453a4e
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4539f0
sub eax, esi
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push edx
call fcn.004472e0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.004545b0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x453a4e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453a44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453a64
push edx
push ecx
call fcn.00478627
add esp, 8
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
call fcn.004836a9
int3
Function at 0x453a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9950
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d0084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
sub esi, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x453ad6
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00459d40
mov eax, dword [ebp - 0x34]
jmp 0x453c2f
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
cmp edx, eax
jge 0x453aea
test byte [ecx + 0x44], 2
jne 0x453c4c
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
mov ecx, dword [ecx + 0x3c]
test esi, esi
je 0x453b2d
nop dword [eax]
add ecx, dword [edi + 0x14]
cmp dword [edi], 0xfffffffe
jne 0x453b22
mov eax, dword [edi + 0x38]
cmp ecx, eax
cmovae eax, ecx
mov ecx, eax
add ecx, dword [edi + 0x2c]
add edi, 0x78
sub esi, 1
jne 0x453b10
push ecx
lea ecx, [ebp - 0x28]
call fcn.00444090
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x40], 8
lea ecx, [esi + 0x2c]
jb 0x453b45
mov ecx, dword [esi + 0x2c]
push dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00459bb0
mov edi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, 0x88888889
mov ecx, dword [esi + 4]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x453c09
xor eax, eax
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
add eax, edi
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x453b8e
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00459bb0
mov eax, dword [ebp - 0x2c]
cmp dword [edi + eax], 0xfffffffe
jne 0x453bc2
mov ecx, dword [edi + eax + 0x38]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jbe 0x453bc2
movzx eax, word [edi + eax + 0x48]
sub ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004544f0
mov eax, dword [ebp - 0x2c]
add eax, edi
cmp dword [eax + 0x30], 8
lea ecx, [eax + 0x1c]
jb 0x453bd0
mov ecx, dword [eax + 0x1c]
push dword [eax + 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00459bb0
mov ecx, dword [esi + 4]
mov eax, 0x88888889
mov edi, dword [esi]
sub ecx, edi
inc dword [ebp - 0x30]
add dword [ebp - 0x2c], 0x78
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
jb 0x453b80
mov eax, dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x28]
mov byte [esi + 0x28], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
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.004785e6
mov esp, ebp
pop ebp
ret 4
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00459c40
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00454aa0
int3