joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416f40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62c158
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x703eb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push 0xc
push esi
push 0x64e0e0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call fcn.0041a80c
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x416f9c
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push 0x6ce030
push edx
mov dword [ebp - 4], esi
call fcn.00402d30
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
add esp, 0xc
push esi
mov ecx, edi
call fcn.004023d0
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ff4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62c54c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0xc4]
call fcn.0053a8a0
lea eax, [ebp - 0xfc]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
mov edi, 0xffff26fd
call fcn.00417fb0
mov ecx, dword [ebp - 0xec]
cmp dword [ecx - 0xc], 0
mov byte [ebp - 4], 1
je 0x418921
push str.REIMAGHttp_8LVZwB50NR1V
lea ecx, [ebp - 0xc4]
call fcn.0053a9c0
cmp al, 1
je 0x4187c3
lea ecx, [ebp - 0xc4]
call fcn.0053ac50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xfc]
call fcn.004163b0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.0053a940
xor eax, eax
jmp 0x418940
lea ecx, [ebp - 0xd4]
call fcn.0053a380
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.0053a380
mov esi, dword [esi + 0x14]
push esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
call fcn.0053a5e0
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0xe4]
call fcn.0053a4e0
lea ecx, [ebp - 0xe4]
call fcn.0053a6e0
push eax
lea ecx, [ebp - 0xc4]
call fcn.0053abe0
push eax
lea ecx, [ebp - 0xd4]
call fcn.0053a4a0
lea ecx, [ebp - 0xe4]
call fcn.0053a6e0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call ebx
push str._response_
lea ecx, [ebp - 0xd4]
call fcn.0053a620
test al, al
jne 0x418892
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.0053a420
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.0053a420
lea ecx, [ebp - 0xfc]
call fcn.004163b0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.0053a940
mov eax, 0xffff26fd
jmp 0x418940
push str._type_annual__type_
lea ecx, [ebp - 0xd4]
call fcn.0053a620
test al, al
je 0x418903
push str._expiration_
lea ecx, [ebp - 0xd4]
call fcn.0053a530
push str.__expiration_
lea ecx, [ebp - 0xd4]
lea esi, [eax + 0xc]
call fcn.0053a530
mov edi, eax
sub edi, esi
push edi
push esi
lea ecx, [ebp - 0xd4]
call fcn.0053a550
mov ecx, eax
call fcn.0053a6e0
push eax
call ebx
push edi
push esi
lea ecx, [ebp - 0xd4]
call fcn.0053a550
mov ecx, eax
call fcn.0053a6e0
push eax
call fcn.005231cf
add esp, 4
mov edi, eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.0053a420
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.0053a420
lea ecx, [ebp - 0xfc]
call fcn.004163b0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.0053a940
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521602
mov esp, ebp
pop ebp
ret
Function at 0x41bbb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041db3a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41bbe9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041b7ed
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41bc47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x41bc6b
cmp dword [edi + 0x74], 0
jne 0x41bc6b
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041db3a
mov esi, dword [eax + 0xc]
push 5
push ebx
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 ebx, eax
push ebx
mov ecx, edi
call fcn.0041bc08
push ebx
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 0x424d9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x424de2
call fcn.0041db3a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x424de2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x424dfe
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042489b
mov esi, eax
test edi, edi
je 0x424dfc
test ebx, ebx
je 0x424dfc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4255d4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x634a4c
call fcn.00524e38
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4255f9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42564b
call fcn.0041a80c
push eax
lea ecx, [ebp - 0x10]
call fcn.00402900
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052513f
push eax
call fcn.00401000
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.00524f10
ret 8
Function at 0x42b07a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42b0bf
push 0x650918
push 4
push eax
call fcn.0052521b
push eax
call fcn.00401000
add esp, 0x10
jmp 0x42b0d5
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42b155
push edi
call fcn.005252c0
mov edi, dword [eax]
call fcn.005252c0
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005221f0
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005252c0
cmp dword [eax], 0
je 0x42b129
call fcn.005252c0
push dword [eax]
call fcn.0041dedf
pop ecx
jmp 0x42b130
call fcn.005252c0
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x42b155
cmp dword [ebp - 0x234], esi
jae 0x42b155
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42b157
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00521602
leave
ret
Function at 0x42b73a
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0041ff24
pop ecx
cmp eax, esi
je 0x42b824
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x42b824
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.005236f0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x42b824
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x42b824
cmp esi, 0x14
jge 0x42b824
push 0x10
push 0
push edi
call fcn.00525531
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42b813
call fcn.005252c0
cmp dword [eax], 0x22
je 0x42b813
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00524ce5
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x42b7e9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x71abf4], 0
jne 0x42b8af
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x42b8d8
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0042b07a
pop ecx
pop ecx
test eax, eax
jne 0x42b8da
inc edi
cmp edi, esi
jl 0x42b8b5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00521602
leave
ret 8
Function at 0x42dcf6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42dd3e
call fcn.0041db3a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42dd3e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42dd81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42dd6a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42dd6a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x42dd7e
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42ed72
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 1
mov ecx, esi
test al, 1
je 0x42ed96
mov eax, dword [esi]
push 0
call dword [eax + 0xe0]
test eax, eax
jne 0x42eda4
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0xe0]
jmp 0x42ed90
xor eax, eax
inc eax
pop esi
ret

Function at 0x437ddc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x62deba
call fcn.00524e38
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004023d0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x437e3e
call fcn.0041d3d4
cmp eax, 1
jne 0x437e3e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00406870
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402930
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401170
mov dword [ebp + 8], VariantInit
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.00524f10
ret 0x10
Function at 0x437e67
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x62deba
call fcn.00524e38
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004023d0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x437ec9
call fcn.0041d3d4
cmp eax, 1
jne 0x437ec9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00406870
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402930
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401170
mov dword [ebp + 8], VariantInit
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.00524f10
ret 0x14

Function at 0x4386f3
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x438728
xor eax, eax
jmp 0x43877b
lea eax, [ebp - 0x210]
push eax
call fcn.00524ce5
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x438759
push 0x6cc1e0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052554b
add esp, 0xc
test eax, eax
jne 0x438724
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052554b
add esp, 0xc
test eax, eax
jne 0x438724
lea eax, [ebp - 0x210]
push eax
call fcn.0041ff24
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00521602
leave
ret

Function at 0x4423f5
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x442433
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x442441
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442441
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x442443
cmp dword [esi + 4], 0
je 0x442441
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x44e2e7
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044df8b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x44e331
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041a70d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041a6de
jmp 0x44e33c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004344d1
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44e342
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00424ea7
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x44e37f
call fcn.0044df8b
mov dword [esi + 0xc], 1
jmp 0x44e384
call fcn.0044df8b
cmp dword [esi], 0
je 0x44e3cd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x44e3a5
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041a70d
jmp 0x44e3b7
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402a20
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041a6de
jmp 0x44e3f1
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x44e3f1
push dword [esi]
push dword [ebp + 8]
call fcn.004344d1
pop esi
pop ebp
ret 0xc

Function at 0x48e492
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x48e4ac
call fcn.0041db3a
mov esi, dword [eax + 0xc]
push dword [0x71c924]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x48e4ca
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x48e4c2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x48e4f7
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x48e4c4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048e3c0
mov esi, eax
jmp 0x48e4e9

Function at 0x500ad8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0042319b
call fcn.00403490
cmp eax, esi
pop esi
jne 0x500af4
mov ecx, 0x71afa8
jmp fcn.00439319
ret
Function at 0x5092b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5092c8
mov edi, dword [esi + 0xc]
jmp 0x509308
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5092e1
call fcn.0041c006
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5092f6
call fcn.0041c006
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x509308
call fcn.0041c006
call fcn.0041db3a
cmp dword [eax + 0x3c], 0
je 0x50931d
push edi
mov ecx, ebx
call fcn.00508164
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005091ca
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x50933b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x509347
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x521602
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x703eb0]
jne 0x52160c
repz ret
jmp fcn.00529214
Function at 0x533f98
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x703eb0]
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.00528c3b
and dword [ebp - 0x14], 0
cmp dword [0x71f420], 0
mov dword [ebp - 0x18], eax
jne 0x53404b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5340f3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x677d18
push ebx
call edi
test eax, eax
je 0x5340f3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x677d08
push ebx
mov dword [0x71f420], eax
call edi
push eax
call esi
push 0x677cf4
push ebx
mov dword [0x71f424], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x71f428], eax
call edi
push eax
call esi
mov dword [0x71f430], eax
test eax, eax
je 0x53404b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x71f42c], eax
mov eax, dword [0x71f42c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5340a4
cmp dword [0x71f430], ecx
je 0x5340a4
push eax
call esi
push dword [0x71f430]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5340a4
test ebx, ebx
je 0x5340a4
call edi
test eax, eax
je 0x53409b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53409b
test byte [ebp - 8], 1
jne 0x5340a4
or dword [ebp + 0x10], 0x200000
jmp 0x5340d7
mov eax, dword [0x71f424]
cmp eax, dword [ebp - 0x18]
je 0x5340d7
push eax
call esi
test eax, eax
je 0x5340d7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5340d7
mov eax, dword [0x71f428]
cmp eax, dword [ebp - 0x18]
je 0x5340d7
push eax
call esi
test eax, eax
je 0x5340d7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x71f420]
call esi
test eax, eax
je 0x5340f3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5340f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00521602
leave
ret
Function at 0x539eee
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x71f4e4], 0
push esi
push edi
jne 0x539e64
call fcn.00539dd0
test eax, eax
je 0x539ea9
mov eax, dword [0x71f4e4]
cmp eax, 1
jne 0x539e85
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x539ea9
jmp 0x539eeb
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x539eeb
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 0x539ead
xor eax, eax
jmp 0x539eeb
mov eax, dword [esi]
push dword [0x71f4e4]
call edi
mov edi, eax
test edi, edi
je 0x539ecf
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x539eeb
lea edi, [esi + 0xff0]
push esi
push dword [0x71f4e4]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x539ed5
mov eax, esi
pop edi
pop esi
ret
jmp 0x539e50

Function at 0x5421e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov esi, ecx
cmp eax, dword [ebx + 0x18]
je 0x5421ff
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
test eax, eax
jne 0x54220f
pop edi
mov dword [esi + 0x18], eax
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x10], 0xdb
je 0x54221c
mov byte [0], 0x78
cmp dword [esi + 0x1c], eax
jae 0x542227
push eax
call fcn.005408c0
mov eax, dword [edi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x18], eax
cmp eax, ecx
jbe 0x542237
mov dword [esi + 0x18], ecx
cmp dword [esi + 0x14], 0
je 0x5421f6
xor eax, eax
cmp dword [edi + 0x18], eax
jbe 0x54225c
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx + 0x14]
mov cl, byte [ecx + eax]
xor cl, byte [edx + eax]
mov edx, dword [esi + 0x14]
mov byte [eax + edx], cl
inc eax
cmp eax, dword [edi + 0x18]
jb 0x542244
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8