joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d7a0
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
test ecx, ecx
ja 0x1001d7fa
jb 0x1001d7ee
cmp eax, esi
jae 0x1001d7fa
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
push 0
push eax
push ecx
push dword [esp + 0x20]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 8], eax
test eax, eax
jne 0x1001d82c
call fcn.1001d720
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.102af935
add esp, 0x24
ret 0x18
mov ecx, ebx
test esi, esi
jne 0x1001d838
mov esi, dword [esp + 0x20]
sub esi, ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
push 0
mov dword [edi + 4], esi
push dword [edi + 4]
mov dword [edi + 0x18], eax
push ecx
push edx
push eax
push dword [edi + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [edi], eax
test eax, eax
jne 0x1001d891
call fcn.1001d720
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.102af935
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102af935
add esp, 0x24
ret 0x18
Function at 0x1001daf0
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b6d1f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1036a00c]
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 ebx, dword [ebp + 8]
push 0x40
call fcn.102af954
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
cmp dword [0x1036f9f0], 0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
jne 0x1001dbbb
mov eax, dword [0x1036f8f4]
test eax, eax
je 0x1001db99
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1036f9f0], 0
jne 0x1001dbab
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x1036f9f0], eax
mov eax, dword [0x1036f8f4]
test eax, eax
je 0x1001dbbb
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1001dbd6
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x2c], ecx
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af935
mov esp, ebp
pop ebp
ret 4

Function at 0x1001e980
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b6f48
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], 0x82080000
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
mov word [esi + 0xc], ax
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], al
push 0x18
movups xmmword [esi + 0x10], xmm0
call fcn.102af954
add esp, 4
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1001f080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b7109
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x14
mov dword [ebp - 0x20], edi
call fcn.102af954
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 8
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 8
push 0x48
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x1000000
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0x14], 0
setne al
mov byte [esi + 0x10], al
mov dword [ebp - 4], 0xffffffff
push 0x34
mov dword [edi], esi
call fcn.102af954
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi], vtable.RC::RCWindowHookerProc.0
mov byte [ebp - 4], 2
mov dword [esi], vtable.RC::RCWndShadow::TWndHook.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], esi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 4
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 4], 0xffffffff
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.102af935
mov esp, ebp
pop ebp
ret
Function at 0x100210d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x10372af0]
test eax, eax
jne 0x1002117f
push edi
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x102df168
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x1002116a
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10021169
push esi
push edi
push dword [esp + 0x14]
push 0x102df168
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10021162
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x102df164
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10021162
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x10372af0], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x10372af0]
mov ecx, 6
test eax, eax
pop edi
cmove eax, ecx
mov dword [0x10372af0], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.102af935
add esp, 0x10
ret

Function at 0x10026b50
Capabilities:
Read file on windows

