joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457850
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457867
add esp, 0xfffffff0
call fcn.00403f7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041de20
mov eax, dword [0x465a08]
cmp word [eax + 2], 0
jne 0x45788f
mov eax, dword [0x465a08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459598
mov eax, dword [0x465ab8]
cmp word [eax + 2], 0
jne 0x4578a9
mov eax, dword [0x465ab8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004597a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415bd0]
call fcn.00403c28
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415bd0]
call fcn.00403c28
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415bd0]
call fcn.00403c28
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4224bc]
call fcn.0042a0c8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x457a60
mov eax, dword [0x465924]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a49c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459e68
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x465924]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d4e8
test eax, eax
je 0x4579b0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409644
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d51c
test eax, eax
je 0x4579c4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404cf4
mov byte [ebx + 0xd4], 0
push ebx
push 0x459024
call fcn.0041ef9c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x465804]
cmp byte [eax], 0
jne 0x457a15
mov eax, ebx
call fcn.00457ba4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045a07c
mov eax, ebx
call fcn.0045abe0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457a55
call fcn.00403fd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457e24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x457ec3
cmp dword [ebx + 0x94], 0
jne 0x457ebd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457dac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457ebd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x457e83
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457ebd
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417f74
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457e92
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4580dc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46ac98]
cmp dword [eax + 0x30], 0
je 0x458239
test bl, bl
jne 0x45818a
cmp dword [esi + 0x9c], 0
jne 0x45817f
mov eax, esi
call fcn.0045aa5c
push eax
push 0x458008
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x458150
mov eax, dword [0x46ac98]
call fcn.0045b04c
test al, al
je 0x458150
mov eax, dword [0x46acbc]
call fcn.00405bc8
mov edi, eax
cmp edi, 0
jl 0x458150
push 0
mov eax, dword [0x46acbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45813a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45817f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417f74
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45815f
inc dword [esi + 0x9c]
jmp 0x458239
cmp dword [esi + 0x9c], 0
jle 0x458239
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x458239
cmp dword [esi + 0x44], 0
je 0x4581e5
mov eax, dword [0x46ac98]
call fcn.0045b04c
test al, al
je 0x4581e5
mov eax, dword [0x46acbc]
call fcn.00405bc8
mov edi, eax
cmp edi, 0
jl 0x4581e5
push 5
mov eax, dword [0x46acbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4581cf
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x458214
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417f74
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4581f4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46acbc
mov ecx, 1
mov edx, dword [0x457fe8]
call fcn.00405d7c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x458d20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x458d8a
mov eax, ebx
call fcn.0045b04c
test al, al
jne 0x458d8a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b74
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x458d77
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x458d97
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ad8
jmp 0x458d97
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ad8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45a260
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a2ce
mov eax, esi
call fcn.0044306c
test al, al
je 0x45a2ce
mov eax, dword [ebx + 0x84]
call fcn.00442cf8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a2ce
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45a2c2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442cf8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043ad38
jmp 0x45a2ce
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045a09c
pop esi
pop ebx
ret
Function at 0x45b628
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407790]
call fcn.004054c8
xor eax, eax
push ebp
push 0x45b7c9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x465728], 0
jne 0x45b683
mov ecx, dword [0x465814]
mov dl, 1
mov eax, dword [0x407d7c]
call fcn.0040c738
call fcn.004044cc
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.0040358c
mov eax, ebx
call fcn.00405398
mov dword [ebp - 0x24], eax
mov esi, 0x45b7d8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406460
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004053a8
test eax, eax
jle 0x45b76c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45b758
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404cf4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45b6fe
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404d0c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45b714
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404d0c
mov eax, dword [ebp - 0x54]
call fcn.00404f14
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404cf4
mov eax, dword [ebp - 0x58]
call fcn.00404f14
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45b75a
xor eax, eax
test al, al
je 0x45b765
mov ebx, 0x15
jmp 0x45b771
mov ebx, 0x10
jmp 0x45b771
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x465728]
call fcn.0045b4a8
mov eax, dword [ebp - 4]
call fcn.0045b4a8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b7d0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404aa8
lea eax, [ebp - 0xc]
mov edx, dword [0x407790]
call fcn.00405598
ret
Function at 0x10001a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10001a78
cmp byte [esi + ebx - 1], 0xa
je 0x10001a4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10007084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10002020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x10007094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x100021e0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x10007094]
movzx eax, al
bt eax, esi
jae 0x10002240
mov ecx, dword [0x10007084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x100020e5
test byte [0x10003030], 8
jne 0x10002180
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10003040], 8
jne 0x10002130
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100020b4
cmp esi, 3
jbe 0x100020f0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10005150]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x100020b4
mov ecx, dword [0x10007094]
test ecx, ecx
je 0x10002220
mov dword [esp], 0x10003040
call dword [0x10007094]
test al, 8
je 0x1000208b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x1000208b
mov ebx, dword [0x10007094]
test ebx, ebx
je 0x10002200
mov dword [esp], 0x10003030
call dword [0x10007094]
test al, 8
je 0x10002076
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x1000207e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10007094
call sym._load_func.part.0
jmp 0x1000203d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10007094
call sym._load_func.part.0
jmp 0x1000218a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10007094
call sym._load_func.part.0
jmp 0x1000213e
mov eax, 0xffffffff
jmp 0x100020e5

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41e23a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e279
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e279
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e279
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41e279
cmp dword [ecx + 0x74], 0xe
jbe 0x41e279
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42422f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x476498
push 0x476490
push str.FlsAlloc
push 0x1f
call fcn.004240ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424263
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d144]
call esi
jmp 0x424269
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4242ad
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4764a8
push 0x4764a0
push str.FlsGetValue
push 0x21
call fcn.004240ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4242e4
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4242ec
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4764b0
push 0x4764a8
push str.FlsSetValue
push 0x22
call fcn.004240ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424326
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42d144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x425ade
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x425b7b
push ebx
push esi
call fcn.00425aa7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00425a3b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x425b28
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425b7a
push edi
push eax
call fcn.004244f1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x425b48
call fcn.0042453f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425b79
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00425a3b
add esp, 0x20
test eax, eax
jne 0x425b67
push edi
call fcn.0042453f
jmp 0x425b6f
push ebx
call fcn.0042453f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42bdc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42bded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42bded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000dc70
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000de3d
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x1000dc9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000dca1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000dc90
mov eax, 1
add ebx, ebx
jne 0x1000dcb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000dca8
jne 0x1000dcc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000dca8
xor ecx, ecx
sub eax, 3
jb 0x1000dcd8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000dd4a
mov ebp, eax
add ebx, ebx
jne 0x1000dce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000dcf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000dd14
inc ecx
add ebx, ebx
jne 0x1000dd00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000dcf5
jne 0x1000dd11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000dcf5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000dd34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000dd25
jmp 0x1000dc96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000dd34
add edi, ecx
jmp 0x1000dc96
pop esi
mov edi, esi
mov ecx, 0x106
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000dd52
cmp byte [edi], 0
jne 0x1000dd52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1000dd57
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x1000ddcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd374]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd428]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000dd84
mov ecx, edi
jns 0x1000ddb3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd42c]
or eax, eax
je 0x1000ddc9
mov dword [ebx], eax
add ebx, 4
jmp 0x1000dda1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000de00
cmp al, 0xef
ja 0x1000ddf3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000ddd5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000dde2
mov ebp, dword [esi + 0xd430]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000de34
sub esp, 0xffffff80
jmp 0x100054b6
Function at 0x764370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x76438e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x78d074
push ecx
mov edi, eax
call fcn.00778198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7643cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0077802e
push esi
call fcn.00777fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x767850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7678ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x792720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7678ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007781e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7678ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x792720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x76792a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00779082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x767957
mov word [eax], si
add eax, 2
push eax
call fcn.00779030
add esp, 4
jmp 0x767959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7678ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7678b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x767ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret