joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433e26
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004298e1
and dword [ebp - 4], 0
cmp dword [0x453bb0], 0
mov ebx, eax
jne 0x433ed7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x433f88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443dac
push edi
call esi
test eax, eax
je 0x433f88
push eax
call fcn.0042986f
mov dword [esp], 0x443d9c
push edi
mov dword [0x453bb0], eax
call esi
push eax
call fcn.0042986f
mov dword [esp], 0x443d88
push edi
mov dword [0x453bb4], eax
call esi
push eax
call fcn.0042986f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x453bb8], eax
call esi
push eax
call fcn.0042986f
pop ecx
mov dword [0x453bc0], eax
test eax, eax
je 0x433ed7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042986f
pop ecx
mov dword [0x453bbc], eax
mov eax, dword [0x453bbc]
cmp eax, ebx
je 0x433f2f
cmp dword [0x453bc0], ebx
je 0x433f2f
push eax
call fcn.004298ea
push dword [0x453bc0]
mov esi, eax
call fcn.004298ea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x433f2f
test edi, edi
je 0x433f2f
call esi
test eax, eax
je 0x433f26
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x433f26
test byte [ebp - 0xc], 1
jne 0x433f2f
or dword [ebp + 0x10], 0x200000
jmp 0x433f68
mov eax, dword [0x453bb4]
cmp eax, ebx
je 0x433f68
push eax
call fcn.004298ea
pop ecx
test eax, eax
je 0x433f68
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x433f68
mov eax, dword [0x453bb8]
cmp eax, ebx
je 0x433f68
push eax
call fcn.004298ea
pop ecx
test eax, eax
je 0x433f68
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453bb0]
call fcn.004298ea
pop ecx
test eax, eax
je 0x433f88
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x433f8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438fe0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x439054
test edi, edi
je 0x438ffc
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call fcn.0042524e
mov edx, 0x4000
mov ecx, edi
mov dword [eax], 0
mov eax, dword [esi + 0x40]
sar edx, cl
push eax
mov eax, dword [esi + 0x44]
add eax, edi
push edx
push 1
push eax
call fcn.00423346
add esp, 0x10
test eax, eax
jne 0x439039
mov ecx, dword [esi + 0x40]
test byte [ecx + 0xc], 0x20
je 0x439039
mov dword [esi + 0x38], 0xffffffff
mov edx, dword [esi + 4]
add edx, eax
mov dword [esi + 4], edx
mov eax, edx
mov edx, dword [esi + 0x44]
cmp eax, 2
mov dword [esi], edx
jae 0x439054
mov dword [esi + 0x58], eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi]
mov edx, dword [0x4444a8]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, edx
jne 0x439170
mov ecx, dword [0x4444ac]
xor edx, edx
mov dl, byte [eax + 1]
cmp edx, ecx
jne 0x439170
mov ecx, dword [esi + 4]
add eax, 2
add ecx, 0xfffffffe
push esi
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.00439180
push esi
mov edi, eax
call fcn.00439180
add esp, 8
cmp edi, 8
mov ebx, eax
jne 0x439165
test bl, 0xe0
jne 0x439165
mov edi, 6
push esi
call fcn.00439180
add esp, 4
dec edi
jne 0x4390b3
test bl, 4
je 0x4390f6
push esi
call fcn.00439180
push esi
mov edi, eax
call fcn.00439180
shl eax, 8
add edi, eax
add esp, 8
mov eax, edi
dec edi
test eax, eax
je 0x4390f6
push esi
call fcn.00439180
add esp, 4
cmp eax, 0xffffffff
je 0x4390f6
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4390e1
test bl, 8
je 0x43911a
push esi
call fcn.00439180
add esp, 4
test eax, eax
je 0x43911a
cmp eax, 0xffffffff
je 0x43911a
push esi
call fcn.00439180
add esp, 4
test eax, eax
jne 0x439108
test bl, 0x10
je 0x43913e
push esi
call fcn.00439180
add esp, 4
test eax, eax
je 0x43913e
cmp eax, 0xffffffff
je 0x43913e
push esi
call fcn.00439180
add esp, 4
test eax, eax
jne 0x43912c
test bl, 2
je 0x439154
mov edi, 2
push esi
call fcn.00439180
add esp, 4
dec edi
jne 0x439148
mov edx, dword [esi + 0x3c]
pop edi
neg edx
sbb edx, edx
and edx, 0xfffffffd
mov dword [esi + 0x38], edx
pop esi
pop ebx
ret
mov dword [esi + 0x38], 0xfffffffd
pop edi
pop esi
pop ebx
ret
mov dword [esi + 0x58], 1
pop edi
pop esi
pop ebx
ret

Function at 0x439180
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x439191
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
jne 0x4391de
call fcn.0042524e
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call fcn.00423346
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
jne 0x4391d9
mov edx, dword [esi + 0x40]
mov dword [esi + 0x3c], 1
or eax, 0xffffffff
test byte [edx + 0xc], 0x20
je 0x4391f0
mov dword [esi + 0x38], eax
pop esi
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi + 4]
xor ecx, ecx
dec eax
mov dword [esi + 4], eax
mov eax, dword [esi]
mov cl, byte [eax]
inc eax
mov dword [esi], eax
mov eax, ecx
pop esi
ret
Function at 0x439550
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x439607
cmp byte [esi + 0x5c], 0x77
jne 0x439607
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test edi, edi
mov dword [esi], ebp
mov dword [esi + 4], edi
je 0x4395eb
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4395a5
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call fcn.00422fbc
add esp, 0x10
cmp eax, 0x4000
jne 0x4395e4
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
add eax, edx
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x10]
add ecx, eax
push 0
push esi
mov dword [esi + 0x68], ecx
call fcn.004379c0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x64]
sub edx, ecx
add esp, 8
mov dword [esi + 0x64], edx
mov edx, dword [esi + 0x10]
sub dword [esi + 0x68], edx
mov dword [esi + 0x38], eax
test eax, eax
jne 0x4395eb
test ecx, ecx
jne 0x43957a
jmp 0x4395eb
mov dword [esi + 0x38], 0xffffffff
mov eax, dword [esi + 0x4c]
push edi
push ebp
push eax
call fcn.0043cce0
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop ebp
sub eax, ecx
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret

