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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41a364
push ebx
push esi
call fcn.0041a290
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00418fc1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41a311
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41a363
push edi
push eax
call fcn.00417a2f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41a331
call fcn.004140dd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41a362
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00418fc1
add esp, 0x20
test eax, eax
jne 0x41a350
push edi
call fcn.004140dd
jmp 0x41a358
push ebx
call fcn.004140dd
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41caea
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00412fdb
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41cb59
cmp esi, dword [ebp - 4]
je 0x41cb54
cmp dword [ebp + 0xc], 0
je 0x41cb54
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41cb31
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041c63c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41cb5b
xor eax, eax
inc eax
jmp 0x41cb5b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41cbc0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42c080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00412fdb
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00412fdb
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41cc37
cmp word [ecx], dx
je 0x41cc37
mov eax, dword [0x425abc]
push edi
dec eax
push eax
push 0x4259a8
call fcn.0041cb5f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41ccaa
cmp word [eax], dx
je 0x41ccaa
mov eax, dword [edi]
test eax, eax
je 0x41cc5b
cmp word [eax], dx
je 0x41cc5b
lea eax, [ebp - 0x10]
push eax
call fcn.0041c542
jmp 0x41cc64
lea eax, [ebp - 0x10]
push eax
call fcn.0041c5dd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41ccd4
mov eax, dword [0x4259a4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x425698
call fcn.0041cb5f
add esp, 0xc
test al, al
je 0x41ccd4
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41cc9f
cmp word [eax], di
je 0x41cc9f
lea eax, [ebp - 0x10]
push eax
call fcn.0041c542
pop ecx
jmp 0x41ccd6
lea eax, [ebp - 0x10]
push eax
call fcn.0041c5dd
jmp 0x41cc9c
mov eax, dword [edi]
test eax, eax
je 0x41ccc1
cmp word [eax], dx
je 0x41ccc1
lea eax, [ebp - 0x10]
push eax
call fcn.0041c4f7
pop ecx
jmp 0x41ccd4
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41cd9f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041c9e4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41cd9f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41cd9f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41cd9f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41cd2c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004158c6
test ebx, ebx
je 0x41cd9a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004158c6
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41cd9f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41cd9f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041f6e6
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41cda1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004080ce
leave
ret
Function at 0x41fca5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041fc21
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41fe14
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41fe14
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41fdc9
jg 0x41fd01
test eax, eax
je 0x41fdbf
push 1
push 0x1000
call fcn.00415232
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41fd24
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41fdb6
push 0x8000
push ebx
call fcn.004104ff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41fd4d
jg 0x41fd48
cmp ecx, 0x1000
jb 0x41fd4d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00413ec1
add esp, 0x10
cmp eax, 0xffffffff
je 0x41fd92
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x41fd48
jl 0x41fd79
test ecx, ecx
jne 0x41fd3a
push dword [ebp - 0xc]
push ebx
call fcn.004104ff
push esi
call fcn.004140dd
add esp, 0xc
xor ebx, ebx
jmp 0x41fe22
cmp byte [edi + 0x24], 0
je 0x41fda9
cmp dword [edi + 0x20], 5
jne 0x41fda9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x41fdb4
mov ebx, dword [edi + 0x18]
jmp 0x41fdb6
xor ebx, ebx
push esi
call fcn.004140dd
pop ecx
jmp 0x41fe22
test ecx, ecx
jg 0x41fd8b
jl 0x41fdc9
test eax, eax
jae 0x41fd8b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00417100
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41fde9
cmp byte [edi + 0x1c], 0
je 0x41fd8b
jmp 0x41fe1a
push ebx
call fcn.0041aabb
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41fd8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41fe22
cmp byte [edi + 0x1c], 0
je 0x41fe1f
mov ebx, dword [edi + 0x18]
jmp 0x41fe22
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00417100
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4210d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4210fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4210fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1323502c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x713f7f85
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x69927bf6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x126d4364
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401047
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push str.SoftwareVirtualDJ
xor ebx, ebx
push 0x80000001
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x40106f
xor al, al
jmp 0x4010c9
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, str.HomeFolder
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4010bc
cmp dword [ebp - 0xc], 1
jne 0x4010bc
cmp dword [ebp - 8], 0x400
ja 0x4010bc
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push ebx
push ebx
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4010bc
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4010bc
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x401580
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esi]
mov ecx, edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr edx, 8
xor ecx, edx
mov edx, dword [esi + 4]
mov dword [esi], ecx
and ecx, 0xff
add ecx, edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
push ebx
and ecx, 0xff
mov ebx, dword [edi + ecx*4]
shr edx, 8
xor edx, ebx
mov dword [esi + 8], edx
pop ebx
ret