Disassembly:
push dword [ecx + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
ret 8
Function at 0x1003c160
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102bb079
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [ebp - 0x10], esi
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.102af954
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.102af954
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea ecx, [edi + 0x40]
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.10029c70
mov byte [ebp - 4], 7
movaps xmm0, xmmword [0x10300900]
movups xmmword [edi + 0xa0], xmm0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
xorps xmm0, xmm0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov byte [edi + 0xc0], 0
mov dword [edi + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006b900
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x102c0a78
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp + 0x420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x18], 0
jne 0x1006b948
xor al, al
jmp 0x1006bb04
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1006bb02
cmp dword [edi + 0x1c], 0
lea ebx, [edi + 0x1c]
mov dword [ebp - 0x14], ebx
jne 0x1006bb02
lea eax, [ebp + 0x10]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1006b980
call fcn.1001d720
jmp 0x1006ba0d
cmp eax, 0x100
ja 0x1006b941
lea eax, [ebp + 0x218]
push eax
push 0
push 0x102ed7e8
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1006b9aa
call fcn.1001d720
jmp 0x1006ba0d
xor eax, eax
lea esi, [ebx + 8]
mov word [ebp + 0x41e], ax
lea eax, [ebp + 0x218]
push 0xffffffffffffffff
push eax
push 0x101
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.1006b3f0
add esp, 0x10
mov dword [ebp], 0xc
lea eax, [ebp]
mov dword [ebp + 4], 0
mov ecx, ebx
mov dword [ebp + 8], 1
mov dword [ebx + 0x20c], 0xc0000000
push eax
push 0x2100
push 2
push 0
push 0xc0000000
push esi
call fcn.10069cc0
test eax, eax
js 0x1006b941
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x20]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 0x24]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul edx, eax
sar ecx, 3
push 0
shl edx, 2
imul ecx, edx
mov dword [ebp - 0x10], edx
push ecx
mov ecx, ebx
call fcn.1006b7c0
push dword [ebx]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.1001daf0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x1006baaa
mov ecx, dword [ecx + esi*8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x1006bade
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.1001ddd0
mov ecx, dword [edi]
mov bl, al
mov ecx, dword [ecx + esi*8]
mov edx, dword [ecx]
call dword [edx + 0x30]
test bl, bl
je 0x1006bade
mov eax, dword [edi + 4]
inc esi
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x1006ba73
push ecx
lea ecx, [edi + 0x22c]
call fcn.1006cf70
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.10054d80
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1001dc00
mov al, bl
jmp 0x1006bb04
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x1006baf4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
jmp 0x1006bacb
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.102af935
lea esp, [ebp + 0x424]
pop ebp
ret
Function at 0x1006be20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c0b8c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x230]
test edi, edi
je 0x1006be82
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1006be82
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x1006be82
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
lea edi, [esi + 0x1c]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1006beaf
push eax
call ebx
lea eax, [edi + 8]
mov dword [edi], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov eax, dword [edi]
test eax, eax
je 0x1006bec9
push eax
call ebx
mov dword [edi], 0
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1006bf20
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x1006bf01
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x1006bf8d
mov ecx, edi
push edx
push ecx
call fcn.102afea2
add esp, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x1006bf7b
mov edx, dword [esi + 4]
push ecx
call fcn.10054d80
mov ecx, dword [esi + 8]
add esp, 4
mov eax, dword [esi]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1006bf5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006bf8d
mov eax, edx
push ecx
push eax
call fcn.102afea2
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1006c480
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c0cb8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1036a00c]
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 esi, ecx
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x1006c4cb
mov eax, dword [edi]
test eax, eax
je 0x1006c4cb
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x1006c52b
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.10054d80
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x10], eax
mov ebx, dword [esi + 0x18]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1006c517
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x24]
mov dword [ebx + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x22c], 0
lea ecx, [ebx + 0x22c]
je 0x1006c52b
call fcn.1006ced0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0x64
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006c566
mov eax, dword [edi]
test eax, eax
je 0x1006c55f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov al, 1
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.102af935
mov esp, ebp
pop ebp
ret
Function at 0x1007cad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c34f3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call sym.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIImageBtn::constructor_void_
mov dword [ebp - 4], 0
mov dword [ebx + 0xf8], vtable.RC::RCMiniUIAnimationDelegate.0
mov byte [ebp - 4], 1
push 0x4c
mov dword [ebx], vtable.RC::RCMiniUIGifBtn.0
mov dword [ebx + 4], vtable.RC::RCMiniUIGifBtn.1.0
mov dword [ebx + 0xf8], vtable.RC::RCMiniUIGifBtn.2.0
mov dword [ebx + 8], 0
call fcn.102af954
mov edi, eax
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov dword [edi], 0
mov byte [ebp - 4], 3
mov dword [edi + 4], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x34]
mov dword [ebp - 0x20], esi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov word [edi + 0x30], 0x100
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.102af954
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x48], 0
mov dword [edi + 0x2c], ecx
mov byte [ebp - 4], 1
mov dword [ebx + 0xfc], edi
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1007f5a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c38d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call sym.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIImageBtn::constructor_void_
mov dword [ebp - 4], 0
push 0x38
mov dword [esi], vtable.RC::RCMiniUIIconBtn.1.0
mov dword [esi + 4], vtable.RC::RCMiniUIIconBtn.0
call fcn.102af954
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 7
mov word [eax + 0x20], cx
mov byte [ebp - 4], cl
mov dword [esi + 0xf8], eax
mov dword [eax], ecx
mov eax, dword [esi + 0xf8]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xf8]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xf8]
mov dword [eax + 0xc], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008c640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c50b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1036a00c]
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 ebx, ecx
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008c77a
push dword [ebx + 0x9c]
call fcn.1008cd70
mov ecx, eax
call fcn.1008ca50
test eax, eax
je 0x1008c6a2
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x18], eax
call fcn.1008cd70
mov edx, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], edx
lea edi, [edx + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x1008c6ea
mov ecx, dword [edi]
test ecx, ecx
je 0x1008c6ea
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], 0
mov esi, dword [edx]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1008c71d
mov ecx, dword [ebp - 0x18]
nop
cmp dword [eax + 0x10], ecx
jae 0x1008c70a
mov eax, dword [eax + 8]
jmp 0x1008c70e
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1008c700
cmp esi, dword [edx]
je 0x1008c71d
cmp ecx, dword [esi + 0x10]
jae 0x1008c745
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, edx
call fcn.1008e420
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.1008e4b0
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1008c767
mov eax, dword [edi]
test eax, eax
je 0x1008c760
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
push sym.2345MiniUI.dll_private:_static_long_int___stdcall_RC::RCMiniUIComboBoxMenu::ParentWndMsgFilter_struct_HWND_____unsigned_int__unsigned_int__long_int_
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
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.102af935
mov esp, ebp
pop ebp
ret