joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x870
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x420333
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
call fcn.0041fc70
add esp, 0xc
test eax, eax
jne 0x420329
push esi
push edi
lea edi, [ebx + 8]
mov ecx, 0x45f664
mov eax, edi
jmp 0x4202c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4202e6
test dx, dx
je 0x4202e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4202e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4202c0
xor eax, eax
jmp 0x4202eb
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42030e
push edi
call fcn.00421020
add esp, 4
test eax, eax
je 0x42030e
push edi
call fcn.00421040
add esp, 4
push edi
call esi
mov ecx, dword [ebp + 8]
push ecx
call esi
pop edi
pop esi
test eax, eax
je 0x420329
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor eax, eax
pop ebx
pop ebp
ret
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
or eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x420e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 0x11
lea edx, [ebp - 0x28]
push edx
push 0x45f664
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x420ea3
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
push str._I64d
push ecx
call dword [sym.imp.MSVCR100.dll_swscanf_s]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret

Function at 0x420ec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edx
push 0x11
lea edx, [ebp - 0x28]
push edx
push 0x45f664
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x420f20
push esi
add esi, 4
push esi
lea eax, [ebp - 0x28]
push str._08x_08x
push eax
call dword [sym.imp.MSVCR100.dll_swscanf_s]
add esp, 0x10
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004534b8
mov esp, ebp
pop ebp
ret

Function at 0x421040
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x42105d
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop ebp
ret
Function at 0x421170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0
push esi
mov dword [ebp - 0x424], ebx
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
je 0x421387
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4211d7
pop esi
or eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 0x418]
push ecx
push 2
lea edx, [ebp - 0x41c]
push edx
mov eax, 0xfeff
push esi
mov word [ebp - 0x41c], ax
call edi
push 0
lea eax, [ebp - 0x418]
push eax
push 0x76
push str._r_n
push esi
call edi
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push ebx
push 0
call fcn.004210a0
push eax
push str.__s_r_n
lea edx, [ebp - 0x20c]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
lea eax, [ebp - 0x20c]
add esp, 0x20
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x421250
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 0x418]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x20c]
push eax
push esi
call edi
push 0
lea ecx, [ebp - 0x418]
push ecx
push 0x76
push str._r_n
push esi
call edi
push 0
lea edx, [ebp - 0x418]
push edx
push 0x5a
push str._This_file_has_been_created_automatically._r_n
push esi
call edi
push 0
lea eax, [ebp - 0x418]
push eax
push 0x26
push str._DO_NOT_MODIFY___r_n
push esi
call edi
push 0
lea ecx, [ebp - 0x418]
push ecx
push 0x76
push str._r_n
push esi
call edi
push 0x104
lea edx, [ebp - 0x414]
push edx
push ebx
push 1
mov dword [ebp - 0x420], 1
call fcn.004210a0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x42137f
lea ecx, [ecx]
push 0
lea eax, [ebp - 0x418]
push eax
push 4
push 0x45f7dc
push esi
call edi
push ebx
push str._s_r_n
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
lea eax, [ebp - 0x20c]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x421327
sub eax, ecx
push 0
sar eax, 1
lea edx, [ebp - 0x418]
push edx
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
call edi
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x424]
push 0x104
lea edx, [ebp - 0x414]
push edx
inc eax
push ecx
push eax
mov dword [ebp - 0x420], eax
call fcn.004210a0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4212f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004534b8
mov esp, ebp
pop ebp
ret
Function at 0x4234e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
jne 0x423511
lea eax, [esi + 0x68]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
movzx eax, word [esi]
push edi
add eax, 0x41
push eax
lea ecx, [ebp - 0xa4]
push str.._c:
push ecx
call dword [sym.imp.MSVCR100.dll__swprintf]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42356a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ebx, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], ebx
je 0x42358c
mov ecx, dword [esi + 4]
push 0x200
lea eax, [esi + 8]
push eax
shl ecx, 9
push 0
push ecx
push edi
call fcn.00422c80
add esp, 0x14
jmp 0x4235bc
mov edx, dword [esi + 4]
push 0
push 0
shl edx, 9
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4235c0
push 0
lea eax, [ebp - 0xa8]
push eax
push 0x200
add esi, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4235c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
je 0x4235d3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004534b8
mov esp, ebp
pop ebp
ret
Function at 0x423700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa8], 0
test esi, esi
jne 0x423737
lea eax, [esi + 0x68]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push ebx
mov bl, byte [esi]
push edi
lea eax, [ebp - 0xb0]
movzx edi, bl
push eax
push edi
call fcn.004235f0
add esp, 8
test eax, eax
jne 0x4237e2
mov cx, word [esi + 2]
cmp cx, word [ebp - 0xb0]
jae 0x42389b
mov dx, word [ebp - 0xae]
cmp word [esi + 4], dx
jae 0x42389b
mov ax, word [ebp - 0xac]
cmp word [esi + 6], ax
ja 0x42389b
cmp bl, 0x80
jb 0x4237a0
add edi, 0xffffff80
push edi
push str..PHYSICALDRIVE_d
lea ecx, [ebp - 0xa4]
push ecx
jmp 0x4237b0
add edi, 0x41
push edi
push str.._c:
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.MSVCR100.dll__swprintf]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4237f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov dword [ebp - 0xa8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
movzx edx, word [ebp - 0xac]
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
imul ecx, edx
movzx edx, word [ebp - 0xae]
imul eax, edx
add ecx, eax
cmp dword [ebp + 0xc], 0
movzx eax, word [esi + 6]
lea eax, [ecx + eax - 1]
je 0x42383c
push 0x200
add esi, 8
push esi
push 0
push eax
push edi
call fcn.00422c80
add esp, 0x14
jmp 0x423869
push 0
push 0
shl eax, 9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42386d
push 0
lea ecx, [ebp - 0xb4]
push ecx
push 0x200
add esi, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x423879
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
test edi, edi
je 0x423884
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa8]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebp - 0xa8], 0x4e21
mov eax, dword [ebp - 0xa8]
pop ebx
xor ecx, ebp
pop esi
call fcn.004534b8
mov esp, ebp
pop ebp
ret
Function at 0x4238c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa8], 0
test esi, esi
jne 0x4238f7
lea eax, [esi + 0x68]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push ebx
mov bl, byte [esi]
push edi
lea eax, [ebp - 0xb0]
movzx edi, bl
push eax
push edi
call fcn.004235f0
add esp, 8
test eax, eax
jne 0x4239a2
mov cx, word [esi + 2]
cmp cx, word [ebp - 0xb0]
jae 0x423a3e
mov dx, word [ebp - 0xae]
cmp word [esi + 4], dx
jae 0x423a3e
mov ax, word [ebp - 0xac]
cmp word [esi + 6], ax
ja 0x423a3e
cmp bl, 0x80
jb 0x423960
add edi, 0xffffff80
push edi
push str..PHYSICALDRIVE_d
lea ecx, [ebp - 0xa4]
push ecx
jmp 0x423970
add edi, 0x41
push edi
push str.._c:
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.MSVCR100.dll__swprintf]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0x40000000
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4239b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov dword [ebp - 0xa8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
movzx ecx, word [esi + 4]
movzx edx, word [ebp - 0xac]
movzx eax, word [esi + 2]
imul ecx, edx
movzx edx, word [ebp - 0xae]
imul eax, edx
add ecx, eax
movzx eax, word [esi + 6]
push 0
lea eax, [ecx + eax - 1]
push 0
shl eax, 9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x423a10
push 0
lea ecx, [ebp - 0xb4]
push ecx
push 0x200
add esi, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x423a1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
test edi, edi
je 0x423a27
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa8]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebp - 0xa8], 0x57
mov eax, dword [ebp - 0xa8]
pop ebx
xor ecx, ebp
pop esi
call fcn.004534b8
mov esp, ebp
pop ebp
ret
Function at 0x424e30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46b3b0], 0
je 0x424e40
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
jne 0x424e4c
or eax, 0xffffffff
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x46b3b0], eax
test eax, eax
jne 0x424e63
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPrefix
push eax
call esi
mov dword [0x46b37c], eax
test eax, eax
jne 0x424e83
mov eax, 0xfffffff6
pop esi
pop ebp
ret
mov eax, dword [0x46b3b0]
push str.GetSelList
push eax
call esi
mov dword [0x46b384], eax
test eax, eax
jne 0x424ea1
mov eax, 0xfffffff5
pop esi
pop ebp
ret
mov ecx, dword [0x46b3b0]
push str.FreeSelList
push ecx
call esi
mov dword [0x46b388], eax
test eax, eax
jne 0x424ec0
mov eax, 0xfffffff4
pop esi
pop ebp
ret
mov edx, dword [0x46b3b0]
push str.SetPrefixActive
push edx
call esi
mov dword [0x46b38c], eax
test eax, eax
jne 0x424edf
mov eax, 0xfffffff3
pop esi
pop ebp
ret
mov eax, dword [0x46b3b0]
push str.IsPrefixActive
push eax
call esi
mov dword [0x46b390], eax
test eax, eax
jne 0x424efd
mov eax, 0xfffffff2
pop esi
pop ebp
ret
mov ecx, dword [0x46b3b0]
push str.SetPrefixSelectionFlag
push ecx
call esi
mov dword [0x46b394], eax
test eax, eax
jne 0x424f1c
mov eax, 0xfffffff1
pop esi
pop ebp
ret
mov edx, dword [0x46b3b0]
push str.GetPrefixCategory
push edx
call esi
mov dword [0x46b398], eax
test eax, eax
jne 0x424f3b
mov eax, 0xfffffff0
pop esi
pop ebp
ret
mov eax, dword [0x46b3b0]
push str.IsPrefixHeuristic
push eax
call esi
mov dword [0x46b39c], eax
test eax, eax
jne 0x424f59
mov eax, 0xffffffef
pop esi
pop ebp
ret
mov ecx, dword [0x46b3b0]
push str.SetPrefixQua
push ecx
call esi
mov dword [0x46b3a0], eax
test eax, eax
jne 0x424f78
mov eax, 0xffffffee
pop esi
pop ebp
ret
mov edx, dword [0x46b3b0]
push str.GetPrefixQua
push edx
call esi
mov dword [0x46b3a4], eax
test eax, eax
jne 0x424f97
mov eax, 0xffffffed
pop esi
pop ebp
ret
mov eax, dword [0x46b3b0]
push str.DonePrefix
push eax
call esi
push 0x46b364
mov dword [0x46b3a8], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x46b384], 0
je 0x424ff0
cmp dword [0x46b3ac], 0
jne 0x424ff8
push 0x46b364
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x46b3ac
call dword [0x46b384]
add esp, 4
push 0x46b364
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x424ff8
mov eax, 0xffffffec
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00424d50
add esp, 4
test eax, eax
je 0x425010
mov eax, 0xffffffeb
pop esi
pop ebp
ret
mov dword [0x46b3b4], 1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4262b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x228
push 0
push esi
call sub.MSVCR100.dll_memset
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push edi
call fcn.004134e0
add esp, 0x14
test eax, eax
je 0x4262f0
push str.The_event_log_module_cannot_be_found_or_has_been_modified_or_destroyed.
push esi
call fcn.00426030
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x426401
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AVEvtLog_Init
push edi
call ebx
push str.AVEvtLog_Open4
push edi
mov dword [esi + 4], eax
call ebx
push str.AVEvtLog_SetConfig
push edi
mov dword [esi + 8], eax
call ebx
push str.AVEvtLog_ExecSQLQuery
push edi
mov dword [esi + 0xc], eax
call ebx
push str.AVEvtLog_WriteEvent2
push edi
mov dword [esi + 0x10], eax
call ebx
push str.AVEvtLog_Close2
push edi
mov dword [esi + 0x14], eax
call ebx
push str.AVEvtLog_Done
push edi
mov dword [esi + 0x18], eax
call ebx
push str.AVEvtLog_GetErrMsgText
push edi
mov dword [esi + 0x1c], eax
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 0x20], eax
pop ebx
test ecx, ecx
je 0x4263dc
cmp dword [esi + 8], 0
je 0x4263dc
cmp dword [esi + 0xc], 0
je 0x4263dc
cmp dword [esi + 0x10], 0
je 0x4263dc
cmp dword [esi + 0x14], 0
je 0x4263dc
cmp dword [esi + 0x18], 0
je 0x4263dc
cmp dword [esi + 0x1c], 0
je 0x4263dc
test eax, eax
je 0x4263dc
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
lea edx, [esi + 0x24]
push edx
mov dword [esi], edi
call ecx
test eax, eax
jne 0x4263d3
cmp dword [ebp + 0x18], eax
je 0x4263b7
push esi
call fcn.00426110
add esp, 4
cmp eax, 1
jne 0x4263c2
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00426260
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push eax
push esi
call fcn.004260a0
jmp 0x4263e7
push str.Unable_to_get_proc_address._Please__update_your_event_log_library.
push esi
call fcn.00426030
mov eax, dword [esi]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push str.Unable_to_load_event_log_library.
push esi
call fcn.00426030
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4264e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp + 8]
mov edx, dword [ebp + 0xc]
test ecx, ecx
je 0x426511
push esi
movzx esi, ax
shl eax, 8
shr esi, 8
xor ax, word [esi*2 + 0x469840]
movzx esi, byte [edx]
xor ax, si
inc edx
dec ecx
movzx eax, ax
jne 0x4264f2
pop esi
pop ebp
ret
Function at 0x427920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x427968
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x427968
mov ecx, dword [eax]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x427965
push ebx
lea ecx, [ecx]
mov eax, 0x80808081
mul ecx
shr edx, 7
mov ebx, edx
imul ebx, ebx, 0xff
mov eax, ecx
sub eax, ebx
inc eax
xor byte [esi], al
add edx, eax
add ecx, edx
inc esi
dec edi
jne 0x427940
mov eax, dword [ebp + 0x10]
pop ebx
mov dword [eax], ecx
pop edi
pop esi
pop ebp
ret

Function at 0x427970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
cmp dword [ebp + 0x14], eax
jg 0x4279b8
pop edi
mov eax, 8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push esi
push 0x200
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4279e1
lea eax, [esi + 4]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
movzx eax, word [edi + 0x16]
movzx ecx, word [edi + 8]
mov edi, dword [ebp + 8]
add eax, ecx
shl eax, 4
push 0
and eax, 0xfffff
push eax
push edi
call dword [sym.imp.MSVCR100.dll__lseek]
push 0x200
push esi
push edi
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0x18
test eax, eax
jne 0x427a34
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x6c]
push edx
call fcn.00429300
push 0x200
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00429a10
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00429ac0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
call sub.MSVCR100.dll_memcpy
push esi
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 0x28
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004534b8
mov esp, ebp
pop ebp
ret
Function at 0x427a90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x2fc], eax
xor eax, eax
xor esi, esi
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
cmp dword [ebp + 0x14], esi
jg 0x427adc
lea eax, [esi + 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push 0x200
mov dword [ebp - 0x2f0], esi
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0x2f8], eax
cmp eax, esi
jne 0x427b0e
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
push edi
push esi
push esi
push ebx
call dword [sym.imp.MSVCR100.dll__lseek]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
add esp, 0xc
cmp cx, word [edx + 6]
jae 0x427b9a
lea eax, [ebp - 0x270]
mov dword [ebp - 0x2f4], eax
lea edi, [ebp - 0x294]
lea esp, [esp]
push 0x28
push edi
push ebx
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0xc
cmp eax, 0x28
jne 0x427c63
mov ecx, dword [ebp - 0x2f4]
test byte [ecx], 0x60
jne 0x427b6f
inc dword [ebp - 0x2f0]
add dword [ebp - 0x2f4], eax
jmp 0x427b78
cmp dword [ebp - 0x2f0], 0x10
je 0x427b87
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 6]
inc esi
add edi, 0x28
cmp esi, eax
jl 0x427b40
mov eax, 3
cmp dword [ebp - 0x2f0], eax
jle 0x427b9a
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], 0
test ecx, ecx
jle 0x427bfe
mov eax, 0x200
cdq
idiv ecx
lea esi, [ebp - 0x280]
mov edi, eax
mov edi, edi
mov edx, dword [esi]
push 0
push edx
push ebx
call dword [sym.imp.MSVCR100.dll__lseek]
mov eax, dword [ebp - 0x2f8]
push edi
push eax
push ebx
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0x18
cmp eax, edi
jne 0x427c63
mov eax, dword [ebp - 0x2f4]
inc eax
add esi, 0x28
mov dword [ebp - 0x2f4], eax
cmp eax, dword [ebp - 0x2f0]
jl 0x427bc0
lea edx, [ebp - 0x2ec]
push edx
call fcn.00429300
mov esi, dword [ebp - 0x2f8]
push 0x200
lea eax, [ebp - 0x2ec]
push esi
push eax
call fcn.00429a10
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00429ac0
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
call sub.MSVCR100.dll_memcpy
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x28
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004534b8
mov esp, ebp
pop ebp
ret
Function at 0x427c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
cmp dword [ebp + 0x10], eax
jg 0x427cd3
mov eax, 8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push esi
push 0x200
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x427cfb
lea eax, [esi + 4]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push edi
call dword [sym.imp.MSVCR100.dll__lseek]
push 0x200
push esi
push edi
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0x18
pop edi
test eax, eax
jne 0x427d3e
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x6c]
push eax
call fcn.00429300
push 0x200
lea ecx, [ebp - 0x6c]
push esi
push ecx
call fcn.00429a10
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00429ac0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
push ebx
call sub.MSVCR100.dll_memcpy
push esi
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 0x28
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004534b8
mov esp, ebp
pop ebp
ret