Function at 0x4015d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
xor eax, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov al, byte [esi]
test al, al
je 0x401637
push ebx
mov ecx, dword [edx]
xor eax, ecx
and eax, 0xff
mov eax, dword [edi + eax*4]
shr ecx, 8
xor eax, ecx
mov ecx, dword [edx + 4]
mov dword [edx], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
mov ebx, dword [edi + eax*4]
shr ecx, 8
xor ecx, ebx
inc esi
mov dword [edx + 8], ecx
mov al, byte [esi]
test al, al
jne 0x4015f0
pop ebx
pop esi
ret
Function at 0x405463
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414014]
jne 0x40546d
repz ret
jmp fcn.00406424

Function at 0x40a0bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004073bf
and dword [ebp - 0x14], 0
cmp dword [0x415c38], 0
mov dword [ebp - 0x18], eax
jne 0x40a16f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a217
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4119a4
push ebx
call edi
test eax, eax
je 0x40a217
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x415c38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x415c3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x415c40], eax
call edi
push eax
call esi
mov dword [0x415c48], eax
test eax, eax
je 0x40a16f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x415c44], eax
mov eax, dword [0x415c44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a1c8
cmp dword [0x415c48], ecx
je 0x40a1c8
push eax
call esi
push dword [0x415c48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a1c8
test ebx, ebx
je 0x40a1c8
call edi
test eax, eax
je 0x40a1bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a1bf
test byte [ebp - 8], 1
jne 0x40a1c8
or dword [ebp + 0x10], 0x200000
jmp 0x40a1fb
mov eax, dword [0x415c3c]
cmp eax, dword [ebp - 0x18]
je 0x40a1fb
push eax
call esi
test eax, eax
je 0x40a1fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a1fb
mov eax, dword [0x415c40]
cmp eax, dword [ebp - 0x18]
je 0x40a1fb
push eax
call esi
test eax, eax
je 0x40a1fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x415c38]
call esi
test eax, eax
je 0x40a217
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a219
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405463
leave
ret

Function at 0x710c6b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x7109ec
pop edi
add eax, eax
call fcn.00710c96
inc eax
xor dword [esi], edi
sub eax, eax
add esi, 1
mov eax, edx
cmp esi, ecx
jne fcn.00710c6b
mov edx, 0x80afcb47
ret
Function at 0x2e02bbff
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x218
cmp dword [ecx + 4], eax
jl 0x2e02bcbb
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [ecx + 0x83], bl
jne 0x2e02bc55
push 0x2e003604
lea eax, [ebp - 0x218]
push 0x26
push eax
call fcn.2e028862
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078468
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e056019
cmp word [ebp + 0x10], bx
jne 0x2e02bc64
movzx edi, word [ecx + 0x84]
jmp 0x2e02bc68
movzx edi, word [ebp + 0x10]
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jne 0x2e02bc75
mov esi, dword [ecx + 0x88]
xor edx, edx
dec eax
je 0x2e02bc89
dec eax
je 0x2e02bc85
dec eax
jne 0x2e02bc8c
push 4
pop edx
jmp 0x2e02bc8c
push 2
jmp 0x2e02bc82
xor edx, edx
inc edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x2e02bc9a
mov eax, dword [eax + 4]
jmp 0x2e02bc9d
add eax, 4
push ebx
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push ebx
push 1
push ebx
push esi
push edi
push edx
push dword [ecx + 0x8c]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x2e030992
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x2e0b3be4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x2e0309d6
call ebx
test eax, eax
jns 0x2e0309cc
push 0x2e0041d4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x2e0041c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x2e0b3be0], eax
mov dword [0x2e0b3be4], 1
mov eax, dword [0x2e0b3be0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x2e0309f2
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x2e030a22
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x2e030a18
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x2e030a0d
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x2e030a12
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x2e030a21
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x2e03116f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0xffffffff
jne 0x2e0311b6
push 0x2e0043b8
lea eax, [ebp - 0x21c]
push 0x15
push eax
call fcn.2e028862
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078468
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e056019
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x2e0311c8
mov esi, dword [eax + 4]
jmp 0x2e0311cb
lea esi, [eax + 4]
push 0
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2e031201
push 0x2e0043a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.2e02fdfb
jmp 0x2e031195
pop edi
pop esi
leave
ret 4

Function at 0x2e031373
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x2e03138e
mov eax, dword [esi]
jmp 0x2e031390
mov eax, esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x2e0313e3
cmp dword [edi + 0x18], 8
jb 0x2e0313a6
mov esi, dword [esi]
push dword [ebp + 0xc]
push esi
push 0x2e004440
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdfb
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x2e078468
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e056019
pop edi
pop esi
leave
ret 8

Function at 0x2e03140e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x2e031429
mov eax, dword [esi]
jmp 0x2e03142b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x2e0314a9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x2e031468
push 0x80
push edi
call fcn.2e031373
cmp dword [edi + 0x18], 8
jb 0x2e031459
mov eax, dword [esi]
jmp 0x2e03145b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x2e0314a8
call ebx
test eax, eax
je 0x2e0314a8
cmp dword [edi + 0x18], 8
jb 0x2e031474
mov esi, dword [esi]
push esi
push 0x2e0044b0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdfb
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e078468
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e056019
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x2e03153b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x18], 8
push esi
push edi
jb 0x2e031557
add ebx, 4
mov edi, dword [ebx]
jmp 0x2e03155c
add ebx, 4
mov edi, ebx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
jb 0x2e03156c
add esi, 4
mov eax, dword [esi]
jmp 0x2e031571
add esi, 4
mov eax, esi
xor ecx, ecx
cmp byte [ebp + 0x10], cl
sete cl
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
mov dword [ebp + 0x10], ecx
call edi
test eax, eax
jne 0x2e031621
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x2e0315d0
push 0x80
push dword [ebp + 0xc]
call fcn.2e031373
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x2e0315b4
mov ecx, dword [ebx]
jmp 0x2e0315b6
mov ecx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e0315c3
mov eax, dword [esi]
jmp 0x2e0315c5
mov eax, esi
push dword [ebp + 0x10]
push ecx
push eax
call edi
test eax, eax
jne 0x2e031621
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x2e0315db
mov ebx, dword [ebx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e0315e6
mov esi, dword [esi]
push ebx
push esi
push 0x2e0044cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdfb
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x2e078468
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e056019
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x2e0320d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x104
mov ecx, esi
call fcn.2e02e622
mov edi, dword [esi + 0x18]
push 0
mov ecx, esi
call fcn.2e02e49a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x2e03213e
push 0x2e004604
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdfb
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078468
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e056019
push 0
push eax
mov ecx, esi
call fcn.2e02e622
pop edi
pop esi
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e03255f
mov eax, dword [eax + 4]
jmp 0x2e032562
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x2e032572
xor al, al
jmp 0x2e032577
shr al, 4
and al, 1
pop ebp
ret 4