joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009d470
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x424]
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, dword [esp + 0x430]
push edi
mov edi, edx
jb 0x1009d4a2
mov eax, dword [eax + 4]
jmp 0x1009d4a5
add eax, 4
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009d552
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x1009d552
push 0x410
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], 0x40f
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x1009d4f7
mov edi, dword [edi + 4]
jmp 0x1009d4fa
add edi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x1009d53a
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009d520
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10002660
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1009d549
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x1009d554
xor al, al
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a4489
add esp, 0x420
ret 8

Function at 0x1009d570
Capabilities:
Set registry value

Disassembly:
cmp dword [eax + 0x18], 8
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov esi, ecx
jb 0x1009d584
mov eax, dword [eax + 4]
jmp 0x1009d587
add eax, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001f
push 0
push 0x100b6894
push 0
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009d606
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1009d606
mov ecx, dword [esi + 0x14]
add ecx, ecx
cmp dword [esi + 0x18], 8
jb 0x1009d5c9
mov edx, dword [esi + 4]
jmp 0x1009d5cc
lea edx, [esi + 4]
cmp dword [ebp + 0x18], 8
jb 0x1009d5d7
mov eax, dword [ebp + 4]
jmp 0x1009d5da
lea eax, [ebp + 4]
push ecx
push edx
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1009d5f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebp
ret 8
Function at 0x1009d610
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [eax + 0x18], 8
push esi
mov esi, ecx
jb 0x1009d621
mov eax, dword [eax + 4]
jmp 0x1009d624
add eax, 4
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009d6a0
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1009d6a0
cmp dword [esi + 0x18], 8
mov dword [esp + 8], 4
jb 0x1009d657
mov eax, dword [esi + 4]
jmp 0x1009d65a
lea eax, [esi + 4]
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x1009d683
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x1009d692
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x10
ret 4
xor al, al
pop esi
add esp, 0x10
ret 4

Function at 0x1009d6b0
Capabilities:
Set registry value

Disassembly:
push ecx
cmp dword [eax + 0x18], 8
push esi
mov esi, ecx
jb 0x1009d6bf
mov eax, dword [eax + 4]
jmp 0x1009d6c2
add eax, 4
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0x2001f
push 0
push 0x100b6894
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009d732
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1009d732
cmp dword [esi + 0x18], 8
jb 0x1009d6ff
mov eax, dword [esi + 4]
jmp 0x1009d702
lea eax, [esi + 4]
mov edx, dword [esp + 0x10]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1009d726
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 8
xor al, al
pop esi
pop ecx
ret 8
Function at 0x1009d740
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x100ab4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
xor eax, eax
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
push esi
mov edx, edi
mov ecx, ebp
call fcn.1009d470
test al, al
jne 0x1009d7c3
cmp dword [esp + 0x30], 8
jb 0x1009d7bc
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1009d85e
cmp byte [ebx], 0
je 0x1009d7cc
mov byte [ebx + 1], 1
mov ebx, 8
cmp dword [esi + 0x18], ebx
mov dword [esp + 0x14], 0
jb 0x1009d7e3
mov esi, dword [esi + 4]
jmp 0x1009d7e6
add esi, 4
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009d849
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1009d849
cmp dword [edi + 0x18], ebx
jb 0x1009d810
mov edi, dword [edi + 4]
jmp 0x1009d813
add edi, 4
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1009d82c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
cmp dword [esp + 0x30], 8
jb 0x1009d845
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
jmp 0x1009d85e
cmp dword [esp + 0x30], ebx
jb 0x1009d85c
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100a4489
add esp, 0x30
ret 8
Function at 0x1009d8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100b2309
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
xor ebx, ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x54], ebx
mov dword [edi + 0xc], 1
mov dword [edi + 0x10], ebx
mov byte [edi + 0x14], bl
mov byte [edi + 0x15], bl
lea ebp, [edi + 0x18]
mov eax, 7
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
mov dword [edi + 0x4c], eax
mov dword [edi + 0x48], ebx
mov word [edi + 0x38], bx
mov byte [esp + 0x54], 3
push 0x41
push str.Coral.Process.RenderID.SHM.E0D576BD_82F5_42ae_91F8_5F65F9310C7B
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.10002660
mov eax, esi
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 4
call fcn.1009b820
add esp, 4
push 0xffffffffffffffff
push ebx
mov ecx, ebp
mov byte [esp + 0x5c], 5
call fcn.10002570
mov ebp, 8
cmp dword [esp + 0x48], ebp
jb 0x1009d982
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov byte [esp + 0x54], 3
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x1009d9ac
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x43
mov dword [esp + 0x30], esi
push str.Coral.Process.RenderID.Mutex.AA0B60B7_67E4_4f0b_9AFE_455ED09F6B9F
lea esi, [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.10002660
mov eax, esi
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 6
call fcn.1009b820
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x34]
mov byte [esp + 0x5c], 7
call fcn.10002570
cmp dword [esp + 0x48], ebp
jb 0x1009da00
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x1009da24
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov byte [edi + 0x14], 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x1009de50
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
mov esi, ecx
je 0x1009de6c
test esi, esi
je 0x1009de6c
cmp byte [ebp + 4], 0
jne 0x1009de74
pop esi
pop ebp
xor al, al
pop ebx
ret 8
cmp ebx, 0x80
push edi
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
jbe 0x1009dee5
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x80
push esi
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x1009def3
mov eax, dword [esp + 0x14]
cmp eax, 0x80
jne 0x1009ded2
push 0
lea edx, [esp + 0x18]
push edx
add ebx, 0xffffff80
push ebx
add esi, eax
mov eax, dword [ebp + 8]
push esi
push eax
call edi
test eax, eax
setne al
add dword [esp + 0x14], 0x80
jmp 0x1009def3
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1009dedc
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1009df01
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1009df10
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
lea edi, [esi + 0x28]
test edi, edi
mov ebx, eax
je 0x1009df2d
mov eax, dword [edi]
test eax, eax
je 0x1009df2d
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 8], 0
je 0x1009df96
test ebx, ebx
je 0x1009df96
mov al, byte [esi + 0x2c]
cmp byte [esi + 5], 0
je 0x1009df99
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebx
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
test bl, bl
je 0x1009df6a
cmp dword [esp + 0x10], ebp
je 0x1009df6f
mov al, byte [esi + 0x2c]
xor bl, bl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1009df7d
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
test edi, edi
je 0x1009df8e
mov edi, dword [edi]
test edi, edi
je 0x1009df8e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
mov al, bl
pop ebx
ret 8
mov dl, byte [esi + 0x2c]
test edi, edi
je 0x1009dfaa
mov edi, dword [edi]
test edi, edi
je 0x1009dfaa
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
xor al, al
pop ebx
ret 8
Function at 0x100a1b40
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub esp, 0x2c
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
xor edi, edi
xor eax, eax
push edi
push 0x400
push 0x400
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push edi
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_PeekMessageW]
push edi
push 0x1388
push 0x469
push edi
call dword [sym.imp.USER32.dll_SetTimer]
push edi
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
push edi
push edi
push edi
lea edx, [esp + 0x28]
test eax, eax
push edx
setne byte [esp + 0x4c]
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x100a1ca5
push ebx
jmp 0x100a1bd0
mov al, byte [ebp + 9]
test al, al
je 0x100a1ca4
cmp dword [esp + 0x24], 0x113
jne 0x100a1c74
cmp dword [esp + 0x28], esi
jne 0x100a1c74
push edi
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne bl
xor al, al
cmp bl, byte [esp + 0x40]
jne 0x100a1c17
mov dl, byte [ebp + 8]
cmp bl, dl
je 0x100a1c19
mov al, 1
test al, al
mov byte [esp + 0x40], bl
je 0x100a1c74
xor esi, esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp + 9]
test al, al
je 0x100a1c3a
add esi, 1
cmp esi, 0x32
jb 0x100a1c23
push edi
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
cmp al, bl
jne 0x100a1c70
mov ecx, dword [ebp]
cmp ecx, edi
mov byte [ebp + 8], bl
je 0x100a1c74
test bl, bl
mov edx, dword [ecx]
je 0x100a1c6a
mov eax, dword [edx + 4]
call eax
jmp 0x100a1c74
mov eax, dword [edx]
call eax
jmp 0x100a1c74
mov byte [esp + 0x40], al
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
mov esi, dword [esp + 0x10]
jne 0x100a1bd0
pop ebx
cmp esi, edi
je 0x100a1cb1
push esi
push edi
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 4
Function at 0x100a2a50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100b2c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push ebp
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x860], ebx
push ebx
push 0x100b6894
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
call fcn.10002660
cmp byte [esp + 0x884], bl
mov byte [esp + 0x860], 1
je 0x100a2ace
mov eax, esi
push eax
call fcn.100a2c00
jmp 0x100a2ad8
lea ecx, [esp + 0x30]
push ecx
call fcn.100a2e20
add esp, 4
push 0x800
lea edx, [esp + 0x52]
push ebx
push edx
mov word [esp + 0x58], bx
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x40]
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x48], ebp
jae 0x100a2b06
lea ecx, [esp + 0x34]
cmp dword [esp + 0x880], ebp
mov eax, dword [esp + 0x86c]
jae 0x100a2b1d
lea eax, [esp + 0x86c]
push ecx
push 0x400
lea ecx, [esp + 0x54]
push ecx
push 0x100b6894
push eax
push str.GreenVersion
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100a2b51
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x1c]
call fcn.10002660
push 0xffffffffffffffff
push ebx
mov eax, esi
mov ecx, edi
mov byte [esp + 0x868], 2
call fcn.10002570
cmp dword [esp + 0x2c], ebp
jb 0x100a2b96
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], ebp
jb 0x100a2ba9
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x880], ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x100a2bd3
mov edx, dword [esp + 0x86c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.100a4489
add esp, 0x854
ret
Function at 0x100a3000
Capabilities:
Link many functions at runtime

Disassembly:
push edi
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [0x100d5c2c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [0x100d5c2c]
xor edi, edi
cmp eax, edi
je 0x100a3029
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.Dwmapi.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [0x100d5c28], eax
je 0x100a309e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmIsCompositionEnabled
push eax
call esi
mov dword [0x100d5c30], eax
mov eax, dword [0x100d5c28]
push str.DwmSetWindowAttribute
push eax
call esi
mov ecx, dword [0x100d5c28]
push str.DwmRegisterThumbnail
push ecx
mov dword [0x100d5c34], eax
call esi
mov edx, dword [0x100d5c28]
push str.DwmUnregisterThumbnail
push edx
mov dword [0x100d5c38], eax
call esi
mov dword [0x100d5c3c], eax
mov eax, dword [0x100d5c28]
push str.DwmUpdateThumbnailProperties
push eax
call esi
mov dword [0x100d5c40], eax
pop esi
jmp 0x100a30bc
mov dword [0x100d5c30], edi
mov dword [0x100d5c34], edi
mov dword [0x100d5c38], edi
mov dword [0x100d5c3c], edi
mov dword [0x100d5c40], edi
mov eax, dword [0x100d5c2c]
cmp eax, edi
pop edi
je 0x100a30cd
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x100d5c28
ret
Function at 0x100a4489
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100d3020]
jne 0x100a4493
repz ret
jmp fcn.100a4a1d

Function at 0x100a52ea
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100d5b18], 0
push esi
jne 0x100a525d
call fcn.100a5188
test eax, eax
je 0x100a52a0
mov eax, dword [0x100d5b18]
cmp eax, 1
jne 0x100a527e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100a52a0
pop esi
ret
push eax
call dword [0x100d5b20]
test eax, eax
jne 0x100a52e8
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 0x100a52a4
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100d5b18]
call dword [0x100d5b20]
mov edi, eax
test edi, edi
je 0x100a52cb
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x100a52e7
lea edi, [esi + 0xff0]
push esi
push dword [0x100d5b18]
call dword [0x100d5b1c]
add esi, 0x10
cmp esi, edi
jb 0x100a52d1
mov eax, esi
pop edi
pop esi
ret
jmp 0x100a524a

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x10011270
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x10011334
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x1003126c], eax
call fcn.10012440
test eax, eax
jne 0x10011294
ret 0xc
mov ecx, dword [0x1003126c]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x10031278], edx
mov dword [0x10031274], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x10031270], eax
mov dword [0x1003126c], ecx
call fcn.100115e0
test eax, eax
jne 0x100112d6
call fcn.10012480
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10088950], eax
call fcn.100122e0
mov ecx, dword [0x10088950]
mov dword [0x10031258], eax
test ecx, ecx
je 0x10011325
test eax, eax
je 0x10011325
call fcn.1009100c
call fcn.100122d0
call fcn.1009100c
call fcn.10011a30
call fcn.10011480
mov eax, dword [0x10031254]
inc eax
mov dword [0x10031254], eax
mov eax, 1
ret 0xc
call fcn.10011640
call fcn.10012480
xor eax, eax
ret 0xc
test eax, eax
jne 0x10011374
mov eax, dword [0x10031254]
test eax, eax
jle 0x1001136f
mov ecx, eax
mov eax, dword [0x100312a4]
dec ecx
test eax, eax
mov dword [0x10031254], ecx
jne 0x10011358
call fcn.100114d0
call fcn.100119d0
call fcn.10011640
call fcn.10012480
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x10011383
push 0
call fcn.10011710
add esp, 4
mov eax, 1
ret 0xc

Function at 0x100114e0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.100115a0
mov eax, dword [0x100312a8]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x10011504
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x100312a4], 1
mov byte [0x100312a0], bl
jne 0x1001155e
mov ecx, dword [0x10088948]
test ecx, ecx
je 0x1001154c
mov esi, dword [0x10088944]
sub esi, 4
cmp esi, ecx
jb 0x1001154c
mov eax, dword [esi]
test eax, eax
je 0x10011545
call eax
mov ecx, dword [0x10088948]
sub esi, 4
cmp esi, ecx
jae 0x10011537
push 0x1001901c
push 0x10019014
call fcn.100115c0
add esp, 8
push 0x10019024
push 0x10019020
call fcn.100115c0
add esp, 8
test ebx, ebx
je 0x1001157d
call fcn.100115b0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x100312a8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100115e0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.100126e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1001a884], eax
je 0x10011638
push 0x74
push 1
call fcn.10012910
mov esi, eax
add esp, 8
test esi, esi
je 0x10011638
mov eax, dword [0x1001a884]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10011638
push esi
call fcn.10011670
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret