joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcbc
cmp dword [0x4105c4], 0
push esi
je 0x409f62
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
jmp 0x40a08a
push ebx
lea ecx, [ebp - 0x258]
push dword [ebp + 8]
call fcn.00408c4a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x46c]
call fcn.00408c4a
push dword [ebp + 0x24]
lea ecx, [ebp - 0x680]
call fcn.00408c4a
mov ebx, dword [ebp + 0x28]
test ebx, ebx
jne 0x409fc6
push dword [ebp + 0x2c]
push ebx
push dword [ebp - 0x67c]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x468]
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
jmp 0x40a068
push edi
push 0x11
pop ecx
mov esi, ebx
push dword [ebx + 4]
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xcbc]
call fcn.00408c4a
push dword [ebx + 8]
lea ecx, [ebp - 0xaa8]
call fcn.00408c4a
push dword [ebx + 0xc]
lea ecx, [ebp - 0x894]
call fcn.00408c4a
mov eax, dword [ebp - 0xcb8]
push dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xaa4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x890]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x67c]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x468]
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x894]
mov esi, eax
call fcn.00408c21
lea ecx, [ebp - 0xaa8]
call fcn.00408c21
lea ecx, [ebp - 0xcbc]
call fcn.00408c21
pop edi
lea ecx, [ebp - 0x680]
call fcn.00408c21
lea ecx, [ebp - 0x46c]
call fcn.00408c21
lea ecx, [ebp - 0x258]
call fcn.00408c21
pop ebx
mov eax, esi
pop esi
leave
ret 0x28

Function at 0x40a0e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [0x4105c4], 0
push esi
je 0x40a106
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
jmp 0x40a148
mov esi, dword [ebp + 0x10]
cmp esi, 0x208
ja 0x40a115
xor eax, eax
jmp 0x40a148
lea eax, [ebp - 0x104]
push 0x104
push eax
push dword [ebp + 8]
call fcn.0040b5ef
mov eax, dword [ebp + 0x14]
add esi, 0xfffffdf8
add eax, 0x208
push eax
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
pop esi
leave
ret 0x10
Function at 0x40a1f0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push eax
push dword [ebp + 8]
call fcn.0040a602
lea eax, [ebp - 0x208]
push 0x208
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0040b5ef
cmp byte [ebp - 0x208], 0
lea eax, [ebp - 0x208]
je 0x40a26d
mov cl, byte [eax]
cmp cl, 0x5b
je 0x40a25e
cmp cl, 0x5d
je 0x40a25e
cmp cl, 0x3d
je 0x40a25e
cmp cl, 0x25
je 0x40a25e
cmp cl, 0x3b
je 0x40a25e
cmp cl, 0x2c
je 0x40a25e
cmp cl, 0x5c
je 0x40a25e
cmp cl, 0x3a
je 0x40a25e
cmp cl, 0x20
jne 0x40a261
mov byte [eax], 0x58
push eax
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
jne 0x40a22f
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 0xc]
push eax
call fcn.0040b3f9
leave
ret 8

Function at 0x40a75c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push esi
neg eax
sbb eax, eax
push edi
and al, 0xf7
push edi
add eax, 0x23
mov dword [ebp - 4], 0x80004005
or ah, 0x80
push eax
push edi
call sub.SHFOLDER.dll_SHGetFolderPathW
test eax, eax
jne 0x40a7c5
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [ebp + 0xc]
push 0x403550
push esi
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push esi
call fcn.00408e5e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jne 0x40a7c2
cmp eax, 0xb7
mov dword [ebp - 4], 0x80004005
jne 0x40a7c5
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc

Function at 0x40aee8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [0x4109b0], edi
jne 0x40af60
push 0xc
mov dword [0x4109b0], 1
call fcn.0040af68
test eax, eax
je 0x40af60
lea eax, [ebp - 4]
push eax
push 1
push edi
push 0x4034c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40af60
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x4034b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40af57
cmp dword [ebp - 0xc], edi
sete al
mov dword [0x4109b4], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4109b4]
pop edi
leave
ret
Function at 0x40af68
Capabilities:
Check os version

