joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5023e0
Capabilities:
Check for debugger via api

Disassembly:
sub esp, 0x28
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x5024d2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x502417
cmp dword [esp + 0xc], 0
jne 0x5024d2
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6cc9b0]
cmp eax, dword [ecx + 4]
jle 0x50246b
push 0x6cc9b0
call fcn.0055e917
add esp, 4
cmp dword [0x6cc9b0], 0xffffffff
jne 0x50246b
push str.NtQueryInformationProcess
push 0x56acac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6cc9b0
mov dword [0x6c40d0], eax
call fcn.0055e8c6
add esp, 4
mov esi, dword [0x6c40d0]
test esi, esi
je 0x5024cb
push 0
push 0x18
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x5635b4]
call esi
test eax, eax
js 0x5024cb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5024cb
push 0
push 1
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x5024cb
mov al, byte [esp + 0xb]
and al, 1
pop esi
add esp, 0x28
ret
xor al, al
pop esi
add esp, 0x28
ret
mov al, 1
pop esi
add esp, 0x28
ret

Function at 0x502e70
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x502ecd
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x502ec6
lea eax, [esp + 0x2c]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x502ed8
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x502ea3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
add esp, 0x22c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
add esp, 0x22c
ret
Function at 0x503a80
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x503a99
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp dword [sym.imp.KERNEL32.dll_FreeConsole]
ret
Function at 0x509a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5614fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x10], 1
mov edx, 0xff
mov cx, word [eax + 0xc]
and cx, dx
xor cx, word [eax + esi*2]
movzx ecx, cx
push ecx
mov ecx, edi
call fcn.005001d0
mov eax, dword [ebp - 0x14]
inc esi
mov edx, 0xff
cmp esi, 5
jb 0x509aa4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x50b100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5614fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x10], 1
mov edx, 0xff
mov cx, word [eax + 0x10]
and cx, dx
xor cx, word [eax + esi*2]
movzx ecx, cx
push ecx
mov ecx, edi
call fcn.005001d0
mov eax, dword [ebp - 0x14]
inc esi
mov edx, 0xff
cmp esi, 8
jb 0x50b164
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x50b560
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
je 0x50b589
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x50b578
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x5103f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get number of processors

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, 0xff
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
and bx, word [edi + 0x54]
mov eax, ebx
mov dword [esp + 0x18], ebx
xor eax, 0x43
mov esi, ebx
mov word [edi], ax
xor esi, 0x6e
mov eax, ebx
mov word [edi + 0xc], si
xor eax, 0x6f
movzx ebp, ax
mov word [edi + 2], ax
mov eax, ebx
xor eax, 0x75
mov word [edi + 0xe], bp
mov word [edi + 4], ax
mov eax, ebx
xor eax, 0x6c
mov word [edi + 6], ax
mov eax, ebx
xor eax, 0x64
movzx ecx, ax
mov word [edi + 8], ax
mov eax, ebx
xor eax, 0x20
movzx edx, ax
mov word [edi + 0xa], ax
mov eax, ebx
xor eax, 0x74
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
xor ebx, 0x61
movzx edi, ax
mov dword [esp + 0x20], ebx
mov word [edx + 0x10], ax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov word [eax + 0x12], dx
mov word [eax + 0x16], cx
mov word [eax + 0x18], cx
mov word [eax + 0x1a], dx
mov edx, dword [esp + 0x14]
mov word [eax + 0x14], bx
mov ebx, dword [esp + 0x14]
mov word [eax + 0x1c], di
mov eax, dword [esp + 0x18]
mov ecx, eax
xor eax, 0x65
xor ecx, 0x68
mov word [ebx + 0x20], ax
mov word [edx + 0x1e], cx
movzx edx, ax
mov eax, dword [esp + 0x1c]
mov word [ebx + 0x22], ax
mov eax, dword [esp + 0x18]
xor eax, 0x69
mov word [ebx + 0x24], ax
mov eax, dword [esp + 0x18]
xor eax, 0x63
mov word [ebx + 0x26], ax
mov eax, ebx
mov word [eax + 0x2a], si
mov esi, dword [esp + 0x1c]
mov word [eax + 0x28], bp
mov word [eax + 0x30], bp
mov ebp, dword [esp + 0x18]
mov word [eax + 0x2c], si
mov word [eax + 0x2e], di
mov word [eax + 0x32], si
mov word [eax + 0x34], di
mov word [eax + 0x36], cx
mov word [eax + 0x38], dx
mov word [eax + 0x3a], si
mov eax, ebp
xor eax, 0x73
mov ecx, ebx
mov word [ebx + 0x40], ax
mov word [ecx + 0x3c], ax
mov eax, ebx
mov ecx, ebp
xor ecx, 0x79
mov word [ebx + 0x3e], cx
mov word [eax + 0x44], dx
mov edx, ebx
mov ebx, dword [esp + 0x20]
mov word [eax + 0x42], di
mov eax, ebp
xor eax, 0x6d
xor ebp, 0x72
mov word [edx + 0x46], ax
mov eax, dword fs:[0x2c]
mov word [edx + 0x4a], di
mov word [edx + 0x48], si
mov word [edx + 0x4c], bp
mov edi, dword [eax]
mov word [edx + 0x4e], bx
mov word [edx + 0x50], cx
mov eax, dword [0x6cc9a8]
cmp eax, dword [edi + 4]
jle 0x51058b
push 0x6cc9a8
call fcn.0055e917
add esp, 4
cmp dword [0x6cc9a8], 0xffffffff
jne 0x51058b
push 0x29
mov ecx, 0x6c40d8
call fcn.004f6ca0
push 0x6cc9a8
call fcn.0055e8c6
add esp, 4
mov ecx, 0x6c40d8
call fcn.004facc0
mov ecx, dword [0x6c062c]
mov esi, eax
cmp ecx, dword [edi + 4]
jle 0x5105d4
push 0x6c062c
call fcn.0055e917
add esp, 4
cmp dword [0x6c062c], 0xffffffff
jne 0x5105d4
push 0x52
mov ecx, 0x6c67f0
call fcn.004f6ca0
push 0x6c062c
call fcn.0055e8c6
add esp, 4
mov ecx, 0x6c67f0
call fcn.004facc0
mov ecx, dword [esp + 0x14]
shl eax, 0x10
pop edi
xor eax, esi
pop esi
pop ebp
mov dword [ecx + 0x54], eax
mov eax, ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x510d30
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x510d61
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.004f77c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x510e6e
nop dword [eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x18], ebp
cmp edi, esi
jne 0x510df4
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x510e61
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x510e2e
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x510e29
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x18]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x510e5d
cmp edi, edx
je 0x510e3e
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x510e78
cmp edi, edx
jne 0x510e32
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x14]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x510da0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x510e5d
Function at 0x518860
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x5188be
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x5188a2
cmp edi, 2
jb 0x5188a2
cmp byte [esi], cl
jne 0x5188a2
cmp byte [esi + 1], cl
jne 0x5188a2
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x570d78]
jmp 0x518873
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x570d78]
test edi, edi
jne 0x518873
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x5188ed
cmp cl, 0x23
jne 0x5188d4
cmp byte [esi], cl
jne 0x5188d4
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x570d78]
test cl, cl
jne 0x5188c5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x5189f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
test ebp, ebp
je 0x518a03
mov dword [ebp], 0
call fcn.00518900
mov esi, eax
test esi, esi
je 0x518adf
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x518ad5
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x518ad5
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x518ad5
push 0
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x518ad5
mov eax, dword [0x6bb530]
test eax, eax
je 0x518a72
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x518ad5
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x518abe
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x6bb530]
add esp, 4
test eax, eax
je 0x518aad
dec dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebp, ebp
je 0x518ace
mov dword [ebp], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x51cd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x14]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x570d78]
sub esi, 1
jne 0x51cd21
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e7c], ebx
jne 0x51cd59
push ecx
push dword [esp + 0x18]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0052f460
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4

