joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490ce0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508cc1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
push 0x288
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0x288
call fcn.004e5765
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x490ddc
lea edx, [ebp - 0x10]
push edx
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x490d69
cmp eax, 0x6f
jne 0x490ddc
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e5765
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x490d89
push ebx
call fcn.004e5101
mov esi, edi
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x490de9
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x490ddc
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
mov edi, dword [ebp + 8]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X
call fcn.00459820
add esp, 0x1c
test esi, esi
je 0x490de9
push esi
call fcn.004e5101
add esp, 4
mov eax, dword [ebp + 8]
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 0x492260
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 0x49228a
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e4af8
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 0x492282
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x51d5c8
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x492282
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 str.VarFileInfoTranslation
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x492300
cmp dword [ebp - 8], 4
jb 0x492300
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 0x492f80
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 0x492fc1
add edi, 0xfffffffe
jmp 0x492fa0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x492fa0
push esi
mov ecx, 0x15
mov esi, 0x527cf0
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x492fd0
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 0x493011
add edi, 0xfffffffe
jmp 0x492ff0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x492ff0
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 0x4932e0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x20
lea edx, [eax + 2]
jmp 0x4932f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4932f0
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.004e4af8
mov edi, eax
mov edx, edi
add esp, 4
mov eax, ebx
sub edx, ebx
jmp 0x493330
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x493330
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.004e4c40
add esp, 4
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x494e40
Capabilities:
Resolve function by parsing pe exports

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5522c0]
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 0x496d32
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.0048db60
xor edi, edi
jmp 0x496d43
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 0x496e3c
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x496d66
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 0x496e3c
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 0x496e0c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00496cb0
mov ebx, eax
cmp ebx, edi
jne 0x496e80
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 0x496dc0
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496e23
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.00496f00
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496e5a
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.004e4be0
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496e9e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x496e5c
Function at 0x497be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c76
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5522c0]
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 0x497c5c
call fcn.00465e90
mov esi, eax
jmp 0x497d83
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x497c75
call fcn.00465e90
jmp 0x497d7a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x497c93
call fcn.00465e90
jmp 0x497d7a
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 0x497cb4
mov esi, 0x8007000e
jmp 0x497d7c
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 0x497cd5
cmp eax, 0xffffffff
jbe 0x497cdf
push 0x80070216
call fcn.0045a480
cmp eax, 0x400
jbe 0x497cfb
lea ecx, [ebp - 0x418]
push ecx
call fcn.00495f10
mov dword [ebp - 4], 1
jmp 0x497d2f
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x497d2f
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x497d40
mov esi, 0x8007000e
jmp 0x497d7c
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x497d59
call fcn.00465e90
jmp 0x497d7a
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.00497a40
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 0x497da0
lea eax, [ebp - 0x418]
call fcn.00495f00
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.004e4be0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x498730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ecx + 0x78]
sub edi, dword [ecx + 0x74]
xor ebx, ebx
sar edi, 2
mov dword [ebp - 4], ecx
test edi, edi
jle 0x49878c
push esi
lea esp, [esp]
mov eax, dword [ecx + 0x74]
mov esi, dword [eax + ebx*4]
cmp dword [esi + 0xc], 6
je 0x498786
cmp dword [esi + 0x10], 2
jne 0x49877a
cmp byte [esi + 0x24], 0
je 0x49877a
cmp byte [esi + 0x26], 0
je 0x49877a
mov ecx, dword [esi + 0x60]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
inc ebx
cmp ebx, edi
jl 0x498750
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506ded
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5522c0]
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
mov esi, ecx
lea ebx, [esi + 0x20c]
push ebx
mov dword [ebp - 0x28], esi
mov edi, edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x49a1c2
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov dword [ebp - 4], 0
lea eax, [esi + 0x1d0]
lea esi, [ebp - 0x24]
call fcn.0045d080
mov ecx, 1
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
jne 0x49a14b
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x49a111
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.00459740
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push 0x104
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e7680
add esp, 8
test eax, eax
js 0x49a1de
cmp eax, dword [esi - 8]
jg 0x49a1de
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
test eax, eax
je 0x49a1af
mov edx, dword [0x55aec8]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1f8]
mov eax, dword [ecx + 0x190]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
push 0x24
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push esi
sub ebx, 2
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004591f0
mov dword [ebp - 4], 0xffffffff
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.004e4be0
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0045a480
int3
Function at 0x49f2e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e98c0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49f34d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x49f33d
cmp eax, 4
jne 0x49f34d
cmp dword [ebp - 0x110], 0x5a
jb 0x49f34d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4be0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004e4be0
mov esp, ebp
pop ebp
ret

Function at 0x4a0f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov byte [ebx + 0x28], al
test al, al
je 0x4a0fac
mov eax, dword [ebx + 4]
mov byte [ebx + 0x24], 0
mov word [ebx + 0x29], 0
test eax, eax
je 0x4a0fac
call fcn.004a0760
push esi
mov esi, dword [ebx + 0x78]
sub esi, dword [ebx + 0x74]
xor eax, eax
sar esi, 2
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test esi, esi
jle 0x4a103b
push edi
mov ecx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4a102f
cmp dword [edi + 0x14], 1
je 0x4a102f
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
push eax
mov ecx, edi
call edx
cmp byte [ebp + 8], 0
je 0x4a102f
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4a1024
mov esi, dword [edi + 4]
add esi, 0x6c
call fcn.00459480
cmp dword [ebx + 0x198], 0
je 0x4a1021
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0xc]
lea ebx, [ebx + 0x198]
call fcn.004a0650
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, edi
call edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x4a0fc3
pop edi
cmp byte [ebp + 8], 0
pop esi
jne 0x4a105e
cmp byte [ebx + 0x24], 0
mov byte [ebx + 0x21c], 0
jne 0x4a105e
mov eax, dword [ebx + 0x1a0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a2cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50bc28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
push edx
call eax
test eax, eax
je 0x4a2d62
mov eax, dword [eax + 4]
add eax, 0x58
lea esi, [esp + 8]
call fcn.0045d080
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [0x55ae00]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004b2d40
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00498440
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, esi
call fcn.004591f0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a3370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5046e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004981d0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x70]
mov dword [esi], vtable.CSkinObjectContainer.0
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x14], eax
call fcn.004a20a0
mov byte [ebp - 4], 3
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 4
mov word [esi + 0x24], bx
mov dword [esi + 0x38], 1
mov byte [ebp - 4], 5
lea eax, [edi + 0x130]
mov dword [edi], vtable.CSkinLayoutObject.1.0
mov dword [edi + 0x70], vtable.CSkinLayoutObject.0
mov dword [eax], vtable.CLayoutGroup.0
mov dword [ebp - 0x14], eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [ebp - 4], 7
mov dword [edi + 0x12c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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 0x4a4320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b8c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], vtable.CDrawCache.0
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x10], ebx
mov byte [ebp - 4], 1
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 2
lea esi, [edi + 0x48]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.004591d0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x4c], ebx
mov dword [ebp - 4], eax
mov eax, edi
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 0x4a6160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a261
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x78]
mov ecx, dword [ecx - 0xc]
lea eax, [edi + 0x78]
test ecx, ecx
je 0x4a629a
lea esi, [ebp - 0x424]
call fcn.0045d080
mov dword [ebp - 4], 0
cmp dword [edi + 0x80], 0
je 0x4a6214
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x51d5c8
call fcn.004595d0
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x80]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0045ce40
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ebx, esi
call fcn.0045b440
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.004591f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004591f0
cmp byte [edi + 0x7c], 0
je 0x4a622e
mov ecx, dword [ebp - 0x424]
push 5
push 0
push 0
push ecx
push 0x5290e4
jmp 0x4a627e
xor edx, edx
push 0x40e
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.004e98c0
mov ecx, dword [ebp - 0x424]
push ecx
push str.__select___s_
lea edx, [ebp - 0x420]
push 0x208
push edx
call fcn.004e7a3d
add esp, 0x1c
push 0xa
push 0
lea eax, [ebp - 0x420]
push eax
push str.Explorer.exe
push 0x51d0ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.004591f0
jmp 0x4a62b3
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 0
push eax
push 0x111
push edi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4be0
mov esp, ebp
pop ebp
ret

Function at 0x4a7840
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x29], 1
mov edi, dword [esi + 0x78]
sub edi, dword [esi + 0x74]
xor ebx, ebx
sar edi, 2
test edi, edi
jle 0x4a7880
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x4a787b
cmp byte [ecx + 0x24], 0
je 0x4a787b
cmp byte [ecx + 0x68], 0
jne 0x4a7874
cmp dword [ecx + 0x10], 2
je 0x4a787b
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
inc ebx
cmp ebx, edi
jl 0x4a7858
cmp byte [esi + 0x24], 0
je 0x4a78b7
cmp byte [esi + 0x26], 0
je 0x4a78b7
mov ecx, dword [esi + 0x1a0]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x1a0]
push 0x257
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor ebx, ebx
test edi, edi
jle 0x4a78e8
lea ecx, [ecx]
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x4a78e3
cmp byte [ecx + 0x24], 0
je 0x4a78e3
cmp dword [ecx + 0x64], 0
je 0x4a78e3
cmp dword [ecx + 0x10], 2
jne 0x4a78e3
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
inc ebx
cmp ebx, edi
jl 0x4a78c0
pop edi
pop esi
pop ebx
ret
Function at 0x4a79c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
push ebx
mov ebx, ecx
cmp dword [ebx + 0x14], 1
mov dword [ebp - 0x10], ebx
mov byte [ebx + 0x28], al
je 0x4a7aa8
push esi
push edi
test al, al
je 0x4a79ff
mov edi, dword [ebx + 0x244]
mov byte [ebx + 0x24], 0
mov word [ebx + 0x29], 0
call fcn.004a6e70
mov eax, dword [ebx + 4]
call fcn.004a0760
mov esi, dword [ebx + 0x78]
sub esi, dword [ebx + 0x74]
xor eax, eax
sar esi, 2
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test esi, esi
jle 0x4a7a8b
mov ecx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4a7a80
cmp dword [edi + 0x14], 1
je 0x4a7a80
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
push eax
mov ecx, edi
call edx
cmp byte [ebp + 8], 0
je 0x4a7a80
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4a7a75
mov esi, dword [edi + 4]
add esi, 0x6c
call fcn.00459480
cmp dword [ebx + 0x198], 0
je 0x4a7a72
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0xc]
lea ebx, [ebx + 0x198]
call fcn.004a0650
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, edi
call edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x4a7a14
cmp byte [ebp + 8], 0
pop edi
pop esi
jne 0x4a7aa8
cmp byte [ebx + 0x24], 0
jne 0x4a7aa8
mov eax, dword [ebx + 0x1a0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov esp, ebp
pop ebp
ret 4