joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c340
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbec0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1010d03c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
call fcn.100141f0
push 0x80
push 4
push 1
push 0x80000000
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.1001fbe0
test al, al
je 0x1003c4f2
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
test esi, esi
je 0x1003c3e1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003c3e1
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003c3db
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1003c3e1
xor edi, edi
mov edi, ebx
jmp 0x1003c3e4
mov edi, dword [ebp - 0x40]
lea eax, [edi + 1]
push eax
call fcn.10094456
push edi
mov ebx, eax
push 0
push ebx
call fcn.10096b80
add esp, 0x10
mov dword [ebp - 0x30], 0
test esi, esi
je 0x1003c4cd
test ebx, ebx
je 0x1003c4cd
cmp dword [esi], 0xffffffff
je 0x1003c4cd
push 0
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003c4cd
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003c44b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003c44b
mov dword [esi], 0xffffffff
push dword [ebp - 0x30]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.10021470
push ebx
mov byte [ebp - 4], 1
call fcn.10093f36
mov eax, dword [ebp - 0x38]
add eax, 0x48
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000c920
add esp, 0x10
test eax, eax
sete bl
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1003c4b4
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c4aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c523
push edx
push ecx
call fcn.1009441c
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
jmp 0x1003c4f4
push ebx
call fcn.10093f36
add esp, 4
test esi, esi
je 0x1003c4f2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003c4f2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003c4f2
mov dword [esi], 0xffffffff
xor bl, bl
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.1001fba0
mov al, bl
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.10093f25
mov esp, ebp
pop ebp
ret 8
call fcn.1009ba34
int3
Function at 0x1003e970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc27d
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.100949b0
mov eax, dword [0x1010d03c]
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 + 8]
lea eax, [ebp - 0x1010]
mov ebx, dword [ebp + 0xc]
push 0x1000
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x1030], esi
push eax
mov dword [ebp - 0x1014], 0
call fcn.10096b80
mov edx, dword [edi + 8]
add esp, 0xc
cmp dword [edx + 0x14], 8
jb 0x1003e9e2
mov edx, dword [edx]
mov eax, dword [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x1003e9ed
mov eax, dword [eax]
mov ecx, dword [edi]
cmp dword [ecx + 0x14], 8
jb 0x1003e9f7
mov ecx, dword [ecx]
push edx
push 0x7fe
lea edx, [ebp - 0x1010]
push edx
push 0x100e9440
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea edi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1003ea20
sub edx, edi
lea eax, [ebp - 0x1010]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.10004af0
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1010]
xor eax, eax
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003eab0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x102c]
call fcn.10004af0
push esi
lea eax, [ebp - 0x102c]
mov dword [ebp - 4], 1
push 0x7c
push eax
call fcn.10019ed0
add esp, 0xc
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x1018]
cmp edx, 8
jb 0x1003eb2e
mov ecx, dword [ebp - 0x102c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003eb24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003eb6e
push edx
push ecx
call fcn.1009441c
add esp, 8
xor eax, eax
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
mov byte [ebp - 4], al
mov eax, esi
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.10093f25
mov esp, ebp
pop ebp
ret 8
call fcn.1009ba34
int3
Function at 0x1003f290
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
call fcn.1000ee20
mov ecx, dword [esi + 0x14]
add esp, 4
test al, al
jne 0x1003f2e4
cmp ecx, 8
jb 0x1003f2c2
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1003f2ca
mov edi, dword [edi]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 8
mov eax, esi
cmp ecx, 8
jb 0x1003f2ed
mov eax, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
je 0x1003f326
cmp dword [esi + 0x14], 8
jb 0x1003f303
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1003f30b
mov edi, dword [edi]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 8
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.10096b80
lea eax, [ebp - 0x804]
push eax
call fcn.100a619f
add esp, 0x10
lea eax, [ebp - 0x804]
push eax
call ebx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003f35b
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x804]
push ecx
push eax
call ebx
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x1003f398
cmp ecx, 8
jb 0x1003f379
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1003f381
mov edi, dword [edi]
push esi
push edi
call ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 8
cmp ecx, 8
jb 0x1003f39f
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1003f3a7
mov edi, dword [edi]
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10093f25
mov esp, ebp
pop ebp
ret 8
Function at 0x1003f3d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbec0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1010d03c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
call fcn.100141f0
push 0x80
push 4
push 1
push 0x80000000
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.1001fbe0
test al, al
je 0x1003f599
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
test esi, esi
je 0x1003f471
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003f471
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003f46b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1003f471
xor edi, edi
mov edi, ebx
jmp 0x1003f474
mov edi, dword [ebp - 0x40]
lea eax, [edi + 1]
push 0x1010f330
push eax
call fcn.1009442a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003f57d
push edi
push 0
push ebx
call fcn.10096b80
add esp, 0xc
mov dword [ebp - 0x30], 0
test esi, esi
je 0x1003f574
cmp dword [esi], 0xffffffff
je 0x1003f574
push 0
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003f574
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003f4e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003f4e3
mov dword [esi], 0xffffffff
push dword [ebp - 0x30]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.10021470
push ebx
mov byte [ebp - 4], 1
call fcn.10093f36
mov ecx, dword [ebp - 0x38]
mov edx, 0x84
mov eax, 0x34
cmp byte [ecx], 0
cmove eax, edx
add eax, ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000c920
add esp, 0x10
test eax, eax
sete bl
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1003f55b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f551
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f5ca
push edx
push ecx
call fcn.1009441c
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
jmp 0x1003f59b
push ebx
call fcn.10093f36
add esp, 4
test esi, esi
je 0x1003f599
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003f599
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003f599
mov dword [esi], 0xffffffff
xor bl, bl
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.1001fba0
mov al, bl
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.10093f25
mov esp, ebp
pop ebp
ret 8
call fcn.1009ba34
int3
Function at 0x1003f670
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
push esi
call fcn.1000ee20
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
test al, al
je 0x1003f6a0
cmp dword [esi + 0x14], 8
jb 0x1003f699
mov esi, dword [esi]
push 4
push 0
push esi
call ebx
mov esi, dword [ebp + 8]
push esi
call fcn.1000ee20
add esp, 4
test al, al
je 0x1003f6bf
cmp dword [esi + 0x14], 8
jb 0x1003f6b8
mov esi, dword [esi]
push 4
push 0
push esi
call ebx
push edi
call fcn.1000ec90
add esp, 4
test al, al
je 0x1003f6db
cmp dword [edi + 0x14], 8
jb 0x1003f6d4
mov edi, dword [edi]
push 4
push 0
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10045450
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101011e0
push 0x10095eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1010d03c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x438], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.10004ad0
mov dword [ebp - 0x43c], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x100454b9
mov eax, dword [eax]
lea ecx, [ebp - 0x43c]
push ecx
push eax
call fcn.10004c50
add esp, 8
mov edx, esi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.100455d0
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x10045507
test bl, bl
jne 0x100455a4
cmp edi, 0x1a
jne 0x100455a4
mov ecx, esi
call fcn.10004ad0
mov dword [ebp - 0x438], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x10045538
mov eax, dword [eax]
lea ecx, [ebp - 0x438]
push ecx
push eax
call fcn.10004c50
push 0x410
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.10096b80
add esp, 0x14
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x430]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.10004af0
mov ecx, esi
call fcn.10004890
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret

Function at 0x100463e0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd744
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1010d03c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10004950
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10004950
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10004950
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10004950
mov byte [ebp - 4], 3
lea ecx, [esi + 0x70]
mov word [esi + 0x60], 0x101
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.10004950
mov dword [ebp - 4], 0xffffffff
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 0x10049ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce208
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push ecx
push 0xffffffffffffffff
push 0xffff8000
mov ecx, edi
movlpd qword [ebp - 0x3c], xmm0
call fcn.1001fdc0
test al, al
jne 0x10049f2f
mov eax, 1
jmp 0x1004a0a3
push 0x10000
call fcn.10094456
add esp, 4
lea ecx, [ebp - 0x30]
mov esi, eax
push 4
call fcn.10027320
push esi
lea ecx, [ebp - 0x30]
call fcn.1003ab90
mov dword [ebp - 4], 0
push 0x10000
push 0
push esi
call fcn.10096b80
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x18], 0
test eax, eax
je 0x1004a081
test esi, esi
je 0x1004a081
cmp dword [eax], 0xffffffff
je 0x1004a081
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x8000
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004a081
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov edx, 0x8000
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
lea edi, [esi + 0x8000]
cmp byte [ebx + 0x9c], 0
jne 0x1004a07a
lea eax, [edi + ecx]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], 0
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x34]
push edx
push eax
call fcn.10068a70
test al, al
je 0x1004a070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1004a050
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x1004a011
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx + 0x9c], 0
jne 0x1004a07a
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], 0xf
ja 0x1004a069
mov edx, dword [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x28], edx
jne 0x10049fc0
mov ecx, 0x7ffc
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x1004a062
add esi, 4
add edi, 4
sub ecx, 4
jae 0x1004a038
mov esi, 4
jmp 0x1004a092
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x8000
je 0x1004a033
jmp 0x1004a023
mov esi, 5
jmp 0x1004a092
mov esi, 3
jmp 0x1004a092
mov eax, dword [ebp - 0x2c]
mov esi, 3
jmp 0x1004a08c
mov esi, 2
jmp 0x1004a092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000e5a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004c260
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce728
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1010d03c]
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 ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.10004890
test al, al
jne 0x1004c2ba
cmp byte [ebp + 8], al
jne 0x1004c2c1
mov eax, dword [ebx]
test eax, eax
je 0x1004c421
cmp byte [eax + 0xa5], 0
je 0x1004c421
xor al, al
jmp 0x1004c437
mov ecx, esi
call fcn.10004890
test al, al
jne 0x1004c421
push esi
call fcn.1000ee20
add esp, 4
test al, al
je 0x1004c2e9
push esi
push edi
call fcn.1004be90
jmp 0x1004c41d
push 0xb
mov ecx, esi
call fcn.10004ac0
push eax
mov ecx, edi
call fcn.10004ac0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x1004c30e
mov al, 1
jmp 0x1004c41d
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.10004950
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.100206c0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.10004950
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.100206c0
test al, al
jne 0x1004c35b
cmp byte [ebp - 0x60], al
je 0x1004c397
push 0xb
lea ecx, [ebp - 0x40]
call fcn.10004ac0
push eax
lea ecx, [ebp - 0x58]
call fcn.10004ac0
push eax
call ebx
test eax, eax
je 0x1004c397
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100048a0
mov al, 1
jmp 0x1004c41d
mov ecx, esi
call fcn.1001ff50
cmp eax, 0xffffffff
je 0x1004c400
push esi
lea ecx, [ebp - 0x28]
call fcn.10006950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10020410
test al, al
je 0x1004c3f4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1001fff0
test al, al
je 0x1004c3f4
mov edx, esi
mov ecx, edi
call fcn.1001fff0
lea ecx, [ebp - 0x28]
test al, al
je 0x1004c3ed
call fcn.10020200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100048a0
jmp 0x1004c375
mov edx, esi
call fcn.1001fff0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100048a0
xor al, al
test al, al
jne 0x1004c435
push edi
call fcn.1000ee20
add esp, 4
test al, al
je 0x1004c435
mov ecx, edi
call fcn.10020200
mov al, 1
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.10093f25
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10076000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1010d03c]
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, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006950
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1000cd00
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10004ae0
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x1007612d
call fcn.10004ad0
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10076070
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x1007608a
mov ecx, esi
cmp eax, 8
jb 0x1007607f
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x100761a8
mov ecx, esi
cmp eax, 8
jb 0x10076093
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x100760a9
mov ecx, esi
cmp eax, 8
jb 0x100760a2
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x100760fe
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.1000cb80
mov eax, dword [esi + 0x14]
add esp, 4
mov ecx, esi
cmp eax, 8
jb 0x100760c7
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x100760fe
mov ecx, esi
cmp eax, 8
jb 0x100760d7
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x100760fe
mov ecx, esi
cmp eax, 8
jb 0x100760e7
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x100760fe
cmp eax, 8
jb 0x100760f4
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x10076189
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100048a0
mov al, bl
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.10093f25
mov esp, ebp
pop ebp
ret
call fcn.10004ae0
cmp eax, 2
jne 0x100760fe
lea ecx, [ebp - 0x28]
call fcn.10004ad0
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x1007614b
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x100760fe
mov edx, eax
cmp ecx, 8
jb 0x1007615b
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x100760fe
cmp ecx, 8
jb 0x10076168
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x100760fe
push 0x100e94b0
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x100e94b0
call fcn.10005970
lea ecx, [ebp - 0x28]
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100760fe
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x10076100
Function at 0x1007d960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1007d96b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1007d980