joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62711c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov byte [ebp - 9], 1
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x62729e
inc eax
mov dword [ebp - 0x3c], eax
xor esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + esi*4]
test eax, 0x80000000
setne byte [ebp - 0x12]
test eax, 0x40000000
setne byte [ebp - 0x11]
test eax, 0x20000000
setne al
cmp byte [ebp - 0x11], 0
jne 0x627177
test al, al
je 0x627173
cmp byte [ebp - 0x12], 0
je 0x627177
xor eax, eax
jmp 0x627179
mov al, 1
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + esi*4]
and eax, 0x1fffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x9e9c]
mov edx, dword [edx + 8]
lea eax, [edx + eax*8]
lea edx, [eax + 8]
test byte [edx + 0x22], 0x20
setne dl
test dl, dl
jne 0x6271c2
inc dword [ebx + 0x104]
jmp 0x627294
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
lea edx, [eax + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x34], edx
movzx edi, byte [eax + 0x2d]
test edi, edi
jbe 0x627214
mov ecx, edi
mov eax, 1
shl eax, cl
mov edi, eax
push 0
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
push 0
push 0
lea eax, [ebx + 0x110]
push eax
lea eax, [ebx + 0x118]
push eax
lea edx, [ebx + 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
call fcn.00623fa8
test al, al
je 0x627281
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x14], 0x8013
jne 0x627287
mov byte [ebp - 9], 0
jmp 0x62729e
inc dword [ebx + 0x104]
mov eax, ebx
call fcn.006267c8
inc esi
dec dword [ebp - 0x3c]
jne 0x627143
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6473fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
inc dword [esi + 0x874]
cmp byte [esi + 0x86d], 0
jne 0x64741b
cmp byte [esi + 0x86c], 0
je 0x64741f
mov al, 1
jmp 0x64749d
cmp byte [esi + 0x86e], 0
je 0x647445
mov edi, dword [esi + 0x18]
test edi, edi
je 0x647445
mov eax, edi
call fcn.0044494c
test al, al
je 0x647445
mov byte [esi + 0x86c], 1
mov al, 1
jmp 0x64749d
test bl, bl
jne 0x64745b
cmp byte [esi + 0xb94], 0
jne 0x64745b
cmp byte [esi + 0xb97], 0
jne 0x647471
call fcn.00442e20
mov dword [esi + 0xb98], eax
mov byte [esi + 0xb97], 1
xor eax, eax
jmp 0x64749d
call fcn.00442e20
mov edx, dword [esi + 0xb98]
cmp eax, edx
jb 0x647489
sub eax, edx
cmp eax, 0x9c40
jb 0x64749b
mov byte [esi + 0x86d], 1
mov byte [esi + 0x867], 1
mov al, 1
jmp 0x64749d
xor eax, eax
dec dword [esi + 0x874]
pop edi
pop esi
pop ebx
ret
Function at 0x64a8f8
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
add esp, 0xfffffeec
cmp byte [0x66cef0], 0
jne 0x64a9d8
mov byte [0x66cef0], 1
push esp
push 1
push 0
push 0x64a9e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x64a9d8
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x103
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x64aa1c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x64a9cf
cmp dword [esp + 8], 0x104
jae 0x64a977
mov eax, dword [esp + 8]
mov byte [eax + 0x66cefc], 0
push 0x66d000
mov edx, 0x66cefc
lea eax, [esp + 0x14]
mov ecx, 0xff
call fcn.006497f8
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x64aa28
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x64a9cf
cmp dword [esp + 4], 0
setne byte [0x66cef8]
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x114
ret

Function at 0x64f03c
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xfffff7b4
xor ebx, ebx
push 0x3ff
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
test eax, eax
je 0x64f0cc
lea eax, [esp + 0x810]
xor ecx, ecx
mov edx, 0x3c
call fcn.004032f4
mov dword [esp + 0x810], 0x3c
mov edx, 0x64f0d8
lea eax, [esp + 0x800]
mov ecx, 7
call fcn.00414414
lea eax, [esp + 0x800]
mov dword [esp + 0x81c], eax
mov eax, esp
mov dword [esp + 0x820], eax
xor eax, eax
mov dword [esp + 0x818], eax
mov dword [esp + 0x82c], 1
lea eax, [esp + 0x810]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
add esp, 0x84c
pop ebx
ret

Function at 0x64f0e0
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xfffffedc
mov ebx, eax
mov eax, dword [0x66d7e4]
cmp dword [eax + 0x10], 2
jae 0x64f11b
mov edx, esp
mov ecx, 0x103
mov eax, ebx
call fcn.00414408
push 0
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x64f150
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x64f147
mov edx, 0x64f150
lea eax, [esp + 0x104]
mov ecx, 0xf
call fcn.00414414
push 0
push 0
push 0
push ebx
lea eax, [esp + 0x114]
push eax
push 0
call sub.shell32.dll_ShellExecuteW
add esp, 0x124
pop ebx
ret