Function at 0x439610
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x4396d6
cmp byte [esi + 0x5c], 0x77
jne 0x4396d6
mov ebp, dword [esp + 0x18]
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x10]
mov edi, 0x4000
sub edi, eax
je 0x439663
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call fcn.00422fbc
add esp, 0x10
cmp eax, edi
jne 0x4396ba
mov edx, dword [esi + 0x48]
mov dword [esi + 0x10], 0x4000
mov dword [esi + 0xc], edx
test ebx, ebx
jne 0x4396c5
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x68]
add ecx, eax
push ebp
push esi
mov dword [esi + 0x68], ecx
call fcn.004379c0
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x68]
add esp, 8
sub ebx, ecx
test edi, edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x68], ebx
jne 0x439696
cmp eax, 0xfffffffb
jne 0x439696
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x4396a4
cmp dword [esi + 0x38], 1
je 0x4396a4
xor ebx, ebx
jmp 0x4396a9
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x439633
cmp eax, 1
jne 0x4396c5
jmp 0x439633
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esi + 0x38]
pop edi
mov eax, esi
dec eax
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x100012e2
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.1002055b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.1002055b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.1002055b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x10022fa0
call fcn.10020573
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
je 0x100013a9
mov eax, 0
jmp 0x10001508
mov dword [ebp - 0x20], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 1
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x100013d5
push 6
call fcn.10020579
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100013ee
push ebx
call fcn.10020555
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 2
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x1000141d
push 6
call fcn.10020579
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x100bbeff
mov eax, 3
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x10001447
push 6
call fcn.10020579
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 4
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x100014db
push 6
call fcn.10020579
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 5
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x10001500
push 6
call fcn.10020579
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x10001508
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001519
push ebx
call fcn.10020555
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10020555
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10020555
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.10020555
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1000750d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.1002055b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.1002055b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.1002055b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x10022fa0
call fcn.10020573
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
je 0x100075d4
mov eax, 0
jmp 0x10007733
mov dword [ebp - 0x20], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x11
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x10007600
push 6
call fcn.10020579
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007619
push ebx
call fcn.10020555
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x12
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x10007648
push 6
call fcn.10020579
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x100bbeff
mov eax, 0x13
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x10007672
push 6
call fcn.10020579
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x14
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x10007706
push 6
call fcn.10020579
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x15
call fcn.1002057f
cmp dword [ebp - 0x20], esp
je 0x1000772b
push 6
call fcn.10020579
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x10007733
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007744
push ebx
call fcn.10020555
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10020555
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10020555
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.10020555
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1002d620
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b278b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100a4898
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1002d6a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100a1f70
mov eax, dword [eax]
push 0x1058d244
push eax
call fcn.10093d04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100a4b23
test bl, bl
je 0x1002d6a2
push 0x1058d244
lea ecx, [esp + 0xc]
call fcn.100a4eff
push 0x10590dd0
lea ecx, [esp + 0xc]
call fcn.100a4eff
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1002d6de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100a4b23
jmp 0x1002d7a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1002d762
lea edx, [esp + 0x7c]
push 0x10590dcc
push edx
call fcn.10093d04
add esp, 8
test eax, eax
je 0x1002d762
lea eax, [esp + 0x7c]
push 0x10590dc8
push eax
call fcn.10093d04
add esp, 8
test eax, eax
je 0x1002d762
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1002d6f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100a4b23
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x1002dfc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1002e022
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x1002e030
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b280b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1059a0d4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x1002e168
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1002e096
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100a4b23
xor eax, eax
jmp 0x1002e1df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100a4cac
push esi
lea ecx, [esp + 0xc]
call fcn.100a4f3b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x10590e08
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1002e1bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1002dfc0
test eax, eax
jne 0x1002e1bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.1002dfc0
test eax, eax
jne 0x1002e1bd
lea eax, [esp + 0x14]
push 0x10590de4
push eax
call fcn.10094de0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002e19c
lea ecx, [esp + 0x14]
push 0x10590de0
push ecx
call fcn.10094d60
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002e19c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1002e19f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100a4c5c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1002e0ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100a4b23
xor eax, eax
jmp 0x1002e1df
mov byte [esi], 0
push 0x10590ddc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.100a4b23
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x10043750
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x100437be
cmp si, 0x69
ja 0x100437be
add esi, 0xffd0
cmp si, 0x11
je 0x1004378e
push 0x11
call edi
test ax, ax
jge 0x1004378e
or esi, 0x2000
cmp si, 0x10
je 0x100437a3
push 0x10
call edi
test ax, ax
jge 0x100437a3
or esi, 0x4000
cmp si, 0x12
je 0x100437b8
push 0x12
call edi
test ax, ax
jge 0x100437b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x100437cb
mov esi, 0xbd
jmp 0x1004377f
cmp si, 0x6e
jne 0x100437d8
mov esi, 0xbe
jmp 0x1004377f
cmp si, 0x6f
jne 0x10043779
mov esi, 0xbf
jmp 0x1004377f

Function at 0x10044f80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x105ab0d8]
xor edx, edx
cmp eax, edx
jne 0x10044fa6
xor eax, eax
mov byte [eax + 0x105aafd8], al
inc eax
cmp eax, 0x100
jl 0x10044f8e
mov dword [0x105ab0d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x105aafd8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10045037
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1004500a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10044fd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100450b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10045103
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x100450ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10048640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b4138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.100ab6bc
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.10048510
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.100ab72e
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x100486e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b4158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.100ab608
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x30], 0
call esi
push 1
mov edi, eax
call esi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.10048510
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.100ab67a
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret