joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b7a1
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.1000de50
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.1002686f
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.1002686f
push 0x10038198
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.1002686f
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.1000de50
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b846
sub ecx, edx
cmp ecx, 6
jbe 0x1000b86d
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.1002686f
pop ecx
pop ecx
test eax, eax
jne 0x1000b86d
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000b874
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10036ae3
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.1002686f
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.1000d8d0
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000b8ee
mov ax, word [0x100381c4]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x824
ret
Function at 0x407701
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x407710
pop dword [ebp - 0x44]
mov eax, 0xfe423b94
sub eax, 0xfe01c484
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x694360ea
sub dword [ebp - 0x54], 0x1af11b9f
mov dword [ebp - 0x50], 0x78b49f0e
sub dword [ebp - 0x50], 0x468152c9
mov dword [ebp - 0x4c], 0x42a69b19
add dword [ebp - 0x4c], 0x9a5a915
mov dword [ebp - 0x48], 0xb188d788
sub dword [ebp - 0x48], 0xb188d788
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4c9c8c85
sub eax, 0x4c5c0c71
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x8a9b1b9a
sub dword [ebp - 0x54], 0x1628b244
mov dword [ebp - 0x50], 0xb45ab614
add dword [ebp - 0x50], 0x8d11ab61
mov dword [ebp - 0x4c], 0xe3661c91
add dword [ebp - 0x4c], 0x80094fdb
mov dword [ebp - 0x48], 0x51266f28
add dword [ebp - 0x48], 0xaed990d8
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x394e0
push 0
call eax
mov ecx, 0x99e63127
sub ecx, 0x99e5e094
mov ebx, eax
mov esi, 0x2678a1e9
sub esi, 0x2637b5e9
add esi, dword [ebp - 0x44]
mov edx, 0x449baddd
sub edx, 0xa8819272
sub dword [ebp - 0xc], eax
mov edi, dword [esi]
mov dword [ebp - 0x34], 0xa61500c9
xor edi, edx
sub dword [ebp - 0x1c], 0x5dc35baa
mov dword [ebx], edi
xor dword [ebp - 0x24], 0x63b35c9d
add ebx, 0xd52239a1
add ebx, 0x2addc663
add esi, 0xc2ddbc2a
sub esi, 0xc2ddbc26
loop 0x40782d
add eax, 0x7cdb3083
add eax, 0x8326049c
xor ebx, ebx
add ebx, eax
add eax, 0x41221476
add eax, 0xbeddeb8f
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10017e2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10017e39
pop dword [ebp - 0x20]
mov eax, 0x1598e5fd
add eax, 0xfa68983c
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x2831253b
sub dword [ebp - 0x30], 0xd9dedff0
mov dword [ebp - 0x2c], 0x727cc40f
sub dword [ebp - 0x2c], 0x404977ca
mov dword [ebp - 0x28], 0x3c6a92cc
sub dword [ebp - 0x28], 0xf01e4e9e
mov dword [ebp - 0x24], 0x62d77820
sub dword [ebp - 0x24], 0x62d77820
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x5be13a5b
sub dword [ebp - 0x30], 0xe76ed105
mov dword [ebp - 0x2c], 0x37d2c8f2
add dword [ebp - 0x2c], 0x9999883
mov dword [ebp - 0x28], 0x50f3e07c
add dword [ebp - 0x28], 0x127b8bf0
mov dword [ebp - 0x24], 0x6576f014
add dword [ebp - 0x24], 0x9a890fec
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x17843fc6
sub eax, 0x7829fba
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x42609
push 0
call eax
mov ecx, 0x6bf9c5ea
add ecx, 0x9406a25f
mov edx, eax
mov ebx, 0xbb6c871
sub ebx, 0xfbb47e71
add ebx, dword [ebp - 0x20]
mov edi, 0xfc3ec577
xor dword [ebp - 0x1c], edx
mov esi, dword [ebx]
mov dword [ebp - 4], 0xb094f8b9
xor esi, edi
xor dword [ebp - 0x1c], 0x3127ee2d
mov dword [edx], esi
add edx, 0xdcdc8c90
sub edx, 0xdcdc8c8c
add ebx, 0x284e5bdc
sub ebx, 0x284e5bd8
loop 0x10017f50
add eax, 0x26f02e1b
sub eax, 0x26ee9a24
mov ebx, eax
add eax, 0x7feb541a
sub eax, 0x7feb5415
mov ecx, 0xc5929d16
add ecx, 0x4a6d62ea
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40a4c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x412250], 0
push esi
push edi
jne 0x40a436
call fcn.0040a3a2
test eax, eax
je 0x40a47b
mov eax, dword [0x412250]
cmp eax, 1
jne 0x40a457
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a47b
jmp 0x40a4bd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40a4bd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a47f
xor eax, eax
jmp 0x40a4bd
mov eax, dword [esi]
push dword [0x412250]
call edi
mov edi, eax
test edi, edi
je 0x40a4a1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a4bd
lea edi, [esi + 0xff0]
push esi
push dword [0x412250]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40a4a7
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a422

