joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414440
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
test ax, ax
jne 0x414474
movzx eax, word [ecx + 0x120]
push 0x100
lea ecx, [ebp - 0x210]
movzx eax, ax
push ecx
push 0x1002
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41449a
mov word [ebp - 0x210], ax
mov eax, dword [0x476478]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 0x210]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x210]
jne 0x4144c5
movzx eax, ax
mov ecx, esi
push eax
call fcn.0041c880
jmp 0x4144f5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4144f4
push edi
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x4144f4
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call fcn.004480a0
add esp, 0xc
pop edi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x414520
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
test ax, ax
jne 0x414554
movzx eax, word [ecx + 0x120]
push 0x100
lea ecx, [ebp - 0x210]
movzx eax, ax
push ecx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x414577
mov word [ebp - 0x210], ax
mov eax, dword [0x476478]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 0x210]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x210]
jne 0x4145a2
movzx eax, ax
mov ecx, esi
push eax
call fcn.0041c880
jmp 0x4145d2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4145d1
push edi
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x4145d1
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call fcn.004480a0
add esp, 0xc
pop edi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x414720
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
or ebx, 0xffffffff
cmp dword [esi], 0
je 0x414774
mov eax, dword [ebp + 8]
push 0
mov edx, dword [eax - 8]
add edx, edx
mov dword [eax - 4], edx
push dword [ebp + 8]
mov eax, dword [esi]
call eax
movzx eax, ax
movzx eax, ax
movzx esi, ax
jmp 0x414858
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 2
push 0
push eax
lea ecx, [ebp + 8]
call fcn.0041ef80
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00415d10
movzx edi, ax
test di, di
jne 0x4147ab
xor eax, eax
movzx eax, ax
movzx esi, ax
jmp 0x414858
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 5
jge 0x4147c5
or edi, 0x400
movzx eax, di
movzx esi, ax
jmp 0x414858
push 2
push 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0041ef80
mov byte [ebp - 4], 2
mov ecx, edi
mov esi, 1
mov dword [ebp - 0x14], ecx
push 0x100
lea eax, [ebp - 0x214]
push eax
movzx eax, si
shl eax, 0xa
push 0x5a
or eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x414821
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, 0xd
jl 0x4147e3
mov esi, edi
jmp 0x414829
shl esi, 0xa
or esi, edi
movzx esi, si
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x414858
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x414858
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x414888
add eax, 0xffffffe0
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x414888
mov ecx, dword [ebp + 8]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov ax, si
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 4], 0
mov edx, dword [esi + 0xc]
mov eax, dword [edx - 8]
add eax, eax
mov dword [edx - 4], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
or eax, 1
push eax
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi], eax
test eax, eax
jne 0x414d1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 1
push 0
push 0
mov ecx, dword [eax - 8]
add ecx, ecx
mov dword [eax - 4], ecx
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
jne 0x414d1c
mov esi, dword [ebp - 0x14]
jmp 0x414d1e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x414d51
add eax, 0xffffffe0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414d51
mov ecx, dword [ebp + 8]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4156e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
test ax, ax
jne 0x415714
movzx eax, word [ecx + 0x120]
push 0x100
lea ecx, [ebp - 0x210]
movzx eax, ax
push ecx
push 0x59
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x415737
mov word [ebp - 0x210], ax
mov eax, dword [0x476478]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 0x210]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x210]
jne 0x415762
movzx eax, ax
mov ecx, esi
push eax
call fcn.0041c880
jmp 0x415792
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x415791
push edi
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x415791
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call fcn.004480a0
add esp, 0xc
pop edi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x415d10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 2
je 0x415d45
xor eax, eax
jmp 0x415d8e
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x415d60
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x59
push esi
call edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call ebx
test eax, eax
je 0x415d8b
inc esi
cmp esi, 0x64
jl 0x415d60
xor esi, esi
jmp 0x415d91
movzx eax, si
movzx esi, ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x415dc4
add eax, 0xffffffe0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415dc4
mov ecx, dword [ebp + 8]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov ax, si
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x415de0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
test ax, ax
jne 0x415e14
movzx eax, word [ecx + 0x120]
push esi
push 0x100
lea ecx, [ebp - 0x210]
movzx eax, ax
push ecx
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, dword [ebp + 8]
mov eax, dword [0x476478]
mov dword [esi], eax
lea eax, [ebp - 0x210]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x210]
jne 0x415e5a
movzx eax, ax
mov ecx, esi
push eax
call fcn.0041c880
jmp 0x415e8a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x415e89
push edi
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x415e89
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call fcn.004480a0
add esp, 0xc
pop edi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x415eb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
test ax, ax
jne 0x415ee4
movzx eax, word [ecx + 0x120]
push 0x100
lea ecx, [ebp - 0x210]
movzx eax, ax
push ecx
push 0x6f
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x415f07
mov word [ebp - 0x210], ax
mov eax, dword [0x476478]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 0x210]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x210]
jne 0x415f32
movzx eax, ax
mov ecx, esi
push eax
call fcn.0041c880
jmp 0x415f62
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x415f61
push edi
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x415f61
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call fcn.004480a0
add esp, 0xc
pop edi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x417380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [ebp + 8]
mov eax, dword [0x476478]
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
push 0x104
push 0x104
mov dword [ebp - 0x10], 1
call fcn.00414150
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov edi, dword [esi]
cmp dword [edi - 0x20], 1
jle 0x41742a
mov ecx, esi
call fcn.00427ff0
push dword [edi - 8]
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x41742a
mov eax, dword [edi - 8]
lea eax, [eax*2 + 2]
push eax
push edi
push dword [esi]
call fcn.004480a0
add esp, 0xc
mov eax, dword [esi]
mov dword [eax - 0x14], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
xor edx, edx
pop edi
mov dword [ecx - 8], eax
mov ecx, dword [esi]
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x417ad0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x14], 0x104
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, dword [ebp + 8]
mov eax, dword [0x476478]
mov dword [esi], eax
lea eax, [ebp - 0x21c]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x21c]
jne 0x417b38
movzx eax, ax
mov ecx, esi
push eax
call fcn.0041c880
jmp 0x417b68
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x417b67
push edi
mov ecx, esi
call fcn.0040a900
test eax, eax
je 0x417b67
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [esi]
call fcn.004480a0
add esp, 0xc
pop edi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4187b0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4595c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4187e2
mov dword [esi + 8], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea edi, [esi + 4]
push edi
push 0x467100
push 1
push 0
push 0x4671d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41889a
push 0x462ca4
lea ecx, [ebp - 0x10]
call fcn.00405d80
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x418838
mov edx, dword [eax]
jmp 0x41883a
xor edx, edx
mov eax, dword [edi]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408d90
test edi, edi
jns 0x418877
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x41889a
mov dword [esi + 0xc], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41a390
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov word [ebp - 0x10], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x41a3df
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x41a3e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41a3fc
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 4], 0
test esi, esi
jne 0x41a408
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x472c34
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
call fcn.004473e6
int3

Function at 0x41a870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41a88c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x41a8aa
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], 0
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41a8cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x41a9a5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x41a9a5
mov edi, dword [ebp + 0xc]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
test eax, eax
je 0x41a9a5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41a995
push edi
push ebx
push eax
call fcn.004480a0
add esp, 0xc
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41a98c
push eax
push dword [ebp + 0xc]
call fcn.00413ed0
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41a98c
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x41a978
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41a985
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], 0
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
Function at 0x41a9b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0x461694
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
mov eax, dword [ebp + 0xc]
movzx eax, ax
push eax
call fcn.0041aba0
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x41aa54
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x41aac8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call dword [eax + 0x10]
test eax, eax
jne 0x41aad1
mov esi, 0x138f
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], 0x461694
test eax, eax
je 0x41aa80
cmp eax, 0xffffffff
je 0x41aa80
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41aab4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call dword [eax + 0x18]
push ebx
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fea0
add esp, 0x10
mov ebx, eax
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
add esi, 0x4c
cmp esi, ebx
je 0x41ab0b
push dword [esi]
call fcn.0043d220
mov eax, dword [ebx]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x41ab0b
inc dword [eax + 0x30]
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.0043d220
add esp, 4
xor esi, esi
pop ebx
jmp 0x41aa59

Function at 0x41ab30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
movzx eax, ax
mov esi, ecx
push eax
mov eax, dword [ebp + 0xc]
movzx eax, ax
push eax
call fcn.0041aba0
test eax, eax
jne 0x41ab52
pop esi
pop ebp
ret 0xc
push edi
push dword [esi + 4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41ab81
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
push edi
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x41ab89
pop edi
pop esi
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x4216f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459e0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [edi + 0x6c]
mov esi, eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test ecx, ecx
je 0x421738
cmp ecx, esi
je 0x421738
push ecx
call ebx
push 0x3f7
lea eax, [ebp - 0x88]
mov dword [edi + 0x6c], esi
push eax
mov ecx, edi
call fcn.00414dc0
mov byte [ebp - 4], 1
mov esi, dword [eax + 4]
test esi, esi
je 0x421760
push esi
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [edi + 0x7c], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], 0x462cc4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42178c
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
push 0x3f9
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00414dc0
mov byte [ebp - 4], 3
mov esi, dword [eax + 4]
test esi, esi
je 0x4217b1
push esi
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [edi + 0xf4], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], 0x462cc4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4217e0
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
push 0x3f8
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00414dc0
mov byte [ebp - 4], 5
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42180d
push eax
call esi
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x16c], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], 0x462cc4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42183c
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
push dword [edi + 0x7c]
call esi
push 0
push 1
push 0xf1
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x16c]
call esi
push 0x40a
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00414dc0
mov byte [ebp - 4], 7
push 0
push dword [eax + 4]
call esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], 0x462cc4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4218aa
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, edi
call fcn.00435ef0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], 0x462cc4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x4218dd
push eax
call ebx
mov ecx, dword [ebp + 0x74]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp + 0x74], ecx
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x7c