joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462cac
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x462e2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x465930]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00450004
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x462e06
mov eax, 0x61a9
call fcn.00407a04
mov ebx, eax
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00402b60
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x101
mov word [ebp - 0x30], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x462ddb
push 0x493e0
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x61a8
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile
mov eax, dword [ebp - 0xc]
mov byte [ebx + eax], 0
push ebx
push ebx
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040408c
push 0x466e4c
mov edx, dword [ebp - 0x10]
mov eax, 0x462e40
call fcn.00404498
mov edx, eax
sub edx, 3
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.004043b4
mov eax, dword [0x465784]
mov eax, dword [eax]
call fcn.00451e70
cmp esi, 0x102
je 0x462d66
mov eax, ebx
call fcn.004026dc
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x465930]
mov eax, dword [eax]
xor edx, edx
call fcn.00450004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462e31
lea eax, [ebp - 0x10]
call fcn.00403e94
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4290f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
jmp 0x42910a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x429111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x429100
mov eax, 1
add ebx, ebx
jne 0x429123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x429118
jne 0x429134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429118
xor ecx, ecx
sub eax, 3
jb 0x429148
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4291ba
mov ebp, eax
add ebx, ebx
jne 0x429153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x429160
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x429184
inc ecx
add ebx, ebx
jne 0x429170
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x429165
jne 0x429181
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429165
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4291a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x429195
jmp 0x429106
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4291a4
add edi, ecx
jmp 0x429106
pop esi
mov edi, esi
mov ecx, 0xe6a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4291c2
cmp byte [edi], 5
jne 0x4291c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4291c7
lea edi, [esi + 0x27000]
mov eax, dword [edi]
or eax, eax
je 0x42923f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2acd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ad8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4291f4
mov ecx, edi
jns 0x429223
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2ad90]
or eax, eax
je 0x429239
mov dword [ebx], eax
add ebx, 4
jmp 0x429211
call dword [esi + 0x2ada0]
mov ebp, dword [esi + 0x2ad94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x429273
sub esp, 0xffffff80
jmp 0x40116a
Function at 0x100064d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10083c60
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
test esi, esi
je 0x10006634
cmp byte [esi + 0x54], 0
je 0x10006634
add esi, 0x1c
xor bl, bl
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], bl
test esi, esi
je 0x1000655e
mov eax, dword [esi]
test eax, eax
je 0x1000655a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10006554
cmp eax, 0x80
je 0x10006554
xor bl, bl
jmp 0x1000655a
mov byte [esi + 4], 1
mov bl, 1
mov byte [esp + 0x14], bl
mov dword [esp + 0x48], 0
mov eax, dword [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x10006571
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 0x1000660b
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push 0
call fcn.10013d90
add esp, 4
push 2
push 0
push 0
push edi
mov byte [esp + 0x58], 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x34], 0x10
lea ecx, [esp + 0x1c]
push 0
push ecx
push dword [esp + 0x38]
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x48], 0
cmp dword [esp + 0x34], 0x10
jb 0x100065f6
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x48], 0xffffffff
test esi, esi
je 0x1000662c
test bl, bl
je 0x1000662c
mov eax, dword [esi]
test eax, eax
je 0x10006628
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10081b94
mov esp, ebp
pop ebp
ret 4
Function at 0x100084f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100840b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0xc
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x20]
push 0x10093db0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.10003000
mov dword [esp + 0x40], 0
lea ecx, [esp + 4]
push 8
xor eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push 0x10093e0c
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
call fcn.10003000
lea eax, [esp + 0x1c]
mov byte [esp + 0x40], 1
push eax
lea eax, [esp + 8]
push eax
call fcn.10080070
mov byte [esp + 0x40], 0
cmp dword [esp + 0x18], 8
jb 0x100085bc
push dword [esp + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x18], 7
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x100085ef
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000aa70
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000ab01
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x1000aaa7
jne 0x1000aafa
cmp dword [esi + 8], 2
jb 0x1000aafa
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.1000ab70
add esp, 8
test al, al
je 0x1000aafa
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x1000ab70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebx, edx
push esi
push edi
push str.kernel32.dll
mov edi, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x1000ac3a
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000ac3a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000ac3a
movdqu xmm0, xmmword [0x10093ff0]
push eax
movdqu xmmword [esp + 0x18], xmm0
movdqu xmm0, xmmword [0x10094000]
movdqu xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000ac3a
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000ac3a
cmp word [esi + 2], ax
jbe 0x1000ac3a
movzx eax, word [esi + 0x32]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
movzx eax, word [esi + 0x30]
mov dword [ebx], eax
movzx eax, word [esi + 0x36]
mov dword [ebp], eax
movzx eax, word [esi + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10081b94
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10081b94
add esp, 0x28
ret
Function at 0x1000dd50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10084bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push dword [esi + 0xc0]
call fcn.100050b0
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1000ddbb
call fcn.10036970
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.100050e0
mov eax, dword [edi]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x1000dddc
mov byte [eax + 4], 1
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, 0xa0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x1c], xmm0
call fcn.10012160
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1000de14
call fcn.1001d880
lea ecx, [esp + 0x18]
call fcn.10012270
mov eax, dword [edi]
lea ecx, [esp + 0x10]
add eax, 0xa8
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call fcn.10012160
mov byte [esp + 0x30], 2
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000de65
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x1000de48
mov byte [eax + 4], 1
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000de5c
call fcn.1001d880
mov ecx, dword [esi]
call fcn.10012270
lea ecx, [esp + 0x10]
call fcn.10012270
mov byte [esp + 0x30], 1
or edi, 0xffffffff
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1000de98
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1000de98
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x1000de98
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1000deca
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1000deca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x1000deca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10081b94
mov esp, ebp
pop ebp
ret
Function at 0x100146a0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x100146b6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esp + 8]
mov word [esi + 4], 0
cmp dword [eax + 0x10], 0
je 0x100146d0
cmp dword [eax + 0x14], 8
jb 0x100146d2
mov eax, dword [eax]
jmp 0x100146d2
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x100146f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100146f4
mov byte [esi + 5], 1
cmp dword [esi], 0
pop esi
setne al
ret 4

Function at 0x10014700
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x100858c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x1001474a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [esp + 0x14]
mov word [edi + 4], 0
mov dword [esp + 0x14], 0
call fcn.100290b0
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x10014777
lea eax, [esi + 8]
jmp 0x10014779
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x10014789
cmp dword [ebx + 0x14], 8
jb 0x1001478b
mov ebx, dword [ebx]
jmp 0x1001478b
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x100147ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100147ac
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x100147d6
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 ecx, dword [esi + 4]
test ecx, ecx
je 0x100147eb
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10081b94
add esp, 0x18
ret 4
Function at 0x10014820
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x100858f8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x1001486b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [esp + 0x18]
mov word [edi + 4], 0
mov dword [esp + 0x18], 0
call fcn.100291f0
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x10014899
lea ebp, [esi + 8]
jmp 0x1001489b
xor ebp, ebp
cmp dword [ebx + 0x10], 0
je 0x100148af
cmp dword [ebx + 0x14], 8
jb 0x100148ab
mov eax, dword [ebx]
jmp 0x100148b1
mov eax, ebx
jmp 0x100148b1
xor eax, eax
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x100148fd
call eax
cmp eax, 5
jne 0x100148f3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x10], 0
je 0x100148e5
cmp dword [ebx + 0x14], 8
jb 0x100148e7
mov ebx, dword [ebx]
jmp 0x100148e7
xor ebx, ebx
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
cmp dword [edi], 0
je 0x10014914
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp eax, 0xb7
jne 0x1001490a
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.10027750
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1001493b
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 ecx, dword [esi + 4]
test ecx, ecx
je 0x10014950
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10081b94
add esp, 0x14
ret 4
Function at 0x10015f00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10085c2b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
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 eax, ecx
mov dword [esi + 0x18], 0
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 [edx], 0
mov dword [esi + 0x1048], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10019650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100862dd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.10003100
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.10003100
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.10003100
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.10003100
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x60]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x60]
push eax
call fcn.10003100
mov byte [esp + 0x18], 4
lea eax, [esi + 0x78]
push eax
lea ecx, [edi + 0x78]
call fcn.100197e0
mov byte [esp + 0x18], 5
lea ecx, [edi + 0x84]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x84]
push eax
call fcn.10003100
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1001a1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100864a7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.RC::RCFileHash.0
mov dword [edi + 4], 0
mov dword [esp + 0x14], edi
mov byte [edi + 8], 0
mov dword [esp + 0x38], 0
mov dword [edi], vtable.RC::RCFileHashCalc.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [esp + 0x38], 2
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [edi], vtable.RC::RCMD5.0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x38], 3
push 8
movq qword [esp + 0x28], xmm0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 4
test eax, eax
je 0x1001a2a5
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
call fcn.100313a0
jmp 0x1001a2a7
xor eax, eax
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.1001a6d0
mov byte [esp + 0x38], 5
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.1001a470
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0xc]
call fcn.10031690
mov byte [esp + 0x38], 3
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1001a318
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x1001a318
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x1001a318
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x38], 2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1001a357
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10009cb0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10081b94
add esp, 0x2c
ret