Function at 0x40a788
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412120]
jne 0x40a792
repz ret
jmp fcn.0040adba

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40570d
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x42bf6d
call fcn.00417ac0
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x4057cb
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x40575d
xor bl, bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x4057cd
push edi
mov dword [ebp - 4], esi
call fcn.004140aa
pop ecx
mov ebx, eax
test edi, edi
jbe 0x405794
and dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405794
add esi, dword [ebp - 0x14]
cmp esi, edi
jb 0x40576d
cmp esi, edi
je 0x4057a5
push ebx
call fcn.00415817
xor al, al
pop ecx
mov bl, al
jmp 0x405750
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4057cd
xor al, al
call fcn.00417b65
ret 0xc
Function at 0x4068bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
lea esi, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00406c70
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406926
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push str.LastUpdateCheck
push dword [ebp - 4]
mov dword [ebp - 8], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0xc]
call fcn.00406a33
push 0xc9
push 0x2a69c000
push edi
push dword [ebp - 0xc]
call fcn.00425f70
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
ja 0x406957
jb 0x406953
cmp eax, dword [ebp - 0x20]
jae 0x406957
mov al, 1
jmp 0x406959
xor al, al
pop edi
pop esi
leave
ret

Function at 0x40695d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 8], bl
jne 0x40697a
push esi
lea esi, [ebp - 8]
call fcn.00406c70
pop esi
push ebx
lea eax, [ebp + 8]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4069c2
push 8
lea eax, [ebp - 8]
push eax
push 0xb
push ebx
push str.LastUpdateCheck
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4069b9
mov bl, 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x4069c7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406a2e
push str.UpdateAttempts
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x406a02
inc bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x406a2e
call fcn.00406be2
test al, al
je 0x406a2e
call fcn.00406c29
test al, al
je 0x406a2e
call fcn.00406c8c
test al, al
je 0x406a2e
mov al, 1
jmp 0x406a30
xor al, al
pop ebx
leave
ret
Function at 0x406a33
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 1], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x406a98
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
push str.CheckFrequency
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406a89
mov byte [ebp - 1], bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], 0
jne 0x406a9a
mov dword [esi], ebx
mov eax, dword [esi]
cmp eax, ebx
jae 0x406aa4
mov dword [esi], ebx
jmp 0x406aad
push 3
pop ecx
cmp eax, ecx
jbe 0x406aad
mov dword [esi], ecx
mov al, byte [ebp - 1]
pop ebx
leave
ret

Function at 0x406ab3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
inc ebx
xor esi, esi
mov dword [ebp - 8], ebx
cmp eax, esi
je 0x406adf
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ebx
jae 0x406ad5
mov dword [ebp - 8], ebx
jmp 0x406adf
push 3
pop ecx
cmp eax, ecx
jbe 0x406adf
mov dword [ebp - 8], ecx
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x406b2c
push 4
lea eax, [ebp - 8]
push eax
push 4
push esi
push str.CheckFrequency
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x406b23
mov byte [ebp - 1], bl
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret

Function at 0x406b33
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x406b82
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.UpdateAttempts
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x406b79
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0x406b87
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406bdd
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 4
push ebx
push ebx
push str.UpdateAttempts
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406bd4
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x406be2
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406c24
push str.LastUpdateCheck
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x406c1b
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x406c29
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayerSAU
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406c6b
push str.CheckFrequency
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x406c62
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x406c8c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push str.SOFTWAREMacromedia
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406cce
push str.FlashPlayerSAU
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x406cc5
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0x406d00
Capabilities:
Create process on windows

Disassembly:
push 0xb4
mov eax, 0x42d7de
call fcn.00417a8d
mov esi, ecx
push 0x44
xor ebx, ebx
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.0041b190
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [esi + 0x18], 8
stosd dword es:[edi], eax
jb 0x406d39
mov esi, dword [esi + 4]
jmp 0x406d3c
add esi, 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
push 0x4000008
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor edi, edi
inc edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x406d83
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x642
push eax
call fcn.0040f625
pop ecx
pop ecx
push ebx
call fcn.0040f31c
add esp, 0x20
jmp 0x406df5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x78]
push 0x4c2
push eax
mov dword [ebp - 4], ebx
call fcn.0040f625
push 0x431adc
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 2
call fcn.0040476a
add esp, 0xc
push 2
call fcn.0040f31c
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x40]
call fcn.004036ef
push ebx
push edi
lea esi, [ebp - 0x78]
call fcn.004036ef
push ebx
push edi
lea esi, [ebp - 0x5c]
call fcn.004036ef
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x14], edi
sete al
call fcn.00417b65
ret

Function at 0x407114
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov ebx, 0xfde9
push ebx
call edi
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004140aa
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x407162
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push dword [ebp - 4]
push 0xffffffffffffffff
push eax
push 0
push ebx
call edi
xor bl, bl
test eax, eax
jne 0x407186
push dword [ebp - 4]
call fcn.00415817
pop ecx
mov al, bl
jmp 0x40715b
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
mov word [eax + esi*2 - 4], cx
and dword [ebp - 0x24], ecx
and dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, 0x414
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4071cd
cmp eax, 2
je 0x4071cd
cmp eax, 0x7c
je 0x4071cd
cmp eax, 0x402
jne 0x407179
mov bl, 1
jmp 0x407179
Function at 0x4071d1
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov dword [esp + 0x1c], ecx
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov edi, 0xfde9
push edi
call esi
xor ecx, ecx
push 2
pop edx
mov dword [esp + 0x18], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004140aa
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x407228
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [esp + 0x18]
mov ebx, dword [ebx]
push eax
push 0xffffffffffffffff
push ebx
push 0
push edi
call esi
test eax, eax
jne 0x40724b
xor bl, bl
push dword [esp + 0x14]
call fcn.00415817
pop ecx
mov al, bl
jmp 0x40721f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push eax
push dword [ebp + 0x18]
mov byte [esp + 0x1b], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x28]
call fcn.0040728b
mov bl, al
test bl, bl
je 0x40723d
cmp byte [esp + 0x13], 0
je 0x40723d
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40723d
jmp 0x40723b
Function at 0x4079a0
Capabilities:
Create directory

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
test edi, edi
je 0x4079eb
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4079eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4079eb
push esi
push 0x5c
push edi
call fcn.00415c9e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4079ea
xor eax, eax
push edi
mov ecx, ebx
mov word [esi], ax
call fcn.004079a0
push 0x5c
pop eax
mov word [esi], ax
pop esi
pop edi
pop ebx
ret 4

Function at 0x4079f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
mov edi, 0xfde9
push edi
mov dword [ebp - 0x18], ecx
call esi
push ebx
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
add eax, ecx
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004140aa
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004140aa
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
je 0x407af9
cmp eax, ebx
je 0x407af9
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
test eax, eax
je 0x407af9
push dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push dword [ebp - 8]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
test eax, eax
je 0x407af9
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.004079a0
push 0x4326fc
push dword [ebp - 0x14]
push esi
call fcn.00415cf4
push dword [ebp - 8]
push dword [ebp - 0x14]
push esi
call fcn.00415cf4
add esp, 0x18
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x407ae5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407ae7
mov bl, 1
push esi
call fcn.00415817
push dword [ebp - 8]
call fcn.00415817
mov al, bl
jmp 0x407b0b
push dword [ebp - 4]
call fcn.00415817
push dword [ebp - 8]
call fcn.00415817
xor al, al
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x408027
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43931c]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x43b8e8]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x408058
cmp byte [eax], bl
jne 0x4080f6
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.0041b190
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MacromedFlashmms.cfg
lea eax, [ebp - 0x78]
push 0x104
push eax
call fcn.00415cf4
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
push eax
mov dword [ebp - 0x80], eax
call fcn.004140aa
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x4080f6
push ebx
push ebx
push dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x4080ed
mov eax, dword [0x43b8e8]
cmp eax, ebx
je 0x4080e0
cmp byte [eax], bl
jne 0x4080ed
push dword [ebp - 0x7c]
mov esi, 0x43b8e8
call fcn.00406e5a
push dword [ebp - 0x7c]
call fcn.00415817
pop ecx
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x43b8e8
pop ebx
call fcn.00414f70
add ebp, 0x194
leave
ret