joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a8e9c90
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.2a87e2c6
push 0x62
push esi
mov edi, eax
mov ebx, 1
call sub.VCRUNTIME140.dll_strchr
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x2a8e9d35
push 0x48
push str.crypto_bio_bss_file.c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 1
push 2
call fcn.2a8d0840
push 0x2a9916a4
push esi
push 0x2a9b39b8
push dword [esp + 0x30]
push str.fopen_
push 5
call fcn.2a8cff50
add esp, 0x2c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [eax], 2
je 0x2a8e9d12
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [eax], 6
je 0x2a8e9d12
lea eax, [edi + 2]
lea ecx, [edi + 0x51]
jmp 0x2a8e9d1c
mov eax, 0x80
mov ecx, 0x4f
push ecx
push str.crypto_bio_bss_file.c
push eax
push 0x6d
push 0x20
call fcn.2a8d0840
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x2a9b3960
call fcn.2a8ce250
mov esi, eax
add esp, 4
test esi, esi
jne 0x2a8e9d57
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.2a8cdbf0
push edi
push ebx
push 0x6a
push esi
call fcn.2a8cdc20
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x10001b40
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
jne 0x10001bd8
push str.avifil32.dll
call fcn.1000512c
test al, al
jne 0x10001b5d
pop esi
ret
push str.AVIFileInit
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIFileExit
push dword [esi + 4]
mov dword [esi + 8], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIFileRelease
push dword [esi + 4]
mov dword [esi + 0xc], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIFileOpen
push dword [esi + 4]
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIStreamInfo
push dword [esi + 4]
mov dword [esi + 0x14], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIStreamOpenFromFile
push dword [esi + 4]
mov dword [esi + 0x18], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIStreamRelease
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 1
mov al, 1
pop esi
ret

Function at 0x10001c20
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
jne 0x10001cb8
push str.winmm.dll
call fcn.1000512c
test al, al
jne 0x10001c3d
pop esi
ret
push str.mmioInstallIOProcA
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioOpenA
push dword [esi + 4]
mov dword [esi + 8], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioClose
push dword [esi + 4]
mov dword [esi + 0xc], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioAscend
push dword [esi + 4]
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioRead
push dword [esi + 4]
mov dword [esi + 0x14], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioDescend
push dword [esi + 4]
mov dword [esi + 0x18], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mciSendCommandA
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 1
mov al, 1
pop esi
ret

Function at 0x10009670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp eax, 0x1a
jl 0x100096c8
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x100096c8
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push 0x10
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push dword [esi + 4]
push dword [esi]
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.1000512c
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4

