joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4860d0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x48611c
jle 0x486117
cmp eax, 3
jg 0x486117
push esi
mov esi, dword [ecx]
test esi, esi
je 0x48610e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x4860fc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00487110
mov eax, 1
ret 0x10

Function at 0x486690
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x4866dc
jle 0x4866d7
cmp eax, 3
jg 0x4866d7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x4866ce
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x4866bc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00487580
mov eax, 1
ret 0x10
Function at 0x486bb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x486cf2
dec eax
je 0x486bf6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.00486140
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x486c34
push esi
push 1
push ebp
call fcn.00486140
test eax, eax
je 0x486c34
mov eax, 1
jmp 0x486c36
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x486ca7
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x486c94
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004864c0
test eax, eax
je 0x486c94
push esi
push ebp
push ebp
push ebp
call fcn.004864c0
test eax, eax
je 0x486c94
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00486530
test eax, eax
je 0x486c94
mov eax, 1
jmp 0x486c96
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x486c4a
test eax, eax
je 0x486be7
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.00486530
test eax, eax
je 0x486be7
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00486200
test eax, eax
je 0x486be7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x486d49
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x486d01
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x487f70
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x487fa4
sub eax, 0x64
je 0x487fa4
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x487fa4
push 0xc
call fcn.0048d800
add esp, 0x24
ret
push 4
call fcn.0048d800
add esp, 0x24
ret
Function at 0x48cd50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x48cd75
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x48cf7c
cmp ebx, 0x40
ja 0x48cf7c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x48cda3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.0048bd70
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.0048bd70
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x48cf1e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x48cf10
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.0048bb60
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x48cea2
push ebx
push edx
call fcn.0048bd70
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48cef4
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.0048bb60
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x48cee7
jmp 0x48cef8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x48ce7b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x48ce34
mov edi, dword [esp + 0x544]
test edi, edi
je 0x48cf3b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48cf6a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x4901ef
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x71e2b4], 0
je 0x490208
mov eax, dword [0x6e7640]
leave
ret
push edi
push esi
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4902ca
xor eax, eax
cmp dword [ebp - 0x84], 2
sete al
test eax, eax
mov dword [0x6e7640], eax
je 0x490299
push 0x63f264
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x4902ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call esi
test eax, eax
mov dword [0x71e29c], eax
je 0x49027d
mov dword [0x6e7638], 0x4000
push str.NtOpenFile
push edi
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x71e2a0], eax
call esi
mov dword [0x71e2a4], eax
jmp 0x4902ca
push 0x63f218
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4902ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x63f208
push edi
call esi
push 0x63f1f8
push edi
mov dword [0x71e2a8], eax
call esi
mov dword [0x71e2ac], eax
mov eax, dword [0x6e7640]
pop esi
mov dword [0x71e2b4], 1
pop edi
leave
ret

Function at 0x4919e5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.00491a28
test eax, eax
je 0x491a24
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push str.Seed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8

Function at 0x491a60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x491aaf
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x491a84
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x491ac1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x491ad5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x491b1b
xor ecx, ecx
cmp edi, 0x100
jb 0x491af8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x491dc0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x4928c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x14], 0
je 0x4928e2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x492890
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
push edi
je 0x4928d6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x494780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61a17f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x18], 1
je 0x4947c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x58], 0
je 0x4947d1
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00496a30
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x499460
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x61a9d9
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x170]
lea eax, [ebp - 0x10]
push eax
mov dword [esp + 0x16c], 0
mov dword [esp + 0x1c], eax
call fcn.00402800
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x5c
mov bl, 1
push 0x2f
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], bl
call fcn.00440a30
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.005d940c
add esp, 8
test eax, eax
jne 0x4994f1
or eax, 0xffffffff
jmp 0x4994f3
sub eax, esi
add eax, 1
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004048d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 2
call fcn.00403020
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x168], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49953e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4995b8
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403170
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x16c], 3
call fcn.0040b2f0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x168], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4995a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebp
test eax, eax
jne 0x499557
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x168], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4995e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x499608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.005d8d34
add esp, 0x15c
ret
Function at 0x4a16e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x61b3ef
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.004a1420
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], 0xa
lea ebp, [esi + 0x48]
mov ecx, ebp
mov byte [esp + 0x20], 1
call fcn.00492800
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0xac]
push eax
mov dword [esi], vtable.CSubPicQueue.2.0
mov dword [esi + 0xc], vtable.CSubPicQueue.1.0
mov dword [ebp], vtable.CSubPicQueue.0
mov dword [esi + 0xa8], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp edi, ebx
mov byte [esp + 0x20], 3
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
je 0x4a179b
cmp dword [edi], ebx
jl 0x4a17df
cmp dword [esi + 0xa8], 1
jge 0x4a17b2
cmp edi, ebx
mov eax, esi
je 0x4a17e1
mov dword [edi], 0x80070057
jmp 0x4a17e1
mov byte [esi + 0xd8], bl
lea edi, [esi + 0xdc]
mov ebp, 2
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi], eax
add edi, 4
sub ebp, 1
jne 0x4a17c3
lea ecx, [esi + 0x48]
call fcn.004928c0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4aaef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61c08e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.0041bc70
add eax, 0x10
mov dword [esi], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00402800
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00402800
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 2
call fcn.00402800
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4acc10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
fld qword [edi + 0x18]
fstp qword [esi + 0x18]
lea ebp, [esi + 0x50]
fld qword [edi + 0x20]
fstp qword [esi + 0x20]
fld qword [edi + 0x28]
fstp qword [esi + 0x28]
fld qword [edi + 0x30]
fstp qword [esi + 0x30]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
movzx ecx, byte [edi + 0x48]
mov byte [esi + 0x48], cl
mov dl, byte [edi + 0x49]
mov byte [esi + 0x49], dl
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
movzx ecx, byte [edi + 0x4b]
mov byte [esi + 0x4b], cl
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov ecx, dword [edi + 0x50]
mov ebx, dword [ebp]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x4acce9
cmp dword [ebx + 0xc], 0
jl 0x4accdd
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x4accdd
push eax
call fcn.00402800
mov dword [esp + 0x18], eax
add esp, 4
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4accd1
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x4acce9
mov edx, dword [ecx - 0xc]
push edx
push ecx
mov ecx, ebp
call fcn.00401bb0
fld qword [edi + 0x58]
fstp qword [esi + 0x58]
fld qword [edi + 0x60]
fstp qword [esi + 0x60]
fld qword [edi + 0x68]
fstp qword [esi + 0x68]
fld qword [edi + 0x70]
fstp qword [esi + 0x70]
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov cl, byte [edi + 0x7c]
mov byte [esi + 0x7c], cl
mov dl, byte [edi + 0x7d]
mov byte [esi + 0x7d], dl
mov al, byte [edi + 0x7e]
mov byte [esi + 0x7e], al
mov ecx, dword [edi + 0x80]
mov dword [esi + 0x80], ecx
fld qword [edi + 0x88]
fstp qword [esi + 0x88]
mov eax, esi
fld qword [edi + 0x90]
fstp qword [esi + 0x90]
fld qword [edi + 0x98]
fstp qword [esi + 0x98]
fld qword [edi + 0xa0]
fstp qword [esi + 0xa0]
fld qword [edi + 0xa8]
fstp qword [esi + 0xa8]
fld qword [edi + 0xb0]
fstp qword [esi + 0xb0]
mov edx, dword [edi + 0xb8]
pop edi
mov dword [esi + 0xb8], edx
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4b1920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61c8ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi], vtable.CSimpleTextSubtitle.0
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esp + 0x14], 1
call fcn.005bc43d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4b1981
push 0x80004005
call fcn.00401470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x14], 2
call fcn.005bc43d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4b19af
push 0x80004005
call fcn.00401470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 3
call fcn.004ad410
fld1
xor eax, eax
fstp qword [esi + 0x88]
xor ecx, ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x80], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4bbe90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61d47c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
push eax
push ecx
push edx
push ecx
add ebx, 0xfffffff0
xor edi, edi
mov dword [esp + 0x44], esp
mov ebp, esp
push ebx
mov dword [esp + 0x30], edi
call fcn.0041bc70
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x38]
add esp, 4
push eax
mov ecx, esi
call fcn.004b9540
fld qword [esp + 0x38]
mov ecx, dword [esp + 0x48]
fstp qword [esi + 0x170]
fld qword [esp + 0x40]
mov dword [esi], vtable.CPolygon.0
fstp qword [esi + 0x178]
mov dword [esi + 0x180], ecx
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], edi
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.004bb2d0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4bbf6f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x28