Function at 0x51cd70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x570d78]
sub edi, 1
jne 0x51cde1
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x52e1c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x52e242
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x52e1fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.005301d0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.005190d0
mov edx, dword [esi]
mov ecx, 0x6bb31a
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.005190d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5390c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5390f7
mov eax, dword [0x6bb530]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x5390e6
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x53912c
mov eax, dword [0x6bb530]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x53911b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x539161
mov eax, dword [0x6bb530]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x539150
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x5391b2
mov eax, dword [0x6bb530]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x5391a1
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x5391e7
mov eax, dword [0x6bb530]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x5391d6
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x53921c
mov eax, dword [0x6bb530]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x53920b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0053c090
Function at 0x53ce50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x6bb530]
test eax, eax
je 0x53ce9a
inc dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov dword [esp + 0xc], eax
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x53cf55
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x53cf55
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edx, dword [esp + 0xc]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x6bb678], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x6bb680], edx
shl ecx, 8
add ecx, edx
mov dword [0x6bb684], edx
add edi, ecx
mov ecx, esi
mov dword [0x6bb67c], edi
call fcn.00540660
cmp eax, esi
je 0x53cf55
nop
cmp dword [0x6bb684], edi
ja 0x53cf55
mov ecx, eax
mov esi, eax
call fcn.00540660
cmp eax, esi
jne 0x53cf40
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x53cf69
mov ecx, 0x1e
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
jmp 0x53cfa9
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
movss xmm0, dword [esp + 0x10]
lea esi, [esp + 0x18]
comiss xmm0, dword [0x58a7bc]
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x90]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jbe 0x53cff6
movss dword [esp + 0x28], xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.0053c960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55e774
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x55e79b
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x55e79e
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0055e750
pop esi
leave
ret 8

Function at 0x55f3bf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x55f3fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x55f3fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x55f3fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x55f3fe
cmp dword [ecx + 0x74], 0xe
jbe 0x55f3fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xdb3370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xdb338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xddc074
push ecx
mov edi, eax
call fcn.00dc7198
mov esi, eax
add esp, 8
test esi, esi
jne 0xdb33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00dc702e
push esi
call fcn.00dc6fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xdb6850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xdb68ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xde1720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdb68ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00dc71e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xdb68ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xde1720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdb692a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00dc8082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xdb6957
mov word [eax], si
add eax, 2
push eax
call fcn.00dc8030
add esp, 4
jmp 0xdb6959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xdb68ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xdb68b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xdb6ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret