joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 2
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x409741
lea ecx, [ebp - 0x230]
push ecx
push ebx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x409752
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
push edi
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0047499c
add esp, 8
test eax, eax
jne 0x4097ca
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x228]
cmp ecx, eax
jae 0x4097ab
mov ecx, dword [esi]
lea edx, [ebp - 0x228]
cmp ecx, edx
ja 0x4097ab
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40979b
mov eax, esi
call fcn.0040bbc0
mov eax, dword [esi + 4]
test eax, eax
je 0x4097c6
mov ecx, dword [esi]
mov edx, dword [ecx + edi*4]
mov dword [eax], edx
jmp 0x4097c6
cmp eax, dword [esi + 8]
jne 0x4097b7
mov eax, esi
call fcn.0040bbc0
mov eax, dword [esi + 4]
test eax, eax
je 0x4097c6
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
add dword [esi + 4], 4
lea edx, [ebp - 0x230]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x409753
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x409800
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x238], esi
test esi, esi
jne 0x409831
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
push edi
push 0
push 2
mov dword [ebp - 0x234], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x23c], edi
cmp edi, 0xffffffff
je 0x40992c
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00478ba0
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x409899
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4098a8
mov esi, dword [ebp - 0x238]
push esi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x409915
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x409915
push 0
push esi
call ebx
push 0x64
push esi
mov dword [ebp - 0x234], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x409908
mov edi, edi
inc edi
cmp edi, 0xa
jg 0x409908
push 0
push esi
call ebx
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4098f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x23c]
lea ecx, [ebp - 0x230]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4098a2
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop edi
xor ecx, ebp
pop esi
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x409950
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x144]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea ecx, [ebp - 0x120]
push esi
push ecx
call fcn.00478ba0
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4099ea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 2
jne 0x409ab7
mov eax, dword [ebp - 0x11c]
sub eax, 5
je 0x409a77
mov ecx, 1
sub eax, ecx
jne 0x409ab7
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x409a39
cmp byte [ebp - 6], cl
jne 0x409ab7
mov esi, 5
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jne 0x409a58
cmp byte [ebp - 6], cl
jne 0x409ab7
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x409ab7
cmp byte [ebp - 6], cl
jne 0x409ab7
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x409aa8
cmp byte [ebp - 6], 1
jne 0x409ab7
cmp word [ebp - 0x144], 9
jne 0x409ab7
mov esi, 2
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
mov ecx, 1
cmp eax, ecx
je 0x409a92
test eax, eax
jne 0x409ab7
mov esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004739b2
mov esp, ebp
pop ebp
ret

Function at 0x409b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x409b64
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea eax, [esi + esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472957
add esp, 4
xor ecx, ecx
test esi, esi
je 0x409be6
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x62613938
mov dword [ebp - 8], 0x66656463
mov dword [ebp - 0x24], 0x33323130
mov dword [ebp - 0x20], 0x37363534
mov dword [ebp - 0x1c], 0x62613938
mov dword [ebp - 0x18], 0x66656463
nop
movzx edx, byte [ecx + edi]
shr edx, 4
movzx edx, byte [ebp + edx - 0x14]
mov word [eax + ecx*4], dx
movzx edx, byte [ecx + edi]
and edx, 0xf
movzx edx, byte [ebp + edx - 0x24]
mov word [eax + ecx*4 + 2], dx
inc ecx
cmp ecx, esi
jb 0x409bc0
xor ecx, ecx
mov dword [eax + esi*4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x40af70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 8
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40afbd
lea eax, [ebp - 0x434]
push eax
push esi
mov dword [ebp - 0x434], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x40afd0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.0047499c
add esp, 8
test eax, eax
je 0x40affa
lea edx, [ebp - 0x434]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x40afd0
jmp 0x40afff
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004739b2
mov esp, ebp
pop ebp
ret

Function at 0x40d080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497b22
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.00478ba0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40d142
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d124
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x40d320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497b22
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.00478ba0
mov edx, dword [ebp + 8]
add esp, 0xc
push 0
push edx
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40d3e5
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d3c7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00401aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret

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

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d416
test al, 0x10
jne 0x40d416
mov eax, 1
ret
xor eax, eax
ret
Function at 0x40e260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov dword [ebp - 0x220], ebx
push ecx
mov dword [ebp - 0x224], esi
mov word [ebp - 0x218], ax
call fcn.00478ba0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401ba0
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
lea ecx, [ebp - 0x21c]
mov edx, esi
mov dword [ebp - 0x220], edi
call fcn.0040b800
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x21c]
push edi
push 0x4aa0e8
push esi
call fcn.0040c2b0
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x40ee90
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4953b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [ebp - 0x14]
lea eax, [ebx + 4]
call fcn.00471f40
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40eef6
test al, 0x10
jne 0x40eef6
mov eax, 1
jmp 0x40eef8
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x40efb1
lea esi, [ebp + 0xc]
lea eax, [ebx + 4]
call fcn.00471f40
mov edi, eax
lea esi, [ebp + 0x10]
mov eax, ebx
mov dword [ebp - 4], 0
call fcn.00471f40
mov edi, dword [edi]
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ff70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi], 0
jne 0x410021
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00478ba0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jae 0x40fffa
cmp byte [esi], 0
je 0x40ffdc
mov byte [esi + 1], 1
mov al, byte [esi + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
test eax, eax
je 0x41001e
mov byte [eax], 1
mov al, byte [esi + 1]
mov byte [esi], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x410014
mov byte [esi + 1], 0
mov al, byte [esi + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
test eax, eax
je 0x41001e
mov byte [eax], 0
mov byte [esi], 1
mov ecx, dword [ebp - 4]
mov al, byte [esi + 1]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x412380
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.00478ba0
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412421
lea eax, [ebp - 0x210]
push str.Funshion_Online_
push eax
mov ecx, 0x4d92c8
call fcn.0040b920
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.00474d4c
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412421
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.00401ba0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x4132b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b330
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x14], edi
call fcn.004133a0
lea edx, [ebp - 0x10]
push 0x4d92d8
push edx
mov ebx, eax
mov dword [ebp - 4], edi
call fcn.0040b870
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413321
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x413352
test al, 0x10
jne 0x413352
push 0x4a98b8
mov ecx, esi
call fcn.00401ba0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x413377
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x413385
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414210
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.FunShion.ini
lea ecx, [ebp - 0x10]
call fcn.00401ba0
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0040d080
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.0040b870
mov esi, eax
lea eax, [ebp - 0x18]
push 0x4d92c4
push eax
mov ebx, 0x4a9e74
mov byte [ebp - 4], 2
call fcn.00406650
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.0040b870
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41432b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bb8b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.004133a0
lea edx, [ebp - 0x20]
push 0x4d92d8
push edx
lea ebx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040b870
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov dword [ebp - 0x10], 1
call edi
mov esi, 3
cmp eax, 0xffffffff
je 0x414468
test al, 0x10
jne 0x414468
mov eax, ebx
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ebx, 0x4a9e74
call fcn.00406650
lea edx, [ebp + 8]
push 0x4d92dc
mov dword [ebp - 4], esi
push edx
mov ebx, eax
mov dword [ebp - 0x10], esi
call fcn.0040b870
add esp, 0x10
mov dword [ebp - 4], 4
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10], 7
call edi
cmp eax, 0xffffffff
je 0x414468
test al, 0x10
jne 0x414468
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x4a9df8
mov edi, str.SoftwareFunshionFunshion
mov ecx, 0x80000002
call fcn.00412220
add esp, 4
test eax, eax
jne 0x414468
lea edi, [esi - 2]
jmp 0x41446a
xor edi, edi
mov dword [ebp - 4], esi
mov ebx, dword [ebp - 0x10]
test bl, 4
je 0x41449a
mov eax, dword [ebp + 8]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41449a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
test bl, 2
je 0x4144cb
mov eax, dword [ebp - 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
test bl, 1
je 0x4144f6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41453f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4