joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x60]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi + 0x5c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x58]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x64]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x68]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x6c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x74]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x70]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x90]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x80]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x88]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x84]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x78]
lea edx, [ebp - 0x14]
movaps xmm0, xmmword [0x52f840]
movups xmmword [ebp - 0x14], xmm0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x78]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
movaps xmm0, xmmword [0x52f850]
mov eax, dword [esi + 0x7c]
movups xmmword [ebp - 0x24], xmm0
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x7c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x8c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0x94]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x429b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, 0x400000
cmovne esi, eax
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x429ba1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x429ba1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x429ba1
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x429ba8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x429bc8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push edi
push ebx
push eax
call fcn.004b0ce0
add esp, 0xc
mov dword [ebp + 0xc], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
xor edi, edi
test eax, eax
je 0x429bf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x429c35
mov ebx, dword [ebp + 0xc]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x429c33
lea eax, [ebp + 8]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
jmp 0x429c35
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x429c49
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x429c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x429c79
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
mov eax, dword [ebp + 0x10]
mov esi, 0x400000
push dword [ebp + 0xc]
test eax, eax
cmovne esi, eax
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x429ca3
xor esi, esi
jmp 0x429d9d
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x429cbc
xor esi, esi
jmp 0x429d9c
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x429d9c
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x429cf4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x429d9c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x429d14
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x429d9c
push dword [ebp + 8]
push esi
push eax
call fcn.004b0ce0
add esp, 0xc
mov dword [ebp + 0x10], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x429d3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x429d88
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 8], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x429d86
lea eax, [ebp + 0xc]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
jmp 0x429d88
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x429d9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov dword [edi + 4], esi
test esi, esi
jne 0x429dac
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x429dc6
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x429de9
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.00429ad0
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42cb00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0x52c834
mov ebx, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x42cb48
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push esi
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.LDSGameCenterSetupMutext
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x42cc13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42cbe0
push esi
push 0x532cd8
call fcn.00441aa0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.LDSGameCenterSetupMainWnd
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x42cbfe
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x42cc0b
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.0042c5e0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x42ccb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a3c
call fcn.004ac5b0
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0
push 2
mov dword [ebp - 0x1a34], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42ceb6
push edi
push 0x228
lea eax, [ebp - 0x1a2c]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x1a30], 0x22c
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42ceb2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1a3c], eax
cmp eax, dword [ebp - 0x1a28]
je 0x42ce97
push dword [ebp - 0x1a34]
lea eax, [ebp - 0x1a0c]
push eax
call fcn.004ce4af
add esp, 8
test eax, eax
jne 0x42ce97
push 0x800
push eax
lea eax, [ebp - 0x1804]
push eax
call fcn.004b17e0
add esp, 0xc
push dword [ebp - 0x1a28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42ce66
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42ce5b
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004b17e0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.004b1d0d
add esp, 0x14
test eax, eax
je 0x42ce23
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x42ce23
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ce10
lea eax, [ebp - 0x1004]
jmp 0x42ce41
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ce30
lea eax, [ebp - 0x804]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x1804]
push 0x400
push eax
call fcn.004d0b73
add esp, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x42ce6c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1a28]
mov dword [ebp - 0x1a38], ecx
cmp dword [esi + 8], eax
je 0x42ce88
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x42ce97
lea ecx, [ebp - 0x1a38]
push ecx
push eax
mov ecx, esi
call fcn.0042c480
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x1a3c]
jne 0x42cd31
push ebx
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 8
Function at 0x42d6d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDC]
push 0x118
mov ebx, eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x42d739
push esi
push 0x42d520
push 0
push ebx
call dword [sym.imp.GDI32.dll_EnumFontFamiliesW]
jmp 0x42d742
mov eax, 0x100
or word [esi + 0xc], ax
movzx ecx, word [esi + 0xc]
movzx eax, cx
test ecx, 0x100
je 0x42d762
push 0x532d84
lea ecx, [esi + 8]
call fcn.0041d380
movzx eax, word [esi + 0xc]
movzx ecx, ax
test al, 0x10
je 0x42d77a
push 0x532d74
lea ecx, [esi + 8]
call fcn.0041d380
movzx ecx, word [esi + 0xc]
test cl, 1
je 0x42d78c
push 0x52ca3c
lea ecx, [esi + 8]
call fcn.0041d380
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esi + 8]
push 0x20
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff4
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], eax
xor ecx, ebp
pop esi
pop ebx
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x42f820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x42f84a
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42f876
push 1
mov ecx, esi
call fcn.0042f340
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
push edi
je 0x42f856
mov edi, dword [esi + 0x34]
jmp 0x42f859
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f875
test edi, edi
je 0x42f875
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x42f880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x42f8b1
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42f8dd
push 1
lea ecx, [esi - 0x24]
call fcn.0042f340
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [esi + 8], 0
push edi
je 0x42f8bd
mov edi, dword [esi + 0x10]
jmp 0x42f8c0
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f8dc
test edi, edi
je 0x42f8dc
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x4304c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5178d0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430503
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x430520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5178f0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430566
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x430577
push 0x44
push esi
call fcn.004ac0a8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x430840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517918
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x430892
cmp ecx, dword [esi]
jne 0x430892
lock inc dword [eax]
jmp 0x4308c0
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x430a20
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00409610
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4309a6
mov edi, ecx
lea edx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4308e0
sub edi, edx
sar edi, 1
je 0x4309a6
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x430a25
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x430929
push edi
mov ecx, ebx
call fcn.00407ee0
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x43097e
lea ecx, [edi + edi]
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x43098e
test eax, eax
jne 0x430954
call fcn.004cdaed
mov dword [eax], 0x16
call fcn.004bb9d8
jmp 0x43098e
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x43096f
call fcn.004cdaed
mov dword [eax], 0x22
call fcn.004bb9d8
jmp 0x43098e
push ecx
push dword [ebp + 0xc]
push edx
call fcn.004b1260
add esp, 0xc
jmp 0x43098e
push edi
push dword [ebp + 0xc]
push dword [edx - 8]
push edx
call fcn.00409610
add esp, 0x10
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x430a25
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
jmp 0x4309ad
mov ecx, ebx
call fcn.004305b0
mov eax, dword [ebx]
test eax, eax
je 0x430a2f
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4309db
test dx, dx
je 0x4309d7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4309db
add ecx, 4
add eax, 4
test dx, dx
jne 0x4309b5
xor eax, eax
jmp 0x4309e0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4309ed
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x430a0c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004080b0
push 0x80070057
call fcn.00404400
push 0x80004005
call fcn.00404400
int3
Function at 0x4377d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51826b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x56f790]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], edi
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x43792c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437860
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00407f80
mov eax, dword [esi]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.0040ad10
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp - 0x21c]
je 0x4378e2
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4378e2
push 0x52bd6c
mov ecx, edi
call fcn.004093d0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43790f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43790f
add esi, 0xfffffff0
push esi
call fcn.004088a0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43790f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3
Function at 0x4380a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x438110
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
push edi
xor edi, edi
push edi
push str.WorkerW
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x438163
nop dword [eax]
push 0
push str.SHELLDLL_DefView
push 0
push esi
call ebx
test eax, eax
jne 0x438151
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x438130
jmp 0x438163
push 0
push str.SysListView32
push 0
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x438191
push str.Program_Manager
push str.Progman
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x438191
push 0
push str.SHELLDLL_DefView
push 0
push eax
call ebx
push 0
push str.SysListView32
push 0
push eax
call ebx
mov edi, eax
push edi
push str.Get_desktop_wnd___08x
call fcn.00441ac0
add esp, 8
call fcn.00451fb0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
push ebx
push edi
test eax, eax
je 0x4381bb
call fcn.00433250
jmp 0x4381c0
call fcn.00433610
mov ecx, dword [esi + 4]
add esp, 0x10
mov edx, dword [esi]
mov edi, eax
mov eax, dword [esi + 0xc]
sub eax, ecx
push eax
mov eax, dword [esi + 8]
sub eax, edx
test edi, edi
push eax
push ecx
push edx
mov eax, str.fail
mov ecx, str.success
cmove ecx, eax
push ecx
push ebx
push str.CommonUtil::_GetIconRect__s____s___d___d___dx_d
call fcn.00441a80
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret