joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a63
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x401be9
mov eax, dword [eax + 0x24]
push ebx
push ebp
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401bd0
mov edi, dword [esi + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [edi + 0xc]
push ebp
call ebx
push ebp
mov byte [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x2c], 0
jne 0x401ab0
call fcn.00424a00
mov ecx, dword [esi + 0x20]
push 0
call fcn.004248f0
mov edi, dword [esi + 0x20]
lea ebp, [edi + 0xc]
push ebp
call ebx
push ebp
mov byte [edi + 0x31c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x20]
mov byte [ecx + 0x2d], 1
mov edx, dword [esi + 0x20]
mov byte [edx + 0x33d], 1
mov ecx, dword [esi + 0x20]
call fcn.00434000
mov ecx, dword [esi + 0x20]
call fcn.00424a10
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edi, eax
mov eax, dword [esi + 0x20]
cmp byte [eax + 0x2c], 0
mov dword [esp + 0x10], edi
je 0x401b4e
lea esp, [esp]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push ecx
call ebx
test eax, eax
je 0x401b54
mov ecx, dword [esi + 0x20]
call fcn.00424a10
call ebp
sub eax, edi
cmp eax, 0x4e20
ja 0x401b43
mov edx, dword [esi + 0x20]
cmp byte [edx + 0x2c], 0
jne 0x401b10
jmp 0x401b54
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x24]
push 0
push ecx
jmp 0x401bca
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0x8023
push 0x8014
push 0
lea ecx, [esp + 0x24]
push ecx
call edi
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 0x24]
push 0
push edx
call ebx
test eax, eax
je 0x401bd0
mov edi, edi
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x2c], 0
je 0x401b8e
call fcn.00424a10
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0x4e20
ja 0x401bc1
push 1
push 0x8023
push 0x8014
push 0
lea eax, [esp + 0x24]
push eax
call edi
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x24]
push 0
push ecx
call ebx
test eax, eax
jne 0x401b80
jmp 0x401bd0
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x401bdf
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
pop edi
pop ebp
mov dword [esi + 0x20], 0
pop ebx
pop esi
add esp, 0x20
ret
Function at 0x402280
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x4022ff
xor eax, eax
cmp ecx, ebx
je 0x4022e7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x402323
cmp ecx, ebx
je 0x40230a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0055953b
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x40238a
jmp 0x402350
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00402280
mov edi, eax
cmp edi, ebx
jne 0x4023d9
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x402350
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40239d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.004011b0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4023c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0055953b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4023e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055953b
mov esp, ebp
pop ebp
ret 4
Function at 0x402ac0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579056
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x5ee7a4]
lea eax, [esp + 0x14]
push eax
push 0x2001f
push esi
push ecx
push SysReAllocString
mov dword [esp + 0x264], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x402c6c
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x200
call fcn.0052681c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x34]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
push edi
mov byte [esp + 0x270], 1
call ebx
test eax, eax
jne 0x402bc0
nop
inc esi
cmp dword [esp + 0x14], 0
jbe 0x402b9b
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00526d8a
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
push esi
push edi
mov dword [esp + 0x34], 0x200
call ebx
test eax, eax
je 0x402b80
mov eax, dword [esp + 0x28]
xor esi, esi
test esi, esi
jl 0x402c90
cmp esi, eax
jge 0x402c90
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*4]
push 0x587f24
push eax
call fcn.005597c1
add esp, 8
test eax, eax
je 0x402c29
cmp esi, dword [esp + 0x28]
jge 0x402c90
mov edx, dword [esp + 0x24]
mov eax, dword [edx + esi*4]
push str.InitFlag
push eax
call fcn.005597c1
add esp, 8
test eax, eax
je 0x402c29
cmp esi, dword [esp + 0x28]
jge 0x402c90
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402280
mov eax, dword [esp + 0x28]
inc esi
lea ecx, [eax - 1]
cmp esi, ecx
jbe 0x402bc6
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x402c4c
push esi
call edi
xor esi, esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0
mov byte [esp + 0x250], 0
call fcn.00526b1b
test esi, esi
je 0x402c6c
push esi
call edi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0055953b
mov esp, ebp
pop ebp
ret
call fcn.00525d49
int3
Function at 0x415fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 4], eax
test eax, eax
jne 0x415ff1
add esp, 8
ret 0xc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov dword [esp + 4], edi
test edi, edi
jne 0x41600a
pop edi
add esp, 8
ret 0xc
push ebp
push esi
mov esi, dword [edi]
add esi, 0x40
push esi
call fcn.0055b171
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x416029
pop esi
pop ebp
pop edi
add esp, 8
ret 0xc
push ebx
push esi
push edi
push ebp
call fcn.0055b240
mov eax, dword [ebp]
add eax, ebp
add esp, 0xc
mov dword [esp + 0x20], eax
xor ebx, ebx
mov ecx, dword [eax + ebx*4]
xor esi, esi
cmp ecx, dword [esi*8 + 0x58a514]
je 0x416056
inc esi
cmp esi, 4
jb 0x416045
jmp 0x4160c0
cmp dword [esp + 0x24], 0
je 0x416070
cmp dword [esi*8 + 0x58a518], 0x12
je 0x4160c0
mov dword [eax + ebx*4], 0xffffff
jmp 0x4160c0
mov edx, dword [esi*8 + 0x58a518]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push edx
call edi
mov ecx, dword [esi*8 + 0x58a518]
shr eax, 8
movzx eax, al
push ecx
mov dword [esp + 0x20], eax
call edi
mov edx, dword [esi*8 + 0x58a518]
movzx edi, al
shl edi, 8
or edi, dword [esp + 0x1c]
push edx
shl edi, 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
or eax, edi
mov dword [ecx + ebx*4], eax
mov eax, ecx
inc ebx
cmp ebx, 0x10
jl 0x416040
mov edi, dword [ebp + 4]
mov ebx, dword [ebp + 8]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push ebx
mov esi, eax
push edi
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
test eax, eax
je 0x41614d
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov esi, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov cl, byte [ebp + 0xe]
push 0xcc0020
push 0
mov dword [esp + 0x24], eax
push ebp
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax*4 + 0x28]
push edx
push ebx
push edi
push 0
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x24]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call fcn.005590a8
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x20]
pop ebx
pop esi
pop ebp
pop edi
add esp, 8
ret 0xc

Function at 0x419490
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 0x20]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
ret 4
Function at 0x41c410
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00532110
movzx ebx, word [esp + 0x28]
mov edi, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 2
push ebx
push edi
call ebp
test eax, eax
je 0x41c5bc
push 0
push eax
push edi
call fcn.00538962
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41c5bc
call fcn.00532110
mov edi, dword [eax + 0xc]
test edi, edi
je 0x41c5bc
push 0xf1
push ebx
push edi
call ebp
test eax, eax
je 0x41c5bc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x41c5bc
cmp dword [esi + 0xc0], 0
movzx edi, word [ebp + 2]
movzx ebx, word [ebp + 4]
lea ecx, [esi + 0xc0]
jne 0x41c4d2
push 0xa
push 0
mov dword [ecx], edi
mov dword [ecx + 4], ebx
push 0x21
lea ecx, [ebx + 4]
push ebx
lea eax, [edi + 4]
mov dword [esi + 0xcc], ecx
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0xc8], eax
call fcn.0053159b
push 0xa
push 0
push 0x21
push ebx
push edi
lea ecx, [esi + 0x40]
call fcn.0053159b
jmp 0x41c4e1
push ebx
push edi
call fcn.0041b170
test eax, eax
jne 0x41c5bc
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
lea edi, [esi + 0x38]
call ebx
push eax
mov ecx, edi
call fcn.0041c3f0
mov eax, dword [esi + 0x3c]
push eax
call fcn.00532110
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0041b850
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x14], eax
call fcn.00537c8c
push 0xf
mov dword [esp + 0x1c], eax
call ebx
mov edx, dword [esp + 0x18]
push eax
push edx
mov ecx, edi
call fcn.0041c320
xor eax, eax
mov dword [esp + 0x18], 0
cmp ax, word [ebp + 6]
jae 0x41c591
lea ecx, [ebp + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
movzx edi, word [edx]
test edi, edi
jbe 0x41c57b
lea eax, [esp + 0x20]
push eax
lea ebx, [esi + 0x48]
push edi
mov ecx, ebx
call fcn.00545c5b
test eax, eax
je 0x41c569
cmp dword [esp + 0x20], 0
jge 0x41c577
push edi
mov ecx, ebx
call fcn.00545d19
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx edx, word [ebp + 6]
add dword [esp + 0x14], 2
inc eax
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x41c543
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
lea ecx, [esi + 0x24]
push eax
push edx
call fcn.00545fe4
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
Function at 0x41d490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57a828
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00537ea8
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.00537d8b
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 8]
push 0xf00021
sub ecx, edx
push ecx
sub eax, edi
push eax
push edx
mov edx, dword [esi + 4]
push edi
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
push ebx
mov ecx, esi
call fcn.00537d8b
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBrush.0
call fcn.00407110
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4249d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x28]
push eax
push 0
push esi
push 0x424870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x24], eax
pop esi
mov eax, ecx
ret

Function at 0x424a00
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [ecx + 0x24]
push eax
mov byte [ecx + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

Function at 0x424a10
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
jne 0x424a26
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x424d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57af3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CDrawCommonThread.0
xor ebx, ebx
mov dword [esi + 0x30], vtable.OList_class_KViewPort_.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x32
push ebx
lea ecx, [esi + 0x50]
mov dword [esp + 0x1c], ebx
call fcn.0047e1b0
mov al, 1
mov byte [esi + 0x31c], al
mov byte [esi + 0x2c], al
mov byte [esi + 4], al
lea eax, [esi + 0xc]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0x2d], bl
mov byte [esi + 0x31d], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x424dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57af6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CDrawCommonThread.0
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], 0
test eax, eax
je 0x424e14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x50]
call fcn.0047e290
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
mov dword [ecx], vtable.OList_class_KViewPort_.0
call fcn.00424c70
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4290a0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
mov dword [esi], vtable.TImageLib.0
je 0x4290c5
call fcn.00428e10
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4290c5
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [esi + 0x10]
mov byte [eax + 0x64], 1
mov ecx, dword [esi + 0x10]
call fcn.004325b0
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ebx, [ebx]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call edi
cmp eax, 1
jbe 0x4290e0
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
ret
Function at 0x42a1b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57b802
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x14], bl
jne 0x42a1e7
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp eax, dword [esi + 0xc]
je 0x42a1f5
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x42a2f6
add eax, 0xffffffff
jns 0x42a376
mov edi, dword [esp + 0x20]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42a207
sub eax, edx
je 0x42a376
call fcn.005322b0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42a230
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x28]
call fcn.00404370
mov byte [esp + 0x1c], 1
call fcn.0042a610
mov edx, esi
mov ecx, eax
mov byte [esp + 0x1c], bl
call fcn.0042d730
mov esi, eax
cmp esi, ebx
je 0x42a2b5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042ea10
add esp, 4
test al, al
je 0x42a28e
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, 2
jne 0x42a2b5
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00404370
mov byte [esp + 0x1c], 2
call fcn.0042a610
mov ecx, eax
mov byte [esp + 0x1c], bl
call fcn.0042ddf0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a376
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
mov ecx, dword [esi + 0x10]
push eax
call fcn.00432b20
test al, al
je 0x42a36f
push 0x14
call fcn.00525bfc
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 3
cmp eax, ebx
je 0x42a33a
mov ecx, eax
call fcn.00546183
jmp 0x42a33c
xor eax, eax
push 0x80
push ebx
mov ecx, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 4], eax
call fcn.00545e88
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
mov ecx, esi
call fcn.00428e10
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x42a390
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x57b838
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
lea ecx, [esp + 0x14]
call fcn.00547228
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0
mov esi, 0x64
call fcn.00429c70
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x68], 1
lea ebx, [ebx]
lea eax, [esp + 0x24]
push eax
push 0x8020
push edi
lea ecx, [esp + 0x20]
call fcn.0054763d
test eax, eax
jne 0x42a46d
cmp dword [esp + 0x2c], 5
jne 0x42a428
push 0x64
call ebx
dec esi
test esi, esi
jg 0x42a400
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], vtable.CFileException.0
mov byte [esp + 0x68], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.00547303
xor al, al
jmp 0x42a56b
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.00546fab
push 0x17
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00546f1c
cmp eax, 0x17
je 0x42a4b4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
mov dword [esp + 0x24], vtable.CFileException.0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42a449
push 4
push 0x5eed20
lea ecx, [esp + 0x1c]
call fcn.00546f1c
cmp eax, 4
jne 0x42a428
mov edx, dword [str.AcmeCADSeeImageCacheLib]
push 0x17
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.0055c845
add esp, 0xc
test eax, eax
je 0x42a503
cmp dword [0x5eed20], 0xa
jbe 0x42a503
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.004294b0
jmp 0x42a455
push 8
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call fcn.00546f1c
cmp eax, 8
jne 0x42a4f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00430850
add esp, 8
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 2
call fcn.00403590
lea ecx, [esp + 0x38]
call fcn.00402d80
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x68], 0
call fcn.004294b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.00547303
mov al, bl
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0055953b
add esp, 0x58
ret