joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ff70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4320a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], 0
call dword [sym.imp.mfc90.dll_Ordinal_316]
movsx eax, byte [esp + 0x14c]
push str.MUSIC
push eax
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x148], ebp
mov esi, dword [sym.imp.mfc90.dll_Ordinal_2539]
push str._c:_s
push ecx
call esi
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
push edx
call edi
cmp eax, 0xffffffff
je 0x42017c
shr eax, 4
and al, 1
je 0x42017c
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x140], 1
mov eax, dword [esp + 0x18]
push str.MUSIC000.IND
push eax
lea ecx, [esp + 0x24]
push 0x4352f4
push ecx
call esi
mov edx, dword [esp + 0x2c]
add esp, 0x10
push edx
call edi
cmp eax, 0xffffffff
je 0x420172
shr eax, 4
not al
and al, 1
je 0x420172
mov dword [esp + 0x24], ebp
mov byte [esp + 0x140], 2
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.004237a0
cmp eax, ebp
jl 0x42013e
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 4]
push 2
push eax
lea ecx, [esp + 0x3c]
push 2
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
mov al, 0x53
add esp, 0x10
cmp byte [esp + 0x34], al
jne 0x420138
cmp byte [esp + 0x35], al
jne 0x420138
mov eax, dword [edi + 4]
cmp byte [eax + 4], 0
jne 0x4200b6
lea edx, [edi + 8]
push edx
mov byte [esp + 0x144], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x420172
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
jmp 0x420172
movzx ebx, byte [eax + 0x15]
test ebx, ebx
jle 0x4200eb
mov byte [esp + 0x2c], 0xff
test ebp, ebp
jl 0x420117
lea esi, [esp + 0x28]
mov eax, ebp
call fcn.00423b50
mov al, byte [esp + 0x2c]
cmp al, 1
je 0x4200e6
cmp al, 2
je 0x4200e6
cmp al, 3
je 0x4200e6
cmp al, 4
jne 0x420117
inc ebp
cmp ebp, ebx
jl 0x4200be
mov ebx, dword [esp + 0x148]
lea esi, [edi + 8]
push esi
mov dword [ebx + 8], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebx + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov ecx, ebx
call fcn.0041fe00
push esi
jmp 0x420120
lea eax, [edi + 8]
push eax
mov byte [esp + 0x1b], 1
mov byte [esp + 0x144], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x420172
mov edx, dword [edi]
mov ecx, edi
jmp 0x42016c
lea ecx, [edi + 8]
push ecx
jmp 0x42011b
cmp eax, 0x8004201f
jne 0x42014a
mov byte [esp + 0x17], 1
mov byte [esp + 0x140], 1
mov esi, dword [esp + 0x24]
cmp esi, ebp
je 0x420172
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x420172
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x138]
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 8
Function at 0x420240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
push esi
lea esi, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42025e
shr eax, 4
and al, 1
jne 0x42029b
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
call fcn.0041fce0
mov esi, dword [ebx + 8]
test esi, esi
je 0x420295
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42028e
test esi, esi
je 0x42028e
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [ebx + 8], 0
xor eax, eax
pop esi
pop ebx
pop ecx
ret
pop esi
mov ecx, ebx
pop ebx
add esp, 4
jmp fcn.0041fe00

