joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e057521
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x103]
push ebx
push eax
mov dword [ebp - 0x4ac], esi
mov byte [ebp - 0x491], 0xa
mov dword [ebp - 0x4a0], ebx
mov byte [ebp - 0x104], bl
call fcn.2e01b598
push 0x209
lea eax, [ebp - 0x30f]
push ebx
push eax
mov byte [ebp - 0x310], bl
call fcn.2e01b598
mov eax, dword [esi + 0x28]
add esp, 0x18
push ebx
mov dword [ebp - 0x4a8], eax
push 0x20a
lea eax, [ebp - 0x310]
push eax
push edi
mov dword [ebp - 0x49c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push edi
call fcn.2e07ddf3
push ebx
push 0x8000000
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x498], eax
cmp eax, ebx
jne 0x2e0575e0
mov eax, 0x80044200
jmp 0x2e057756
cmp dword [ebp - 0x4a8], ebx
jle 0x2e057744
mov edi, 0x100
jmp 0x2e0575f9
mov esi, dword [ebp - 0x4ac]
lea eax, [ebp - 0x48c]
push eax
push 8
push dword [ebp - 0x49c]
push esi
call fcn.2e09f4ef
mov eax, dword [ebp - 0x3dc]
mov ecx, dword [ebp - 0x3e0]
add dword [ebp - 0x49c], ecx
lea esi, [eax + ecx*2]
mov dword [ebp - 0x490], eax
cmp eax, esi
jae 0x2e057709
mov ecx, dword [ebp - 0x490]
cmp word [ecx], 0xd
jne 0x2e0576b4
push ebx
push edi
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x490]
sub ecx, eax
sar ecx, 1
inc ecx
push ecx
push eax
call fcn.2e07ddf3
mov dword [ebp - 0x4a4], ebx
cmp eax, edi
ja 0x2e05771d
push ebx
lea ecx, [ebp - 0x4a4]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x2e05771d
push ebx
lea eax, [ebp - 0x4a4]
push eax
push 1
lea eax, [ebp - 0x491]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x2e05771d
mov eax, dword [ebp - 0x490]
add eax, 2
add dword [ebp - 0x490], 2
cmp dword [ebp - 0x490], esi
jb 0x2e057631
cmp eax, esi
jae 0x2e057709
push ebx
push edi
sub esi, eax
lea ecx, [ebp - 0x104]
push ecx
sar esi, 1
push esi
push eax
mov dword [ebp - 0x490], ebx
call fcn.2e07ddf3
push ebx
lea ecx, [ebp - 0x490]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x490], esi
jb 0x2e057729
mov eax, dword [ebp - 0x4a8]
cmp dword [ebp - 0x49c], eax
jl 0x2e0575f3
jmp 0x2e057744
mov dword [ebp - 0x4a0], 0x8003001d
jmp 0x2e057744
xor eax, eax
cmp dword [ebp - 0x490], 0xffffffff
setne al
dec eax
and eax, 0xffffffad
add eax, 0x80030070
mov dword [ebp - 0x4a0], eax
push dword [ebp - 0x498]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4a0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret 8
Function at 0x2e057767
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0xd
pop eax
push 0xa
mov word [ebp - 0x3a0], ax
pop eax
mov word [ebp - 0x39e], ax
mov eax, dword [esi + 0x28]
xor ebx, ebx
push ebx
mov dword [ebp - 0x3a4], eax
push 0x20a
lea eax, [ebp - 0x210]
push eax
push edi
mov dword [ebp - 0x3ac], esi
mov dword [ebp - 0x39c], ebx
mov dword [ebp - 0x3b0], 0xfeff
mov dword [ebp - 0x398], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push edi
call fcn.2e07ddf3
push ebx
push 0x8000000
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x394], eax
cmp eax, ebx
jne 0x2e05780a
mov eax, 0x80044200
jmp 0x2e05795f
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [ebp - 0x3b4]
push ecx
push 2
lea ecx, [ebp - 0x3b0]
push ecx
push eax
mov dword [ebp - 0x3b4], ebx
call edi
test eax, eax
je 0x2e057926
cmp dword [ebp - 0x3a4], ebx
jle 0x2e05794d
jmp 0x2e057846
mov esi, dword [ebp - 0x3ac]
lea eax, [ebp - 0x38c]
push eax
push 8
push dword [ebp - 0x398]
push esi
call fcn.2e09f4ef
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp - 0x2e0]
add dword [ebp - 0x398], ecx
lea esi, [eax + ecx*2]
mov dword [ebp - 0x390], eax
cmp eax, esi
jae 0x2e057912
mov ecx, dword [ebp - 0x390]
cmp word [ecx], 0xd
jne 0x2e0578d8
push ebx
lea ecx, [ebp - 0x3a8]
push ecx
mov ecx, dword [ebp - 0x390]
sub ecx, eax
sar ecx, 1
add ecx, ecx
push ecx
push eax
push dword [ebp - 0x394]
mov dword [ebp - 0x3a8], ebx
call edi
test eax, eax
je 0x2e057926
push ebx
lea eax, [ebp - 0x3a8]
push eax
push 4
lea eax, [ebp - 0x3a0]
push eax
push dword [ebp - 0x394]
call edi
test eax, eax
je 0x2e057926
mov eax, dword [ebp - 0x390]
add eax, 2
add dword [ebp - 0x390], 2
cmp dword [ebp - 0x390], esi
jb 0x2e05787e
cmp eax, esi
jae 0x2e057912
push ebx
sub esi, eax
lea ecx, [ebp - 0x390]
push ecx
sar esi, 1
lea ecx, [esi + esi]
push ecx
push eax
push dword [ebp - 0x394]
mov dword [ebp - 0x390], ebx
call edi
cmp dword [ebp - 0x390], esi
jb 0x2e057932
mov eax, dword [ebp - 0x3a4]
cmp dword [ebp - 0x398], eax
jl 0x2e057840
jmp 0x2e05794d
mov dword [ebp - 0x39c], 0x8003001d
jmp 0x2e05794d
xor eax, eax
cmp dword [ebp - 0x390], 0xffffffff
setne al
dec eax
and eax, 0xffffffad
add eax, 0x80030070
mov dword [ebp - 0x39c], eax
push dword [ebp - 0x394]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x39c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret 8
Function at 0x2e057b6f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1080
call fcn.2e01bfd4
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x1070], esi
mov dword [ebp - 0x107c], esi
mov dword [ebp - 0x1078], esi
mov dword [ebp - 0x1080], esi
call fcn.2e01b598
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, esi
je 0x2e057bf1
xor ecx, ecx
cmp cx, word [eax]
je 0x2e057be8
push esi
push esi
push esi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.2e0234bc
jmp 0x2e057bf1
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x107c]
push eax
push esi
push 0x4001012
push esi
call dword [sym.imp.ole32.dll_StgCreateDocfile]
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d68
mov eax, dword [ebp - 0x107c]
mov ecx, dword [eax]
lea edx, [ebp - 0x1078]
push edx
push esi
push esi
push 0x12
push dword [0x2e10b9cc]
push eax
call dword [ecx + 0xc]
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d68
mov eax, dword [edi + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1080]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 0x40
inc eax
inc eax
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1080]
push dword [ebp - 0x1078]
push edi
call fcn.2e0b26d6
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d68
mov eax, dword [ebp - 0x1078]
mov edi, dword [eax]
push esi
push esi
xor ecx, ecx
push ecx
xor edx, edx
push edx
push eax
call dword [edi + 0x14]
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d68
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.2e07e09c
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x106c]
push eax
call fcn.2e08bf01
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d68
push ebx
lea eax, [ebp - 0x1070]
push eax
push 0x21
lea eax, [ebp - 0x106c]
push eax
call fcn.2e08673f
mov ebx, eax
cmp ebx, esi
je 0x2e057d67
mov dword [ebp - 0x1074], esi
xor edi, edi
mov eax, dword [ebp - 0x1078]
mov ecx, dword [eax]
lea edx, [ebp - 0x1074]
push edx
push 0x800
lea edx, [ebp - 0xe20]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d61
cmp dword [ebp - 0x1074], esi
je 0x2e057d56
push 0xffffffffffffffff
push dword [ebp - 0x1074]
lea eax, [ebp - 0xe20]
push eax
push edi
push ebx
call fcn.2e08bcac
cmp eax, esi
mov dword [ebp - 0x1070], eax
jl 0x2e057d61
add edi, dword [ebp - 0x1074]
cmp dword [ebp - 0x1074], esi
ja 0x2e057cf7
mov eax, dword [ebx]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call fcn.2e085c8f
pop ebx
lea eax, [ebp - 0x1080]
push eax
call fcn.2e07ea3f
lea eax, [ebp - 0x1078]
push eax
call fcn.2e07ea3f
lea eax, [ebp - 0x107c]
push eax
call fcn.2e07ea3f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1070]
pop edi
xor ecx, ebp
pop esi
call fcn.2e01bfc6
leave
ret 0xc
Function at 0x2e0653a1
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [eax]
push 8
xor ebx, ebx
pop eax
inc ebx
cmp ax, word [ecx + 0xe]
mov dword [ebp - 8], esi
sbb eax, eax
and eax, 4
inc eax
inc eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x60], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push edi
push esi
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.2e094a28
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.2e094634
lea eax, [ebp - 0x20]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.2e063fac
push 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x2e06548b
inc dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push 1
push eax
call ebx
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push 1
push eax
call ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.2e094a28
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.2e094634
lea eax, [ebp - 0x20]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.2e063fac
push 2
push 1
push dword [ebp - 0x58]
call ebx
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x18]
imul ecx, dword [ebp + 0xc]
cmp ecx, eax
jg 0x2e06542b
mov eax, dword [ebp - 4]
cmp eax, 1
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jle 0x2e0654c0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
or dword [ebp - 0x10], 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x2e06fbe9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x2e06fc4c
push 0x6c
push 0
push dword [ebp + 0xc]
call fcn.2e01b598
add esp, 0xc
push 0
lea eax, [ebp + 8]
push eax
push 0x6c
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x2e06fc45
cmp dword [ebp + 8], 0x6c
jb 0x2e06fc45
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x2e06fc51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
pop edi
pop ebp
ret 8
Function at 0x2e06fc56
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
xor eax, eax
cmp ebx, esi
je 0x2e06fcdb
push edi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [ebp + 0xc]
push eax
push 0x12
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x2e06fcd8
cmp dword [ebp + 0xc], 0x12
jb 0x2e06fcd8
movzx eax, word [ebp - 0x26]
push esi
push esi
add eax, eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x22]
movzx esi, word [ebp - 0x26]
add eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add eax, eax
xor ecx, ecx
push eax
add esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
call fcn.2e01c565
mov edi, eax
pop ecx
test edi, edi
jne 0x2e06fdb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x2e06fdca
cmp dword [ebp + 0xc], 4
jb 0x2e06fdca
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x14], eax
jb 0x2e06fdca
push 0
lea edx, [ebp + 0xc]
push edx
lea eax, [eax + eax - 4]
push eax
lea ecx, [edi + 4]
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x2e06fdca
mov ecx, dword [ebp - 4]
cmp dword [ebp + 0xc], ecx
jb 0x2e06fdca
movzx eax, word [edi + 4]
mov edx, 0x103
cmp ax, dx
jne 0x2e06fd58
movzx edx, word [edi + 6]
mov dword [ebx + 0x10], edx
mov edx, 0x20b
cmp ax, dx
jne 0x2e06fd79
mov dx, word [edi + 8]
mov word [ebx + 6], dx
mov dx, word [edi + 6]
mov word [ebx + 8], dx
mov dword [ebp - 8], 1
mov edx, 0x20c
cmp ax, dx
jne 0x2e06fda2
mov ax, word [edi + 8]
add ax, word [ebx + 6]
mov dword [ebp - 0xc], 1
mov word [ebx + 0xa], ax
mov ax, word [edi + 6]
add ax, word [ebx + 8]
mov word [ebx + 0xc], ax
cmp dword [ebp - 8], 0
lea esi, [esi + ecx + 4]
je 0x2e06fdb2
cmp dword [ebp - 0xc], 0
jne 0x2e06fdbb
cmp esi, dword [ebp - 0x10]
jb 0x2e06fce1
push edi
call fcn.2e01bfff
xor eax, eax
pop ecx
inc eax
jmp 0x2e06fcda
push edi
call fcn.2e01bfff
pop ecx
jmp 0x2e06fcd8
Function at 0x2e073648
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x2e073678
cmp dword [ebp + 0xc], ebx
jne 0x2e073678
mov eax, 0x80004005
jmp 0x2e073750
cmp byte [ebp + 0x10], bl
jne 0x2e0736fc
cmp dword [esi + 0x58], ebx
jne 0x2e0736a5
push 0x20a
call fcn.2e01c565
pop ecx
mov dword [esi + 0x58], eax
cmp eax, ebx
jne 0x2e07369e
mov eax, 0x8007000e
jmp 0x2e073750
mov dword [esi + 0x5c], 0x105
lea eax, [ebp - 0x318]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x2e0736f5
push dword [esi + 0x58]
lea eax, [ebp - 0x318]
push ebx
push 0x2e006a24
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x2e0736f5
push 0x100
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp edi, ebx
je 0x2e07374e
push dword [ebp + 0xc]
push edi
push dword [esi + 0x58]
call fcn.2e07a7e1
jmp 0x2e07374e
mov eax, 0x80070005
jmp 0x2e073750
mov esi, 0x104
push esi
lea eax, [ebp - 0x10b]
push ebx
push eax
mov byte [ebp - 0x10c], bl
call fcn.2e01b598
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x2e0736f5
push edi
push ebx
push 0x2e006a1c
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x2e0736f5
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret 0xc

Function at 0x2e074578
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.2e074030
push dword [esi + 0x70]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x60], eax
test eax, eax
je 0x2e074609
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x2e074609
push 0x100
push 0x20
push 0x8000
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.2e0e35ce
add esp, 0x14
cmp dword [ebp - 4], 0
jl 0x2e0745ec
push dword [esi + 0x70]
push edi
push dword [ebp - 4]
call fcn.2e0e2ce6
add esp, 0xc
cmp eax, dword [esi + 0x70]
jl 0x2e0745ec
push dword [ebp - 4]
call fcn.2e06f7f4
mov eax, dword [esi + 0x70]
mov dword [esi + 0x64], eax
pop ecx
xor eax, eax
jmp 0x2e074620
push dword [ebp - 4]
call fcn.2e06f7f4
pop ecx
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [esi + 0x60], 0
mov eax, 0x80070005
jmp 0x2e074620
mov eax, dword [esi + 0x60]
test eax, eax
je 0x2e07461b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [esi + 0x60], 0
mov eax, 0x8007000e
pop edi
pop esi
leave
ret 4
Function at 0x2e078982
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x2e07898c
lea esi, [ecx - 0x78]
jmp 0x2e07898e
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x2e0789aa
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x2e07ce48
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.2e07c992
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor eax, eax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
push 2
lea eax, [ebp - 0x10]
push eax
push 0xe
mov edi, 0x400
push edi
call esi
xor ebx, ebx
push ebx
push 3
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xe], bl
call fcn.2e07de85
mov ax, word [ebp - 0xc]
push 2
mov word [0x2e111978], ax
lea eax, [ebp - 0x10]
push eax
push 0xf
push edi
call esi
push ebx
push 3
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xe], bl
call fcn.2e07de85
mov ax, word [ebp - 0xc]
mov word [0x2e11197a], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x2e111f68], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push ebx
push ebx
mov dword [0x2e111f6c], eax
call fcn.2e0bcfc0
mov dword [0x2e111708], eax
mov eax, 0xfffe
and word [0x2e11170c], ax
cmp dword [0x2e111fa4], ebx
jne 0x2e07cf97
push dword [0x2e111f68]
call fcn.2e07ce30
test eax, eax
je 0x2e07cf1e
mov eax, dword [0x2e111f68]
jmp 0x2e07cf92
push dword [0x2e111f6c]
call fcn.2e07ce30
test eax, eax
je 0x2e07cf34
mov eax, dword [0x2e111f6c]
jmp 0x2e07cf92
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
push 0x3b6
call esi
test eax, eax
je 0x2e07cf51
mov dword [0x2e111fa4], 0x404
jmp 0x2e07cf97
push 0x3a8
call esi
test eax, eax
je 0x2e07cf68
mov dword [0x2e111fa4], 0x804
jmp 0x2e07cf97
push 0x3a4
call esi
test eax, eax
je 0x2e07cf7f
mov dword [0x2e111fa4], 0x411
jmp 0x2e07cf97
push 0x3b5
call esi
neg eax
sbb eax, eax
and eax, 0xe
add eax, 0x404
mov dword [0x2e111fa4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret
Function at 0x2e087a3c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x134]
xor ebx, ebx
push edi
mov dword [esi], 0x2e0082a4
cmp ecx, ebx
je 0x2e087a84
push ebx
call fcn.2e0a1365
mov eax, dword [esi + 0x134]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 0x134]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x148]
cmp eax, ebx
je 0x2e087a96
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
lea edi, [esi + 0x154]
mov eax, dword [edi]
cmp eax, ebx
je 0x2e087ab0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi]
call fcn.2e0199bc
lea edi, [esi + 0x16c]
cmp word [edi], bx
je 0x2e087aff
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.2e01b598
add esp, 0xc
push ebx
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push edi
call fcn.2e07ddf3
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi + 0xa4]
push eax
call fcn.2e07ea3f
add esi, 0x160
push esi
call fcn.2e07ea3f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret
Function at 0x2e08991c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
lea esi, [eax + 0x16c]
xor ebx, ebx
push edi
mov edi, 0x104
cmp word [esi], bx
je 0x2e089986
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.2e01b598
add esp, 0xc
push ebx
push edi
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
call fcn.2e07ddf3
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x2e0899aa
cmp esi, ebx
je 0x2e0899aa
xor ecx, ecx
cmp cx, word [eax]
je 0x2e0899a5
push ebx
push ebx
push ebx
push eax
push edi
push esi
call fcn.2e0234bc
jmp 0x2e0899aa
xor eax, eax
mov word [esi], ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret 4
Function at 0x2e08babe
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x209
lea eax, [ebp - 0x20f]
push ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.2e01b598
add esp, 0xc
mov dword [ebp - 0x214], ebx
cmp word [esi + 0x40], bx
jne 0x2e08bb0a
mov eax, 0x80030003
jmp 0x2e08bb70
add esi, 0x42
test byte [0x2e111974], 0x80
jne 0x2e08bb1f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x2e08bb48
push ebx
push 0x20a
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
call fcn.2e07ddf3
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x2e08bb61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.2e08b9ca
mov dword [ebp - 0x214], eax
jmp 0x2e08bb6a
cmp edi, ebx
je 0x2e08bb6a
movzx eax, al
mov dword [edi], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret 8

Function at 0x2e08bcac
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [eax]
cmp dword [ebp + 0x18], ebx
jne 0x2e08bce1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jge 0x2e08bcc9
mov eax, ecx
cmp dword [ebp + 0xc], eax
jl 0x2e08bce1
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
call fcn.2e01b598
add esp, 0xc
xor eax, eax
jmp 0x2e08bd53
push edi
push ebx
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp + 0x14]
push ebx
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0x10]
push dword [esi + 0x20]
cmp dword [ebp + 0x18], ebx
je 0x2e08bd0c
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x2e08bd12
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x2e08bd24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.2e08b9ca
jmp 0x2e08bd52
cmp dword [ebp + 8], edi
je 0x2e08bd3a
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x52
add eax, 0x8003001e
jmp 0x2e08bd52
cmp dword [ebp + 0x18], ebx
je 0x2e08bd50
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1c]
add eax, edi
cmp ecx, eax
jle 0x2e08bd4d
mov eax, ecx
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14