joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a5f6
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041def0
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x41a611
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x41a61e
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x41a6e1
movzx eax, word [esi]
test ax, ax
je 0x41a6e1
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x41a66b
test edi, edi
je 0x41a675
test ebx, ebx
jne 0x41a675
test ecx, ecx
je 0x41a667
mov byte [ecx], 1
mov ebx, ebp
jmp 0x41a68c
cmp eax, 0xd
je 0x41a69f
cmp eax, 0xa
je 0x41a6a2
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x41a69a
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x41a64d
jmp 0x41a6a2
mov byte [edx], 1
jmp 0x41a6a2
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x41a6db
mov word [edi], ax
test ebx, ebx
je 0x41a6db
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040fd80
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x41a6e3
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x41a6ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x41a749
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x432260]
call esi
pop esi
jmp 0x41a751
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41cc93
Capabilities:
Hide graphical window

Disassembly:
and dword [0x447304], 0
push 1
push dword [esp + 8]
mov byte [0x447301], 1
mov byte [0x447302], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401177
cmp dword [0x4472ec], 0
jne 0x41ccd3
cmp byte [0x447313], 0
je 0x41ccdc
cmp dword [0x44730c], 0
jne 0x41ccef
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41cdef
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041def0
cmp byte [0x449320], 0
je 0x41ce7e
cmp word [0x449322], 0
je 0x41ce7e
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x449322
call fcn.0041b980
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ce7d
push dword [ebp + 8]
call fcn.00423193
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41ce84
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041def0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040fb02
mov esi, eax
test esi, esi
je 0x41cedc
movzx ecx, word [esi]
push ecx
jmp 0x41cec7
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040fc1b
test al, al
jne 0x41cec0
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40c514
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40c524
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x40c632
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.0040c642
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x40c632
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.0040c642
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x40c632
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.0040c642
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40c632
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40c62f
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0040c655
test eax, eax
je 0x40c61e
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0040c689
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40c5d9
add esp, 0xc
mov eax, 0
jmp 0x40c63c
mov esp, ebp
pop ebp
ret 8

Function at 0x40c7bd
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40c871
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040c74d
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40c84a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c87d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40c898
test ebp, ebp
je 0x40c898
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40c8a0
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x40c8e0
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x40c93c
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x40c937
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40c922
test dl, dl
je 0x40c91e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40c922
add ecx, 2
add eax, 2
test dl, dl
jne 0x40c902
xor eax, eax
jmp 0x40c927
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c946
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x40c8ef
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret

Function at 0x40c95d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0040c7bd
mov esi, eax
test esi, esi
je 0x40ca19
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0040c87d
mov ebp, eax
test ebp, ebp
je 0x40ca18
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0040c87d
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x40ca18
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x40ca18
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40ca17
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x40c9fd
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4123f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push dword [ebp + 8]
call fcn.0041244c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x412b81
xor eax, eax
call dword [sym.imp.USER32.dll_EnumWindows]
nop
nop
cmp dword [ebp - 8], esp
je 0x412435
push 0x2a
push 0x401031a
push 6
call fcn.00456099
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00412284
jmp 0x412444
mov esp, ebp
pop ebp
ret 8

Function at 0x41298c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4129cf
push 0x3e
push 0x401032f
push 6
call fcn.00456099
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x82e560]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004014e8
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00456db0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412a22
push ebx
call fcn.00456087
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x412a58
push 0x97
push 0x401032f
push 6
call fcn.00456099
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x412a74
push eax
mov ebx, eax
call fcn.00401420
inc eax
push eax
call fcn.0045608d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x412a79
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412a8a
push ebx
call fcn.00456087
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x413ad4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 8], esp
je 0x413b12
push 0x2c
push 0x40101e4
push 6
call fcn.00456099
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x413b29
mov eax, 0
jmp 0x413b4a
push 0x10
push dword [ebp - 4]
call fcn.00413b50
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
sete al
jmp 0x413b4a
mov esp, ebp
pop ebp
ret 4

Function at 0x41d66a
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x41d7a0
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x41d68d
cmp dword [edx + 0x10], esi
jne 0x41d685
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], SysReAllocString
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x41d7a0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x41d799
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x41d71a
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x41d71a
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x41d71f
jmp 0x41d799
add edx, 0x28
jmp 0x41d6f9
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x41d799
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x41d799
cmp dword [ebp - 0x24], 8
jne 0x41d799
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x41d799
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x41d7a4
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18
Function at 0x41ef30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41ef5c
mov eax, 0x61c348
push eax
push 1
mov ebx, 0x194
call fcn.00456b90
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41efad
push 0x4d
push 0x4066d7c
push 6
call fcn.00456099
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41efc2
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41efec
push 0x83
push 0x4066d7c
push 6
call fcn.00456099
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x41eff4
mov esp, ebp
pop ebp
ret 4

Function at 0x41f964
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41f990
mov eax, 0x61c348
push eax
push 1
mov ebx, 0x194
call fcn.00456b90
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f9e1
push 0x4d
push 0x4063ed1
push 6
call fcn.00456099
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41f9f6
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41fa20
push 0x83
push 0x4063ed1
push 6
call fcn.00456099
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x41fa28
mov esp, ebp
pop ebp
ret 4

Function at 0x456d10
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x456d79
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004565f0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x456df0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x456e6f
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x456e6f
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [0x834b94]
add esp, 4
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x456e63
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop edi
pop esi
ret

Function at 0x494954
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x184
call fcn.00577ef0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x494999
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 4
push dword [ebp - 4]
push 0x23
push 0
xor eax, eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
nop
nop
cmp dword [ebp - 8], esp
je 0x4949d8
push 0x36
push 0x4397852
push 6
call fcn.005769b1
add esp, 0xc
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4949eb
mov eax, 0x834e83
push eax
push 1
mov ebx, 0x9dc
call fcn.00578720
add esp, 0x10
jmp 0x494a03
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x494a14
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4b9bdc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4b9c40
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4b9c29
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4b9c18
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4b9c09
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4ce3b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
call fcn.0045ac88
push eax
call fcn.0045adb0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ce3e5
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA_1]
nop
nop
cmp dword [ebp - 8], esp
je 0x4ce415
push 0x6b
push 0x425a6fb
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x10
jne 0x4ce43f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0045aef8
jmp 0x4ce4e1
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 1
push 1
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x835663
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045dfcc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4ce486
push ebx
call fcn.005769c9
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4ce4a3
mov eax, 0x834e83
push eax
push 2
mov ebx, 0x134
call fcn.005786d0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0045aef8
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ce4e1
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ce4f1
push ebx
call fcn.005769c9
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ce868
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 0x10]
call fcn.0045ac88
push eax
call fcn.0045adb0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ce8ab
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 4], eax
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x834e8f]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00459f50
push eax
call fcn.0045ac88
push eax
call fcn.0045adb0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ce8ec
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 8], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4ce903
mov eax, 0x834e83
push eax
push 1
mov ebx, 0x24c
call fcn.00579300
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ce935
push 0
push dword [ebp + 8]
call fcn.00460744
jmp 0x4ce9dd
lea eax, [ebp - 8]
push eax
call fcn.004cea04
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004ceb20
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4ce95a
push ebx
call fcn.005769c9
add esp, 4
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x834e97]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00459f50
push eax
call fcn.0045ac54
and eax, 1
xor eax, 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.00578720
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_CopyFileA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4ce9cf
push 0x1bc
push 0x425e75b
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00460744
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ce9ed
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ce9fd
push ebx
call fcn.005769c9
add esp, 4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ceacc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA_1]
nop
nop
cmp dword [ebp - 4], esp
je 0x4ceb03
push 0x24
push 0x425e7b3
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
mov eax, 0
sete al
jmp 0x4ceb17
mov esp, ebp
pop ebp
ret 4