joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c54
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405f1f
test bl, 8
mov dword [ebp - 8], eax
je 0x405c93
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x7a8b48], eax
jmp 0x405e10
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405cad
test eax, eax
je 0x405dbe
test bl, 2
je 0x405dbe
mov esi, 0x7a3f90
push edi
push esi
call fcn.00406542
cmp dword [ebp + 8], 0
je 0x405ccc
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405cd2
push edi
call fcn.00405e63
cmp word [edi], 0
jne 0x405ce2
cmp word [0x7a3f90], 0x5c
jne 0x405ced
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405db3
cmp word [ebp - 0x22c], 0x2e
jne 0x405d37
cmp word [ebp - 0x22a], 0
je 0x405d96
cmp word [ebp - 0x22a], 0x2e
jne 0x405d37
cmp word [ebp - 0x228], 0
je 0x405d96
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406542
test byte [ebp - 0x258], 0x10
je 0x405d62
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405d96
push dword [ebp + 0xc]
push edi
call fcn.00405c54
jmp 0x405d96
push dword [ebp - 4]
push edi
call fcn.00405c0c
test eax, eax
jne 0x405d8e
cmp dword [ebp - 4], eax
je 0x405d86
push edi
push 0xfffffffffffffff1
call fcn.004055aa
push 0
push edi
call fcn.00406308
jmp 0x405d96
inc dword [0x7a8b48]
jmp 0x405d96
push edi
push 0xfffffffffffffff2
call fcn.004055aa
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d0f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405dbe
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e10
cmp dword [ebp - 8], esi
jne 0x405dd2
inc dword [0x7a8b48]
jmp 0x405e10
push edi
call fcn.004068a0
test eax, eax
je 0x405e10
push edi
call fcn.00405e17
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c0c
test eax, eax
jne 0x405e08
cmp dword [ebp - 4], esi
je 0x405dca
push edi
push 0xfffffffffffffff1
call fcn.004055aa
push esi
push edi
call fcn.00406308
jmp 0x405e10
push edi
push 0xffffffffffffffe5
call fcn.004055aa
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405f1f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7a4790
push esi
call fcn.00406542
push esi
call fcn.00405ec2
mov edi, eax
test edi, edi
jne 0x405f40
xor eax, eax
jmp 0x405f98
push edi
call fcn.004067f1
test byte [0x7a8abc], 0x80
je 0x405f5d
mov ax, word [edi]
test ax, ax
je 0x405f3c
cmp ax, 0x5c
je 0x405f3c
sub edi, esi
sar edi, 1
jmp 0x405f77
call fcn.004068a0
test eax, eax
je 0x405f71
test byte [eax], 0x10
je 0x405f3c
push esi
call fcn.00405e63
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405f63
call fcn.00405e17
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406032
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406038
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x406067
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a5a8]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a5ac]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4060b7
test edi, edi
jne 0x406074
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4060b1
Function at 0x40618e
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x7a5628], 0x55004e
mov dword [0x7a562c], 0x4c
mov edi, 0x400
mov ebp, 0x7a5628
je 0x4061e4
push 1
push 0
push esi
call fcn.00406038
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406303
cmp eax, edi
jg 0x406303
mov esi, 0x7a5e28
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406303
cmp eax, edi
jg 0x406303
push esi
push ebp
push str._ls_ls_r_n
push 0x7a5228
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7a8ab4]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040657f
push 4
push 0xc0000000
push esi
call fcn.00406038
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406303
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4062fc
push edi
push esi
push ebp
call fcn.004060bb
test eax, eax
je 0x4062fc
push str._Rename__r_n
push esi
call fcn.00405f9d
test eax, eax
jne 0x40629a
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4062cf
add eax, 0xa
push 0x40a5b0
push eax
call fcn.00405f9d
mov ebp, eax
test ebp, ebp
je 0x4062cb
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4062bc
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4062b6
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4062d1
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x7a5228
push eax
call fcn.00405ff3
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.004060ea
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406308
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40632b
push dword [esp + 8]
push dword [esp + 8]
call fcn.0040618e
pop ecx
pop ecx
inc dword [0x7a8b50]
ret 8
Function at 0x406410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063af
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406480
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x406480
cmp dword [ebp + 0xc], 1
je 0x406484
cmp dword [ebp + 0xc], 2
je 0x406484
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x4068c7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068eb
xor eax, eax
test eax, eax
je 0x4068fe
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068fe
xor ecx, ecx
jmp 0x406901
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a24
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a662c], 0
push esi
jne 0x406a5b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a35
mov dword [ecx*4 + 0x7a6628], eax
inc ecx
cmp ecx, 0x100
jl 0x406a30
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a8c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a6628]
xor eax, esi
inc ecx
dec edx
jne 0x406a6e
pop edi
not eax
pop esi
ret 0xc
Function at 0x6c11b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006c1140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006c1140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006c1140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006c1140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6c1bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c1c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6d387c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6c1c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6c1c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4079e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53140b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x57b270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi], vtable.CryptoPP::RandomPool.0
mov byte [eax + 0x21], 1
mov dword [eax + 0x28], 0x20
mov dword [eax + 0x2c], eax
lea eax, [esi + 0x38]
mov dword [ebp - 4], 0
mov byte [eax + 0x11], 1
mov dword [eax + 0x18], 0x10
mov dword [eax + 0x1c], eax
push 0x120
mov byte [ebp - 4], 1
call fcn.00460b31
mov dword [ebp - 0x10], eax
mov byte [eax + 0x111], 1
mov dword [eax + 0x118], 0x3c
lea edx, [eax + 0x18]
mov ecx, edx
neg ecx
and ecx, 0xf
add ecx, edx
mov dword [edx + 0x104], ecx
mov dword [eax], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.1.0
mov dword [eax + 4], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.0
mov dword [esi + 0x58], eax
push dword [esi + 0x30]
mov byte [esi + 0x5c], 0
push 0
push dword [esi + 0x34]
call fcn.004ed350
push dword [esi + 0x50]
push 0
push dword [esi + 0x54]
call fcn.004ed350
add esp, 0x1c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b7a0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5315bd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x57b270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], esi
test esi, esi
jne 0x40b7db
xor ebx, ebx
jmp 0x40b7e6
push esi
call fcn.00405b30
add esp, 4
mov ebx, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], vtable.CryptoPP::NonblockingRng.0
mov byte [ebp - 4], 1
call fcn.0040b9e0
push ebx
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x40b84a
mov byte [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
push esi
push ebx
call dword [eax + 0xc]
xor al, al
mov edi, ebx
mov ecx, esi
rep stosb byte es:[edi], al
push ebx
call fcn.004fe73d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460b6f
mov esp, ebp
pop ebp
ret 8
push 0x55ea24
lea ecx, [ebp - 0x28]
call fcn.00404f60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.0040b310
push 0x5779f4
lea eax, [ebp - 0x50]
push eax
call fcn.004ec431
int3
Function at 0x40f560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531a75
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57b270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
push 0x40
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], esi
call fcn.00405430
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov edi, eax
mov dword [ebp - 0x18], 0x37
mov eax, 0x3f
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], eax
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x55ea98]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x55eaa8]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [0x55eab8]
mov dword [edi + 0x30], eax
mov ax, word [0x55eabc]
mov word [edi + 0x34], ax
mov al, byte [0x55eabe]
mov byte [edi + 0x36], al
mov byte [edi + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
mov dword [esi], vtable.CryptoPP::Exception.0
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 0
push 0x40
mov byte [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.00405430
mov dword [esi + 0x10], eax
mov ecx, 0x3f
movups xmm0, xmmword [edi]
inc ecx
push ecx
movups xmmword [eax], xmm0
push edi
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [edi + 0x30]
movq qword [eax + 0x30], xmm0
mov dword [esi + 0x20], 0x37
mov dword [esi + 0x24], 0x3f
mov esi, dword [ebp - 0x2c]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
call fcn.00460b61
add esp, 8
mov dword [esi], 0x53ecac
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460b6f
mov esp, ebp
pop ebp
ret
Function at 0x410fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531d52
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57b270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ebx, [edi + 0x30]
mov dword [ebp - 4], 0
mov dword [ebp + 8], ebx
push 0x70
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00460b31
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
lea ecx, [edi + 0x38]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi]
dec eax
mov byte [ebp - 4], 2
cmp eax, 6
ja case.default.0x41105f
jmp dword [eax*4 + 0x411138]
add esi, 0x18
lea ecx, [edi + 0x18]
cmp ecx, esi
je case.default.0x41105f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41107e
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00404d10
jmp case.default.0x41105f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
movd xmm0, dword [esi + 4]
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm0
movd xmm0, dword [esi + 4]
cvtdq2pd xmm0, xmm0
movsd qword [edi + 0x10], xmm0
jmp case.default.0x41105f
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
cvttss2si eax, dword [esi + 8]
mov dword [edi + 4], eax
movsd xmm0, qword [esi + 0x10]
movsd qword [edi + 0x10], xmm0
jmp case.default.0x41105f
movsd xmm0, qword [esi + 0x10]
movsd qword [edi + 0x10], xmm0
cvttsd2si eax, qword [esi + 0x10]
mov dword [edi + 4], eax
movsd xmm0, qword [esi + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [edi + 8], xmm0
jmp case.default.0x41105f
mov al, byte [esi + 0x44]
mov byte [edi + 0x44], al
jmp case.default.0x41105f
add esi, 0x30
cmp esi, ebx
je case.default.0x41105f
mov ecx, ebx
call fcn.00416870
push esi
mov ecx, ebx
call fcn.004133f0
jmp case.default.0x41105f
add esi, 0x38
cmp esi, ecx
je case.default.0x41105f
push dword [ebp + 8]
push dword [esi + 4]
push dword [esi]
call fcn.00412590
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
Function at 0x412fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532040
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57b270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
movsd xmm1, qword [ebp + 8]
cvttsd2si eax, xmm1
mov dword [edi], 4
cvtpd2ps xmm0, xmm1
mov dword [edi + 4], eax
movsd qword [edi + 0x10], xmm1
movss dword [edi + 8], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x70
mov dword [ebp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00460b31
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x413080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532070
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x57b270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
xorps xmm0, xmm0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
movsd qword [edi + 0x10], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x70
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00460b31
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x413140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532070
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x57b270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 7
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x70
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00460b31
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov al, byte [ebp + 8]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x44], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416c50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57b270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.004ed350
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416cb2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00416d80
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00460b6f
mov esp, ebp
pop ebp
ret