Function at 0x420b60
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4313fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
push edi
test eax, eax
je 0x420bc5
lea ecx, [esi + 0x7c]
cmp dword [eax + 0x78], ecx
jne 0x420b94
mov dword [eax + 0x78], 0
mov edi, dword [esi + 0x8c]
test edi, edi
je 0x420bc5
lea eax, [edi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x420bbb
test edi, edi
je 0x420bbb
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [esi + 0x8c], 0
mov ebx, 0x64
call fcn.00420320
lea edi, [esi + 0x98]
push 0x7ee
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_4431]
push 0x450
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
test eax, eax
je 0x420bfc
mov edi, dword [edi]
push edi
mov ecx, eax
call sub.mfc90.dll_Ordinal_6559
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push ecx
call ebx
push 0x44e
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
mov edi, eax
test edi, edi
je 0x420c5d
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x7f3
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov edx, dword [esp + 0xc]
push edx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6559
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
lea ecx, [esi + 0xf0]
call sub.mfc90.dll_Ordinal_2360
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call sub.mfc90.dll_Ordinal_2591
mov ecx, dword [eax + 4]
push 0
push 0xf060
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea eax, [esi + 0x9c]
test eax, eax
je 0x420c9a
mov eax, dword [eax + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x451
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
test eax, eax
je 0x420cbc
push 0
mov ecx, eax
call sub.mfc90.dll_Ordinal_6584
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
call ebx
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x420ce0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x420d22
mov eax, dword [eax + 0x60]
test eax, eax
je 0x420d22
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x420d09
shr eax, 4
not al
and al, 1
jne 0x420d22
push 0
push 0x30
push 0x84a
call sub.mfc90.dll_Ordinal_1182
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_2364
pop ecx
ret
push 0
push 0x30
push 0x851
call sub.mfc90.dll_Ordinal_1182
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_2364
pop ecx
ret

Function at 0x4211a0
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [eax + 8]
add eax, 0x7ffbdfff
push esi
mov esi, 1
cmp eax, 0xc
ja case.0x4211bf.2147213310
movzx ecx, byte [eax + 0x42129c]
jmp dword [ecx*4 + 0x421288]
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
jne 0x4211ee
push 0
push 0x10
push 0x838
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x421204
shr eax, 4
and al, 1
jne 0x421224
push 0
push 0x30
push 0x834
or esi, 0xffffffff
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
push 0
push 0x30
push 0x84e
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
je 0x4211d1
jmp 0x4211ee
push 0
push 0x30
push 0x835
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
push 0
push 0x30
push 0x84f
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
Function at 0x4211c6
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [eax + 8]
add eax, 0x7ffbdfff
push esi
mov esi, 1
cmp eax, 0xc
ja case.0x4211bf.2147213310
movzx ecx, byte [eax + 0x42129c]
jmp dword [ecx*4 + 0x421288]
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
jne 0x4211ee
push 0
push 0x10
push 0x838
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x421204
shr eax, 4
and al, 1
jne 0x421224
push 0
push 0x30
push 0x834
or esi, 0xffffffff
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
push 0
push 0x30
push 0x84e
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
je 0x4211d1
jmp 0x4211ee
push 0
push 0x30
push 0x835
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
push 0
push 0x30
push 0x84f
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4

Function at 0x421241
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
mov eax, dword [eax + 8]
add eax, 0x7ffbdfff
push esi
mov esi, 1
cmp eax, 0xc
ja case.0x4211bf.2147213310
movzx ecx, byte [eax + 0x42129c]
jmp dword [ecx*4 + 0x421288]
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
jne 0x4211ee
push 0
push 0x10
push 0x838
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x421204
shr eax, 4
and al, 1
jne 0x421224
push 0
push 0x30
push 0x834
or esi, 0xffffffff
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
push 0
push 0x30
push 0x84e
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
je 0x4211d1
jmp 0x4211ee
push 0
push 0x30
push 0x835
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
push 0
push 0x30
push 0x84f
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0xc]
push esi
call sub.mfc90.dll_Ordinal_2364
pop esi
pop ecx
ret 4
Function at 0x421890
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43235c
push eax
mov dword fs:[0], esp
sub esp, 0x308
push ebx
push esi
mov esi, ecx
mov ebx, 0x64
call fcn.00420320
mov eax, dword [esi + 0x84]
xor ebx, ebx
cmp eax, ebx
je 0x4219ae
lea ecx, [esi + 0x74]
cmp dword [eax + 0x68], ecx
jne 0x4218d4
mov dword [eax + 0x68], ebx
mov ecx, dword [esi + 0x84]
push edi
push ebx
call fcn.00410be0
mov eax, dword [esi + 0x84]
mov edi, dword [eax + 0x6c]
cmp edi, ebx
je 0x421991
mov eax, dword [edi + 8]
push 0x100
lea ecx, [esp + 0x18]
push ecx
push 0x100
lea edx, [esp + 0x120]
push edx
push 0x100
lea ecx, [esp + 0x228]
push ecx
push 3
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.MSVCR90.dll__splitpath_s]
add esp, 0x24
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x320], ebx
mov eax, dword [edi + 4]
lea edx, [esp + 0x118]
push edx
inc eax
push eax
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push str._s_s_02d__s_s
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x28]
add esp, 0x1c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x31c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esi + 0x84]
pop edi
cmp eax, ebx
je 0x4219ae
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx + 8]
add eax, 0x54
push eax
call edx
mov dword [esi + 0x84], ebx
cmp dword [esi + 0x84], ebx
jne 0x4219c6
cmp dword [esi + 0x88], ebx
jne 0x4219c6
cmp dword [esi + 0x8c], ebx
je 0x4219cc
push esi
call fcn.00421510
mov ecx, dword [esp + 0x310]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x314
ret
Function at 0x421bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4320cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov ebx, dword [esi]
push ebp
mov ebp, dword [esp + 0x58]
push edi
mov edi, ecx
call fcn.00416f40
push eax
mov eax, dword [ebx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_CopyRect]
push 7
mov eax, ebp
call fcn.00422e80
mov ecx, dword [esp + 0x58]
test eax, eax
setne bl
movzx eax, bl
neg eax
sbb eax, eax
and eax, 0xff00c900
add eax, 0xffffff
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_2470
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea edx, [esp + 0x5c]
push edx
push edi
mov eax, ebp
mov dword [esp + 0x58], 0
call fcn.00422ef0
add dword [esp + 0x14], 3
sub dword [esp + 0x1c], 2
test edi, edi
je 0x421c7f
mov eax, 0xa
add dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
jmp 0x421d08
add dword [esp + 0x10], 9
sub dword [esp + 0x18], 0xa
xor ecx, ecx
test bl, bl
setne cl
add ecx, 0xf8
push ecx
call fcn.0042fc50
mov edi, eax
add esp, 4
test edi, edi
je 0x421d08
mov eax, dword [edi + 4]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub eax, ebx
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, ebp
add edx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
add eax, ebx
push esi
mov ecx, edi
lea edx, [esp + 0x24]
mov dword [esp + 0x30], eax
call fcn.0042fe10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea edx, [eax + ecx + 8]
add esp, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x8824
lea edi, [esp + 0x14]
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esi]
mov eax, dword [esp + 0xc]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
pop edi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 8

Function at 0x424ad0
Capabilities:
Delete file
Get file attributes

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x424ae3
mov eax, 0x80042007
pop esi
ret
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x424afd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x424afd
mov dword [esi + 4], 0xffffffff
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
neg eax
sbb eax, eax
and eax, 0x80042005
pop esi
ret
Function at 0x4250a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x432161
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov ecx, 1
mov dword [esi], vtable.SaDurationRetrieveThread.0
lea edi, [esi + 4]
call fcn.00401e90
xor ebx, ebx
cmp eax, ebx
je 0x4250da
mov dword [eax], edi
jmp 0x4250dc
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
lea eax, [esi + 0x24]
push eax
mov dword [esp + 0x1c], ebx
call fcn.004033d0
mov ecx, dword [esp + 0x24]
push ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], 1
mov byte [esi + 0x54], bl
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0xc]
push edx
push ebx
push esi
push 0x424f30
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x44], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4259e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
xor ebx, ebx
call edi
cmp eax, 0xffffffff
je 0x425a17
shr eax, 4
not al
and al, 1
je 0x425a17
push esi
call edi
test al, 1
je 0x425a17
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
mov eax, 0x80004005
je 0x425a19
mov eax, ebx
pop edi
pop ebx
pop ecx
ret
Function at 0x427560
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
cmp dword [esi + 0x58], 0
jne 0x42756e
mov eax, 0x80042007
pop ecx
ret
lea eax, [esp]
push eax
push 4
push esi
push 0x4274f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop ecx
ret

Function at 0x427800
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x104
push esi
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x10]
push str..mp3
push ecx
call fcn.004161c0
mov eax, dword [edi]
add esp, 0x14
push 0
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
jne 0x427850
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
push ecx
lea ecx, [edi + 8]
call dword [sym.imp.mfc90.dll_Ordinal_820]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x104
ret

Function at 0x427870
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x104
push esi
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x10]
push str..ac3
push ecx
call fcn.004161c0
mov eax, dword [edi]
add esp, 0x14
push 0
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
jne 0x4278c0
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
push ecx
lea ecx, [edi + 8]
call dword [sym.imp.mfc90.dll_Ordinal_820]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x104
ret

Function at 0x4278e0
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x104
push esi
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x10]
push str..mp4
push ecx
call fcn.004161c0
mov eax, dword [edi]
add esp, 0x14
push 0
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
jne 0x427930
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
push ecx
lea ecx, [edi + 8]
call dword [sym.imp.mfc90.dll_Ordinal_820]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x104
ret

Function at 0x427950
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x42797a
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x427973
test esi, esi
je 0x427973
push esi
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov dword [edi + 0xc], 0
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
lea esi, [edi + 8]
je 0x427999
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x427999
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [edi + 4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, edi
pop esi
jmp dword [sym.imp.mfc90.dll_Ordinal_601]
Function at 0x427df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov dword [ebp - 0x10], esp
cmp ebx, esi
jne 0x427e2f
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x44
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call sub.mfc90.dll_Ordinal_798
mov edi, eax
add esp, 4
cmp edi, esi
je 0x427e92
mov dword [edi + 0x40], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x48], vtable.SaFile.0
mov dword [ebp - 0x44], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 0x48], vtable.SaFileReader.0
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004308d0
cmp eax, esi
jge 0x427ea7
push 0x43c408
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], eax
call sub.MSVCR90.dll__CxxThrowException
push 0x43c408
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x8007000e
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
jne 0x427eb6
mov eax, 0x80042007
jmp 0x427ece
push esi
lea edx, [ebp - 0x28]
push edx
push 0x40
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x427edf
mov eax, 0x80042003
mov dword [ebp - 0x24], eax
push 0x43c408
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR90.dll__CxxThrowException
cmp dword [ebp - 0x28], 0x40
je 0x427efa
push 0x43c408
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], 0x80042009
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
je 0x427f14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x427f58
mov dword [ebp - 0x44], 0xffffffff
push 0x18
call sub.mfc90.dll_Ordinal_798
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x427f6d
push ebx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [esi + 4]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 8]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 1
jmp 0x427f6f
push 0x43c408
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], 0x80042006
call sub.MSVCR90.dll__CxxThrowException
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x427f8f
push 0x43c408
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], 0x8007000e
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], vtable.SaFile.0
cmp eax, 0xffffffff
je 0x427fb0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x427fb0
mov dword [ebp - 0x44], 0xffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [ebp + 8]
mov dword [edx], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret