joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1480
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
lea ecx, [ebp - 0x114]
push ecx
push eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x114], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4d16de
push esi
push ebx
call fcn.004efb5a
add esp, 4
mov esi, eax
push esi
push ebx
push 0
push dword [ebp - 0x11c]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4d16d4
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x547c84
push esi
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4d15e1
cmp dword [ebp - 0x10c], 0x34
jne 0x4d15e1
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0xa]
push eax
call fcn.0041a870
mov word [edi + 0xd8], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 8]
push eax
call fcn.0041a870
mov word [edi + 0xda], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0xe]
push eax
call fcn.0041a870
mov word [edi + 0xdc], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0xc]
push eax
call fcn.0041a870
mov word [edi + 0xde], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0x12]
push eax
call fcn.0041a870
mov word [edi + 0xe0], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0x10]
push eax
call fcn.0041a870
mov word [edi + 0xe2], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0x16]
push eax
call fcn.0041a870
mov word [edi + 0xe4], ax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax + 0x14]
push eax
call fcn.0041a870
add esp, 0x20
mov word [edi + 0xe6], ax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
push str.VarFileInfoTranslation
push esi
mov dword [ebp - 0x110], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4d16d4
cmp dword [ebp - 0x110], 0
je 0x4d16d4
mov ecx, dword [ebp - 0x118]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.004f20e4
add esp, 0x14
lea eax, [ebp - 0x104]
push edi
push str.Comments
push eax
push esi
mov ecx, edi
call fcn.004d12c0
lea eax, [edi + 0x24]
push eax
push str.CompanyName
lea eax, [ebp - 0x104]
push eax
push esi
mov ecx, edi
call fcn.004d12c0
lea eax, [edi + 0x48]
push eax
push 0x547d44
lea eax, [ebp - 0x104]
push eax
push esi
mov ecx, edi
call fcn.004d12c0
lea eax, [edi + 0x6c]
push eax
push 0x547d54
lea eax, [ebp - 0x104]
push eax
push esi
mov ecx, edi
call fcn.004d12c0
lea eax, [edi + 0x90]
push eax
push 0x547d64
lea eax, [ebp - 0x104]
push eax
push esi
mov ecx, edi
call fcn.004d12c0
lea eax, [edi + 0xb4]
push eax
push 0x51e938
lea eax, [ebp - 0x104]
push eax
push esi
mov ecx, edi
call fcn.004d12c0
push esi
call fcn.004eff63
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004eff68
mov esp, ebp
pop ebp
ret 4
Function at 0x4d1750
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bcbb
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x90
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004f0870
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x120], 5
jae 0x4d17b9
mov al, 1
jmp 0x4d187e
lea eax, [ebp - 0x128]
push eax
push 0x20019
push 0
push str.Control_PanelAppearance
push SQLBindCol
xor bl, bl
mov dword [ebp - 0x128], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d187c
push 0x80
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x12c], 0x80
call fcn.004f0870
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push str.Current
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d1870
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x150]
call fcn.00417cd0
push str.standard
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0
call fcn.00418d70
lea ecx, [ebp - 0x150]
mov bl, al
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret

Function at 0x4d1930
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi], vtable.Thread.0
test eax, eax
je 0x4d197b
cmp byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
je 0x4d1970
push 0x9c4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x14], 0
je 0x4d1970
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov byte [esi + 0x14], 0
pop esi
ret

Function at 0x4d1980
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push dword [esi + 0x10]
push esi
push 0x4d1a00
push dword [esi + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
setne al
pop esi
ret

Function at 0x4d19b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4d19fb
cmp byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
je 0x4d19f0
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4d19d6
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x14], 0
je 0x4d19f0
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov byte [esi + 0x14], 0
pop esi
pop ebp
ret 4
Function at 0x4d1a80
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d1a8e
xor al, al
pop esi
ret
cmp byte [esi + 0x14], 0
jne 0x4d1aa4
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x4d1a8a
mov byte [esi + 0x14], 1
mov al, 1
pop esi
ret

Function at 0x4d1ab0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d1abe
xor al, al
pop esi
ret
cmp byte [esi + 0x14], 0
je 0x4d1ad4
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4d1aba
mov byte [esi + 0x14], 0
mov al, 1
pop esi
ret

Function at 0x4d2410
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00419080
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4d2432
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xe
push eax
call ebx
test eax, eax
js 0x4d2429
je 0x4d2483
push esi
lea esi, [eax + 1]
push edi
push esi
call fcn.004efb5a
push esi
mov edi, eax
push 0
push edi
call fcn.004f0870
mov eax, dword [ebp - 4]
add esp, 0x10
push edi
push esi
push 0xd
push dword [eax + 4]
call ebx
mov ecx, dword [ebp + 8]
push 0
push eax
push edi
call fcn.00418ea0
push edi
call fcn.004eff63
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d2590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d25fd
cmp word [ebp + 8], 0x57
jne 0x4d25fd
push ebx
push edi
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
push 0xfffffffffffffff0
push esi
call ebx
test eax, 0x40000000
je 0x4d25e1
push esi
call edi
mov esi, eax
push 0xfffffffffffffff0
push esi
call ebx
test eax, 0x40000000
jne 0x4d25d0
push 0
push 0xe102
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebx
mov al, 1
pop esi
pop ebp
ret 0xc
xor al, al
pop esi
pop ebp
ret 0xc
Function at 0x4d4290
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bde9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00417d90
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test eax, eax
je 0x4d4320
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xe
push eax
call ebx
mov edi, eax
test edi, edi
jle 0x4d4320
inc edi
push edi
mov ecx, esi
call fcn.0041a210
push dword [esi + 4]
mov eax, dword [ebp - 0x14]
push edi
push 0xd
push dword [eax + 4]
call ebx
push 0
push eax
mov ecx, esi
call fcn.0041a410
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

Function at 0x4d4340
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51be32
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x814], 0
call fcn.00417d90
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x814], 1
call fcn.004f0870
add esp, 0xc
cmp dword [0x57f89c], 1
jg 0x4d43d9
lea eax, [ebp - 0x810]
push eax
push 0x800
push 0xd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4d4427
push 0x2000
push 0
push 0x57d4a0
call fcn.004f0870
add esp, 0xc
push 0x57d4a0
push 0x800
push 0xd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0xffffffffffffffff
push 0x57d4a0
push 0
push dword [0x57f89c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call fcn.00418ea0
push 0
mov ecx, esi
call fcn.00418f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4470
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0xfffffffffffffff4
push dword [esi + 4]
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
jle 0x4d44d0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [esi + 4]
mov dword [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
cmp dword [ebp - 0x2c], 0
jne 0x4d4502
mov eax, dword [ebp - 0x28]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x4d44ff
lea ecx, [ebp - 0x24]
push ecx
push 0x20
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x4d44ff
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push 0x548088
push eax
call fcn.004f3c4c
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004eff68
mov esp, ebp
pop ebp
ret 4

Function at 0x4d4710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebp + 8]
mov ecx, 0xff
and ax, cx
push edi
movzx ebx, ax
call dword [sym.imp.USER32.dll_GetParent]
test bl, bl
push 0
push 0
push edi
mov ebx, eax
push ebx
js 0x4d479d
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, edi
je 0x4d4807
test esi, esi
jne 0x4d4773
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, edi
je 0x4d4807
test esi, esi
je 0x4d4807
push esi
call fcn.004d45a0
add esp, 4
test al, al
jne 0x4d4807
push 0
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, edi
jne 0x4d4753
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, edi
je 0x4d47fc
test esi, esi
jne 0x4d47c8
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, edi
je 0x4d47fc
test esi, esi
je 0x4d47ea
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000
je 0x4d47ea
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov ecx, dword [ebp + 8]
test eax, eax
cmovne ecx, esi
mov dword [ebp + 8], ecx
push 0
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, edi
jne 0x4d47b0
push dword [ebp + 8]
call fcn.004d45a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test dword [edi + 0xc], 0x200
je 0x4d96a7
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x3c], eax
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
mov eax, dword [ebx]
push dword [edi + 0x10]
call dword [eax + 0xf4]
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x4d96d1
push str._Node_is_null__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, 0x80004005
pop ebx
pop ebp
ret 4
test byte [edi + 0xc], 1
je 0x4d970d
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x24]
jg 0x4d96c6
push esi
push eax
lea ecx, [ebx + 0x2c]
call fcn.0046c1f0
push dword [edi + 0x14]
lea ecx, [ebx + 0x1c]
mov esi, eax
call fcn.004013f0
movzx ecx, word [esi]
push ecx
push dword [eax]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004d7790
mov ecx, dword [ebp + 8]
mov dword [edi + 0x20], eax
pop esi
test byte [edi + 0xc], 2
je 0x4d9726
mov eax, dword [ecx]
push 0
call dword [eax + 4]
push eax
lea ecx, [ebx + 0x7c]
call fcn.004d7390
mov dword [edi + 0x28], eax
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x4db240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
test bl, bl
jne 0x4db256
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x4db3d9
mov edi, dword [ebp + 8]
cmp di, 0x11
je 0x4db2df
cmp di, 0x57
jne 0x4db2a3
push 0
push 0xe102
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
mov eax, dword [esi]
mov ecx, esi
cmp di, 0x44
jne 0x4db2be
push 0xffffffffffffffff
call dword [eax + 0x120]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
cmp di, 0x56
jne 0x4db2d3
call dword [eax + 0x1a0]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
push 1
call dword [eax + 0xe4]
test eax, eax
jg 0x4db2e8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
cmp di, 0x58
jne 0x4db301
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
cmp di, 0x43
je 0x4db3c6
cmp di, 0x2d
je 0x4db3c6
cmp di, 0x26
jne 0x4db359
cmp eax, 1
jne 0x4db41d
push 0
mov ecx, esi
call fcn.004d7b30
mov edi, eax
test edi, edi
jle 0x4db3bd
mov edx, dword [esi]
push edi
mov edx, dword [edx + 0x184]
mov ecx, esi
call edx
test al, al
je 0x4db3bd
push 2
push 0
push edi
mov ecx, esi
call fcn.004da410
lea eax, [edi - 1]
jmp 0x4db3a8
cmp di, 0x28
jne 0x4db41d
cmp eax, 1
jne 0x4db41d
push 0
mov ecx, esi
call fcn.004d7b30
mov edx, dword [esi]
push 0
mov ecx, esi
mov edi, eax
call dword [edx + 0xe4]
dec eax
cmp edi, eax
jge 0x4db3bd
mov eax, dword [esi]
push edi
mov eax, dword [eax + 0x188]
mov ecx, esi
call eax
test al, al
je 0x4db3bd
push 2
push 0
push edi
mov ecx, esi
call fcn.004da410
lea eax, [edi + 1]
push 0
push 2
push eax
mov ecx, esi
call fcn.004da410
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x19c]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
push 0x10
call edi
mov ecx, 0x8000
test cx, ax
je 0x4db430
mov edi, dword [ebp + 8]
cmp di, 0x2d
jne 0x4db40d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a0]
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.004d9730
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp di, 0x2e
jne 0x4db41d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a4]
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.004d9730
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp ax, 0x2d
jne 0x4db456
push 0
mov ecx, esi
call fcn.004d7b30
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x168]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004d9730
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4dbf70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 8]
cmp eax, 0xffffff87
jne 0x4dbf93
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 1
mov al, 1
pop esi
pop ebp
ret 8
cmp eax, 0xfffffdd9
jne 0x4dbfe5
push 0
push 0
push 0x130b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
mov edi, eax
push edi
mov ecx, esi
call dword [edx + 0xd4]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4dbfd2
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xf0]
pop edi
mov al, 1
pop esi
pop ebp
ret 8
cmp eax, 0xfffffdd8
jne 0x4dc041
push 0
push 0
push 0x130b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xec]
mov ecx, esi
call eax
test al, al
jne 0x4dc020
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 1
mov al, 1
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4dc030
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0
mov al, 1
pop esi
pop ebp
ret 8
cmp dword [edi + 4], 0
jbe 0x4dc07c
mov ecx, dword [edi]
test ecx, ecx
je 0x4dc07c
cmp ecx, dword [esi + 4]
je 0x4dc07c
cmp eax, 0xffffff65
je 0x4dc07c
push ecx
call fcn.004d23d0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4dc07c
mov eax, dword [ecx]
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc0]
push edi
call eax
pop edi
pop esi
pop ebp
ret 8
pop edi
xor al, al
pop esi
pop ebp
ret 8

Function at 0x4dc350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x4dc364
xor al, al
pop esi
pop ebp
ret 4
push 0
push dword [ebp + 8]
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x4dc35d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4dc38a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0xd4]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4dc3a7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4ddbd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c46b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x57b728]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
mov dword [0x57f648], edi
mov eax, dword [eax + 8]
push 0x104
mov dword [0x57f64c], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [0x57f644], ecx
call fcn.004f0870
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
xor eax, eax
cmp byte [ebp + 0x14], al
mov ecx, 0x11
cmovne eax, ecx
push eax
push esi
mov dword [ebp - 0x220], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x220]
cmp byte [ebp + 0x18], 0
xorps xmm0, xmm0
movq qword [ebp - 0x244], xmm0
mov dword [ebp - 0x240], eax
movq qword [ebp - 0x23c], xmm0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], eax
mov ecx, 0x245
mov eax, 0x45
cmovne eax, ecx
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x244]
movq qword [ebp - 0x22c], xmm0
push eax
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x230], 0x4dddd0
mov dword [ebp - 0x22c], 0x57f644
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
setne bl
test bl, bl
je 0x4ddd9e
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
sete bl
test bl, bl
je 0x4ddd9e
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00417f40
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x268]
call fcn.00417d30
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0
call fcn.00419830
push str..zip
lea ecx, [ebp - 0x268]
call fcn.004190d0
test al, al
je 0x4ddd5c
xor bl, bl
jmp 0x4ddd8c
mov edx, dword [ebp - 0x25c]
test edx, edx
je 0x4ddd73
mov eax, dword [ebp - 0x264]
cmp byte [eax + edx - 1], 0x5c
je 0x4ddd8c
push 0
push 1
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
mov byte [ebp - 0x21c], 0x5c
call fcn.00418a80
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push edi
call esi
mov al, bl
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.004eff68
mov esp, ebp
pop ebp
ret