joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44abd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b238
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x48]
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.0044aae0
cmp dword [ebp - 0x18], 0
mov edi, 8
je 0x44ac38
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x44ac31
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], edi
jb 0x44ac49
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004f3984
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], dx
cmp dword [ebp - 0x30], edi
jb 0x44ac6e
mov eax, dword [ebp - 0x44]
push eax
call fcn.004f3984
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret

Function at 0x44ebd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
movzx ecx, word [eax]
push ebx
mov ebx, dword [ebp + 8]
mov edx, 0x76c
push esi
push edi
mov dword [esp + 0x10], ecx
cmp cx, dx
jae 0x44ec08
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx esi, word [eax + 6]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx eax, word [eax + 2]
push esi
push eax
movzx eax, word [esp + 0x18]
push eax
lea esi, [esp + 0x1c]
call fcn.0044eb10
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x456360
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51eb60
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
cmp eax, esi
jne 0x4563bf
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
mov word [edi + 4], ax
jmp 0x4564f8
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], esi
mov word [esp + 0x38], cx
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x7c], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x4564c5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4564bc
push 0x57109e
push esi
call fcn.004f4b86
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4564b8
push esi
push 0
push ebx
call fcn.004fb000
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
lea edx, [esp + 0x24]
push edx
push esi
push ebx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4564af
cmp dword [esp + 0x20], esi
jne 0x4564af
xor eax, eax
push esi
lea edi, [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.00458ad0
add esp, 4
test eax, eax
je 0x4564ab
lea ecx, [esp + 0x1c]
push ecx
mov edx, edi
push edx
call fcn.00442900
mov byte [esp + 0x60], 1
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov edx, eax
call fcn.00428ca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0
call fcn.004062c0
mov edi, dword [esp + 0x18]
push ebx
call fcn.004f4972
add esp, 4
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x3c]
xor edx, edx
push eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
mov eax, edi
mov word [edi + 4], dx
call fcn.0042aee0
cmp dword [esp + 0x4c], 8
jb 0x4564f8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004f3984
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
Function at 0x458ad0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor edx, edx
push esi
cmp eax, edx
jne 0x458afb
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
push ecx
lea esi, [ebp - 0x74]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
call fcn.004588a0
add esp, 4
mov eax, esi
call fcn.004589b0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004f398f
mov esp, ebp
pop ebp
ret

Function at 0x4591e0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x4591fb
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x459215
mov eax, 1
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
cmp edi, ebx
je 0x4592ea
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x45926a
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push edx
call fcn.00459190
add esp, 4
test eax, eax
je 0x4592d0
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4592b0
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x4592b7
push esi
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x104], 0
call fcn.004fb000
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x459364
test byte [ebp - 0xf2], 0x80
jne 0x459364
push esi
push 1
push esi
push 0x12
call ebx
mov esi, 1
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, eax
test esi, esi
je 0x45937b
push 0
push 3
push 0
push 0x12
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f398f
mov esp, ebp
pop ebp
ret

Function at 0x459390
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
call fcn.004591e0
test eax, eax
jne 0x4593a4
mov ecx, esi
pop esi
jmp fcn.00459300
pop esi
ret

Function at 0x4594e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0050e9c0
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2010], eax
cmp esi, ebx
je 0x4595af
push 0x1fff
lea ecx, [ebp - 0x2003]
push ebx
push ecx
mov byte [ebp - 0x2004], bl
call fcn.004fb000
add esp, 0xc
lea edx, [ebp - 0x2014]
push edx
push esi
mov dword [ebp - 0x2014], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x4595af
cmp eax, 0x1fff
ja 0x4595af
lea ecx, [ebp - 0x2004]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45959e
lea edx, [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2008]
push eax
push 0x53e8b4
lea ecx, [ebp - 0x2004]
push ecx
mov dword [ebp - 0x2008], ebx
mov dword [ebp - 0x200c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45959e
mov eax, dword [ebp - 0x2008]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2010]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov bl, 1
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop ebx
call fcn.004f398f
mov esp, ebp
pop ebp
ret
Function at 0x45b310
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x11c
lea eax, [ebp - 0x530]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x534], esi
call fcn.004fb000
push 0x11c
push 0
push ebx
mov dword [ebp - 0x530], 0x11c
call fcn.004fb000
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
jne 0x45b385
call fcn.0045b210
test eax, eax
je 0x45b385
mov dword [esi + 4], 0
jmp 0x45b472
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45b3a9
lea ecx, [ebp - 0x530]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
push edi
lea edi, [eax + edx*2]
mov eax, dword [ebp - 0x52c]
mov edx, dword [ebp - 0x528]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x45b3dd
mov ecx, 0x47
lea esi, [ebp - 0x530]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004fb000
add esp, 0xc
lea esi, [ebp - 0x414]
call fcn.0045b260
test eax, eax
jl 0x45b464
lea edx, [ebp - 0x568]
push edx
mov eax, esi
call fcn.0045b490
test eax, eax
je 0x45b464
mov ecx, dword [ebp - 0x558]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x45b455
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x554]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x534]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x45b471
mov edx, dword [ebp - 0x534]
mov dword [edx + 4], 0
jmp 0x45b471
mov eax, dword [ebp - 0x534]
mov dword [eax + 4], 0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004f398f
mov esp, ebp
pop ebp
ret 4
Function at 0x45b490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x45b514
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45b50d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45b50d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x45b506
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f3eba
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45b506
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push ebx
call fcn.004fcc70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x45b552
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x53e8b4
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45b549
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.004f4075
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45bb30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x573608], 0
jne 0x45bb70
lea eax, [ebp - 4]
push eax
push 0x573608
lea ecx, [ebp - 8]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x207
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [0x573810], 0
jne 0x45bb96
push 0x573608
push 0x53d2ac
push 0x104
push 0x573810
call fcn.0042c130
add esp, 0x10
cmp word [0x573a18], 0
jne 0x45bbe7
mov edx, 0x104
mov eax, 0x573a18
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x45bbdb
movzx ecx, word [eax - 0x410]
test cx, cx
je 0x45bbdb
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x45bbb0
sub eax, 2
mov word [eax], dx
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x45bbe2
sub eax, 2
xor edx, edx
mov word [eax], dx
mov esp, ebp
pop ebp
ret
Function at 0x45ed80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 1
push 0x11
mov ebx, ecx
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x20], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call edi
mov al, 0x82
mov byte [esp + 0x50], al
mov byte [esp + 0x5a], al
mov eax, dword [esp + 0x14]
mov edx, 0x2011
mov word [esp + 0x18], dx
mov dword [esp + 0x20], esi
mov byte [esp + 0x4c], 0x44
mov byte [esp + 0x4d], 0xee
mov byte [esp + 0x4e], 0x29
mov byte [esp + 0x4f], 0x3d
mov byte [esp + 0x51], 0xb4
mov byte [esp + 0x52], 0xcf
mov byte [esp + 0x53], 0xf4
mov byte [esp + 0x54], 0x63
mov byte [esp + 0x55], 0xfa
mov byte [esp + 0x56], 0x27
mov byte [esp + 0x57], 0x6d
mov byte [esp + 0x58], 0xe8
mov byte [esp + 0x59], 0x52
mov byte [esp + 0x5b], 0xbc
mov byte [esp + 0x5c], 0xd8
mov byte [esp + 0x5d], 0x40
mov byte [esp + 0x5e], 9
mov byte [esp + 0x5f], 0x7c
mov byte [esp + 0x60], 0xa7
mov byte [esp + 0x61], 0xcb
mov byte [esp + 0x62], 0xb3
mov byte [esp + 0x63], 0xf
mov byte [esp + 0x64], 0x1c
mov byte [esp + 0x65], 0xdc
mov byte [esp + 0x66], 0xe7
mov byte [esp + 0x67], 0xf8
mov byte [esp + 0x68], 0x85
mov byte [esp + 0x69], 0x58
mov byte [esp + 0x6a], 0x89
mov byte [esp + 0x6b], 0x37
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 0x10]
jae 0x45eea5
mov edx, dword [esp + 0x20]
lea eax, [esp + eax + 0x4c]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 0x10]
jb 0x45ee82
lea eax, [esp + 0x38]
push eax
call edi
lea edx, [esp + 0x28]
mov ecx, 0x11
push edx
mov word [esp + 0x3c], cx
mov dword [esp + 0x44], 4
call edi
mov eax, 0x11
mov word [esp + 0x28], ax
mov eax, dword [ebx + 0xc8]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x34], 9
mov ecx, dword [eax]
push 2
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x45ef36
mov eax, dword [ebx + 0xc8]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 3
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x45ef36
mov ebx, dword [ebx + 0xc8]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x28]
push edx
push 4
push ebx
call eax
test eax, eax
jne 0x45ef36
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.004f398f
mov esp, ebp
pop ebp
ret
Function at 0x462400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526853
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.00466d30
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
lea edi, [esi + 0x54]
push edi
mov dword [esi + 0x1a0], ebx
mov byte [esi + 0x1a4], bl
mov byte [esi + 0x1a5], 1
call fcn.00481170
mov dword [esi + method.IFontIconCBSimpleImpl_class_CMsgBox_.virtual_0], vtable.IFontIconCBSimpleImpl_class_CMsgBox_.0
mov dword [esi], vtable.CMsgBox.0
mov dword [esi + 0x2c], vtable.CMsgBox.1.0
mov dword [esi + 0x50], vtable.CMsgBox.2.0
mov dword [edi], vtable.CMsgBox.3.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CMsgBox_.virtual_0], vtable.CMsgBox.4.0
mov dword [esi + 0x1ac], ebx
mov eax, 2
mov byte [ebp - 4], al
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], eax
mov byte [esi + 0x1c4], bl
mov byte [esi + 0x1c5], bl
mov byte [esi + 0x1c6], bl
mov byte [esi + 0x1c7], bl
mov dword [esi + 0x1c8], 1
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], ebx
lea ecx, [esi + 0x208]
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], ebx
push ecx
mov dword [esi + 0x204], ebx
call fcn.00418a30
mov dword [esi + 0x220], ebx
mov byte [esi + 0x224], bl
mov byte [esi + 0x225], bl
mov byte [esi + 0x226], 1
mov dword [esi + 0x228], ebx
mov edx, dword [0x570fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x570fac
call eax
add eax, 0x10
mov dword [esi + 0x22c], eax
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 0x462cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522158
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x569638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x462e08
cmp dword [esi + 0x18], 0
mov edi, 8
je 0x462d4e
cmp dword [esi + 0x1c], edi
jb 0x462d3e
mov edx, dword [esi + 8]
jmp 0x462d41
lea edx, [esi + 8]
movzx eax, byte [esi]
push eax
push 0
mov ecx, ebx
call fcn.004641c0
cmp dword [esi + 0x34], 0
je 0x462d68
cmp dword [esi + 0x38], edi
jb 0x462d5e
mov ecx, dword [esi + 0x24]
jmp 0x462d61
lea ecx, [esi + 0x24]
mov eax, ebx
call fcn.00464680
cmp dword [esi + 0x54], 0
je 0x462d89
cmp dword [esi + 0x58], edi
jb 0x462d78
mov ecx, dword [esi + 0x44]
jmp 0x462d7b
lea ecx, [esi + 0x44]
movzx edx, byte [esi + 0x3c]
push edx
push 1
mov edx, ebx
call fcn.004647d0
cmp dword [esi + 0x90], 0
je 0x462db6
cmp dword [esi + 0x94], edi
jb 0x462da2
mov ecx, dword [esi + 0x80]
jmp 0x462da8
lea ecx, [esi + 0x80]
movzx eax, byte [esi + 0x78]
push eax
push 2
mov edx, ebx
call fcn.004647d0
mov eax, dword [esi + 0xb4]
mov edi, dword [ebx + 0x1bc]
cmp eax, 0xffffffff
je 0x462dc9
mov edi, eax
mov eax, dword [esi + 0xb8]
cmp eax, 0xffffffff
je 0x462ddb
mov ecx, ebx
call fcn.004648b0
mov ecx, dword [ebx + 0x1b8]
push ecx
push edi
push ebx
call fcn.00462fd0
push 0x4621b0
push 3
push 0x3c
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004f50fd
push esi
call fcn.004f3984
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4640a0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x30]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46411b
mov eax, dword [0x573ec0]
cmp dword [eax - 0xc], 0
je 0x4640da
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x464103
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x46410a
mov edx, dword [ebp + 8]
push 0
push edx
push esi
mov byte [0x573080], 1
call fcn.00462fd0
lea edi, [esi + 0x1a0]
call fcn.00464ef0
mov eax, dword [esi + 0x1c0]
pop edi
pop ebp
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x30], 0
mov eax, 2
pop edi
pop ebp
ret 4

Function at 0x464ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
test edi, edi
je 0x464f04
lea ebx, [edi - 0x1a0]
jmp 0x464f06
xor ebx, ebx
mov eax, dword [ebx + 0x30]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 4], 1
mov eax, dword [ebx + 0x30]
push 0
push eax
call fcn.0044fb50
call fcn.0044fc50
inc dword [edi]
mov ecx, dword [ebx + 0x30]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call esi
test eax, eax
je 0x464f91
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x464f91
cmp byte [edi + 4], 0
je 0x464f91
cmp eax, 0xffffffff
je 0x464f87
mov eax, dword [ebx + 0x30]
push eax
call esi
test eax, eax
je 0x464f73
mov edx, dword [ebx + 0x50]
mov edx, dword [edx]
lea ecx, [ebx + 0x50]
lea eax, [ebp - 0x1c]
push eax
call edx
test eax, eax
jne 0x464f87
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [ebx + 0x30]
push edx
call esi
test eax, eax
jne 0x464f38
mov eax, dword [ebx + 0x30]
push eax
call fcn.0044fb50
mov esi, eax
call fcn.0044fd50
mov ecx, dword [ebx + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x464fe1
add dword [edi], 0xffffffff
je 0x464fd1
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
lea ebx, [ebx]
mov edx, dword [ebx + 0x30]
push 0
push 0
push 0x12
push edx
call esi
add dword [edi], 0xffffffff
jne 0x464fc0
cmp byte [edi + 5], 0
je 0x464fe1
mov eax, dword [ebx + 0x30]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret