joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c250
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a95a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc88
mov eax, dword [0x4e52d0]
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 0x43c448
test edi, edi
je 0x43c448
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43c2af
mov ecx, edi
call fcn.00403510
push 0x4bb1a8
push esi
push 0x4bb17c
lea eax, [ebp - 0xa3c]
push 0x104
push eax
mov ebx, 1
call fcn.00492772
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 0x43c448
cmp word [ebp - 0xc60], 0x2e
je 0x43c41b
test byte [ebp - 0xc8c], 0x10
je 0x43c3b3
lea eax, [ebp - 0xc60]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.00492772
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.00492772
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.0043c250
jmp 0x43c419
lea edx, [ebp - 0xc60]
push edx
push esi
push 0x4bb17c
lea eax, [ebp - 0x834]
push 0x104
push eax
call fcn.00492772
lea edx, [ebp - 0xc60]
push edx
push edi
push 0x4bb17c
lea eax, [ebp - 0x424]
xor ecx, ecx
push 0x104
push eax
mov word [ebp - 0x62e], cx
call fcn.00492772
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 0x43c2fd
mov eax, dword [ebp - 0xc94]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x43c44a
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.004912db
mov esp, ebp
pop ebp
ret 8
Function at 0x43d300
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
push esi
je 0x43d381
push eax
call fcn.00492858
mov esi, eax
mov eax, dword [ebp + 8]
push 0x2e
push eax
call fcn.0049271d
add esp, 0xc
test eax, eax
je 0x43d37e
add eax, 2
push eax
call fcn.00492858
add esp, 4
cmp esi, 5
jg 0x43d373
jne 0x43d33f
cmp eax, 0x20
jge 0x43d373
push str.MediaLibrary:_old_version_is_less_than_5.32_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
pop ebp
ret 4
push str.MediaLibrary:_Not_need_restart_explorer__version_is_greater_than_5.32_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d39d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x43d3b0
Capabilities:
Check for time delay via gettickcount
Delete registry key
Get session user name
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa18
mov eax, dword [0x4e52d0]
xor eax, esp
mov dword [esp + 0xa14], eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
push str.SoftwareBFSetUp
push SysReAllocStringLen
call esi
cmp eax, 5
jne 0x43d447
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0x202
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push str.SoftwareBFSetUp
push str.CURRENT_USER
push str._s_s
lea edx, [esp + 0x224]
push 0x800
push edx
call fcn.00492772
add esp, 0x14
push 0xf003f
lea eax, [esp + 0x14]
push eax
push 2
lea edi, [esp + 0x224]
call fcn.004051a0
test eax, eax
je 0x43d447
push str.SoftwareBFSetUp
push SysReAllocStringLen
call esi
cmp byte [0x4e6790], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x43d45d
call esi
mov dword [0x4eb36c], eax
push ebx
call fcn.0043abf0
cmp byte [0x4e6790], 0
je 0x43d4c7
call esi
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c5604
push 0x4bdff8
call fcn.00402360
mov ecx, dword [0x4eb3f4]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4eb374]
test eax, eax
je 0x43d4c7
push eax
mov eax, dword [0x4eb3f4]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
mov ecx, dword [0x4eb380]
cmp byte [ecx + 0x99], 0
je 0x43d4e0
push 1
call fcn.004017d0
add esp, 4
mov ecx, dword [esp + 0xa1c]
pop edi
pop esi
xor ecx, esp
call fcn.004912db
mov esp, ebp
pop ebp
ret
Function at 0x43db40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push esi
add eax, eax
lea edx, [ebp + 8]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.UninstallString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dbaf
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x43db7e
cmp eax, 2
jne 0x43db99
mov eax, dword [ebp - 4]
test esi, esi
je 0x43dba9
test eax, eax
je 0x43dba4
test al, 1
jne 0x43db99
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x43dba9
mov eax, 0xd
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x43e3c0
Capabilities:
Check internet connectivity via wininet
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4acec6
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4e52d0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x4e52d0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x43e43e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43e49b
push 0
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x43e49b
mov al, byte [esp + 0x14]
test al, 0x20
jne 0x43e49b
test al, 7
je 0x43e49b
push 0x4bb36c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4eb364], eax
test eax, eax
je 0x43e47f
push 0x4bb398
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e47f
push 5
push 0
push 0
push str.http:__home.baofeng.com_permit.html
push 0x4bb0d4
push 0
call eax
cmp eax, 0x20
jge 0x43e5aa
push 1
call fcn.00401380
add esp, 4
test al, al
jne 0x43e5aa
call fcn.0043e5d0
jmp 0x43e5aa
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x26]
push eax
mov word [esp + 0x28], dx
call fcn.004950a0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.00402120
push 0xb
push str.License.txt
lea ebx, [esp + 0x1c]
mov dword [esp + 0x240], 6
call fcn.00409220
mov eax, dword [0x4eb378]
mov esi, dword [esp + 0x14]
push str.RESOURCE_DATA
push 0x88
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43e57f
push esi
mov ecx, edi
call fcn.004015f0
add esp, 4
test al, al
je 0x43e57f
lea eax, [esp + 0x18]
push eax
mov ecx, str.notepad.exe
call fcn.00402120
mov byte [esp + 0x238], 7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x20]
call fcn.00409220
mov ecx, dword [esp + 0x18]
push ecx
push 0
xor eax, eax
call fcn.00401560
mov byte [esp + 0x240], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e57f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e5aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004912db
mov esp, ebp
pop ebp
ret
Function at 0x43e900
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jg 0x43e92a
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.004911e8
add esp, 4
push eax
push esi
xor esi, esi
push esi
push edi
mov dword [ebx + 0x38], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43e922
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4bb124
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43e922
mov esi, dword [ebp - 4]
lea edi, [ebx + 4]
mov ecx, 0xd
mov dword [ebp - 0x10], edi
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4c5a04
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43e9a0
cmp dword [ebp - 8], 4
jb 0x43e9a0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebx + 0x3c], edx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx], 0xfeef04bd
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43f870
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 0x43f8b1
add edi, 0xfffffffe
jmp 0x43f890
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43f890
push esi
mov ecx, 0x15
mov esi, 0x4c5c98
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x43f8c0
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 0x43f901
add edi, 0xfffffffe
jmp 0x43f8e0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43f8e0
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 0x43fdf0
Capabilities:
Check if file exists
Check os version
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ace46
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x4e52d0]
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
push 1
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00402120
push 0xb
push 0x4c3e50
lea ebx, [ebp - 0x334]
mov dword [ebp - 4], 0
call fcn.00409220
mov edx, dword [ebp - 0x334]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ff0d
mov eax, dword [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x334]
push 0
push 0
push 2
push 0
push 0
push SysReAllocStringLen
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43fedd
lea ecx, [ebp - 0x330]
push ecx
mov dword [ebp - 0x330], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x32c], 6
jb 0x43fed6
mov dword [ebp - method.CAccessRight.virtual_0], vtable.CAccessRight.0
mov byte [ebp - 4], 1
call fcn.00402bf0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x334]
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
push edx
push 0x1005
push 0x8000000
call esi
mov eax, dword [ebp - 0x334]
push 0
push eax
push 0x1005
push 0x800
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x334]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ff36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004912db
mov esp, ebp
pop ebp
ret
Function at 0x441680
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abb60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e52d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CUIObject.0
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 2
lea edi, [esi + 0x48]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0x68], eax
mov byte [ebp - 4], 4
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [ebp - 4], 5
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [esi + 0x98], eax
mov byte [ebp - 4], 6
push 0x18
mov dword [esi + 0xb8], ebx
call fcn.004917be
add esp, 4
cmp eax, ebx
je 0x44186c
mov dword [esi + 0xb4], eax
mov dword [eax], eax
mov eax, dword [esi + 0xb4]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xb4]
mov dword [eax + 8], eax
mov eax, dword [esi + 0xb4]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0xb4]
mov byte [ecx + 0x15], 1
or eax, 0xffffffff
push edi
mov word [esi + 0x18], 0x100
mov dword [esi + 0x5c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x80], ebx
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0xd8e9ec
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], eax
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], 0x808080
mov dword [esi + 0x9c], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa9], 0x1000100
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], 0xc
mov byte [esi + 0xa8], bl
mov eax, esi
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
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0049165b
push 0x4d0904
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0049630f
int3
Function at 0x442320
Capabilities:
Resolve function by parsing pe exports

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a89bb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e52d0]
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 0x444222
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.0043dbc0
xor edi, edi
jmp 0x444233
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 0x44432c
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x444256
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 0x44432c
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 0x4442fc
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004441a0
mov ebx, eax
cmp ebx, edi
jne 0x444370
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 0x4442b0
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x444313
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.004443f0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x44434a
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.004912db
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x44438e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x44434c
Function at 0x4450d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aba86
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4e52d0]
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 0x44514c
call fcn.00416980
mov esi, eax
jmp 0x445273
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x445165
call fcn.00416980
jmp 0x44526a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x445183
call fcn.00416980
jmp 0x44526a
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 0x4451a4
mov esi, 0x8007000e
jmp 0x44526c
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 0x4451c5
cmp eax, 0xffffffff
jbe 0x4451cf
push 0x80070216
call fcn.00402bc0
cmp eax, 0x400
jbe 0x4451eb
lea ecx, [ebp - 0x418]
push ecx
call fcn.00443b30
mov dword [ebp - 4], 1
jmp 0x44521f
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x44521f
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x445230
mov esi, 0x8007000e
jmp 0x44526c
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x445249
call fcn.00416980
jmp 0x44526a
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.00444f30
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 0x445290
lea eax, [ebp - 0x418]
call fcn.00443ac0
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.004912db
mov esp, ebp
pop ebp
ret 0xc