joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b1af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x1c], 1
push eax
mov esi, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.004196a0
push 0x6106c8
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xd0]
movzx eax, si
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5b1b5e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5b1b55
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x5b1b55
push dword [ebp - 4]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x5b1b55
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x5b1bda
push dword [ebp - 4]
push ebx
push eax
call fcn.005472d0
add esp, 0xc
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push eax
push esi
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 4]
call fcn.0040cd20
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x5b1bd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x5b1b55
push 0
push dword [ebp - 0xc]
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x5b1bfe
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [ebp - 8]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b4740
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x638fe4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x610638
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x5b477c
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544774
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x5b476c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00544774
mov esp, ebp
pop ebp
ret

Function at 0x5b4a20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x18]
fchs
faddp st(1)
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [0x611e90]
fmul st(1), st(0)
fmulp st(1)
fcomp qword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x5b4aae
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x5b4b30
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5e2e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
lea ecx, [ebp - 0x14]
push 0x20001
call fcn.005b5f80
add esp, 4
mov esi, dword [ebp - 0x14]
mov ecx, 0x60e1e8
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b4b98
test dx, dx
je 0x5b4b94
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b4b98
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b4b72
xor eax, eax
jmp 0x5b4b9d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5b4bcc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x5a99f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5b4bcc
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5b4c1e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5b4c1c
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5b4c1c
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5b4d40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0
push 0
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
lea ecx, [ebp - 0xc]
push esi
call fcn.0040a6c0
mov ebx, dword [ebp - 0xc]
push esi
push ebx
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
call fcn.0054ea10
add esp, 4
lea esi, [eax - 1]
neg esi
sbb esi, esi
neg esi
test ebx, ebx
je 0x5b4d9a
mov ecx, dword [ebp - 4]
sub ecx, ebx
sar ecx, 1
push ecx
push ebx
call fcn.00402320
lea eax, [esi + 0x1235]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ba310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d62d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x94], ebx
call fcn.0041a507
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
movzx eax, word [ebp + 8]
push eax
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5ba428
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5ba38c
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ba3a1
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5ba3a3
call edx
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5ba428
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ba424
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5ba424
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5ba428
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5ba452
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5ba452
cmp dword [0x64414c], 0
je 0x5ba452
or dword [eax + 8], 0x400000
push 0
push ebx
push eax
mov ecx, edi
call fcn.0041bb90
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0041a542
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 8
Function at 0x5ba500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6303
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x84], 0
call fcn.0041a507
push 0x66
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5ba615
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5ba579
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ba58e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5ba590
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5ba615
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ba611
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5ba611
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5ba615
mov ecx, edx
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5ba63f
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5ba63f
cmp dword [0x64414c], 0
je 0x5ba63f
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x94]
mov ecx, esi
push eax
call fcn.0041bf04
mov ecx, esi
call fcn.0041bc04
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0041a542
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bbfd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6598
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x94], ebx
call fcn.0041a507
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
movzx eax, word [ebp + 8]
push eax
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5bc0e8
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5bc04c
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bc061
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5bc063
call edx
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5bc0e8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bc0e4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5bc0e4
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5bc0e8
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp word [esi], 1
jne 0x5bc11c
mov eax, 0xffff
cmp word [esi + 2], ax
jne 0x5bc11c
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5bc11c
cmp dword [ecx + 0x20], 0
je 0x5bc11c
call fcn.004159a9
or dword [esi + 8], eax
push 0
push ebx
push esi
mov ecx, edi
call fcn.0041bb90
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0041a542
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 8
Function at 0x5bfc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d68ee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x94], ebx
call fcn.0041a507
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
movzx eax, word [ebp + 8]
push eax
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5bfd68
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5bfccc
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bfce1
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5bfce3
call edx
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5bfd68
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bfd64
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5bfd64
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5bfd68
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5bfd92
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5bfd92
cmp dword [0x64414c], 0
je 0x5bfd92
or dword [eax + 8], 0x400000
push 0
push ebx
push eax
mov ecx, edi
call fcn.0041bb90
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0041a542
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 8
Function at 0x5bff70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6919
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x84], 0
call fcn.0041a507
push 0x66
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5c0085
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5bffe9
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bfffe
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5c0000
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5c0085
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5c0081
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5c0081
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5c0085
mov ecx, edx
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5c00af
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5c00af
cmp dword [0x64414c], 0
je 0x5c00af
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x94]
mov ecx, esi
push eax
call fcn.0041bf04
mov ecx, esi
call fcn.0041bc04
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0041a542
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5c0220
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d699f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
push 0x66
call fcn.0041b5f6
mov dword [ebp - 4], 0
lea ecx, [esi + 0xa8]
mov dword [esi], vtable.CDlgImageMerge.0
call fcn.005a96f0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x128]
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
call fcn.0041a9f8
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1d0], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1ec]
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x1e8], 0
call fcn.0041d46b
mov dword [esi + 0x1f4], 0
lea ecx, [esi + 0x208]
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0
call fcn.00593e40
mov dword [esi + 0x26c], 0
mov dword [esi + method.CBrush.virtual_0], vtable.CBrush.0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov dword [esi + 0x274], 0
mov dword [esi + 0xc0], esi
mov dword [esi + 0x110], eax
call fcn.004196a0
call fcn.004196a0
push 0x5a
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x4c
mov dword [esi + 0x1d8], eax
call fcn.0040e570
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x5c03ad
mov ecx, eax
call fcn.005c2d60
mov dword [esi + 0x1f4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x1f4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5c1680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6af2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x94], ebx
call fcn.0041a507
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
movzx eax, word [ebp + 8]
push eax
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5c1798
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5c16fc
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5c1711
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5c1713
call edx
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5c1798
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5c1794
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5c1794
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5c1798
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp word [esi], 1
jne 0x5c17cc
mov eax, 0xffff
cmp word [esi + 2], ax
jne 0x5c17cc
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5c17cc
cmp dword [ecx + 0x20], 0
je 0x5c17cc
call fcn.004159a9
or dword [esi + 8], eax
push 0
push ebx
push esi
mov ecx, edi
call fcn.0041bb90
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0041a542
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 8
Function at 0x5c1800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x84], 0
call fcn.0041a507
push 0x67
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0041a733
call fcn.004196a0
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x5c1915
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5c1879
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5c188e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5c1890
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a556
call fcn.004196a0
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0041a79c
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5c1915
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5c1911
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5c1911
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5c1915
mov ecx, edx
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5c193f
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5c193f
cmp dword [0x64414c], 0
je 0x5c193f
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x94]
mov ecx, esi
push eax
call fcn.0041bf04
mov ecx, esi
call fcn.0041bc04
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0041a542
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5c2720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
push edi
xor eax, eax
or edi, ebx
cmp dword [esi + 8], eax
jle 0x5c27d9
mov ecx, dword [esi + 4]
mov dword [ebp - 4], ecx
add ecx, 0x88
mov edx, dword [ecx]
cmp edi, edx
jge 0x5c274f
mov edi, edx
mov ebx, eax
inc eax
add ecx, 0x90
cmp eax, dword [esi + 8]
jl 0x5c2745
test ebx, ebx
js 0x5c27d9
mov ecx, dword [ebp - 4]
lea ebx, [ebx + ebx*8]
add ebx, ebx
mov eax, dword [ecx + ebx*8 + 0x88]
mov dword [ebp - 4], eax
test eax, eax
js 0x5c27b3
mov dword [ecx + ebx*8 + 0x88], 0xffffffff
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x5c27b3
xor edx, edx
lea esp, [esp]
mov edi, dword [esi + 4]
mov eax, dword [edi + edx + 0x88]
cmp eax, dword [ebp - 4]
jle 0x5c27a7
dec eax
mov dword [edi + edx + 0x88], eax
inc ecx
add edx, 0x90
cmp ecx, dword [esi + 8]
jl 0x5c2790
mov eax, dword [esi + 4]
push dword [eax + ebx*8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
push dword [eax + ebx*8 + 0x20]
call fcn.0040e5b0
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + ebx*8 + 0x20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret