joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001dee8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x10010463
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 4], 0
je 0x1001047e
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10010477
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x100105f4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x1002a9d4], 0
mov esi, eax
mov dword [ebp - 0x30], esi
je 0x10010590
push 0
mov ecx, 0x1002a9d4
call fcn.10013c10
mov eax, dword [0x1002a9d4]
cmp byte [eax + 0x54], 0
je 0x10010590
cmp dword [eax + 0x58], 5
jb 0x10010590
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push dword [ebp - 0x14]
push esi
push str.creat_thread_handle:_0x_x__id__d
push eax
call fcn.10015050
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x1002a9d4
push 0x39
push str.RC::DmAvCore::RCImplThreadPoolSimple::Excute
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_rcimplthreadpoolsimple.cpp
push eax
push 5
call fcn.10014740
test bl, bl
je 0x10010539
lea eax, [ebp - 0x2c]
mov ecx, 0x1002a9d4
push eax
call fcn.10014ad0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1001057c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010572
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010572
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebp + 0x10], 0
je 0x100105a8
test esi, esi
je 0x100105a1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x100105e4
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebx + 4]
push eax
push ebx
mov dword [ebp - 0x34], eax
call fcn.10010d10
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 0xc]
sub ecx, eax
cmp ecx, 1
jae 0x100105d8
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], edx
mov dword [eax], edx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100105f2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10012d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
test edi, edi
jne 0x10012d61
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0x10
test byte [ebp + 0x14], 2
push esi
je 0x10012df6
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x10012d7e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov ecx, dword [ebx + 0x38]
mov esi, dword [ecx]
cmp esi, ecx
je 0x10012d9e
mov eax, dword [esi + 8]
cmp dword [eax], edi
je 0x10012d96
mov esi, dword [esi]
cmp esi, ecx
jne 0x10012d87
jmp 0x10012d9e
mov edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x10012daf
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0xc]
cmp edx, 1
jne 0x10012de8
mov eax, dword [esi + 8]
add eax, 4
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
cmp ebx, 1
jne 0x10012e09
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
add eax, 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x10012e07
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
jmp 0x10012e00
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
test byte [ebp + 0x14], 1
pop esi
je 0x10012e17
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 4]
cmp ebx, 1
pop edi
sete al
xor ecx, ebp
pop ebx
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10013790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x100137c9
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 0x10]
test bl, 2
je 0x10013821
cmp dword [esi + 0x24], 0
je 0x10013821
push 0x14
call fcn.1001b77c
add esp, 4
mov dword [eax], 0
push 0x100136f0
push eax
push dword [ebp + 0xc]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push edi
mov dword [eax + 0x10], esi
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
push 1
push 1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x10013834
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test bl, 1
pop ebx
je 0x10013843
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 4]
cmp edi, 1
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10014ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
test esi, esi
je 0x10014c4f
cmp byte [esi + 0x54], 0
je 0x10014c4f
add esi, 0x1c
xor bl, bl
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], bl
test esi, esi
je 0x10014b50
mov eax, dword [esi]
test eax, eax
je 0x10014b4d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014b44
cmp eax, 0x80
je 0x10014b44
xor bl, bl
jmp 0x10014b4a
mov byte [esi + 4], 1
mov bl, 1
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x3c], bl
push ecx
mov edx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100191c0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x10014b87
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10014bd5
push 2
push 0
push 0
push edi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10014c0f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014c05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10014c05
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001b7ac
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 6
test esi, esi
je 0x10014c41
test bl, bl
je 0x10014c41
mov eax, dword [esi]
test eax, eax
je 0x10014c3d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 4
Function at 0x10016780
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e770
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x100167c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 0x2c
mov word [edi + 4], 0
mov dword [ebp - 0x18], 0
call fcn.1001b77c
mov esi, eax
mov dword [ebp - 0x20], 0
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 0
mov dword [esi], 0
lea eax, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0xc
mov dword [esi + 0xc], eax
xor eax, eax
push 0xc
push str.Advapi32.dll
mov dword [esi + 0x10], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.100049e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call fcn.1001ab80
mov ecx, eax
call fcn.1001ac40
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1001688e
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016884
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
sub esp, 8
mov word [ebp - 0x30], ax
lea eax, [esi + 0x14]
mov dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x18]
push eax
call fcn.10019e80
mov esi, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [ebp - 4], 1
cmp dword [esi], 0
je 0x100168c7
lea eax, [esi + 8]
jmp 0x100168c9
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x100168d9
cmp dword [ebx + 0x14], 8
jb 0x100168db
mov ebx, dword [ebx]
jmp 0x100168db
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x100168fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100168fc
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x10016925
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001693a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1001b7ac
add esp, 8
mov dword [ebp - 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 4
Function at 0x10016d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e8b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1002a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1050
call fcn.1001b77c
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x1050
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + 0x44]
mov dword [esi], 0
mov eax, ecx
mov dword [esi + 4], 0
neg eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edx, [esi + 0x1044]
mov dword [esi + 0x10], 0
and eax, 3
mov dword [esi + 0x14], 0
add esp, 0x10
mov dword [esi + 0x18], 0
add eax, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [edx], 0
mov dword [esi + 0x1048], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov byte [ebp - 4], 2
mov dword [esi + 0x104c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d428
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10019a86
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10019b36
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10019b60
test al, al
je 0x10019adf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10019b22
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019b18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10019b18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret
Function at 0x10019e80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10028598
push 0x1001bb2e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002a008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x10019ee9
xor eax, eax
jmp 0x1001a05f
mov dword [ebp - 4], ebx
push 0x10024800
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a02a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1001a02a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a02a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x1001a02a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a02a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1001a02a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a02a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x1001a02a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a02a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x1001a02a
push 0x10024844
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001a02a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1001a013
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1001a000
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x1001a010
jmp 0x1001a02a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1001a086
test ebx, ebx
jne 0x1001a05d
test esi, esi
je 0x1001a04f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1001a05d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001a6b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x1002a008]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x1001a732
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x1001a732
test ecx, ecx
je 0x1001a72e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x1001a6f0
xor eax, eax
jmp 0x1001a737
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1001a741
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001b76b
add esp, 0xc
ret 0xc

Function at 0x1001a7c0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1002a008]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1001a7ee
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1001b76b
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1001a7d7
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001a834
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1001a834
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1001b76b
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
adc ecx, 0
xor eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.1001b76b
add esp, 8
ret 4
Function at 0x402fbd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x4047d9]
mov ecx, edx
mov eax, dword [edx]
inc ecx
inc ecx
inc ecx
inc ecx
mov edi, dword [ecx]
mov ecx, eax
mov eax, dword [edi]
add edi, 4
mov esi, edi
mov ebx, esi
add edi, eax
mov edx, edi
dec edx
sub ecx, eax
dec ecx
dec ecx
dec ecx
dec ecx
lea eax, [0x4047d9]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov cl, byte [edi]
mov al, byte [0x404324]
mov ah, byte [esi]
add al, ah
xor al, cl
mov byte [edi], al
mov eax, edx
cmp esi, eax
jne 0x40300a
mov esi, ebx
dec esi
inc esi
pop ecx
inc edi
dec ecx
jne 0x402ff1
mov edi, esi
push 0x39
push 0x4047d9
push 0x111
push dword [0x4047b5]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x4047d9]
mov edi, dword [0x4047dd]
mov esi, dword [0x4047cd]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x40303c
mov esi, dword [0x40431f]
mov ecx, dword [0x40431b]
push ecx
add ecx, esi
mov dword [0x404799], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x4047cd]
mov ebx, esi
add ebx, eax
mov dword [0x404795], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x4030e3
cmp eax, ecx
jae 0x403088
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x403099
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x403090
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x4030ac
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x4030a5
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x4030cd
inc al
cmp al, 0
jne 0x4030c5
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x4030c9
mov al, 0
dec al
dec cl
jmp 0x4030df
dec cl
inc al
cmp al, 0
jne 0x4030dd
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x4030df
dec al
jmp 0x40307f
mov ecx, dword [0x404799]
sub ecx, esi
test ecx, ecx
je 0x4030f8
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030ef
mov edi, dword [0x4047cd]
mov dword [0x4047cd], edi
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x28927f92
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7e73cbe
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219