joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c45d9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.00429c40
add esp, 4
mov esi, eax
push 0x4eb440
mov edx, edi
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x30]
call fcn.004279c0
add esp, 4
push esi
mov edx, eax
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x18]
call fcn.00424580
add esp, 4
push str._is_not_a_valid_key_length
mov edx, eax
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x48]
call fcn.0041fe30
add esp, 4
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004197d0
cmp dword [esp + 0x58], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
jb 0x429ed5
push dword [esp + 0x44]
call esi
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x429efa
push dword [esp + 0x14]
call esi
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x429f1f
push dword [esp + 0x2c]
call esi
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x429f44
push dword [esp + 0x5c]
call esi
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidKeyLength.0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0046bea8
add esp, 0x74
ret 8
Function at 0x42a1b0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, esi
xor eax, eax
shr edi, 2
mov ebp, ecx
test edi, edi
je 0x42a1e8
mov esi, ebp
mov dword [esp + 0x10], edi
mov ecx, edx
sub esi, edx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
dec edi
jne 0x42a1d2
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shl eax, 2
sub esi, eax
jne 0x42a1fc
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret
add ebp, eax
add edx, eax
mov ecx, ebx
mov eax, ebx
shr ecx, 0x18
shr eax, 0x10
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or cl, bl
test esi, esi
je 0x42a22e
sub ebp, edx
jmp 0x42a220
mov al, byte [edx + ebp]
lea edx, [edx + 1]
xor al, byte [edx - 1]
or cl, al
dec esi
jne 0x42a220
pop edi
xor eax, eax
test cl, cl
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret

Function at 0x42a4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c3bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x3d
push str.DefaultDecryptor:_cannot_decrypt_message_with_this_passphrase
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00419a20
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
mov byte [esp + 0x30], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 3
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004197d0
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::DefaultDecryptor::Err.0
jb 0x42a578
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::DefaultDecryptor::KeyBadErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046bea8
add esp, 0x2c
ret
Function at 0x42a5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c3bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x29
push str.DefaultDecryptorWithMAC:_MAC_check_failed
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00419a20
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
mov byte [esp + 0x30], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 3
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004197d0
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::DefaultDecryptor::Err.0
jb 0x42a658
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::DefaultDecryptorWithMAC::MACBadErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046bea8
add esp, 0x2c
ret
Function at 0x42f410
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + 0x4ed5b0]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x5053b0], ecx
mov dword [eax*8 + 0x5053b4], edx
inc eax
cmp eax, 0x100
jl 0x42f414
xorps xmm0, xmm0
pop edi
movlpd qword [0x505bb8], xmm0
movlpd qword [0x505bb0], xmm0
mov byte [0x5053ad], 1
pop esi
ret

Function at 0x42f480
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x4ed4b0]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x5060a0], eax
mov dword [edx*8 + 0x5060a4], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x42f490
pop edi
pop esi
pop ebp
mov byte [0x5053ac], 1
pop ebx
add esp, 0x10
ret
Function at 0x430cc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x430d0e
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movdqa xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movdqa xmmword [eax], xmm0
dec edx
jne 0x430cf0
movdqa xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430d30
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqa xmm1, xmmword [eax]
movdqa xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movdqa xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movdqa xmm0, xmmword [esi]
pxor xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edi, 1
jbe 0x430de5
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
jmp 0x430da0
dec dword [esp + 0xc]
lea edi, [edi + 0x10]
movdqa xmm1, xmmword [edi - 0x10]
movdqa xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenc xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenc xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x430da0
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movdqa xmm0, xmmword [ecx]
movdqa xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenclast xmm0, xmm1
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4c18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x434df4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004198f0
lea ecx, [edi + 4]
lea eax, [ebp + 0xc]
cmp ecx, eax
je 0x434e08
push 0xffffffffffffffff
push 0
push eax
call fcn.004198f0
mov eax, dword [ebp + 0x24]
mov dword [edi + 0x64], eax
cmp dword [esi + 0x14], 8
jb 0x434e16
mov esi, dword [esi]
push esi
push str.InitReport_m_strReportUrl_s
push 0xcb
push str.ReportUtil.cpp
call fcn.004c27e0
add esp, 0x10
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push edi
push 0x435090
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov dword [edi + 0x4c], eax
push 0xffffffffffffffff
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
cmp dword [ebp + 0x20], 8
jb 0x434e7d
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x435a00
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov dword [ebp - 4], ecx
push ebx
push ebx
mov edi, edx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x435a2b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push str.COM_Infrastructure
push dword [ebp - 4]
push 1
push 2
push 0x110
push 0xf01ff
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x435a74
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435b60
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, ecx
call edi
push 0xf003f
push 0
push 0
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x435cb9
push 0x124
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x435bc6
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x435cab
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x435cab
cmp eax, 3
jne 0x435c5d
mov ecx, 0x2710
jmp 0x435c00
mov eax, 0xcccccccd
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x435c1a
mov edx, 0x3e8
jmp 0x435c23
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x435cab
cmp dword [ebp - 0x24], 1
je 0x435cab
call edi
sub eax, ebx
cmp eax, 0x2710
ja 0x435cab
cmp dword [ebp - 0x24], 3
mov ecx, 0x2710
je 0x435c00
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x435cab
cmp dword [ebp - 0x24], 1
je 0x435cab
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x435cab
cmp dword [ebp - 0x24], 1
je 0x435cab
call edi
sub eax, ebx
cmp eax, 0x2710
ja 0x435cab
cmp dword [ebp - 0x24], 1
jne 0x435c74
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
Function at 0x435cd0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x104
push esi
push 0x505bd0
call dword [sym.imp.MSVCR120.dll_wcsncpy]
add esp, 0xc
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x435d24
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
push edi
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x435d48
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
jmp 0x435da5
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x435d94
mov esi, 7
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
xorps xmm0, xmm0
push eax
push edi
movdqu xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x435d94
cmp dword [ebp - 0x1c], 4
je 0x435d9c
dec esi
test esi, esi
jg 0x435d60
jmp 0x435d9c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x24]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bea8
mov esp, ebp
pop ebp
ret

Function at 0x436430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x35], 0
lea edx, [ebp - 0x10]
push edx
push 0x20119
push 0
push str.SOFTWAREMyLogLog
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4364ec
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push str.ELogToView
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4364b1
cmp dword [ebp - 8], 1
jne 0x4364b1
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x34], 1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
push str.ELogToFile
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4364e2
cmp dword [ebp - 8], 1
jne 0x4364e2
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x35], 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x437a00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x437a50
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x437a4a
shr eax, 8
cmp al, 2
jne 0x437a4a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret

Function at 0x437b50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], ecx
xor ebx, ebx
mov edi, ecx
jmp 0x437b70
mov edi, eax
test esi, esi
jne 0x437cd6
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0xc], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
sub esp, 8
call fcn.004383b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x437cd6
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x437cc0
test eax, eax
jne 0x437c4a
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
mov edi, edx
shr edi, 6
imul ecx, edi, 0x3e8
sub edi, dword [ebp - 0xc]
sub esi, ecx
imul ecx, esi, 0x3e8
sub ecx, dword [ebp - 0x18]
imul ecx
imul eax, edi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
cmp ecx, 0xa
jg 0x437c4a
inc ebx
cmp ebx, 2
jle 0x437c4c
cmp ebx, 0xa
jge 0x437c3c
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test eax, eax
je 0x437c4c
jns 0x437c41
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x437c4c
mov eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x437c4c
xor ebx, ebx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x10]
call fcn.004393b0
mov edi, dword [ebp - 8]
mov esi, eax
test esi, esi
jne 0x437cd6
cmp dword [ebp - 0x10], 0
jne 0x437b70
mov eax, edi
test eax, eax
je 0x437b6e
cmp dword [eax], 0xbab1e
jne 0x437b6e
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 0xc], 0
je 0x437b70
mov edx, dword [ecx]
push 0
mov edi, dword [edx]
mov dword [ebp - 0xc], edi
call fcn.00448ee0
add esp, 4
test edi, edi
mov edi, dword [ebp - 8]
je 0x437b70
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
cmp esi, 3
mov ecx, 0x1b
mov eax, 0x2b
cmove eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
Function at 0x43e5d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.no_proxy
mov dword [ebp - 0x394], ecx
xor esi, esi
call dword [sym.imp.MSVCR120.dll_getenv]
mov edi, dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
add esp, 4
mov byte [ebp - 0x188], 0
test eax, eax
je 0x43e639
push 0x104
lea ecx, [ebp - 0x188]
push ecx
push eax
call edi
cmp byte [ebp - 0x188], 0
je 0x43e639
lea eax, [ebp - 0x188]
push eax
call dword [0x5007a4]
add esp, 4
mov ebx, eax
jmp 0x43e63b
xor ebx, ebx
test ebx, ebx
jne 0x43e684
push str.NO_PROXY
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x28c], bl
test eax, eax
je 0x43e682
push 0x104
lea ecx, [ebp - 0x28c]
push ecx
push eax
call edi
cmp byte [ebp - 0x28c], bl
je 0x43e682
lea eax, [ebp - 0x28c]
push eax
call dword [0x5007a4]
add esp, 4
mov ebx, eax
jmp 0x43e684
xor ebx, ebx
mov edi, dword [ebp - 0x394]
mov edx, ebx
mov ecx, dword [edi + 0x98]
call fcn.0043e480
test al, al
jne 0x43e78c
mov eax, dword [edi + 0x1ec]
lea esi, [ebp - 0x84]
mov edi, dword [eax]
mov al, byte [edi]
test al, al
je 0x43e6cc
movsx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_tolower]
mov byte [esi], al
lea edi, [edi + 1]
mov al, byte [edi]
add esp, 4
inc esi
test al, al
jne 0x43e6b3
mov eax, dword [str._proxy]
mov dword [esi], eax
mov ax, word [0x4f054c]
mov word [esi + 4], ax
mov al, byte [0x4f054e]
mov byte [esi + 6], al
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x390], 0
test eax, eax
je 0x43e730
push 0x104
lea ecx, [ebp - 0x390]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x390], 0
je 0x43e730
lea eax, [ebp - 0x390]
push eax
call dword [0x5007a4]
add esp, 4
mov esi, eax
jmp 0x43e732
xor esi, esi
test esi, esi
jne 0x43e78c
lea edx, [ebp - 0x84]
mov ecx, str.http_proxy
call fcn.0045e730
test eax, eax
jne 0x43e770
lea edx, [ebp - 0x84]
push 0x80
mov ecx, edx
call fcn.0045e9c0
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.00460760
mov esi, eax
test esi, esi
jne 0x43e78c
mov ecx, str.all_proxy
call fcn.00460760
mov esi, eax
test esi, esi
jne 0x43e78c
mov ecx, str.ALL_PROXY
call fcn.00460760
mov esi, eax
push ebx
call dword [0x5007b0]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046bea8
mov esp, ebp
pop ebp
ret