Function at 0x6527dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
push eax
mov ebp, esp
pushal
mov edi, 0x27428347
pushfd
pushfd
pop eax
mov ebx, eax
mov ecx, 0x200000
xor eax, ecx
push eax
popfd
pushfd
pop eax
popfd
xor eax, ebx
test eax, ecx
je 0x652854
xor eax, eax
cpuid
mov eax, edx
rol eax, 1
xor eax, ebx
rol eax, 1
xor eax, ecx
mov edi, eax
xor eax, eax
inc eax
push eax
cpuid
and eax, 0xfff3fff
and edx, 0xdfeffbff
and ecx, 0xe7fefe77
xor eax, ecx
xor eax, edx
xor edi, eax
pop eax
ror eax, 1
push eax
cpuid
pop ecx
mov cl, 4
cmp eax, ecx
jb 0x652854
mov eax, ecx
dec eax
dec eax
push eax
cpuid
rol eax, 1
xor eax, ebx
rol eax, 1
xor eax, ecx
rol eax, 1
xor eax, edx
xor edi, eax
rol edi, 1
pop eax
inc eax
cmp al, 5
jb 0x65283b
mov dword [ebp], edi
popal
pop eax
pop ebp
ret
Function at 0x657a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push eax
mov ebp, esp
pushal
mov edi, 0x27428347
pushfd
pushfd
pop eax
mov ebx, eax
mov ecx, 0x200000
xor eax, ecx
push eax
popfd
pushfd
pop eax
popfd
xor eax, ebx
test eax, ecx
je 0x657ae8
xor eax, eax
cpuid
mov eax, edx
rol eax, 1
xor eax, ebx
rol eax, 1
xor eax, ecx
mov edi, eax
xor eax, eax
inc eax
push eax
cpuid
and eax, 0xfff3fff
and edx, 0xdfeffbff
and ecx, 0xe7fefe77
xor eax, ecx
xor eax, edx
xor edi, eax
pop eax
ror eax, 1
push eax
cpuid
pop ecx
mov cl, 4
cmp eax, ecx
jb 0x657ae8
mov eax, ecx
dec eax
dec eax
push eax
cpuid
rol eax, 1
xor eax, ebx
rol eax, 1
xor eax, ecx
rol eax, 1
xor eax, edx
xor edi, eax
rol edi, 1
pop eax
inc eax
cmp al, 5
jb 0x657acf
mov dword [ebp], edi
popal
pop eax
pop ebp
ret
Function at 0x663d4c
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0040d608
call fcn.004457b0
call fcn.0064f3d0
call fcn.0065fd74
xor eax, eax
call fcn.0064f2f4
call fcn.004457dc
call fcn.0049ec0c
call fcn.00643584
cmp byte [0x66d024], 0
jne 0x663d97
cmp byte [0x66d028], 0
jne 0x663d97
cmp byte [0x66d02c], 0
je 0x663db0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x663a54
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x66d030], eax
mov eax, dword [0x66d2a4]
mov dword [eax], 0x258
mov eax, dword [0x66d748]
mov dword [eax], 0x1ff
mov eax, dword [0x66d238]
mov dword [eax], 7
call fcn.00420f28
mov eax, dword [0x66d818]
cmp byte [eax], 0
jne 0x663dee
mov eax, dword [0x66d40c]
cmp byte [eax], 0
jne 0x663dee
xor eax, eax
jmp 0x663df0
mov al, 1
mov edx, dword [0x66d12c]
mov byte [edx], al
mov eax, dword [0x66d818]
movzx eax, byte [eax]
mov edx, dword [0x66d848]
mov byte [edx], al
mov eax, dword [0x66d4d0]
mov dword [eax], fcn.006543d4
mov eax, dword [0x66d574]
mov dword [eax], fcn.006543d4
mov eax, 0x6543e8
call fcn.00418af4
xor eax, eax
mov dword [0x66d034], eax
mov eax, 0x442828
mov edx, dword [0x66d6b4]
mov dword [edx], eax
push 0
push 1
mov dl, 1
mov eax, 1
call fcn.004426b4
xor eax, eax
push ebp
push 0x663e76
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x10
push 0
push 0
call fcn.004427c8
call fcn.00663ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x663e8c
push 0
push 0x20
push 0
push 0
call fcn.004427c8
cmp dword [0x66d034], 0
je 0x663ea7
call fcn.0041f150
push 0
push 0x30
push 0
push 0
call fcn.004427c8
call fcn.00663654
push 0
push 1
xor edx, edx
mov eax, 1
call fcn.004426b4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1bdec63
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
nop
pushfd
push eax
add esp, 4
popfd
call fcn.01bdf08b
push edx
pop edx
xchg ecx, edi
xchg edi, ecx
lea eax, [ebp - 0xd8]
pushfd
xor edx, 0xd50a59d2
xor edx, 0xd50a59d2
popfd
mov edx, edx
mov ebx, 0x61
pushfd
push ebx
add esp, 4
popfd
xchg esi, esi
add bx, 0xa
mov edi, edi
pushfd
push 0x16a133ca
add esp, 4
popfd
mov word [eax], bx
mov edx, edx
sub bx, 6
push ecx
push edi
pop edi
pop ecx
push ebx
push edx
pop edx
pop ebx
mov word [eax + 2], bx
nop
add bx, 0xd
xchg ecx, eax
xchg ecx, eax
mov word [eax + 4], bx
pushfd
inc ecx
dec ecx
popfd
sub bx, 4
xchg esi, eax
xchg esi, eax
pushfd
inc ecx
dec ecx
popfd
mov word [eax + 6], bx
pushfd
push 0x302aed7c
add esp, 4
popfd
xchg ecx, ecx
sub bx, 9
xchg ecx, ecx
mov word [eax + 8], bx
pushfd
xor esi, 0xecf4bbb5
xor esi, 0xecf4bbb5
popfd
pushfd
inc ecx
dec ecx
popfd
add bx, 7
mov ecx, ecx
mov word [eax + 0xa], bx
mov ebx, ebx
push ecx
push eax
pop eax
pop ecx
sub bx, 0x39
push esi
pop esi
mov word [eax + 0xc], bx
Function at 0x100028e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x101b6ff8]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x4e
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x74
mov byte [ebp - 7], 0x78
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.10140340
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x100029ee
push 0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
call fcn.10003753
add esp, 4
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x124], 0
push 0
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x118], 0
je 0x100029ee
mov eax, dword [ebp - 0x118]
push eax
call fcn.10001cb0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1013ac0d
mov esp, ebp
pop ebp
ret
Function at 0x10006598
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x101577a5
call fcn.1013b20c
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x10006642
push dword [ebp + 8]
mov ecx, eax
call fcn.100068d0
mov esi, eax
test esi, esi
je 0x100066d5
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x1000662b
push edx
call fcn.10003753
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000662b
xor edi, edi
inc edi
jmp 0x10006635
push dword [ebx]
call fcn.1000374e
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.1000645d
jmp 0x100066d3
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.1013b1cf
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100066cb
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.10003753
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x100066c5
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.10006439
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.10006439
add al, bl
mov edx, edi
test edx, edx
jns 0x100066b6
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x1000668d
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.10005e2e
mov eax, edi
call fcn.1013b1d5
ret 0x10

Function at 0x100066dd
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x10006730
push esi
push dword [ebp + 8]
call fcn.100068d0
mov edi, eax
test edi, edi
jne 0x10006700
mov eax, dword [ebp + 0x10]
jmp 0x10006742
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100066fb
mov eax, dword [ebp - 8]
jmp 0x10006742
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000b563
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1000b5a8
call fcn.100087e6
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000b5a8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1000b5c4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.100195c1
mov ebx, eax
test edi, edi
je 0x1000b5c2
test esi, esi
je 0x1000b5c2
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000bfd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x1000c092
cmp dword [esi + 0x20], 0
je 0x1000c092
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000c092
cmp dword [ebp + 8], 0
je 0x1000c092
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.100087e6
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000c063
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1000c092
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1001a171
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x1000c083
test edi, edi
je 0x1000c083
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x1000c08e
mov ecx, esi
call fcn.1000bd77
mov eax, ebx
jmp 0x1000c094
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100105a4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1015c238
call fcn.1013b20c
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x100105ca
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10010629
call fcn.10011d42
push eax
lea ecx, [ebp - 0x10]
call fcn.100048d6
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.1013b1cf
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.101426e0
push eax
call fcn.10004eea
add esp, 0x14
test esi, esi
je 0x1001061c
push esi
call fcn.101409d0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10005e2e
mov eax, ebx
call fcn.1013b1d5
ret 8
Function at 0x1001a7aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1001a7d5
cmp dword [ebx + 0x80], 0
jne 0x1001a7d5
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.100087e6
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.1001aa68
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001a80f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.100087e6
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001a846
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001a867
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001c98a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x1001c9a4
mov edi, dword [esi + 0xc]
jmp 0x1001c9e4
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001c9bd
call fcn.100166e9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1001c9d2
call fcn.100166e9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1001c9e4
call fcn.100166e9
call fcn.100087e6
cmp dword [eax + 0x3c], 0
je 0x1001c9f9
push edi
mov ecx, ebx
call fcn.1001c0c3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1001cbd6
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1001ca22
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1001ca2e
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100229d3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.100104ee
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10022a0f
call fcn.10022bf5
mov dword [esi + 0xc], 1
jmp 0x10022a14
call fcn.10022bf5
cmp dword [esi], 0
je 0x10022a5d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10022a37
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1000b639
jmp 0x10022a48
push 0xff
mov ecx, esi
call fcn.10005a79
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10006a0c
jmp 0x10022a81
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10022a81
push dword [esi]
push dword [ebp - 4]
call fcn.10010a73
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10022b4a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10022bf5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10022b92
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000b639
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10006a0c
jmp 0x10022b9d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10010a73
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100341af
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10082d4b
call fcn.1000883a
cmp dword [eax + 0x14], 0
jne 0x100341ca
mov ecx, esi
pop esi
jmp fcn.100334fa
pop esi
ret

Function at 0x10035073
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.1011fcc2
call fcn.1000883a
cmp dword [eax + 0x14], 0
jne 0x1003508e
mov ecx, esi
pop esi
jmp fcn.100348f1
pop esi
ret
Function at 0x1004394d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x10043966
call fcn.100087e6
mov esi, dword [eax + 0xc]
push 0x10172f84
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x100439bc
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100439bb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1004399c
xor esi, esi
jmp 0x100439b2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.100439c4
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x101534ad
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1015316d