Disassembly:
cmp dword [0x410a54], 0
push ebx
push esi
push edi
push 1
pop ebx
jne 0x40afa6
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x4109b8
push edi
mov dword [0x410a54], ebx
mov dword [0x4109b8], 0x9c
call esi
test eax, eax
jne 0x40afa6
push edi
mov dword [0x4109b8], 0x94
call esi
mov eax, dword [esp + 0x10]
cmp eax, 0x11
ja case.default.0x40afb3
jmp dword [eax*4 + 0x40b1ad]
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x40b1a7
test byte [0x410a50], 0x10
je case.default.0x40afb3
cmp dword [0x4109bc], 5
jb case.default.0x40afb3
mov eax, ebx
jmp 0x40b1a7
call fcn.0040aee8
jmp 0x40b1a7
mov al, byte [0x410a52]
cmp al, bl
je 0x40afd7
cmp al, 3
je 0x40afd7
cmp al, 2
jmp 0x40b19f
cmp byte [0x410a52], bl
jne case.default.0x40afb3
cmp dword [0x4109bc], 5
jmp 0x40b153
mov al, byte [0x410a52]
cmp al, 3
je 0x40b032
cmp al, 2
jne case.default.0x40afb3
cmp dword [0x4109bc], 5
jne case.default.0x40afb3
mov al, byte [0x410a50]
test al, 2
je case.default.0x40afb3
test al, 0x80
jmp 0x40b153
mov al, byte [0x410a52]
cmp al, 3
je 0x40b064
cmp al, 2
jne case.default.0x40afb3
cmp dword [0x4109bc], 5
jne case.default.0x40afb3
test byte [0x410a50], 0x80
je case.default.0x40afb3
jmp 0x40afe4
mov al, byte [0x410a52]
cmp al, 3
je 0x40b094
cmp al, 2
jne case.default.0x40afb3
test byte [0x410a50], 0x82
jmp 0x40b00f
mov eax, dword [0x410a50]
and eax, 0x40
jmp 0x40b1a7
xor eax, eax
cmp dword [0x4109c8], ebx
jmp 0x40b0c0
xor eax, eax
cmp dword [0x4109c8], 2
sete al
jmp 0x40b1a7
cmp dword [0x4109c8], ebx
jmp 0x40b18a
cmp dword [0x4109c8], ebx
jne case.default.0x40afb3
cmp dword [0x4109bc], 4
jne case.default.0x40afb3
cmp dword [0x4109c0], 0
jne case.default.0x40afb3
cmp word [0x4109c4], 0x3b6
jmp 0x40b153
cmp dword [0x4109c8], ebx
jne case.default.0x40afb3
mov eax, dword [0x4109bc]
cmp eax, 4
ja 0x40afe4
jne case.default.0x40afb3
cmp dword [0x4109c0], 0xa
jmp 0x40afde
cmp dword [0x4109c8], ebx
jne case.default.0x40afb3
cmp dword [0x4109bc], 4
jne case.default.0x40afb3
cmp dword [0x4109c0], 0xa
jne case.default.0x40afb3
cmp word [0x4109c4], 0x7ce
jne case.default.0x40afb3
jmp 0x40afe4
cmp dword [0x4109c8], ebx
mov eax, dword [0x4109bc]
jne 0x40b179
cmp eax, 4
jne 0x40b17c
cmp dword [0x4109c0], 0x5a
jae 0x40afe4
cmp eax, 4
jbe case.default.0x40afb3
jmp 0x40afe4
cmp dword [0x4109c8], 2
jne case.default.0x40afb3
cmp dword [0x4109bc], 4
jmp 0x40afde
cmp dword [0x4109c8], 2
je 0x40afd7
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x40b68e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 0xff
mov esi, eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ebx, eax
call edi
sub esi, eax
add dword [ebp + 0xc], esi
xor esi, esi
cmp ebx, esi
je 0x40b70f
cmp ebx, 0x102
je 0x40b70f
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0040958c
test eax, eax
je 0x40b6a1
cmp dword [ebp - 0x1c], 0x12
jne 0x40b6f3
mov dword [ebp - 4], 1
jmp 0x40b706
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call fcn.00409089
xor eax, eax
push 1
push eax
push eax
push eax
jmp 0x40b6d7
cmp dword [ebp - 4], esi
je 0x40b71b
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
cmp ebx, esi
pop edi
pop esi
sete al
pop ebx
leave
ret 8

Function at 0x40b729
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
add eax, eax
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40b75b
cmp dword [ebp + 0x14], 1
je 0x40b75b
push 0xd
pop eax
pop ebp
ret 0x14
Function at 0x40b8f2
Capabilities:
Check if file exists
Get common file path
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
xor ebx, ebx
mov esi, 0x80004005
cmp word [0x410eb4], bx
mov dword [ebp - 4], esi
je 0x40b928
push dword [ebp + 0xc]
push 0x410eb4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
xor eax, eax
jmp 0x40ba53
push edi
mov edi, dword [ebp + 8]
push edi
push ebx
push ebx
push 0x801a
push ebx
call sub.SHFOLDER.dll_SHGetFolderPathW
test eax, eax
jne 0x40ba4f
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [ebp + 0xc]
push 0x403550
push edi
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push ebx
push edi
call fcn.00408e5e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, ebx
jne 0x40b97a
cmp eax, 0xb7
je 0x40b97a
mov dword [ebp - 4], esi
jmp 0x40ba4f
cmp edi, ebx
mov dword [ebp - 4], ebx
mov esi, 0x104
je 0x40ba40
lea eax, [ebp - 0x230]
push esi
push eax
push dword [ebp + 8]
call fcn.0040b5ef
lea eax, [ebp - 0x12c]
push 0x105
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40ba40
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push esi
lea eax, [ebp - 0x12c]
push 0x403770
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffA]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40ba40
test al, 0x10
je 0x40ba40
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp + eax - 0x12b], bl
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 1
mov word [ebp - 0x14], 0x614
mov dword [ebp - 0x12], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0xa], ebx
call sub.SHELL32.dll_SHFileOperationA
push esi
push dword [ebp + 8]
push 0x410eb4
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x407360
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x1008
mov dword [esp + 0x38], ebx
call fcn.004c2bd0
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.0047f7a0
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x4073b7
cmp dword [ebx + 4], 0x50000
jb 0x4073e7
call fcn.0044ba30
cmp eax, 0x400
je 0x4073e7
cmp byte [esp + 0x310], 0
jne 0x407432
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x4073f7
test ebp, ebp
jne 0x407439
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x40740b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, 0xffffffff
jne 0x407428
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x407439
lea ebp, [esp + 0x44]
jmp 0x407439
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x407477
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x2e0
ret 0x20
Function at 0x407ff0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x408119
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push eax
call esi
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40808f
mov edx, dword [esp + 0xc]
push 0x4209
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
mov eax, dword [edi]
push 0
push 0x402
push eax
call esi
mov eax, dword [0x5733dc]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
mov eax, ecx
push 1
push eax
mov ecx, edi
call fcn.00407360
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x4080b8
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.00407830
test al, al
jne 0x408111
push ebx
push ebp
call fcn.0049f2e0
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x408107
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push 0x4d88ec
push ecx
mov edx, 0xa
call fcn.00407810
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x2e8]
push edx
mov ecx, edi
call fcn.00407360
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x4080c8
pop ebp
pop ebx
mov ecx, edi
call fcn.00407d40
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004c1c22
add esp, 0x2d4
ret
Function at 0x408130
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
push edi
push 0x800
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.00453980
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x4081dc
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407ec0
cmp byte [0x533b59], 0
mov ecx, esi
je 0x4081c0
call fcn.00407b80
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret
call fcn.00407770
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret
cmp byte [0x533b59], 0
je 0x4081f3
lea eax, [esp + 8]
push eax
call fcn.00461570
test al, al
je 0x40822d
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40822d
test al, 0x10
jne 0x40822d
lea eax, [esp + 8]
push eax
mov ecx, 0x5404f0
call fcn.00451530
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret
lea ecx, [esp + 8]
push ecx
mov ecx, 0x5404f0
call fcn.00451650
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret
Function at 0x408260
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2b8], eax
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c0]
push edi
mov edi, dword [esp + 0x2d0]
cmp ecx, 0x4e
jne 0x408374
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x4082d1
cmp eax, 0xfffffcda
jne 0x4082b7
cmp dword [edi + 0x21c], 2
jne 0x4082b7
mov ecx, 0x5404e0
call fcn.00408130
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004c1c22
add esp, 0x2bc
ret 0x10
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edi + 0xc]
push ebx
push ebp
push esi
mov dword [esp + 0x10], edx
cmp eax, 4
jne 0x4082ea
mov ebp, dword [ecx + 4]
jmp 0x4082ed
lea ebp, [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 8
mov esi, ecx
test dl, 1
je 0x408329
mov edx, esi
or edx, 0x200
push edx
push 0x2b4
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call ebx
test eax, eax
je 0x408329
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x408350
or esi, 0x4001
push esi
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
or dword [edi + 0xc], 0x10000000
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004c1c22
add esp, 0x2bc
ret 0x10
mov edx, dword [esp + 0x2cc]
push edi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x2bc]
pop edi
xor ecx, esp
call fcn.004c1c22
add esp, 0x2bc
ret 0x10
Function at 0x40a0d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
mov edi, edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [esp + ecx + 0x10c], al
mov byte [esp + ecx + 0x20b], al
mov byte [esp + eax + 0xc], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x40a0f0
xor ecx, ecx
mov dword [ecx + 0x4ee120], eax
test eax, eax
je 0x40a13c
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x40a13e
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x40a123
xor edx, edx
test dl, dl
je 0x40a162
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40a164
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ebx, eax
shr ebx, 8
xor bl, al
xor bl, 0x63
je 0x40a19b
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x40a19f
xor ecx, ecx
xor esi, esi
shl ecx, 8
movzx eax, bl
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, esi
mov esi, ecx
rol esi, 8
mov dword [edx*4 + 0x4ef148], ecx
mov dword [edx*4 + 0x4ef548], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4efd48], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4ee548], ecx
mov ecx, eax
mov dword [edx*4 + 0x4ee148], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4eed48], eax
mov dword [edx*4 + 0x4ef948], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4ee948], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x40a282
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
add eax, eax
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor ecx, eax
xor ecx, 5
movzx ecx, byte [esp + ecx + 0xc]
lea eax, [esp + 0x20b]
sub eax, ecx
mov bl, byte [eax]
test bl, bl
je 0x40a284
movzx ecx, bl
movzx ecx, byte [esp + ecx + 0xc]
movzx eax, byte [esp + ecx + 0x174]
movzx edi, byte [esp + ecx + 0x1fa]
movzx esi, byte [esp + ecx + 0x1d3]
movzx ecx, byte [esp + ecx + 0x1eb]
jmp 0x40a28c
xor bl, bl
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
shl eax, 8
or eax, ecx
movzx ecx, bl
add ecx, ecx
add ecx, ecx
mov esi, eax
rol esi, 8
mov dword [ecx + 0x4ed520], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4ed120], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4ed920], esi
mov dword [ecx + 0x4edd20], eax
cmp edx, 0x100
jb 0x40a148
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4f0148], 1
call fcn.004c1c22
add esp, 0x304
ret
Function at 0x418270
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x148
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x1004], eax
test eax, eax
jne 0x4182bf
push ebx
call fcn.0049f840
test eax, eax
je 0x4182b4
cmp eax, 0x20
je 0x4182b4
push ebx
push eax
push 0x20
push 0x5c8
call fcn.00475cc0
push eax
call fcn.004ad8e0
add esp, 0x10
pop esi
xor al, al
pop ebx
add esp, 0x148
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Prepare
push eax
call edi
mov dword [esi + 0x11e0], eax
mov eax, dword [esi + 0x1004]
push str.Open
push eax
call edi
mov ecx, dword [esi + 0x1004]
push str.Close
push ecx
mov dword [esi + 0x11e4], eax
call edi
mov edx, dword [esi + 0x1004]
push str.GetNextName
push edx
mov dword [esi + 0x11e8], eax
call edi
mov dword [esi + 0x11ec], eax
mov eax, dword [esi + 0x1004]
push str.GetListItem
push eax
call edi
mov ecx, dword [esi + 0x1004]
push str.Extract
push ecx
mov dword [esi + 0x11f0], eax
call edi
mov edx, dword [esi + 0x1004]
push str.GetComment
push edx
mov dword [esi + 0x11f4], eax
call edi
cmp dword [esi + 0x11e0], 0
mov dword [esi + 0x11f8], eax
je 0x4184ce
cmp dword [esi + 0x11e4], 0
je 0x4184ce
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c2670
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x413a10
mov dword [esp + 0x14], 0x413b50
mov dword [esp + 0x18], 0x413bb0
mov dword [esp + 0x44], 0x413bc0
mov dword [esp + 0x20], 0x413bd0
mov dword [esp + 0x2c], 0x413d50
mov dword [esp + 0x30], 0x413d70
mov dword [esp + 0x38], 0x413d80
mov dword [esp + 0x3c], 0x4159b0
mov dword [esp + 0x34], 0x415b70
mov dword [esp + 0x48], 0x413e60
mov dword [esp + 0x4c], 0x413e70
mov dword [esp + 0x24], 0x413e80
mov dword [esp + 0x54], 0x413f50
mov dword [esp + 0x28], 0x413fd0
mov dword [esp + 0x40], 0x414100
mov dword [esp + 0x58], 0x414130
mov dword [esp + 0x5c], 0x414140
mov dword [esp + 0x60], 0x414150
mov dword [esp + 0x64], 0x414160
mov dword [esp + 0x1c], 0x418090
mov dword [esp + 0x50], 0x414170
mov dword [esp + 0x68], 0x4141d0
call fcn.0044ba30
push 0x1d8
lea edi, [esi + 0x1008]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004c2670
mov edx, dword [esi + 0x11e0]
add esp, 0xc
push edi
lea ecx, [esp + 0x10]
push ecx
mov dword [edi], 0x1d8
mov dword [esi + 0x100c], 2
mov dword [esi + 0x1010], 0x50100
call edx
test al, al
je 0x41849d
cmp dword [esi + 0x100c], 2
jne 0x41849d
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x148
ret
mov eax, dword [esi + 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
mov dword [esi + 0x1004], 0
call fcn.00460c50
push eax
push 0x42e
call fcn.00475cc0
push eax
call fcn.004ad8e0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x148
ret