joyce8/EMBER2024-capa huggingface dataset:
Function at 0x27562d50
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a95e1
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor edi, edi
push edi
push 0x2751af20
lea ecx, [ebp - 0x538]
push ecx
push 0x2751aeb0
lea edx, [ebp - 0x534]
push 2
push edx
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], esi
mov dword [ebp - 0x538], edi
call fcn.2753a320
add esp, 0x18
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x27562dd0
mov dword [ebp - 0x538], 0x80004003
jmp 0x27562f47
mov dword [ebp - 0x540], edi
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x53c], esi
lea eax, [ebp - 0x428]
push eax
push 0x104
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x27562e3f
lea eax, [esi - 0x10]
mov dword [ebp - 0x538], 0x8000ffff
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x27562f47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x27562f47
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x2751aea4
lea edx, [ebp - 0x428]
push edx
mov word [ebp - 0x222], 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x27562e0c
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x27562e92
call fcn.27539290
jmp 0x27562e9c
mov edi, eax
mov dword [ebp - 0x540], edi
xor eax, eax
test eax, eax
mov dword [ebp - 0x538], eax
jge 0x27562ec5
lea ecx, [ebp - 0x53c]
call fcn.2753a510
test edi, edi
je 0x27562f47
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x27562f47
mov esi, dword [ebp - 0x548]
lea edx, [ebp - 0x53c]
push edx
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
call fcn.27545440
test eax, eax
mov dword [ebp - 0x538], eax
jl 0x27562f31
mov eax, dword [ebp - 0x53c]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x54c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x27562f10
call fcn.27539290
jmp 0x27562f12
xor eax, eax
test eax, eax
mov dword [ebp - 0x538], eax
jl 0x27562f31
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x544]
mov dword [ecx], eax
lea ecx, [ebp - 0x53c]
call fcn.2753a510
lea ecx, [ebp - 0x540]
call fcn.2755efb0
mov esi, dword [ebp - 0x538]
lea ecx, [ebp - 0x534]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
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.2757f388
mov esp, ebp
pop ebp
ret 8
Function at 0x27563f20
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [eax], esi
mov ebx, ecx
jae 0x27563f3c
pop esi
mov eax, 0xea
pop ebx
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push esi
push ecx
push esi
push edi
call fcn.2757e936
add esp, 0x10
push eax
call fcn.27538a90
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebx]
lea ecx, [ebp + 0xc]
push ecx
push edi
push 0
push 1
push eax
push edx
mov dword [ebp + 0xc], esi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
pop edi
jne 0x27563f80
call fcn.27539290
pop esi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
pop ebp
ret 0x14
Function at 0x2757c2d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.275824ad
add esp, 0x18
pop ebp
ret 0x18
Function at 0x2757cdb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275ab991
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x110
lea eax, [ebp - 0x120]
push ebx
push eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x124], ebx
call fcn.2757fdd0
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], 0x275248d0
mov edi, dword [ebp + 0xc]
push edi
push esi
push 0x275295b8
push 0x27529584
lea ecx, [ebp - 0x234]
push ecx
push 0x27529518
lea edx, [ebp - 0x230]
push 2
push edx
mov dword [ebp - 4], ebx
call fcn.2753a320
add esp, 0x2c
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2757cfd3
cmp dword [ebp - 0x114], 2
jne 0x2757cfd3
cmp dword [ebp - 0x120], 6
jb 0x2757cfd3
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], 0x27529294
push ebx
lea ecx, [ebp - 0x240]
push ecx
push 1
push 0x275294f8
mov byte [ebp - 4], 2
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x2757cf03
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2757cece
call esi
jmp 0x2757ceda
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x234], eax
call fcn.27595010
test al, al
je 0x2757cfc4
mov edx, dword [ebp - 0x234]
push edx
push 0x275294a8
push 0x27529438
jmp 0x2757cfbb
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x248]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
jne 0x2757cf67
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2757cf39
call esi
jmp 0x2757cf45
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x234], eax
call fcn.27595010
test al, al
je 0x2757cfc4
mov ecx, dword [ebp - 0x234]
push ecx
push 0x275293e0
push 0x27529370
jmp 0x2757cfbb
mov edx, dword [ebp - 0x238]
push edx
push ebx
push ebx
push ebx
push 0x10
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
cmp eax, ebx
je 0x2757cfc4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2757cf8f
call esi
jmp 0x2757cf9b
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x234], eax
call fcn.27595010
test al, al
je 0x2757cfc4
mov eax, dword [ebp - 0x234]
push eax
push 0x27529310
push 0x275292a0
push ebx
call fcn.27595fd0
add esp, 0x10
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.2757ccc0
mov esi, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.2753a430
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.27570c40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 8
Function at 0x2757d950
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x2757d99a
push edi
lea ecx, [esi + 4]
call fcn.2754eea0
test eax, eax
je 0x2757d9e2
cmp dword [esi], 0
je 0x2757d97f
mov eax, dword [esi + 8]
test eax, eax
je 0x2757d97f
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi + 8]
test eax, eax
je 0x2757d994
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov dword [esi], 0
mov eax, dword [ebp + 8]
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 8], eax
je 0x2757d9d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x2757d9ea
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
add eax, 1
mov dword [esi], eax
cmp dword [esi], 0
je 0x2757d9e2
push edi
lea ecx, [esi + 4]
call fcn.27539170
mov eax, dword [esi]
pop edi
pop esi
pop ebp
ret 0xc
push edi
lea ecx, [esi + 4]
mov dword [esi], 1
call fcn.27539170
mov eax, dword [esi]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x2757f388
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x275ba2ec]
jne 0x2757f392
repz ret
jmp fcn.27585cec
Function at 0x2758da7f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.275828a6
xor ebx, ebx
cmp dword [0x275bc81c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x2758db54
push 0x2752c28c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x2758dabf
xor eax, eax
jmp 0x2758dc18
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2752c280
push edi
call esi
cmp eax, ebx
je 0x2758dab8
push eax
call fcn.27582843
mov dword [esp], 0x2752c270
push edi
mov dword [0x275bc81c], eax
call esi
push eax
call fcn.27582843
mov dword [esp], 0x2752c25c
push edi
mov dword [0x275bc820], eax
call esi
push eax
call fcn.27582843
mov dword [0x275bc824], eax
lea eax, [ebp - 8]
push eax
call fcn.27582604
test eax, eax
pop ecx
pop ecx
je 0x2758db22
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.27583b12
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x2758db54
push 0x2752c240
push edi
call esi
push eax
call fcn.27582843
cmp eax, ebx
pop ecx
mov dword [0x275bc82c], eax
je 0x2758db54
push 0x2752c228
push edi
call esi
push eax
call fcn.27582843
pop ecx
mov dword [0x275bc828], eax
mov eax, dword [0x275bc828]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x2758dbcd
cmp dword [0x275bc82c], esi
je 0x2758dbcd
push eax
call fcn.275828af
pop ecx
call eax
cmp eax, ebx
je 0x2758db9a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x275bc82c]
call fcn.275828af
pop ecx
call eax
test eax, eax
je 0x2758db9a
test byte [ebp - 0x18], 1
jne 0x2758dbcd
lea eax, [ebp - 0xc]
push eax
call fcn.2758263b
test eax, eax
pop ecx
je 0x2758dbb5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.27583b12
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x2758dbc4
or dword [ebp + 0x10], 0x200000
jmp 0x2758dbfe
or dword [ebp + 0x10], 0x40000
jmp 0x2758dbfe
mov eax, dword [0x275bc820]
cmp eax, esi
je 0x2758dbfe
push eax
call fcn.275828af
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x2758dbfe
mov eax, dword [0x275bc824]
cmp eax, esi
je 0x2758dbfe
push dword [ebp - 4]
push eax
call fcn.275828af
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x275bc81c]
call fcn.275828af
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2759386c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x275bc908], 0
push esi
jne 0x275937df
call fcn.2759370a
test eax, eax
je 0x27593822
mov eax, dword [0x275bc908]
cmp eax, 1
jne 0x27593800
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x27593822
pop esi
ret
push eax
call dword [0x275bc910]
test eax, eax
jne 0x2759386a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x27593826
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x275bc908]
call dword [0x275bc910]
mov edi, eax
test edi, edi
je 0x2759384d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x27593869
lea edi, [esi + 0xff0]
push esi
push dword [0x275bc908]
call dword [0x275bc90c]
add esi, 0x10
cmp esi, edi
jb 0x27593853
mov eax, esi
pop edi
pop esi
ret
jmp 0x275937cc
Function at 0x27593f90
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275abbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp + 8]
cmp byte [esi + 0x1d], bl
mov byte [ebp - 4], 1
jne 0x27593ff7
lea eax, [esi + 0xc]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.27548c50
mov edi, dword [edi]
mov dword [esi], edi
mov ecx, dword [edi - 0xc]
mov dword [esi + 4], ecx
mov byte [esi + 0x1d], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x30]
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x27594024
call fcn.27539290
mov ebx, eax
test ebx, ebx
jl 0x2759411e
xor ebx, ebx
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
push ebx
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x2759404b
call fcn.27539290
mov ebx, eax
test ebx, ebx
jl 0x2759411e
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 4
push edx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x27594074
call fcn.27539290
mov ebx, eax
test ebx, ebx
jl 0x2759411e
mov esi, dword [ebp - 0x14]
test esi, esi
jbe 0x275940ab
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
jne 0x275940a5
push 0x275ae2bc
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x8007000e
call fcn.2757e9b1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x14]
push ecx
push edx
push 2
push eax
mov dword [ebp - 0x24], esi
call edi
test eax, eax
jne 0x275940cb
call fcn.27539290
jmp 0x275940cd
xor eax, eax
test eax, eax
mov ebx, eax
jl 0x27594110
push 0
push esi
call fcn.27539450
mov edi, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 8]
push ecx
push eax
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.2753d230
mov edx, dword [ebp - 0x20]
push eax
push esi
push edx
call fcn.275394f0
mov esi, eax
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.2753a270
test esi, esi
jne 0x27594110
mov ebx, 0x80045c0e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x2759411e
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x2759412c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
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 8
Function at 0x275952c0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275abd0c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x275bc924
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], 0x275bc924
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x23c], 1
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x230], edi
push 0x208
lea ecx, [ebp - 0x21a]
push edi
push ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov word [ebp - 0x21c], di
call fcn.2757fdd0
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x275bc8c4
call eax
add eax, 0x10
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x220]
push ecx
push 0x20019
push edi
push 0x2752d080
push SysReAllocString
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x275954af
mov esi, dword [ebp - 0x220]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
push edi
push 0x2752d070
push esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x220], 4
call ebx
cmp eax, edi
jne 0x275954af
mov eax, 4
cmp dword [ebp - 0x224], eax
jne 0x275954af
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x220]
push ecx
push edi
push 0x2752d064
push esi
call ebx
push 1
push 5
lea edx, [ebp - 0x21c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x275954af
mov eax, dword [ebp - 0x238]
cmp eax, edi
jne 0x2759543e
push 0x2752d040
lea eax, [ebp - 0x21c]
push eax
mov ecx, eax
push ecx
jmp 0x27595449
push eax
lea edx, [ebp - 0x21c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x275954af
lea ecx, [ebp - 0x2c0]
push 0xfde9
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x2c4], ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.2753a690
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
push eax
push ecx
push edx
push 1
mov byte [ebp - 4], 3
call fcn.27595200
mov eax, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c0]
cmp eax, ecx
je 0x275954af
push eax
call fcn.2757eb0d
add esp, 4
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x275954d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x275954e6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x275bc924
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 4
Function at 0x27595b00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275abe2b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
push 0x275bc924
mov dword [ebp - 0x98], 0x275bc924
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x94], 1
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x27595b60
push edi
call fcn.275959f0
cmp dword [0x275bc918], 0
mov bl, byte [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
je 0x27595bee
lea eax, [ebp - 0xa0]
push eax
call esi
mov ecx, dword [0x275bc920]
movzx edx, word [ebp - 0x92]
movzx eax, word [ebp - 0x94]
push 0x20
push ecx
movzx ecx, word [ebp - 0x96]
push edx
movzx edx, word [ebp - 0x98]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x275bc918]
push eax
mov eax, dword [0x275bc93c]
push eax
push 0x2752d0dc
push ecx
call fcn.275a29c1
mov edx, dword [0x275bc918]
push edi
push 0x2752d0d4
push edx
call fcn.275a29c1
add esp, 0x34
test bl, bl
je 0x27595bee
mov eax, dword [0x275bc918]
push 0x2751d350
push eax
call fcn.275a29c1
add esp, 8
test byte [0x275bc91c], 1
je 0x27595c89
push 0x7e
lea ecx, [ebp - 0x8e]
push 0
push ecx
mov word [ebp - 0x90], 0
call fcn.2757fdd0
add esp, 0xc
lea edx, [ebp - 0xa0]
push edx
call esi
mov eax, dword [0x275bc920]
movzx ecx, word [ebp - 0x92]
movzx edx, word [ebp - 0x94]
push 0x20
push eax
movzx eax, word [ebp - 0x96]
push ecx
movzx ecx, word [ebp - 0x98]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x275bc93c]
push eax
push edx
push 0x2752d0dc
lea eax, [ebp - 0x90]
push 0x40
push eax
call fcn.27595100
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x2c
lea ecx, [ebp - 0x90]
push ecx
call esi
push edi
call esi
test bl, bl
je 0x27595c89
push 0x2751d350
call esi
push 0x275bc924
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 0xc
Function at 0x27595ce0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275abe68
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push 0x275bc924
mov dword [ebp - 0x58], 0x275bc924
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x54], 1
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x27595d37
push esi
call fcn.27595a40
test esi, esi
jne 0x27595d40
mov esi, 0x27510d2e
cmp dword [0x275bc918], 0
mov bl, byte [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
je 0x27595dbf
lea eax, [ebp - 0x60]
push eax
call edi
mov ecx, dword [0x275bc920]
movzx edx, word [ebp - 0x52]
movzx eax, word [ebp - 0x54]
push 0x20
push ecx
movzx ecx, word [ebp - 0x56]
push edx
movzx edx, word [ebp - 0x58]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x275bc918]
push eax
mov eax, dword [0x275bc93c]
push eax
push 0x2752d114
push ecx
call fcn.275a2a55
mov edx, dword [0x275bc918]
push esi
push 0x2752d110
push edx
call fcn.275a2a55
add esp, 0x34
test bl, bl
je 0x27595dbf
mov eax, dword [0x275bc918]
push 0x2752d10c
push eax
call fcn.275a2a55
add esp, 8
test byte [0x275bc91c], 1
je 0x27595e39
push 0x3f
lea ecx, [ebp - 0x4f]
push 0
push ecx
mov byte [ebp - 0x50], 0
call fcn.2757fdd0
add esp, 0xc
lea edx, [ebp - 0x60]
push edx
call edi
mov eax, dword [0x275bc920]
movzx ecx, word [ebp - 0x52]
movzx edx, word [ebp - 0x54]
push 0x20
push eax
movzx eax, word [ebp - 0x56]
push ecx
movzx ecx, word [ebp - 0x58]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x275bc93c]
push eax
push edx
push 0x2752d114
lea eax, [ebp - 0x50]
push 0x40
push eax
call fcn.275950d0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x2c
lea ecx, [ebp - 0x50]
push ecx
call edi
push esi
call edi
test bl, bl
je 0x27595e39
push 0x2752d10c
call edi
push 0x275bc924
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 0xc

Function at 0x27596460
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0x57
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret