joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba300
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4ba31d
xor esi, esi
jmp 0x4ba34d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4ba332
xor esi, esi
jmp 0x4ba34d
lea esi, [eax + eax]
mov eax, esi
call fcn.00553150
mov eax, esp
push 0x3a8
push esi
push edi
push eax
call fcn.00401180
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
jne 0x4ba385
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4ba385
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00552de0
mov eax, dword [ebp - 8]
add esp, 0xc
jmp 0x4ba387
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret 4

Function at 0x4bbb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x589500
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.0040a080
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0xc]
mov dword [esp + 0x28], ecx
push edx
mov ecx, esi
call fcn.004bbae0
mov esi, 0x10
cmp dword [esp + 0x24], esi
jb 0x4bbbfa
mov eax, dword [esp + 0x10]
push eax
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jb 0x4bbc1d
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00552d63
add esp, 0x30
ret 0x20

Function at 0x4bc260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
je 0x4bc2b5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x4bc2b5
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x4bc2b5
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4bc2b7
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret
Function at 0x4bc2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
call fcn.004bc260
test al, al
jne 0x4bc310
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4bc328
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x4bc32c
xor eax, eax
jmp 0x4bc343
lea eax, [esi + esi]
call fcn.00553150
mov eax, esp
push 0x3a8
push esi
push ebx
push eax
call fcn.00401140
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret
Function at 0x4bd4d0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5898d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x84], ebx
call fcn.00491600
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push str.dialconfig.ini
push eax
push ecx
mov byte [esp + 0xa8], 1
call fcn.0040cf70
add esp, 0xc
lea ecx, [esp + 0x74]
call fcn.004b3a70
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x80], bl
jb 0x4bd578
mov edx, dword [esp + 0x24]
push edx
call fcn.0055215c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov word [ebp], 0x50
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x59648b
mov byte [ecx + 4], bl
call fcn.0040c1c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.server
mov byte [esp + 0xc0], 2
mov byte [ecx + 4], bl
call fcn.0040c1c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.update
mov byte [esp + 0xdc], 3
mov byte [ecx + 4], bl
call fcn.0040c1c0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], bl
call fcn.004b3b60
cmp dword [esp + 0x50], ebx
mov byte [esp + 0x80], 4
je 0x4bd6a7
push 1
push ebx
push 0x597ed0
lea ecx, [esp + 0x48]
call fcn.004050c0
mov esi, eax
cmp esi, 0xffffffff
lea ecx, [esp + 0x3c]
jne 0x4bd63c
push eax
push ebx
push ecx
mov ecx, edi
call fcn.0040a080
jmp 0x4bd6a2
push esi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0040dd40
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x8c], 5
call fcn.0040a080
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x80], 4
jb 0x4bd677
mov eax, dword [esp + 0x24]
push eax
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x4bd686
lea eax, [esp + 0x40]
lea ecx, [eax + esi + 1]
push ecx
call fcn.00554a20
lea edx, [eax - 1]
add esp, 4
cmp edx, 0xfffe
ja 0x4bd6a2
mov word [ebp], ax
mov esi, 0xf
cmp dword [edi + 0x14], ebx
je 0x4bd6bb
push edi
call fcn.00427a40
push eax
call fcn.00427d30
add esp, 8
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x4bd6d3
mov eax, dword [esp + 0x40]
push eax
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x4bd6f2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00552d63
add esp, 0x70
ret
Function at 0x4bfe60
Capabilities:
Check os version
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x589e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1e8]
xor ebx, ebx
push 0x9c
lea eax, [esp + 0x38]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00552500
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0x9c
call edi
cmp eax, ebx
jne 0x4bfef9
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x94
call edi
test eax, eax
jne 0x4bfef9
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
jmp 0x4c00b1
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov ebp, dword [esp + 0x38]
cmp ebp, 5
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x1e0], ebx
jne 0x4bff6e
cmp edi, 2
jne 0x4bff37
push 0x1c
push str.Windows_Server_2003_family_
lea ecx, [esp + 0x20]
call fcn.00408b50
jmp 0x4c0050
cmp edi, 1
jne 0x4bff51
push 0xb
push str.Windows_XP
lea ecx, [esp + 0x20]
call fcn.00408b50
jmp 0x4c0050
cmp edi, ebx
jne 0x4bfffb
push 0xd
push str.Windows_2000
lea ecx, [esp + 0x20]
call fcn.00408b50
jmp 0x4c0050
cmp ebp, 4
ja 0x4bff88
push 0xb
push str.Windows_NT
lea ecx, [esp + 0x20]
call fcn.00408b50
jmp 0x4c0050
cmp ebp, 6
jne 0x4bfffb
cmp edi, ebx
jne 0x4bffa4
push 0x59a8cc
lea ecx, [esp + 0x1c]
call fcn.0040c190
jmp 0x4c0050
cmp edi, 1
jne 0x4bffbc
push str.Windows_7
lea ecx, [esp + 0x1c]
call fcn.0040c190
jmp 0x4c0050
cmp edi, 2
jne 0x4bffd1
push str.Windows_8
lea ecx, [esp + 0x1c]
call fcn.0040c190
jmp 0x4c0050
cmp edi, 3
jne 0x4bffe6
push str.Windows_8.1
lea ecx, [esp + 0x1c]
call fcn.0040c190
jmp 0x4c0050
cmp edi, 4
jne 0x4bfffb
push str.Windows_10
lea ecx, [esp + 0x1c]
call fcn.0040c190
jmp 0x4c0050
push 0x103
lea eax, [esp + 0xd5]
push ebx
push eax
mov byte [esp + 0xdc], bl
call fcn.00552500
push edi
push ebp
push str.Major__d_Minor__d
lea ecx, [esp + 0xe8]
push 0x104
push ecx
call fcn.004bfe30
add esp, 0x20
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c190
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
push 0x597ed0
lea ecx, [esp + 0x20]
call fcn.00408b50
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c0067
sub eax, edx
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00408b50
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x20]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040a080
cmp dword [esp + 0x30], 0x10
jb 0x4c00b1
mov eax, dword [esp + 0x1c]
push eax
call fcn.0055215c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00552d63
add esp, 0x1d0
ret
Function at 0x4c4860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
je 0x4c48b5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x4c48b5
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x4c48b5
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4c48b7
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret
Function at 0x4c79f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
je 0x4c7a45
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x4c7a45
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x4c7a45
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4c7a47
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret

Function at 0x4c7fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58a5a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CDialogUIViewBase_class_DlgGameLaunchPath__class_WTL::CMemDlgTemplate__class_ATL::CDialogImpl_class_DlgGameLaunchPath__class_ATL::CWindow__.0
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
call fcn.004a1350
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4c87c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x58a68a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
push 0x5ceca6
xor ebx, ebx
push 0x28
mov dword [esp + 0x28], ebx
call fcn.00555c18
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x20], 1
je 0x4c8899
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0040a080
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push edi
push ecx
push edx
mov ecx, esi
call fcn.004c8660
mov esi, eax
cmp esi, ebx
je 0x4c8899
push ebx
push ebx
push esi
push 0x4c86f0
push ebx
push ebx
call fcn.00555225
add esp, 0x18
cmp eax, ebx
je 0x4c8871
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c8899
cmp dword [esi + 0x24], 0x10
jb 0x4c8883
mov eax, dword [esi + 0x10]
push eax
call fcn.0055215c
add esp, 4
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], ebx
push esi
mov byte [esi + 0x10], bl
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x4c], 0x10
jb 0x4c88ad
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0055215c
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4c9a20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
cmp eax, dword [0x5ce7bc]
push esi
push edi
mov esi, ecx
jne 0x4c9adf
mov eax, dword [esp + 0xc]
cmp eax, 0xfb8
jne 0x4c9a9a
mov edi, dword [esi + 0x68]
mov esi, dword [esi + 0x64]
call fcn.004a1350
test eax, eax
je 0x4c9a64
push str.uiview_enable_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c9a64
push 0
push edi
push esi
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x11
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push 0x59ac94
mov byte [ecx + 4], 0
call fcn.0040c1c0
call fcn.004fa9c0
add esp, 0x1c
xor eax, eax
pop edi
pop esi
ret 0x10
cmp eax, 0xfb9
jne 0x4c9adf
push 5
push 0
call fcn.004c7b10
cmp dword [esp + 0x14], 0
jne 0x4c9ad0
mov ecx, dword [esi + 4]
push 0x30
push ecx
mov edx, 0x59ac74
mov ecx, 0x59ac30
call fcn.004c8ec0
add esp, 8
xor eax, eax
pop edi
pop esi
ret 0x10
mov edx, dword [0x5ce6c8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x4cac10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x4008
call fcn.00554a50
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x4004], eax
push esi
push edi
push 0x3ffe
lea eax, [esp + 0x12]
push 0
push eax
mov edi, ecx
mov word [esp + 0x18], 0
call fcn.00552500
mov edx, dword [edi + 4]
add esp, 0xc
push 0x2000
lea ecx, [esp + 0x10]
push ecx
push 0x445
push edx
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov esi, eax
test esi, esi
je 0x4cad19
cmp word [esp + 0xc], 0
je 0x4cad19
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cad19
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [esi + esi + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4cace4
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x4cacdc
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.00552de0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov byte [esp + 0x13], 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp byte [esp + 0xf], 0
pop ebx
je 0x4cad19
mov esi, dword [edi + 0x38]
mov edi, dword [edi + 0x34]
call fcn.004a1350
test eax, eax
je 0x4cad31
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4cad31
push 5
push esi
push edi
call eax
jmp 0x4cad31
mov edx, dword [edi + 4]
push 0x10
push edx
mov edx, 0x59aadc
mov ecx, 0x59acdc
call fcn.004caa90
add esp, 8
mov ecx, dword [esp + 0x400c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00552d63
add esp, 0x4008
ret 0x10
Function at 0x4cb930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58a998
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CDialogUIViewBase_class_CDlgSelectMode__class_WTL::CMemDlgTemplate__class_ATL::CDialogImpl_class_CDlgSelectMode__class_ATL::CWindow__.0
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
call fcn.004a1350
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4cbe2a
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
movzx eax, word [esp + 0x10]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
lea edi, [esi + 0x34]
push edx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.004cbd60
mov ebx, dword [esp + 0x10]
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x4cbe55
cmp ebx, edi
je 0x4cbe5a
call fcn.005532de
mov edi, dword [esp + 0x14]
cmp edi, ebp
je 0x4cbea2
test ebx, ebx
jne 0x4cbe6b
call fcn.005532de
cmp edi, dword [ebx + 4]
jne 0x4cbe75
call fcn.005532de
cmp dword [edi + 0x10], 0
jne 0x4cbe88
add dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], 1
jmp 0x4cbea2
mov dword [esi + 0x40], 0
cmp edi, dword [ebx + 4]
jne 0x4cbe99
call fcn.005532de
mov eax, dword [edi + 0x10]
sub eax, 1
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4cbeb8
mov eax, dword [esi + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [esi + 0x40]
push eax
call edx
mov eax, dword [esi + 0x58]
push 0
push 0
push 0xbd1
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x4d8aa0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x58b0f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
lea edi, [esi + esi + 2]
cmp edi, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], esi
jge 0x4d8b4a
mov ecx, edi
imul ecx, ecx, 0x2c
lea eax, [ecx + ebx]
lea edx, [eax - 0x2c]
push edx
push eax
call dword [esp + 0x1c]
add esp, 8
test al, al
je 0x4d8b0a
sub edi, 1
mov eax, edi
imul esi, esi, 0x2c
imul eax, eax, 0x2c
add eax, ebx
add esi, ebx
cmp esi, eax
je 0x4d8b40
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0
add eax, 0x10
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
call fcn.0040a080
mov esi, edi
lea edi, [edi + edi + 2]
cmp edi, ebp
jl 0x4d8aef
jne 0x4d8b87
mov eax, ebp
imul esi, esi, 0x2c
imul eax, eax, 0x2c
lea eax, [eax + ebx - 0x2c]
add esi, ebx
cmp esi, eax
je 0x4d8b84
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0
add eax, 0x10
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
call fcn.0040a080
lea esi, [ebp - 1]
mov eax, dword [esp + 0x14]
push eax
sub esp, 0x2c
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004d6a60
mov eax, dword [esp + 0x48]
push eax
push esi
push ebx
call fcn.004d7c70
add esp, 0x3c
cmp dword [esp + 0x60], 0x10
jb 0x4d8bc2
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4dc150
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 4]
push edi
call fcn.004a1350
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x4dc17e
push str.uiview_show_window
push eax
call edi
test eax, eax
je 0x4dc17e
push 0
push 0x7e3
push ebx
call eax
push 1
mov ecx, esi
call fcn.004cded0
mov eax, dword [esi + 4]
push 0x32
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 1
push 0
push 0xbd3
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi + 4]
push 0
push 0x3e8
push 0x32
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x4dc1db
push str.uiview_show_window
push eax
call edi
test eax, eax
je 0x4dc1db
push 0
push 0x7dd
push ebx
call eax
mov ebx, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x4dc1fd
push str.uiview_show_window
push eax
call edi
test eax, eax
je 0x4dc1fd
push 0
push 0x7de
push ebx
call eax
push 0x14
call fcn.0055289e
add esp, 4
test eax, eax
je 0x4dc242
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x54]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x74]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x94]
lea edx, [esp + 0xc]
push edx
push 0
push eax
push 0x4dbcc0
push 0
push 0
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
pop ecx
ret 4