joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da930
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4da95e
push 0x162
push str.d:_work_current_staffcop_standart_sdkcontrolswtldockingwindows_sstate.h
push 0x5a56a4
call fcn.0055640a
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x5a4e20
push eax
mov dword [ebp - 4], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4da9e7
cmp dword [ebp - 8], 3
jne 0x4da9e7
push ebx
mov ebx, dword [ebp - 0x34]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 3
jne 0x4da9a6
mov eax, dword [esi + 0x1c]
push 3
push eax
call edi
mov edx, dword [esi + 0x1c]
lea ecx, [ebp - 0x3c]
push ecx
push edx
mov dword [ebp - 0x34], 0
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
push ecx
push eax
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004da1a0
mov ecx, dword [esi + 0x1c]
add esp, 0x14
push ebx
push ecx
call edi
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi + 0x10]
mov eax, dword [esi]
mov byte [ebp + 0xc], 0
mov edx, dword [ebp + 0xc]
push edx
push esi
push eax
call fcn.004d98d0
add esp, 0xc
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4daee0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 1
push 0x48b7a0
push 0
push 0
call fcn.00556b34
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret 0x10

Function at 0x4daf10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5fd7c0]
sub esp, 0x100
push 0x80
lea eax, [ebp - 0x100]
push eax
push 0x259
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x100]
push edx
push 0x5a4e98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4daf60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5fd7c0]
sub esp, 0x100
push 0x80
lea eax, [ebp - 0x100]
push eax
push 0x25a
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x100]
push edx
push 0x5a4e98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4dafb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5fd7c0]
sub esp, 0x100
push 0x80
lea eax, [ebp - 0x100]
push eax
push 0x25b
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x100]
push edx
push 0x5a4e98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4db000
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5924f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4db048
push 0x5b
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push 0x5a1858
call fcn.0055640a
add esp, 0xc
mov dword [edi + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
xor esi, esi
push esi
push esi
push 0x7f
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x4db070
push 0xffffffffffffffde
push ebx
call dword [sym.imp.USER32.dll_GetClassLongW]
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
push eax
call fcn.005559df
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053f875
add esp, 4
mov dword [edi + 0xc], eax
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 4], 0xffffffff
jmp 0x4db0d9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4db0f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0x3f3fffff
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x86
push ecx
call ebx
movzx edx, byte [ebp + 0xc]
mov eax, dword [esi + 4]
push edi
shl edx, 0x10
or edx, 1
push edx
push 0x400
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4db1b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592513
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebx], vtable.dockwins::IPinnedLabel.0
xor eax, eax
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov dword [ebx], vtable.dockwins::CMultyPinnedLabel.0
mov dword [ebx + 0xc], eax
cmp dword [esi + 0x18], 1
ja 0x4db207
push 0x142
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push 0x5a574c
call fcn.0055640a
add esp, 0xc
mov esi, dword [esi + 0x18]
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
mov dword [ebx + 4], esi
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0053f875
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
xor ecx, ecx
cmp eax, ecx
je 0x4db25d
push 0x410ae0
push fcn.004a3030
push esi
lea edi, [eax + 4]
push 0x10
push edi
mov dword [eax], esi
call fcn.00557cb4
xor ecx, ecx
jmp 0x4db25f
xor edi, edi
mov byte [ebp - 4], 0
mov dword [ebx + 8], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 4], ecx
jbe 0x4db345
movzx eax, byte [ebp + 0xc]
shl eax, 0x10
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xc], ecx
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, dword [edx + eax*4]
push ecx
mov ecx, dword [ebx + 8]
add ecx, dword [ebp + 0xc]
call fcn.004db000
mov edi, dword [esi + 4]
mov esi, dword [ebx + 8]
add esi, dword [ebp + 0xc]
push 0
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 4]
and eax, 0x3f3fffff
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push edi
push edx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 4]
push 0
push 1
push 0x86
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 4]
push edi
push ecx
push 0x400
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4db321
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
jmp 0x4db324
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx]
jne 0x4db334
mov dword [ebx + 0x14], eax
add dword [ebp + 0xc], 0x10
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 4]
jb 0x4db285
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4db3a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0x3f3fffff
or eax, 0x80c00000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 4]
push ecx
push 0
push 0x400
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
ret 4
Function at 0x4db400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov ebx, ecx
cmp eax, dword [ebp + 8]
je 0x4db429
push 0x15a
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push 0x5a5790
call fcn.0055640a
add esp, 0xc
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push edi
mov ecx, ebx
call eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 4]
mov dword [edi], edx
mov dword [edi + 8], 5
mov esi, dword [ebx + 8]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0x3f3fffff
or eax, 0x80c00000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push 0x400
push edx
call esi
mov eax, dword [edi + 4]
push edi
push 0
push 0x401
push eax
call esi
mov ecx, dword [edi]
mov eax, 1
mov dword [edi + 4], ecx
mov dword [ebp + 0x10], eax
cmp dword [ebx + 4], eax
jbe 0x4db550
mov eax, 0x10
mov dword [ebp + 8], eax
jmp 0x4db4c8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x20], edx
mov ecx, dword [ebx + 8]
mov edx, dword [eax + ecx + 4]
mov dword [edi], edx
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0x3f3fffff
or eax, 0x80c00000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push 0x400
push edx
call esi
mov eax, dword [edi + 4]
push edi
push 0
push 0x401
push eax
call esi
mov eax, dword [ebp + 0x10]
add dword [ebp + 8], 0x10
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [ebx + 4]
jb 0x4db4c5
mov dword [edi + 8], 0xa
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
push edi
add ecx, ecx
mov eax, dword [edx + ecx*8 + 4]
mov ecx, dword [edi + 4]
push 0
push 0x401
push ecx
mov dword [edi], eax
call esi
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x4dbc50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push ecx
mov ecx, esi
call edx
test al, al
jne 0x4dbc7e
push 0xef
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push 0x5a586c
call fcn.0055640a
add esp, 0xc
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 8]
and eax, 0x3f3fffff
or eax, 0x80c00000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 8]
push ecx
push 0
push 0x400
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x4dce90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x4dceb6
push 0x683
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push 0x5a2f58
call fcn.0055640a
add esp, 0xc
cmp edi, dword [esi + 0x84]
jne 0x4dced5
push 0x684
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push str.IsVisualizationNeeded_ptr_
call fcn.0055640a
add esp, 0xc
cmp dword [esi + 0x84], 0
je 0x4dcf10
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x84]
mov edx, dword [ecx + 4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push eax
mov dword [esi + 0x84], 0
call ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.004dc720
cmp dword [esi + 0x84], 0
je 0x4dcf3b
push 0x687
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push 0x5a596c
call fcn.0055640a
add esp, 0xc
push 0x43
push 0
push 0
push 0
push 0
mov dword [esi + 0x84], edi
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push eax
call edi
test eax, eax
setne bl
test bl, bl
je 0x4dcff1
mov ecx, esi
call fcn.00478a50
mov bl, al
test bl, bl
je 0x4dcff1
mov edx, dword [esi + 0x84]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp + 0x10], 0
je 0x4dcfa8
mov edx, dword [0x5f79e0]
shr edx, 2
test dl, 1
je 0x4dcfa8
push 1
push 0x64
mov ecx, esi
call fcn.004cf200
jmp 0x4dcfbf
mov eax, dword [esi + 4]
push 0x63
push 0
push 0
push 0
push 0
push 0
push eax
call edi
test eax, eax
setne bl
test bl, bl
je 0x4dcff1
lea ecx, [ebp + 0x10]
push ecx
push 0
push 0
push 0
mov ecx, esi
call fcn.004cf460
mov edx, dword [esi + 4]
push 0
push 0x514
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
cmp eax, 1
sete bl
test bl, bl
jne 0x4dd008
push 0x6a0
push str.....SDKControlsWTLDockingWindowsDWAutoHide.h
push str.bRes
call fcn.0055640a
add esp, 0xc
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 0xc
Function at 0x4dd7f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5fd7c0]
sub esp, 0x410
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x2c8
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4dd823
xor al, al
mov esp, ebp
pop ebp
ret 4
push 1
push 5
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 0x5a06c8
push edx
call fcn.004060d0
add esp, 0x10
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4dd860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5fd7c0]
sub esp, 0x410
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x2c9
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4dd893
xor al, al
mov esp, ebp
pop ebp
ret 4
push 1
push 5
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 0x5a06c8
push edx
call fcn.004060d0
add esp, 0x10
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4dd8d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5fd7c0]
sub esp, 0x410
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x80
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4dd903
xor al, al
mov esp, ebp
pop ebp
ret 4
push 1
push 0x1a
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 0x5a06c8
push edx
call fcn.004060d0
add esp, 0x10
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4ddb70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x634
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x22e]
push ecx
mov word [ebp - 0x230], ax
call fcn.00555020
lea edx, [ebp - 0x230]
push 0x104
push edx
call fcn.0050a540
add esp, 0x14
call fcn.005096c0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00509d90
mov dword [ebp - 4], 0
xor edx, edx
push 0x40e
push edx
lea eax, [ebp - 0x63e]
push eax
mov word [ebp - 0x640], dx
call fcn.00555020
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
jae 0x4ddc01
lea eax, [ebp - 0x28]
push 0x5a4ed4
push eax
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x640]
push 0x5a59e8
push edx
call fcn.00472f30
mov ecx, dword [esi + 4]
add esp, 0x14
push 1
push 0
push 0
lea eax, [ebp - 0x640]
push eax
push 0x5a4e98
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
pop esi
jb 0x4ddc58
mov edx, dword [ebp - 0x28]
push edx
call fcn.00553d26
add esp, 4
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ddf50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4ddf99
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4de0e9
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.00555020
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.00555020
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4de014
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4de01b
cmp eax, 4
jne 0x4de014
cmp dword [ebp - 0x14c], 0x5a
jae 0x4de01b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x4de0d8
push 0x10
call fcn.0055549a
mov esi, eax
add esp, 4
test esi, esi
je 0x4de0d8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4de080
add ecx, 0xfffffdb4
jmp 0x4de082
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00473b20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053f875
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4de0c7
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x4ddfb6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00425c60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4dec00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, 0x5f5774
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
push 0
push 0x115
call fcn.004013d0
add esp, 8
test eax, eax
je 0x4dec5d
push 0x115
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 4]
push 0x134
push 0x5a4ea4
add edi, 4
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4dec97
push 0
push 0
push edi
push 0x4ddc80
push 0
push 0
call fcn.00556b34
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x4decbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e07a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x61c
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00555020
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0050a540
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call fcn.00555020
push 0x5a4f04
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x628]
push 0x5a06c8
push eax
call fcn.00472f30
add esp, 0x14
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x10], esp
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x59c2bc
mov word [ecx], dx
call fcn.00407db0
mov dword [ebp - 4], 0
push 1
lea ecx, [esi + 0x914]
mov dword [ebp - 4], 0xffffffff
call fcn.004f4170
push 1
push 0
push 0
lea eax, [ebp - 0x628]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e2a30
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push edi
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x5a4eb8
mov edi, eax
call fcn.00511c60
push str.STAFFCOP_088FA840_B10D_11D3_BC36_006067709674
call fcn.004f9bb0
add esp, 8
test al, al
je 0x4e2a88
mov eax, dword [section..shr]
push eax
call fcn.004f9bf0
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.00504cf0
mov eax, dword [0x5f8eb4]
xor esi, esi
cmp eax, 0xd15d
je 0x4e2aa8
mov dword [0x5f7bf0], esi
mov dword [0x5f7938], esi
push str.STAFFCOP_088FA840_B10D_11D3_BC36_006067709674
call fcn.004f9b90
add esp, 4
lea ecx, [ebp - 0x1a8]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4e2ad5
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x534
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push ecx
push esi
mov ecx, 0x5f793c
call fcn.004ca8c0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
call fcn.004e20f0
add esp, 8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x5f793c
call fcn.004cd4d0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x10