joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11ba120
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
call fcn.011ba0af
xor ebx, ebx
cmp eax, ebx
jl 0x11ba1bd
cmp byte [ebp + 8], bl
jne 0x11ba17a
push ebx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [ebp - 4], 1
je 0x11ba161
test byte [ebp - 4], 2
jne 0x11ba161
push ebx
push 1
call dword [sym.imp.WININET.dll_InternetAutodial]
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x11ba19d
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x11ba19d
xor eax, eax
cmp byte [ebp + 8], bl
push ebx
setne al
push ebx
push ebx
push eax
push 0x10176e0
call dword [sym.imp.WININET.dll_InternetOpenW]
push eax
mov ecx, esi
call fcn.011ba0f4
cmp dword [esi], ebx
jne 0x11ba1bb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11ba1ad
call esi
jmp 0x11ba1bd
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x11ba1bd
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x11c7bad
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
cmp esi, edx
jne 0x11c7bc3
mov eax, 0x80004003
jmp 0x11c7c0b
mov dword [esi], edx
mov dword [esi + 4], edx
mov eax, dword [ecx + 0x368]
cmp dword [eax - 8], edx
push edi
je 0x11c7c08
push edx
push edx
push 3
push edx
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x11c7bf5
mov eax, 0x80004005
jmp 0x11c7c0a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x11c7bee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x11cdf31
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x128e003
call fcn.01160458
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x11cdf4b
cmp dword [ebp + 0xc], ebx
jne 0x11cdf55
mov eax, 0x80004003
jmp 0x11ce05f
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [0x12d28f8]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.01039a07
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.01052ada
push 0x20019
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.01044c82
test eax, eax
je 0x11cdf9f
xor esi, esi
jmp 0x11ce045
mov eax, dword [0x12ce0a0]
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
push 4
mov esi, 0x100
pop edi
jmp 0x11ce010
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
lea ecx, [ebp + 0xc]
push 0xffffffffffffffff
jne 0x11ce02a
call fcn.010329e8
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.01091f5f
cmp eax, ebx
je 0x11ce033
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.010328fe
mov eax, dword [0x12ce0a0]
inc dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
push esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.0103297b
cmp eax, ebx
jne 0x11cdfb9
mov esi, 0x8007000e
jmp 0x11ce038
call fcn.010329e8
xor esi, esi
jmp 0x11ce038
mov esi, 0x80004005
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.010328fe
pop edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01044c64
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x11d6748
Capabilities:
Create thread

Disassembly:
mov eax, 0x128ea4c
call fcn.01160458
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jne 0x11d682d
cmp dword [edi + 8], ebx
je 0x11d6815
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [edi + 0x1c], eax
je 0x11d6815
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
lea esi, [edi + 4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x11d67b5
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11d67b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
jmp 0x11d682f
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11d6804
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.011d2419
mov esi, eax
cmp esi, ebx
jge 0x11d67ea
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11d67e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x11d682f
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x11d66c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [edi + 0x18], eax
jne 0x11d681c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11d6815
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004003
jmp 0x11d682f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11d682d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x11e1dea
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101ca48
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11e1e73
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101ca90
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x11e1efc
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101cad8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11e1f85
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101cb20
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11e200e
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101cb68
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11e2097
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101cbb0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x11e2120
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101cbf8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11e21a9
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101cc40
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11e2341
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128f851
call fcn.01160458
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0118e1fe
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0117ecc9
mov dword [esi], 0x101ccd0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x1207cc8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x12911fb
call fcn.01160458
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x1025e34
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x10], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 7
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3d], 1
mov byte [esi + 0x3e], bl
mov byte [esi + 0x3f], bl
mov dword [esi + 0x4c], ebx
mov byte [ebp - 4], 8
mov dword [esi + 0x50], ebx
mov byte [ebp - 4], 9
mov dword [esi + 0x54], ebx
mov byte [ebp - 4], 0xa
mov dword [esi + 0x58], ebx
mov byte [ebp - 4], 0xb
mov dword [esi + 0x5c], ebx
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x74]
mov dword [esi + 0x68], 0x140
mov dword [esi + 0x6c], 0xf0
mov dword [esi + 0x70], 0xac44
call fcn.01045169
mov byte [ebp - 4], 0xd
fldz
fstp qword [esi + 0x60]
mov dword [esi + 0x30], ebx
mov byte [esi + 0x40], bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1207d8b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x12911fb
call fcn.01160458
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x1025e34
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x10], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 7
mov al, byte [ebp + 0xc]
mov byte [esi + 0x3c], al
mov al, byte [ebp + 8]
mov byte [esi + 0x3d], 1
mov byte [esi + 0x3e], al
mov byte [esi + 0x3f], bl
mov dword [esi + 0x4c], ebx
mov byte [ebp - 4], 8
mov dword [esi + 0x50], ebx
mov byte [ebp - 4], 9
mov dword [esi + 0x54], ebx
mov byte [ebp - 4], 0xa
mov dword [esi + 0x58], ebx
mov byte [ebp - 4], 0xb
mov dword [esi + 0x5c], ebx
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x74]
mov dword [esi + 0x68], 0x140
mov dword [esi + 0x6c], 0xf0
mov dword [esi + 0x70], 0xac44
call fcn.01045169
mov byte [ebp - 4], 0xd
fldz
fstp qword [esi + 0x60]
mov dword [esi + 0x30], ebx
mov byte [esi + 0x40], bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1208172
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0x74]
cmp dword [eax - 8], 0
je 0x12081ad
cmp dword [ebp + 8], 0
jne 0x1208190
mov eax, 0x80004003
jmp 0x12081af
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x12081ad
mov eax, 0x80004005
jmp 0x12081af
xor eax, eax
leave
ret 4

Function at 0x1211890
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
add ecx, 0xffffff88
neg esi
sbb esi, esi
and esi, ecx
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x12118ba
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x1217f0b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x12925c3
call fcn.01160458
push ecx
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [eax], 0x1013050
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [eax], 0x1026cd0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov byte [ebp - 4], 1
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov byte [ebp - 4], 2
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [ebp - 4], 3
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x121d79a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
push esi
push 0x121d697
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xcc], eax
jne 0x121d7d1
mov eax, 0x80004005
jmp 0x121d7e2
push 1
push 2
mov ecx, esi
call fcn.0121d47b
test eax, eax
jl 0x121d7e2
xor eax, eax
pop esi
leave
ret

Function at 0x1241df7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x1241e36
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1241e18
mov eax, 0xc9470064
jmp 0x1241e4b
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.01241a0d
test eax, eax
jl 0x1241e4b
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x1241e3d
mov eax, 0x80004003
jmp 0x1241e4b
push dword [ebp + 0x10]
call fcn.01205a9a
test eax, eax
jl 0x1241e4b
xor eax, eax
leave
ret 0xc
Function at 0x124b075
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x1296928
call fcn.01160458
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x102b9cc
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
mov dword [esi + 0x50], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x54], ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [ebp - 4], 4
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov byte [ebp - 4], 5
fldz
fstp qword [esi + 0x18]
mov dword [esi + 8], ebx
fldz
mov dword [esi + 0xc], ebx
fstp qword [esi + 0x20]
mov byte [esi + 0x4c], bl
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x124c3bd
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x1296ac1
call fcn.01160458
push ecx
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x102bad8
mov dword [esi + 4], 0x102ba98
mov dword [esi + 8], 0x102ba70
mov dword [esi + 0xc], 0x102ba48
mov dword [esi + 0x10], 0x102ba24
mov dword [esi + 0x14], 0x102ba00
call fcn.01199f7e
mov dword [ebp - 4], ebx
mov dword [esi + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x24], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x28], ebx
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea ecx, [esi + 0x2c]
call fcn.01199f7e
mov byte [ebp - 4], 4
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1252220
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x1297366
call fcn.01160458
push ecx
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], 0x102beb0
mov dword [esi + 4], 0x102bea0
mov dword [esi + 8], 0x102be8c
mov dword [esi + 0xc], 0x102be68
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
fldz
fstp qword [esi + 0x48]
fldz
fstp qword [esi + 0x50]
mov ecx, dword [0x12ce0a0]
mov dword [esi + 0x58], ecx
mov byte [ebp - 4], 1
fld1
lea ecx, [esi + 0x70]
fstp qword [esi + 0x60]
mov dword [esi + 0x5c], 1
mov dword [esi + 0x68], eax
call fcn.011c8f21
mov byte [ebp - 4], 2
lea ecx, [esi + 0x88]
call fcn.0125185f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x1254ce8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x1297648
call fcn.01160458
push ecx
push esi
mov esi, ecx
and dword [esi], 0
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.01254c52
xor eax, eax
inc eax
mov byte [ebp - 4], al
and dword [esi + 0x3c], 0
push 2
pop ecx
push 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
pop eax
mov dword [esi + 8], 0xd
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], 0x43535449
mov dword [esi + 0x18], 0x2000
mov dword [esi + 0x1c], 0x14
mov dword [esi + 0x24], 6
mov dword [esi + 0x28], 0x43585a4c
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x125501e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x129772e
call fcn.01160458
sub esp, 0x220
mov eax, dword [0x12cf8c8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x220], eax
jne 0x1255058
mov eax, 0x80004003
jmp 0x12551cb
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jl 0x12551c5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x21c], 0x80004005
call fcn.01046065
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x228]
call fcn.01045169
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0107c805
cmp eax, ebx
jl 0x12550cc
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
call fcn.0104520c
cmp eax, ebx
jge 0x12550f3
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.01045295
mov eax, esi
jmp 0x12551cb
mov ecx, dword [ebp - 0x220]
push ebx
push dword [ebp - 0x228]
call fcn.01044f44
mov ebx, eax
test ebx, ebx
jle 0x12551a7
push ecx
lea eax, [ebp - 0x224]
mov ecx, esp
mov dword [ebp - 0x21c], esp
push eax
call fcn.01052b7d
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.01046095
mov ecx, esi
call fcn.01045236
mov eax, dword [ebp - 0x228]
mov eax, dword [eax - 8]
mov ecx, dword [ebp - 0x220]
mov ecx, dword [ecx]
add eax, ebx
lea eax, [ecx + eax*2 + 2]
push eax
mov ecx, esi
call fcn.01052ada
push dword [esi]
lea ecx, [ebp - 0x220]
call fcn.01032b44
mov byte [ebp - 4], 3
mov eax, dword [edi]
lea ecx, [ebp - 0x22c]
push ecx
push dword [ebp - 0x220]
push edi
call dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x21c], eax
jl 0x1255197
cmp dword [ebp - 0x22c], 0xffffffff
je 0x1255197
and dword [ebp - 0x21c], 0
mov byte [ebp - 4], 1
push dword [ebp - 0x220]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.01045295
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0116015a
pop edi
pop esi
pop ebx
leave
ret 0x10