joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412502
Capabilities:
Encode data using xor

Disassembly:
push esi
lea esi, [ecx + 0x10]
mov edx, dword [esi]
mov eax, edx
mov ecx, edx
and eax, 0xffffc000
add eax, 0x4000
xor eax, edx
and eax, 0xfffc000
xor edx, eax
mov eax, ecx
lock cmpxchg dword [esi], edx
mov edx, eax
cmp edx, ecx
jne 0x412508
pop esi
ret

Function at 0x412fe2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x412ffe
mov ebx, 0x80004005
jmp 0x4130b6
mov eax, dword [esi + 0x38]
push edi
cmp eax, dword [esi + 0x34]
ja 0x41302e
lea eax, [eax*4 + 0x14]
push eax
lea edi, [esi + 0x2c]
push edi
call fcn.00403964
pop ecx
pop ecx
test eax, eax
jne 0x413028
mov ebx, 0x8007000e
jmp 0x4130b5
add dword [esi + 0x38], 5
mov dword [edi], eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.004130be
mov ebx, eax
test ebx, ebx
js 0x4130a7
mov ecx, dword [esi + 0x40]
or ecx, dword [esi + 0x44]
jne 0x413053
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov edi, dword [ebp - 4]
lock inc dword [edi + 0x908]
lea eax, [edi + 0x8f0]
push eax
xor eax, eax
push eax
push edi
push 0x413467
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x413087
mov ecx, edi
call fcn.0041327f
mov ebx, 0x80004005
jmp 0x4130aa
mov dword [edi + 0x8ec], eax
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x2c]
push 0x3e
mov dword [eax + ecx*4], edi
xor edi, edi
inc dword [esi + 0x34]
lea eax, [esi + 0x30]
pop ecx
lock xadd dword [eax], ecx
jmp 0x4130aa
mov edi, dword [ebp - 4]
test edi, edi
je 0x4130b5
mov ecx, edi
call fcn.0041327f
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41903e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4306e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [edi + 8]
mov dword [ebp - 0x24], eax
cmp eax, dword [edx + 4]
jne 0x4190b4
mov ecx, dword [edi + 8]
mov ecx, dword [ecx]
and ecx, 0x7ff
cmp ecx, dword [edi + 0x14]
jne 0x4190b4
mov eax, dword [edi + 8]
inc dword [eax + 8]
test byte [0x437700], 0x80
je 0x4190a1
mov eax, dword [edi + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push edi
push 0x42dae8
push dword [0x43770c]
push dword [0x437708]
call fcn.004139fc
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425743
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov byte [ebp - 8], 0
push ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x15], al
push esi
mov ecx, dword [edi + 8]
mov ecx, dword [ecx]
nop word [eax + eax]
mov eax, ecx
xor ebx, ebx
and eax, 0x7ff
mov edx, ecx
cmp eax, 0x7fb
sete bl
test ebx, ebx
jne 0x41910a
test eax, eax
je 0x41910a
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ebx
cmp byte [ebp - 0x15], bl
jne 0x419134
and ecx, 0xfffff800
add ecx, 0x800
and ecx, 0xfffff800
jmp 0x419132
mov eax, dword [edi + 0x14]
xor eax, ecx
mov dword [ebp - 0x20], 1
and eax, 0x7ff
xor ecx, eax
cmp byte [ebp - 0x15], 0
je 0x419134
mov eax, ecx
shr eax, 0xb
dec eax
shl eax, 0xb
and ecx, 0x7ff
or ecx, eax
mov esi, dword [edi + 8]
mov eax, edx
lock cmpxchg dword [esi], ecx
mov ecx, eax
cmp ecx, edx
jne 0x4190d0
cmp dword [ebp - 0x20], 0
mov eax, dword [edi + 8]
jne 0x4191f9
mov eax, dword [eax]
and eax, 0xfffff800
cmp eax, 0x28f5800
jb 0x419168
push 0x1c124c
call fcn.00407d98
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
je 0x4191a0
cmp byte [ebp - 0x15], 0
jne 0x419187
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x1c], esi
test ebx, ebx
jne 0x4191a0
jmp 0x41918a
mov esi, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, ebx
jae 0x4191bd
sub ebx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ebx
call fcn.0041938e
jmp 0x4190c2
mov eax, dword [edi + 8]
mov eax, dword [eax]
mov esi, dword [edi + 8]
mov ecx, eax
shr ecx, 0xb
mov edx, eax
dec ecx
and eax, 0x7ff
shl ecx, 0xb
or ecx, eax
mov eax, edx
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x4191c2
pop esi
pop ebx
mov eax, 0x102
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425743
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov eax, dword [edi + 8]
mov dword [eax + 8], 1
test byte [0x437700], 0x80
je 0x419232
mov eax, dword [edi + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push edi
push 0x42dae8
push dword [0x43770c]
push dword [0x437708]
call fcn.004139fc
mov ecx, dword [ebp - 4]
neg ebx
pop esi
sbb ebx, ebx
xor ecx, ebp
and ebx, 0x80
mov eax, ebx
pop ebx
pop edi
call fcn.00425743
mov esp, ebp
pop ebp
ret 8
Function at 0x41cd28
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4306e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
inc ecx
cmp byte [ebp + 0xc], 0
mov word [ebp - 0x28], cx
je 0x41cd57
xor eax, eax
mov dword [ebp - 0x24], 0x20
mov word [ebp - 0x26], ax
mov eax, dword [ebp + 8]
jmp 0x41cd91
and dword [ebp - 0x24], 0
and dword [ebp - 0x18], 0
push 2
pop eax
push 6
mov word [ebp - 0x1c], cx
pop ecx
push 0xd
mov word [ebp - 0x1a], cx
pop ecx
mov word [ebp - 0x10], cx
xor ecx, ecx
mov word [ebp - 0x26], ax
mov eax, dword [ebp + 8]
push 3
mov word [ebp - 0xe], cx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], eax
pop ecx
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.00425743
mov esp, ebp
pop ebp
ret 8
Function at 0x422be0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4306e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x23c], ecx
lea eax, [ebp - 0x214]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x4304c8]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, edi
mov eax, dword [0x4304cc]
mov esi, edi
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
push edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
mov dword [ebp - 0x218], ecx
test ecx, ecx
je 0x422d35
lea eax, [ebp - 0x214]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x422c96
lea ebx, [ebp - 0x214]
jmp 0x422c9b
push 2
pop eax
add ebx, eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x214]
push eax
push 3
call sub.VERSION.dll_GetFileVersionInfoSizeExW
mov dword [ebp - 0x220], eax
test eax, eax
je 0x422d2f
push eax
call fcn.0040399c
mov esi, eax
pop ecx
test esi, esi
je 0x422d2f
push esi
push dword [ebp - 0x220]
lea eax, [ebp - 0x214]
push edi
push eax
push 3
call sub.VERSION.dll_GetFileVersionInfoExW
test eax, eax
je 0x422d2f
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x42c850
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x422d2f
cmp dword [ebp - 0x224], 0x34
jne 0x422d2f
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 8]
movzx edi, word [eax + 0xa]
mov dword [ebp - 0x234], ecx
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x218]
test ecx, ecx
mov eax, ecx
push 7
pop edx
cmove eax, edx
xor ecx, ecx
add eax, 0x1d
push 2
pop edx
mov dword [ebp - 0x220], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040399c
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x23c]
mov dword [eax + 4], ecx
test ecx, ecx
jne 0x422d73
mov edi, 0x8007000e
jmp 0x422dc6
cmp dword [ebp - 0x218], 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x22c]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x230]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x234]
movzx eax, ax
push eax
movzx eax, di
push eax
mov eax, str.Unknown
cmovne eax, ebx
push eax
push str._s__d._d._d._d__s_s
push dword [ebp - 0x220]
push ecx
call fcn.00422f76
add esp, 0x28
mov edi, eax
test esi, esi
je 0x422dd1
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425743
mov esp, ebp
pop ebp
ret
Function at 0x423eca
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4306e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x408], eax
test esi, esi
jne 0x423f13
xor eax, eax
jmp 0x424079
and dword [esi], 0
push ebx
push edi
xor edi, edi
inc edi
push edi
push eax
push ecx
push 0x400
lea eax, [ebp - 0x404]
push eax
call fcn.00425484
mov edx, dword [ebp - 0x408]
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x418], ecx
shr eax, 0x1a
xor ebx, ebx
and dword [ebp - 0x41c], ebx
not eax
and eax, edi
mov dword [ebp - 0x414], eax
test ecx, ecx
je 0x423f7a
mov eax, edx
shr eax, 0x17
push ecx
and eax, edi
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 0x408]
mov dword [esi], eax
mov eax, dword [ebp - 0x414]
cmp dword [esi], ebx
jne 0x42401d
test eax, eax
je 0x42401d
xor eax, eax
push edi
lea eax, [ebp - 0x40c]
push eax
push edx
call fcn.0042523a
test eax, eax
je 0x42400d
mov eax, dword [ebp - 0x408]
push dword [ebp - 0x418]
shr eax, 0x19
and eax, edi
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x40c]
push edi
push eax
push dword [ebp - 0x408]
call fcn.0042536e
mov eax, dword [ebp - 0x410]
cmp eax, 5
jne 0x42400f
cmp dword [ebp - 0x41c], ebx
jne 0x42400f
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x408]
mov dword [ebp - 0x41c], edi
jmp 0x423f54
mov eax, ebx
cmp dword [esi], ebx
je 0x42401d
xor ebx, ebx
cmp eax, 0xb7
setne bl
cmp dword [esi], 0
je 0x424027
cmp dword [esi], 0xffffffff
jne 0x424041
cmp dword [ebp - 0x414], 0
je 0x42403a
push 0x1631e1
call fcn.00407d98
and dword [esi], 0
xor ebx, ebx
xor edi, edi
mov edx, dword [ebp - 0x420]
test edx, edx
je 0x424069
mov ecx, dword [ebp - 0x418]
mov eax, 0x430678
test ecx, ecx
cmovne eax, ecx
push eax
push dword [ebp + 0x14]
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x424075
mov dword [eax], ebx
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00425743
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x425097
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4306e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x54], esi
push edi
test ebx, ebx
jne 0x4250c3
push 0x15b3c8
jmp 0x4250fb
cmp dword [0x447d78], esi
je 0x4250da
mov eax, dword [0x4367d0]
xor edi, edi
mov dword [ebx], eax
inc edi
jmp 0x425206
lea eax, [ebp - 0x50]
mov dword [ebx], esi
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x425107
push 0x15b3c9
call fcn.00407d98
mov edi, esi
jmp 0x425206
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 2
push dword [ebp - 0x50]
call edi
test eax, eax
je 0x425125
push 0x15b3ca
jmp 0x4250fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x425137
push 0x15b3cb
jmp 0x4250fb
push dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
call fcn.004071fe
mov esi, dword [ebp - 0x4c]
test al, al
jne 0x42515a
push 0x15b3cc
call fcn.00407d98
xor edi, edi
jmp 0x4251f9
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
push esi
push 2
push dword [ebp - 0x50]
call edi
test eax, eax
jne 0x425174
push 0x15b3cd
jmp 0x42514e
push 0x44
pop edi
push edi
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x5c], edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0xb
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x4251a6
push 0x15b3ce
jmp 0x42514e
xor ecx, ecx
mov dword [ebp - 0x58], ecx
test esi, esi
je 0x42522c
lea eax, [esi + 4]
xor edi, edi
mov dword [ebp - 0x4c], eax
inc edi
cmp ecx, dword [esi]
jae 0x4251ec
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4251db
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4251ea
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x58], ecx
add eax, 8
jmp 0x4251b2
mov dword [ebx], edi
mov dword [0x447d78], edi
mov eax, dword [ebx]
mov dword [0x4367d0], eax
test esi, esi
je 0x425204
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
xor esi, esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x425217
push eax
mov dword [ebp - 0x50], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425743
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov dword [0], 1
int 0x29
Function at 0x425750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x4306e0], eax
je 0x425772
cmp dword [0x4306e0], ebx
jne 0x425806
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4306e0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x4306e0
push 4
push edi
mov dword [0x4306e0], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x4306e0]
not eax
mov dword [0x436828], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425a41
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x433058
call fcn.00425a4b
push 1
call fcn.00425cc6
pop ecx
test al, al
jne 0x4258ea
push 7
call fcn.004267fb
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00425c91
mov byte [ebp - 0x24], al
mov eax, dword [0x447df4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4258e3
test eax, eax
jne 0x425954
mov dword [0x447df4], ecx
push 0x42c454
push 0x42c43c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x425937
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x425a3b
push 0x42c438
push 0x42c3c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x447df4], 2
jmp 0x425959
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00425e23
pop ecx
call fcn.004267ef
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x425989
push esi
call fcn.00425d96
pop ecx
test al, al
je 0x425989
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00426a2d
call esi
call fcn.004267f5
mov esi, eax
cmp dword [esi], edi
je 0x4259a7
push esi
call fcn.00425d96
pop ecx
test al, al
je 0x4259a7
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00426910
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.00426946
test al, al
jne 0x4259e0
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x4259e9
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00425e40
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x425a3b
call fcn.00425a91
ret
call fcn.00425750
jmp 0x4258cb

Function at 0x4287cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x428813
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x428813
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x428813
cmp word [eax + 2], 0
je 0x428813
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x428813
add eax, 0x30
jmp 0x428818
mov eax, 0x430e30
pop esi
pop ebp
ret

Function at 0x4289c1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [esi], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
test edi, edi
jne 0x4289e3
push 0x323658
jmp 0x4289fe
cmp dword [esi + 4], 6
jae 0x4289f3
push 0x323659
call fcn.00407d98
cmp dword [esi + 0x10], 2
je 0x428a03
push 0x32365a
call fcn.00407d98
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x401f49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x47a548]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x401fb9
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004028d3
lea ecx, [esp + 0x1c]
call fcn.00401d79
cmp eax, dword [esp + 0x10]
je 0x401fd0
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403198
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x401f89
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406ca2
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403b38
push eax
call fcn.00403b06
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403198
jmp 0x401fbb

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

Disassembly:
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x47a548], eax
pop edi
pop esi
ret

Function at 0x407a6d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407aac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407aac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407aac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407aac
cmp dword [ecx + 0x74], 0xe
jbe 0x407aac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41612c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427050
push 0x427048
push str.FlsAlloc
push 0x1e
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416160
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
jmp 0x416166
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4161aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427060
push 0x427058
push str.FlsGetValue
push 0x20
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4161e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416f76
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416c18

Function at 0x416f81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416da7
Function at 0x4185ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407be0
mov eax, dword [0x42d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004149e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41862e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41878a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421a10
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47a140]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418a12
mov ecx, dword [esi*4 + 0x47a140]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418783
cmp eax, dword [edi + ecx + 0x24]
jne 0x418783
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418783
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418a12
add esp, 0x14
test edx, edx
jl 0x418783
jg 0x4186f9
test eax, eax
jb 0x418783
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418783
jl 0x418713
cmp dword [ebp - 0x1008], eax
ja 0x418783
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418731
test ebx, ebx
je 0x41876a
cmp ecx, edi
jae 0x41876a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41874b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418757
cmp byte [ecx + 1], 0xa
jne 0x418757
inc ecx
jmp 0x418757
movzx eax, al
movsx eax, byte [eax + 0x42d9b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418731
cmp edx, ebx
jne 0x418731
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418788
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406ca2
leave
ret