joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488be0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508600
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x10]
call fcn.00488de0
mov esi, dword [ebp + 8]
add esi, 0x5c
mov edi, esi
mov dword [ebp - 4], 0
call fcn.0045ca50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488c4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push esi
push ecx
mov ebx, str.Archive.7z
call fcn.0045c970
add esp, 8
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x58]
mov dword [ebp - 4], 1
call fcn.0045ca50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x488c94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
call fcn.00488d70
test eax, eax
je 0x488d1b
mov eax, dword [0x553cc0]
mov edi, dword [ebx + 0x58]
push str.RESOURCE_DATA
push 0x8a
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x488d1b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00458760
add esp, 4
test al, al
je 0x488d1b
mov ecx, dword [esi]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebx + 0x58]
mov eax, ebx
add eax, 0x60
push eax
push ecx
mov dword [eax], 0
call fcn.0045ad10
add esp, 8
test eax, eax
jne 0x488d1b
mov ecx, dword [ebx + 0x58]
mov edi, dword [esi]
call fcn.0045ac00
test eax, eax
je 0x488d31
mov edi, ebx
add edi, 0xb8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3e9
call fcn.00472960
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x58]
push ecx
lea eax, [eax - 0x10]
mov dword [ebp + 8], esp
mov esi, esp
call fcn.0045cb40
add eax, 0x10
mov dword [esi], eax
call fcn.0045bf00
xor edx, edx
add esp, 4
test eax, eax
setne dl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x488de0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.004e4be0
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x51517c
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsStormPlayer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x102
mov dword [ebp - 0x210], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x488e82
push 0x51517c
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x488e82
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
jmp 0x488eab
push 0x104
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.004e4be0
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.BaofengTemp_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
lea ecx, [ebp - 0x20c]
call fcn.00459530
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.004e0040
mov esp, ebp
pop ebp
ret
Function at 0x488ef0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdf30
mov eax, dword fs:[0]
push eax
sub esp, 0xc88
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc90], ecx
test esi, esi
je 0x4890e8
test edi, edi
je 0x4890e8
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x488f4f
mov ecx, edi
call fcn.0045b970
push 0x51862c
push esi
push 0x518600
lea eax, [ebp - 0xa3c]
push 0x104
push eax
mov ebx, 1
call fcn.004e2d95
add esp, 0x14
lea ecx, [ebp - 0xc8c]
push ecx
lea edx, [ebp - 0xa3c]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc94], eax
cmp eax, 0xffffffff
je 0x4890e8
cmp word [ebp - 0xc60], 0x2e
je 0x4890bb
test byte [ebp - 0xc8c], 0x10
je 0x489053
lea eax, [ebp - 0xc60]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.004e2d95
lea eax, [ebp - 0xc60]
push eax
push edi
push str._s_s_
lea ecx, [ebp - 0x62c]
xor edx, edx
push 0x104
push ecx
mov word [ebp - 0x16], dx
call fcn.004e2d95
add esp, 0x28
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x21c]
xor edx, edx
push ecx
mov ecx, dword [ebp - 0xc90]
mov word [ebp - 0x426], dx
call fcn.00488ef0
jmp 0x4890b9
lea edx, [ebp - 0xc60]
push edx
push esi
push 0x518600
lea eax, [ebp - 0x834]
push 0x104
push eax
call fcn.004e2d95
lea edx, [ebp - 0xc60]
push edx
push edi
push 0x518600
lea eax, [ebp - 0x424]
xor ecx, ecx
push 0x104
push eax
mov word [ebp - 0x62e], cx
call fcn.004e2d95
add esp, 0x28
xor ecx, ecx
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x834]
push eax
mov word [ebp - 0x21e], cx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
mov edx, dword [ebp - 0xc94]
lea ecx, [ebp - 0xc8c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x488f9d
mov eax, dword [ebp - 0xc94]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x4890ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret 8
Function at 0x489de0
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x28]
push 1
push eax
mov dword [esi], vtable.CInstallPageManager.0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x489e0d
push eax
call edi
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x489e1e
push eax
call edi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x20], vtable.CSHManage.0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x489e35
push esi
call fcn.004e0561
add esp, 4
pop edi
pop esi
ret

Function at 0x489e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x2c], eax
call fcn.0048a640
test eax, eax
je 0x489e78
push edi
push edi
push esi
push 0x48bce0
push edi
push edi
call fcn.004e1318
add esp, 0x18
mov dword [esi + 0x28], eax
jmp 0x489e85
mov eax, dword [esi + 0x2c]
push eax
mov dword [esi + 0x24], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
add esi, 0xc
cmp eax, edi
je 0x489e9a
push eax
call fcn.004e0561
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
cmp edi, edi
jb 0x489eba
lea eax, [edi + 1]
call fcn.00470fe0
test al, al
jne 0x489eba
push 0x8007000e
call fcn.00459fc0
mov ecx, dword [esi]
lea eax, [ecx + edi*4]
mov ebx, 1
test eax, eax
je 0x489eca
mov dword [eax], ebx
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x489eeb
lea eax, [edi + 1]
call fcn.00470fe0
test al, al
jne 0x489eeb
push 0x8007000e
call fcn.00459fc0
mov edx, dword [esi]
lea eax, [edx + edi*4]
test eax, eax
je 0x489efa
mov dword [eax], 2
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x489f1b
lea eax, [edi + 1]
call fcn.00470fe0
test al, al
jne 0x489f1b
push 0x8007000e
call fcn.00459fc0
mov eax, dword [esi]
lea eax, [eax + edi*4]
test eax, eax
je 0x489f2a
mov dword [eax], 3
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x489f4b
lea eax, [edi + 1]
call fcn.00470fe0
test al, al
jne 0x489f4b
push 0x8007000e
call fcn.00459fc0
mov ecx, dword [esi]
lea eax, [ecx + edi*4]
test eax, eax
je 0x489f5a
mov dword [eax], 4
add dword [esi + 4], ebx
mov edx, dword [ebp + 8]
pop edi
pop esi
mov al, bl
mov dword [edx + 4], 0
pop ebx
pop ebp
ret 4
Function at 0x48a640
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x48a684
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48a67e
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x48a67e
mov al, byte [ebp - 4]
test al, 0x20
jne 0x48a67e
test al, 7
jne 0x48a684
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0048a6c0
mov esi, eax
call fcn.0048ad30
mov edi, eax
call fcn.0048b3b0
test esi, esi
jne 0x48a6ae
test edi, edi
jne 0x48a6ae
test eax, eax
jne 0x48a6ae
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48bd00
Capabilities:
Check if file exists
Create directory
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504e3f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CLogEncryption.0
lea eax, [edi + 0x84]
mov dword [edi + 0xc4], eax
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
mov dword [edi + 0x14], 0xc3d2e1f0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc8], vtable.CBase64.0
mov dword [edi + 0xd0], vtable.CRSA.0
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0048cc80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x48bdb3
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00459320
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48bde1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], esi
jle 0x48bdd6
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00459320
mov eax, dword [ebp - 0x10]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48be04
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 0x48be20
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [esi], vtable.CLogEncryption.0
mov dword [esi + 0xd0], vtable.CRSA.0
mov dword [esi + 0xc8], vtable.CBase64.0
xor eax, eax
test byte [ebp + 8], 1
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov dword [esi + 0x14], 0xc3d2e1f0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
je 0x48be7a
push esi
call fcn.004e0561
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x48cab0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504de8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x54af18]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x54af18
mov dword [ebp - 0x18], esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x48cb1c
test ebx, 0xffff0000
jne 0x48cb1c
movzx edi, bx
call fcn.00459070
test eax, eax
je 0x48cb24
push eax
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.0045f370
jmp 0x48cb24
lea eax, [ebp - 0x10]
call fcn.0045f200
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.0048cfb0
lea esi, [ebp - 0x14]
call fcn.0048cc80
push 0xa
push str.upload.dat
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0045af80
mov ecx, dword [ebp - 0x14]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48cc1a
lea edx, [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp - 0x10]
cmp dword [edi - 4], 1
mov ebx, dword [edi - 0xc]
jle 0x48cba7
push ebx
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045f280
mov edi, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x18]
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cbe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cc03
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cc3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cc63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48e640
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48e681
add edi, 0xfffffffe
jmp 0x48e660
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48e660
push esi
mov ecx, 0x15
mov esi, 0x521698
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x48e690
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48e6d1
add edi, 0xfffffffe
jmp 0x48e6b0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48e6b0
push esi
mov ecx, 0x1f
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x48e9a0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x20
lea edx, [eax + 2]
jmp 0x48e9b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e9b0
sub eax, edx
sar eax, 1
push esi
mov esi, eax
xor ecx, ecx
lea eax, [esi + 2]
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.004dff58
mov edi, eax
mov edx, edi
add esp, 4
mov eax, ebx
sub edx, ebx
jmp 0x48e9f0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48e9f0
xor eax, eax
mov dword [edi + esi*2], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 4], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 6], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov edx, 0x614
push ecx
mov word [ebp - 0x10], dx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
push edi
sbb esi, esi
call fcn.004e00a0
add esp, 4
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4903e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.004a7a30
Function at 0x492300
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc08b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 4], edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x218]
mov eax, dword [eax]
or ebx, 0x2001f
mov dword [ebp - 0x228], edi
cmp esi, edi
je 0x492382
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.00492220
xor edi, edi
jmp 0x492393
lea edx, [ebp - 0x228]
push edx
push ebx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x49248c
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x4923b6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x228]
and ebx, 0x300
mov dword [ebp - 0x21c], edi
mov esi, eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ebx
cmp eax, edi
jne 0x49248c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push edi
push ecx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
jne 0x49245c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00492300
mov ebx, eax
cmp ebx, edi
jne 0x4924d0
lea edx, [ebp - 0x238]
push edx
mov edx, dword [ebp - 0x220]
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
je 0x492410
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x492473
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], edi
call fcn.00492570
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x4924aa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, esi
mov dword [ebp - 0x21c], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x4924ee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x4924ac
Function at 0x493250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503c16
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 1
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x4932cc
call fcn.00465850
mov esi, eax
jmp 0x4933f3
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4932e5
call fcn.00465850
jmp 0x4933ea
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x493303
call fcn.00465850
jmp 0x4933ea
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x493324
mov esi, 0x8007000e
jmp 0x4933ec
mov byte [ebp - 4], 2
xor ecx, ecx
shld ecx, eax, 1
mov dword [ebp - 0x434], ecx
add eax, eax
mov dword [ebp - 0x438], eax
test ecx, ecx
jne 0x493345
cmp eax, 0xffffffff
jbe 0x49334f
push 0x80070216
call fcn.00459fc0
cmp eax, 0x400
jbe 0x49336b
lea ecx, [ebp - 0x418]
push ecx
call fcn.00491470
mov dword [ebp - 4], 1
jmp 0x49339f
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x49339f
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4933b0
mov esi, 0x8007000e
jmp 0x4933ec
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4933c9
call fcn.00465850
jmp 0x4933ea
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x418]
lea esi, [ebp - 0x42c]
call fcn.004930b0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x493410
lea eax, [ebp - 0x418]
call fcn.00491ba0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret 0xc