Function at 0x10009c50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x401320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40132f
pop dword [ebp - 0x3c]
mov eax, 0x40132f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xe7cfb2b4
add dword [ebp - 0x4c], 0x66829297
mov dword [ebp - 0x48], 0x82e9cdfb
add dword [ebp - 0x48], 0xaf497e4a
mov dword [ebp - 0x44], 0x5da123ed
add dword [ebp - 0x44], 0xeeab2041
mov dword [ebp - 0x40], 0xe49a4770
add dword [ebp - 0x40], 0x1b65b890
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2ffc2dd4
add eax, 0xd04502c4
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x5d567b22
sub dword [ebp - 0x4c], 0xe8e411cc
mov dword [ebp - 0x48], 0x4ae130c6
add dword [ebp - 0x48], 0xf68b30af
mov dword [ebp - 0x44], 0x3fa0c168
sub dword [ebp - 0x44], 0xdc3154fc
mov dword [ebp - 0x40], 0x4fae5611
sub dword [ebp - 0x40], 0x4fae5611
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3672d
push 0
call eax
mov ecx, 0x20203da5
add ecx, 0xdfdfffa5
xor esi, esi
add esi, eax
mov edx, 0x6abfe4ac
add edx, 0x9581bf54
add edx, dword [ebp - 0x3c]
mov edi, 0xafe2ef28
add edi, 0x9eddf869
add dword [ebp - 4], edx
mov ebx, dword [edx]
add dword [ebp - 0x24], edi
add ebx, edi
sub dword [ebp - 4], ebx
mov dword [esi], ebx
xor dword [ebp - 0x2c], eax
add esi, 4
add edx, 0xb93d0137
sub edx, 0xb93d0133
loop 0x401449
add eax, 0xe7fb
mov ebx, eax
add eax, 0xae07cadd
add eax, 0x51f83528
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x407a60
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x34], 0
jne 0x407b30
push ebx
push esi
push str.mapi32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0xc
mov dword [edi + 0x18], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407ad0
xorps xmm0, xmm0
movq qword [ebx], xmm0
push str.MAPIFreeBuffer
mov dword [ebx + 8], 0
push dword [edi + 0x18]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
jmp 0x407ad2
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 0x24], eax
call esi
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 0x28], eax
call esi
push str.MAPIAdminProfiles
push dword [edi + 0x18]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
pop esi
pop ebx
test eax, eax
je 0x407b30
cmp dword [edi + 0x28], 0
je 0x407b30
cmp dword [edi + 0x2c], 0
je 0x407b30
push 0
call eax
mov dword [edi + 0x14], eax
test eax, eax
js 0x407b30
mov dword [edi + 0x34], 1
pop edi
ret
Function at 0x10003520
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.10007c60
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1000c728]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1000c690]
cmp eax, dword [ecx + 4]
jg 0x10003647
mov eax, dword [0x1000c68c]
test eax, eax
jne 0x100035fa
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x10003634
mov eax, dword [ebp - 0x1008]
cmp eax, 0x1000
jbe 0x100035a9
mov eax, 0x1000
mov dword [ebp - 0x1008], eax
push esi
xor esi, esi
test eax, 0xfffffffc
jbe 0x10003620
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
nop dword [eax + eax]
lea edi, [ebp - 0x1004]
push str.ReShadeRegisterAddon
push dword [edi + esi*4]
lea edi, [edi + esi*4]
call ebx
test eax, eax
je 0x100035e4
push str.ReShadeUnregisterAddon
push dword [edi]
call ebx
test eax, eax
jne 0x10003608
mov eax, dword [ebp - 0x1008]
inc esi
shr eax, 2
cmp esi, eax
jb 0x100035c0
mov eax, dword [0x1000c68c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007c52
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
pop edi
pop ebx
mov dword [0x1000c68c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007c52
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1000c68c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007c52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x1000c68c]
xor ecx, ebp
call fcn.10007c52
mov esp, ebp
pop ebp
ret
push 0x1000c690
call fcn.10007bee
add esp, 4
cmp dword [0x1000c690], 0xffffffff
jne 0x10003557
mov eax, dword [ebp + 8]
push 0x1000c690
mov dword [0x1000c68c], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003557
Function at 0x10001d60
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
jne 0x10001de0
push str.winmm.dll
call fcn.10001f55
test al, al
jne 0x10001d79
pop esi
ret
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioInstallIOProcA
push dword [esi + 4]
call edi
push str.mmioOpenA
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.mmioClose
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push str.mmioAscend
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.mmioRead
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push str.mmioDescend
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push str.mciSendCommandA
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 1
pop edi
mov al, 1
pop esi
ret

Function at 0x100051a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10014d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0xe8], eax
jne 0x100051d1
cmp dword [esi + 0xec], edi
je 0x100052bb
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
mov dword [esi + 0xe8], eax
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x30]
mov dword [esi + 0xec], edi
mov dword [ebp - 8], edi
call fcn.10001f55
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
sete byte [ebp - 0x25]
and dword [ebp - 0x2c], 0
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x10005226
push 0
push dword [esi + 4]
call ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa4]
mov ecx, dword [esi + 0x98]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 0xa0]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x491
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x10005270
mov ecx, esi
call fcn.10001f55
cmp dword [ebp - 0x2c], 0
je 0x1000527d
push 1
push dword [esi + 4]
call ebx
cmp byte [ebp - 0x25], 0
pop ebx
je 0x1000528d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100052bb
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xa0]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10009710
leave
ret 8

Function at 0x100089c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x10008de5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push edi
mov edi, ecx
cmp eax, 0x1a
jl 0x10008e3e
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x10008e3e
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x18]
call ebx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.10001f55
push 1
push dword [edi + 0x18]
call ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x10009710
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014d34]
jne 0x1000971a
repz ret
jmp fcn.10009ea3
Function at 0x7813480f
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
xor ebx, ebx
push ebx
push ebx
mov ebp, str.__MSVCRT_HEAP_SELECT
push ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x78134961
push esi
push ebx
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x7813495f
push esi
push ebx
push ebp
call edi
test eax, eax
mov ebp, dword [sym.imp.kernel32.dll_HeapFree]
jbe 0x78134953
cmp eax, esi
ja 0x78134953
cmp byte [ebx], 0
mov ecx, ebx
je 0x78134889
mov al, byte [ecx]
cmp al, 0x61
jl 0x78134883
cmp al, 0x7a
jg 0x78134883
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x78134875
push 0x16
push ebx
push str.__GLOBAL_HEAP_SELECTED
call fcn.7817fa51
add esp, 0xc
test eax, eax
jne 0x781348a1
mov edi, ebx
jmp 0x781348fc
push 0x105
push 8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x78134953
push 3
push esi
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
cmp byte [esi], 0
mov ecx, esi
je 0x781348e5
mov al, byte [ecx]
cmp al, 0x61
jl 0x781348df
cmp al, 0x7a
jg 0x781348df
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x781348d1
push esi
push ebx
call sym.MSVCR80.dll_strstr
pop ecx
pop ecx
push esi
push 0
mov edi, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
test edi, edi
je 0x78134953
push 0x2c
push edi
call sym.MSVCR80.dll_strchr
test eax, eax
pop ecx
pop ecx
je 0x78134953
inc eax
cmp byte [eax], 0x20
je 0x7813490e
mov cl, byte [eax]
xor esi, esi
cmp cl, 0x30
jl 0x78134953
cmp cl, 0x39
jg 0x78134934
imul esi, esi, 0xa
movsx ecx, cl
inc eax
lea esi, [esi + ecx - 0x30]
mov cl, byte [eax]
cmp cl, 0x30
jge 0x7813491d
cmp esi, 2
je 0x78134943
cmp esi, 3
je 0x78134943
cmp esi, 1
jne 0x78134953
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
mov eax, esi
jmp 0x781349c1
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
call sym.MSVCR80.dll__get_osplatform
test eax, eax
pop ecx
je 0x7813497d
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
lea eax, [esp + 0x14]
push eax
call sym.MSVCR80.dll__get_winmajor
test eax, eax
pop ecx
je 0x78134999
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
cmp dword [esp + 0x10], 2
jne 0x781349ac
cmp dword [esp + 0x14], 5
jb 0x781349ac
xor eax, eax
inc eax
jmp 0x781349c1
lea eax, [esp + 0x18]
push eax
call fcn.781347e2
cmp byte [esp + 0x1c], 6
pop ecx
sbb eax, eax
add eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x78138894
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.MSVCR80.dll__invalid_parameter

