joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cc401
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x3e
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x100cc40c
xor eax, eax
mov word [esi + 0x80], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x100e60d2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e5d95

Function at 0x100e60dd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e5f16

Function at 0x100e9be5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e98a5
Function at 0x402fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402fb5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402ff6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x402ff2
lea ebx, [ebx]
cmp esi, edx
jae 0x402ff6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x402fe0
cmp esi, edx
jb 0x402ffb
xor eax, eax
pop esi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret

Function at 0x4105d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41061b
call fcn.004196a0
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41061b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x410637
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00424617
mov ebx, eax
test edi, edi
je 0x410635
test esi, esi
je 0x410635
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x411024
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4110e2
cmp dword [esi + 0x20], 0
je 0x4110e2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4110e2
cmp dword [ebp + 8], 0
je 0x4110e2
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004196a0
push 0x5d9a90
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4110b3
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4110e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00425131
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4110d3
test edi, edi
je 0x4110d3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x4110de
mov ecx, esi
call fcn.00410dc7
mov eax, ebx
jmp 0x4110e4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415a24
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5c96f4
call fcn.00544fff
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x415a4a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x415aa9
call fcn.00418413
push eax
lea ecx, [ebp - 0x10]
call fcn.00402ca0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00544fc2
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0054c96f
push eax
call fcn.00402f10
add esp, 0x14
test esi, esi
je 0x415a9c
push esi
call fcn.0055439e
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402670
mov eax, ebx
call fcn.00544fc8
ret 8

Function at 0x41a733
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 8], ecx
call fcn.004196a0
mov ebx, dword [eax + 0xc]
test ebx, ebx
jne 0x41a74c
xor eax, eax
jmp 0x41a795
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
test eax, eax
je 0x41a748
push esi
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 4]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041a997
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41b86c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x41b897
cmp dword [ebx + 0x80], 0
jne 0x41b897
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004196a0
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0041bb2a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b8d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004196a0
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41b908
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041b929
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4202f6
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x420349
push esi
push dword [ebp + 8]
call fcn.004204e9
mov edi, eax
test edi, edi
jne 0x420319
mov eax, dword [ebp + 0x10]
jmp 0x42035b
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x420314
mov eax, dword [ebp - 8]
jmp 0x42035b
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4282f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x42830d
mov edi, dword [esi + 0xc]
jmp 0x42834d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x428326
call fcn.00417502
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42833b
call fcn.00417502
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42834d
call fcn.00417502
call fcn.004196a0
cmp dword [eax + 0x3c], 0
je 0x428362
push edi
mov ecx, ebx
call fcn.00427987
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042853f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42838b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x428397
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d49d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041596e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42d4d9
call fcn.0042d6bf
mov dword [esi + 0xc], 1
jmp 0x42d4de
call fcn.0042d6bf
cmp dword [esi], 0
je 0x42d527
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42d501
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040b130
jmp 0x42d512
push 0xff
mov ecx, esi
call fcn.00402c20
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404860
jmp 0x42d54b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42d54b
push dword [esi]
push dword [ebp - 4]
call fcn.00426459
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42d614
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0042d6bf
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42d65c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040b130
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404860
jmp 0x42d667
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00426459
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44e10e
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x44e0b3
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x44e0d1
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x44e12f
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x44e116
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x44e11f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44e129
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44e10b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44e095
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44e17c
dec eax
je 0x44e173
sub eax, 3
je 0x44e16a
mov dword [ebp - 4], 0x40
jmp 0x44e199
mov dword [ebp - 4], 4
jmp 0x44e17f
mov dword [ebp - 4], 0x20
jmp 0x44e17f
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x44e1cb
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
invalid
invalid
je 0x44e1a6

Function at 0x44f7f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0044d94d
add esp, 0xc
jmp 0x44f954
Function at 0x4e2996
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5cd704
call fcn.00545033
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004035b0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x60fc08
call fcn.00406030
cmp eax, 0xffffffff
jne 0x4e2a61
push 0
push 0x5e2780
lea ecx, [ebp - 0x4d0]
call fcn.00406030
cmp eax, 0xffffffff
jne 0x4e2a61
push 0
push 0x5dc77c
lea ecx, [ebp - 0x4d0]
call fcn.00406030
cmp eax, 0xffffffff
jne 0x4e2a61
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004035b0
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4e2a3e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00544fc2
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00402670
jmp 0x4e2a99
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004036d0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00402670
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4e2a87
mov edi, dword [ebp - 0x4cc]
jmp 0x4e2a99
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00544fc2
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00402670
mov eax, edi
call fcn.00544fdd
ret

Function at 0x55f1d3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055f052

Function at 0x564242
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00563f02
Function at 0x56b790
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1858
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x638fe4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
cmp dword [edi + 0x8c], 0
jne 0x56b90d
call fcn.004159fb
test eax, 0x800
jne 0x56b90d
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x56b90d
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x56b90d
push 0xd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
jne 0x56b82a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 0x62e4b0
push eax
call fcn.005479aa
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x56b84c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x62e4b0
push eax
call fcn.005479aa
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x56b882
mov dword [ebp - 0x1c], ebx
mov word [ebp + ebx*2 - 0x2c], ax
jmp 0x56b88c
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004023d0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x56b898
lea eax, [ebp - 0x2c]
push ebx
push dword [ebp - 0x3c]
push eax
call fcn.005472d0
add esp, 0xc
xor esi, esi
mov eax, dword [ebp - 0x1c]
cmp esi, eax
jge 0x56b8f4
cmp eax, esi
ja 0x56b8bc
push str.invalid_string_position
call fcn.00545b0e
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x56b8c8
lea eax, [ebp - 0x2c]
movzx eax, word [eax + esi*2]
test eax, eax
je 0x56b8f4
push eax
mov ecx, edi
call fcn.0056b670
test eax, eax
jne 0x56b8f1
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x2c]
call fcn.00402240
mov eax, 1
jmp 0x56b90f
inc esi
jmp 0x56b8a7
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0056b5d0
lea ecx, [ebp - 0x2c]
call fcn.00402240
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544774
mov esp, ebp
pop ebp
ret 4
Function at 0x573260
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x4bc]
cmp esi, dword [edi + 0x4c0]
je 0x573290
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
push dword [esi]
call ebx
add esi, 0x1c
cmp esi, dword [edi + 0x4c0]
jne 0x573280
pop ebx
pop edi
pop esi
ret

Function at 0x579500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2b58
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 0x579618
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x57957c
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x579591
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x579593
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 0x579618
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x579614
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x579614
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x579618
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x579642
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x579642
cmp dword [0x64414c], 0
je 0x579642
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 0x579670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2b83
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 0x65
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 0x579785
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x5796e9
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5796fe
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x579700
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 0x579785
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x579781
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x579781
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x579785
mov ecx, edx
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5797af
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5797af
cmp dword [0x64414c], 0
je 0x5797af
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 0x57a710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2df3
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 esi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [esi + 0x94], ebx
mov dword [esi + 0x84], 0
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 0x57a832
call fcn.00418413
mov ecx, eax
test ecx, ecx
jne 0x57a796
push 0x80004005
call fcn.00402650
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x57a7ab
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x57a7ad
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 0x57a832
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x57a82e
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x57a82e
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x57a832
mov ecx, edx
call edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x57a85c
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x57a85c
cmp dword [0x64414c], 0
je 0x57a85c
or dword [eax + 8], 0x400000
push 0
push ebx
push eax
mov ecx, esi
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