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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x3eb520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.003d6e52
and dword [ebp - 0x14], 0
cmp dword [0x42d558], 0
mov dword [ebp - 0x18], eax
jne 0x3dfc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x3dfcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x3dfcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42d560], eax
call edi
push eax
call esi
mov dword [0x42d568], eax
test eax, eax
je 0x3dfc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42d564], eax
mov eax, dword [0x42d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x3dfc78
cmp dword [0x42d568], ecx
je 0x3dfc78
push eax
call esi
push dword [0x42d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x3dfc78
test ebx, ebx
je 0x3dfc78
call edi
test eax, eax
je 0x3dfc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x3dfc6f
test byte [ebp - 8], 1
jne 0x3dfc78
or dword [ebp + 0x10], 0x200000
jmp 0x3dfcab
mov eax, dword [0x42d55c]
cmp eax, dword [ebp - 0x18]
je 0x3dfcab
push eax
call esi
test eax, eax
je 0x3dfcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x3dfcab
mov eax, dword [0x42d560]
cmp eax, dword [ebp - 0x18]
je 0x3dfcab
push eax
call esi
test eax, eax
je 0x3dfcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42d558]
call esi
test eax, eax
je 0x3dfcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x3dfcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.003d13cb
leave
ret
Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x10001173
Capabilities:
Check for time delay via gettickcount
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x11b4]
mov eax, 0x1234
call fcn.100026e0
mov eax, dword [0x1000d0c8]
xor eax, ebp
mov dword [ebp + 0x11b0], eax
mov eax, dword [ebp + 0x11c0]
push ebx
mov ebx, dword [ebp + 0x11bc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x11c8]
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x11cc]
push edi
mov dword [ebp - 0x70], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp + 0xf9c], ax
lea eax, [ebp + 0xf9e]
push eax
call fcn.10002a80
mov eax, dword [str..pipedatastate_]
add esp, 0xc
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100011db
sub eax, edx
lea edi, [ebp + 0xf9c]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x100011ef
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1000120e
sub eax, edx
lea edi, [ebp + 0xf9c]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x10001222
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x78], eax
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
lea eax, [ebp + 0xf9c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
jne 0x100012b9
call ebx
dec eax
dec eax
je 0x100012ac
sub eax, 0xe5
jne 0x10001298
push eax
call esi
push 1
call esi
call edi
sub eax, dword [ebp - 0x78]
cmp eax, 0x1388
jbe 0x10001254
jmp 0x100012b2
push 0xa
lea eax, [ebp + 0x119c]
push eax
call ebx
push eax
call fcn.10009d78
add esp, 0xc
mov eax, dword [ebp - 0x70]
and dword [eax], 0
xor al, al
jmp 0x10001343
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x11c4]
push dword [ebp - 0x74]
push eax
call esi
test eax, eax
je 0x10001304
push edi
lea eax, [ebp - 0x6c]
push eax
push 0x1000
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10001304
push edi
lea eax, [ebp - 0x80]
push eax
push 1
push dword [ebp - 0x74]
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x1000130f
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100012b2
mov esi, dword [ebp - 0x70]
mov eax, dword [esi]
cmp dword [ebp - 0x6c], eax
jae 0x1000131c
mov eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call fcn.10002710
mov eax, dword [esi]
add esp, 0xc
cmp dword [ebp - 0x6c], eax
jae 0x10001336
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x68]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp + 0x11b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100026d0
add ebp, 0x11b4
leave
ret 0x14
Function at 0x100026d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d0c8]
jne 0x100026da
repz ret
jmp fcn.10003b48

Function at 0x1000405b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x10004095
sbb byte [ecx - 0x1017438b], cl
std
invalid
dec esi
or al, 0xf
mov bh, 0xd0

Function at 0x100041b3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10003e55
push edi
mov eax, dword [0x458dc1a3]
call 0x60e89f4b
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10003e65
push eax
push esi
push dword [ebp + 8]
call fcn.10003e1a
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
Function at 0x1000422c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10003e65
push eax
push esi
push dword [ebp + 8]
call fcn.10003e1a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10003e65
push eax
push esi
push dword [ebp + 8]
call fcn.10003e1a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10003e55
cmc
je 0x1000425c
inc ebp
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10003e55
mov bl, byte [ecx + ebx*8 - 0x43]
lea eax, [ebp - 0x84]
push eax
call fcn.10003e65
push eax
push esi
push dword [ebp + 8]
call fcn.10003e1a
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1000464e
add byte [eax], al
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.10003dc6
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x100043c5
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.10003dc6
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10004392
call fcn.10003e55
xor dword [ebp + 0x7e8bed48], ebx
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100046bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x56fffffc], edi
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10003e65
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003e1a
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10003e65
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003e1a
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10003e65
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003e1a
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10003e55
cwde
jo 0x1000493a
inc ebx
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.10003e65
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003e1a
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.10003e55
sbb cl, byte [esp + ecx*2 - 0x635a7fe4]
stc
invalid
cli
invalid
Function at 0x10008977
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.10003fd7
and dword [ebp - 4], 0
cmp dword [0x1000e74c], 0
mov ebx, eax
jne 0x10008a28
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10008ad9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10008ad9
push eax
call fcn.10003f65
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000e74c], eax
call esi
push eax
call fcn.10003f65
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000e750], eax
call esi
push eax
call fcn.10003f65
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000e754], eax
call esi
push eax
call fcn.10003f65
pop ecx
mov dword [0x1000e75c], eax
test eax, eax
je 0x10008a28
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10003f65
pop ecx
mov dword [0x1000e758], eax
mov eax, dword [0x1000e758]
cmp eax, ebx
je 0x10008a80
cmp dword [0x1000e75c], ebx
je 0x10008a80
push eax
call fcn.10003fe0
push dword [0x1000e75c]
mov esi, eax
call fcn.10003fe0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10008a80
test edi, edi
je 0x10008a80
call esi
test eax, eax
je 0x10008a77
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10008a77
test byte [ebp - 0xc], 1
jne 0x10008a80
or dword [ebp + 0x10], 0x200000
jmp 0x10008ab9
mov eax, dword [0x1000e750]
cmp eax, ebx
je 0x10008ab9
push eax
call fcn.10003fe0
pop ecx
test eax, eax
je 0x10008ab9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10008ab9
mov eax, dword [0x1000e754]
cmp eax, ebx
je 0x10008ab9
push eax
call fcn.10003fe0
pop ecx
test eax, eax
je 0x10008ab9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000e74c]
call fcn.10003fe0
pop ecx
test eax, eax
je 0x10008ad9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10008adb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003827
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003880
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1003872
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x100386e
cmp esi, eax
jae 0x1003872
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1003860
cmp esi, eax
jb 0x1003876
xor eax, eax
jmp 0x100387f
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1003e10
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x1003e2b
push 0x80004005
call fcn.010036cc
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1003e2d
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10048cd
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1011248]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.01003d2f
mov edi, eax
cmp edi, esi
je 0x100493f
lea ecx, [ebp - 0x214]
call fcn.01003cbc
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100e7c7
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100495d
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.010048cd
cmp eax, esi
jne 0x10049a8
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x1004947
lea ecx, [ebp - 0x214]
call fcn.01003cbc
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.01003c36
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.01003cbc
mov eax, esi
jmp 0x100492f

Function at 0x1004d7a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x1004d9b
xor eax, eax
jmp 0x1004dc1
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100482c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x1004dbe
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1006a4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1011248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x408], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp eax, edi
jne 0x1006aa7
call fcn.010038bd
mov esi, eax
jmp 0x1006b88
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x1006ac0
call fcn.010038bd
jmp 0x1006b7a
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x1006ab6
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x1006b25
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x1006b02
lea ecx, [ebp - 0x408]
call fcn.010045f0
mov esi, 0x8007000e
lea ecx, [ebp - 0x410]
call fcn.010044ff
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100e7c7
leave
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.010052e7
cmp dword [ebp - 0x408], edi
jne 0x1006b40
mov esi, 0x8007000e
jmp 0x1006b7c
push esi
push dword [ebp - 0x408]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x1006ab6
mov edx, dword [ebp - 0x408]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
call fcn.0100665e
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x1006b07
lea ecx, [ebp - 0x408]
call fcn.010045f0
jmp 0x1006b07