Function at 0x78139847
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x781c19c8]
jne 0x78139851
repz ret
jmp sym.MSVCR80.dll___report_gsfailure
Function at 0x7815472c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78154759
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.7817fa51
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x78154735
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78154788
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
call sym.MSVCR80.dll__errno
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x781547af
test al, 1
je 0x781547af
test byte [esp + 0xc], 2
je 0x781547af
call sym.MSVCR80.dll___doserrno
mov dword [eax], 5
call sym.MSVCR80.dll__errno
mov dword [eax], 0xd
jmp 0x7815477f
xor eax, eax
pop esi
ret

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78154a7e
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.7817fa51
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78154a9c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
jmp 0x78154a79
test byte [esp + 0xc], 0x80
je 0x78154aa8
and eax, 0xfffffffe
jmp 0x78154aab
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x78154a8d
xor eax, eax
pop esi
ret

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78155cca
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.7817fa51
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x78155ca6
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78155cf9
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
call sym.MSVCR80.dll__errno
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x78155d20
test al, 1
je 0x78155d20
test byte [esp + 0xc], 2
je 0x78155d20
call sym.MSVCR80.dll___doserrno
mov dword [eax], 5
call sym.MSVCR80.dll__errno
mov dword [eax], 0xd
jmp 0x78155cf0
xor eax, eax
pop esi
ret
Function at 0x78155e6a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78155e97
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.7817fa51
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78155eb5
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
jmp 0x78155e92
test byte [esp + 0xc], 0x80
je 0x78155ec1
and eax, 0xfffffffe
jmp 0x78155ec4
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x78155ea6
xor eax, eax
pop esi
ret

Function at 0x7817fa51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x7817fa60
pop dword [ebp - 0x4c]
mov eax, 0x65e4d6f0
add eax, 0x12332370
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4602a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xbd4ebd92
sub ecx, 0xbd4e669d
xor esi, esi
add esi, eax
mov edx, 0x781cb000
add edx, dword [ebp - 0x4c]
mov edi, 0x4964ff06
sub edi, 0xe53a45ec
add dword [ebp - 4], ebx
mov ebx, dword [edx]
xor ebx, edi
xor dword [ebp - 8], ebx
mov dword [esi], ebx
add dword [ebp - 0x18], 0x8cc64193
add esi, 0x837fdc96
sub esi, 0x837fdc92
add edx, 0x603a075f
sub edx, 0x603a075b
loop 0x7817fab6
add eax, 0x14a91f80
sub eax, 0x14a7d0d9
mov ebx, eax
add eax, 0xced17f2c
sub eax, 0xced17f27
mov ecx, 0xbd916f9
sub ecx, 0x93c616f9
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1001a870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001a87f
pop dword [ebp - 0x14]
mov eax, 0x1001a87f
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x34abb
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x40f77e0c
sub ecx, 0x40f748ad
mov edx, eax
mov edi, 0xbe46d5cf
sub edi, 0xae4055cf
add edi, dword [ebp - 0x14]
mov esi, 0x68a2bf49
sub esi, 0xeaaf901c
sub dword [ebp - 0x10], edi
mov ebx, dword [edi]
xor dword [ebp - 4], 0xc5babb0d
add ebx, esi
add dword [ebp - 4], eax
mov dword [edx], ebx
xor dword [ebp - 4], edi
add edx, 4
add edi, 0x67d7b839
sub edi, 0x67d7b835
loop 0x1001a8d4
add eax, 0xfd17b483
add eax, 0x2e913cc
mov ebx, eax
add eax, 0x3a239634
sub eax, 0x3a23962f
mov ecx, 0x2c695722
sub ecx, 0x1c695722
add ecx, dword [ebp - 0x14]
call ebx
leave
ret