joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30020533
Capabilities:
Execute anti-debugging instructions
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x30005dc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x3003205c], ebx
mov dword [ebp - 0x108], ebx
jne 0x30020725
lea eax, [ebp - 0x108]
push eax
push 0x20019
push ebx
push 0x30006148
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x30020725
push 0xff
lea eax, [ebp - 0x103]
push ebx
push eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], 1
mov byte [ebp - 0x104], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x114], 0x100
call fcn.300204d1
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x30020725
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x30032070], eax
je 0x30020725
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x300061cc
push eax
call esi
push 0x300061b8
push dword [0x30032070]
mov dword [0x3003205c], eax
call esi
push 0x300061a8
push dword [0x30032070]
mov dword [0x30032064], eax
call esi
push 0x30006190
push dword [0x30032070]
mov dword [0x30032060], eax
call esi
push 0x30006174
push dword [0x30032070]
mov dword [0x30032068], eax
call esi
mov dword [0x3003206c], eax
mov eax, dword [0x3003205c]
cmp eax, ebx
pop esi
je 0x30020725
cmp dword [0x30032064], ebx
je 0x30020725
cmp dword [0x30032060], ebx
je 0x30020725
push dword [ebp + 8]
call eax
cpuid
rdtsc
cpuid
rdtsc
cpuid
rdtsc
cmp dword [ebp + 0xc], 0
je 0x300206dc
mov eax, dword [0x30032064]
test eax, eax
je 0x300206dc
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push 0x221
call eax
push 8
call fcn.300204fe
push 9
call fcn.300204fe
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.300204d1
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push 4
call dword [0x30032064]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push 5
call dword [0x30032064]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.3001f470
leave
ret 8
Function at 0x56a0c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x115000]
push edi
jmp 0x56a0da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56a0e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56a0d0
mov eax, 1
add ebx, ebx
jne 0x56a0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56a104
jne 0x56a123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56a123
dec eax
add ebx, ebx
jne 0x56a110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56a0e8
add ebx, ebx
jne 0x56a11f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56a175
xor ecx, ecx
sub eax, 3
jb 0x56a13b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56a1aa
sar eax, 1
mov ebp, eax
jmp 0x56a146
add ebx, ebx
jne 0x56a146
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56a114
inc ecx
add ebx, ebx
jne 0x56a154
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56a114
add ebx, ebx
jne 0x56a161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56a156
jne 0x56a172
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56a156
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56a194
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56a186
jmp 0x56a0d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56a194
add edi, ecx
jmp 0x56a0d6
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56a1b2
cmp byte [edi], 0x11
jne 0x56a1b2
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 0x56a1b7
lea edi, [esi + 0x163000]
mov eax, dword [edi]
or eax, eax
je 0x56a22f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fc19c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fc318]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56a1e4
mov ecx, edi
jns 0x56a213
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 + 0x1fc31c]
or eax, eax
je 0x56a229
mov dword [ebx], eax
add ebx, 4
jmp 0x56a201
call dword [esi + 0x1fc32c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56a260
cmp al, 0xef
ja 0x56a253
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56a235
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56a242
mov ebp, dword [esi + 0x1fc320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x56a294
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x408de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516fe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00515900
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], edi
call fcn.005158a6
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 1
call fcn.005158a6
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 2
call fcn.005158a6
mov eax, 3
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], al
mov dword [esp + 0xc], vtable.CCdrConvCommandLineInfo.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::Empty
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x5c], 4
call sub.MFC42.DLL_CWinApp::ParseCommandLine
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x194]
call fcn.005158f4
lea edx, [esp + 0x38]
lea ecx, [esi + 0x198]
push edx
call fcn.005158f4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x1a4], eax
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], ecx
jne 0x408ecf
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.00409360
add esp, 4
mov dword [esi + 0x19c], eax
mov eax, dword [esp + 0x34]
cmp dword [eax - 8], edi
je 0x408eee
mov ecx, dword [esp + 0x38]
cmp dword [ecx - 8], edi
je 0x408eee
cmp dword [esi + 0x19c], edi
jle 0x408eee
mov edi, 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CCommandLineInfo::CCommandLineInfo
mov ecx, dword [esp + 0x50]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x54
ret
Function at 0x41a806
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5174db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x48], edi
jbe 0x41a829
pop edi
mov eax, 0xc8
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov eax, dword [esi + 4]
push eax
call fcn.0040e750
cmp dword [esi + 0x30], edi
jne 0x41a84f
pop edi
mov eax, 0xc8
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x34]
cmp ecx, eax
je 0x41a871
pop edi
mov eax, 0xc8
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, esi
call fcn.00441780
mov ecx, dword [esi + 0x34]
cmp ecx, edi
je 0x41a885
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 8]
push eax
add ecx, 0x1c
mov dword [esi + 0x34], edi
call fcn.0045e610
mov ecx, dword [esp + 8]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x1d0]
mov eax, dword [esp + 8]
cmp eax, edi
je 0x41a8b9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 0xc], edi
je 0x41a8cf
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.00468240
cmp dword [esi + 0x24], edi
je 0x41a8e3
mov eax, dword [esi + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x20], edi
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
je 0x41a94d
cmp dword [ecx + 0xc], edi
je 0x41a93a
call fcn.004681a0
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x41a923
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, eax
call fcn.004689a0
jmp 0x41a925
xor eax, eax
push eax
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x38], eax
call fcn.00441760
jmp 0x41a94d
cmp dword [esi + 0x24], edi
je 0x41a94d
cmp ecx, edi
je 0x41a94a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1c], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], 1
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x434400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
mov edx, dword [esp + 0x90]
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0xc0]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edi
push edx
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.00430350
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
add esp, 0x18
test eax, eax
je 0x4344ad
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xa8]
push eax
push esi
push ebx
push ebp
lea ecx, [esp + 0x2c]
push edi
push ecx
push edx
call fcn.00434680
add esp, 0x20
test eax, eax
jne 0x4344ad
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x18]
push ecx
mov dword [eax], 0
call fcn.0042e7f0
add esp, 4
jmp 0x434657
lea edx, [esp + 0x18]
push edx
call fcn.0042e7f0
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x4345d5
mov edi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x2c], eax
jle 0x434657
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434534
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
push edi
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x74]
push 1
push ecx
push edx
push eax
mov dword [esp + 0x84], 0
call fcn.0042f700
add esp, 0x18
test eax, eax
je 0x434629
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc0]
add eax, edx
mov edx, dword [esp + 0xbc]
push ecx
push edx
mov dword [esp + 0x40], eax
push esi
push ebx
lea eax, [esp + 0x44]
push ebp
push eax
push edi
mov dword [esp + 0x50], 1
mov dword [esp + 0x30], esi
mov dword [esi], 0
call fcn.004363d0
add esp, 0x1c
test eax, eax
push edi
je 0x434638
call fcn.0042e7f0
mov ecx, dword [esp + 0xc0]
push ecx
push esi
push ebx
push ebp
call fcn.00431580
mov eax, dword [ebx]
mov edx, dword [ebp]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x24]
add esp, 0x14
mov dword [ecx], 1
mov ecx, dword [esp + 0x20]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edx
jl 0x4344e3
jmp 0x434657
mov edx, dword [esi]
mov ecx, dword [ebx]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xc0]
mov eax, dword [ebp]
push edx
lea edx, [esp + 0x40]
lea edi, [esp + 0x40]
push edx
lea edx, [esp + 0x4c]
push 1
push edx
push ecx
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], 0
call fcn.0042f700
add esp, 0x18
test eax, eax
jne 0x4344cd
mov eax, dword [esp + 0xb4]
mov dword [eax], 0
jmp 0x434657
mov edx, dword [esp + 0xb4]
mov dword [edx], 0
jmp 0x434657
call fcn.0042e7f0
lea eax, [esp + 0x24]
push eax
call fcn.0042e7f0
mov ecx, dword [esp + 0xbc]
add esp, 8
mov dword [ecx], 0
lea edx, [esp + 0x20]
push edx
call fcn.0042e7f0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x436210
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0xc]
xor ebp, ebp
cmp dword [edi], 0
jle 0x436262
push ebx
mov ebx, dword [esp + 0x14]
push esi
xor esi, esi
mov eax, dword [edi + 4]
push ebx
push 0
mov cl, byte [esi + eax + 0x10]
lea eax, [esi + eax + 0x10]
mov dl, cl
xor dl, bl
and dl, 1
xor dl, cl
mov byte [eax], dl
mov edx, dword [edi + 4]
mov eax, esi
add eax, edx
push eax
call fcn.00436270
mov eax, dword [edi]
add esp, 0xc
inc ebp
add esi, 0x18
cmp ebp, eax
jl 0x436225
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
ret
pop edi
mov eax, 1
pop ebp
ret
Function at 0x446390
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx]
test eax, eax
jne 0x44639d
mov eax, dword [esp + 8]
ret 0xc
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret 0xc

Function at 0x452b40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
cmp ecx, 0xffffffff
jne 0x452b72
mov ax, word [ebx + 6]
cmp ax, word [ebx + 4]
jg 0x452c4e
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x452b6b
movsx eax, word [ebx + 0x10]
jmp 0x452b98
movsx eax, ax
shl eax, 1
jmp 0x452b98
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x452b83
movsx eax, word [ebx + 0x10]
cmp eax, ecx
jle 0x452b95
jmp 0x452b98
movsx eax, word [ebx + 6]
cmp ecx, eax
jl 0x452c49
jne 0x452b95
add eax, eax
jmp 0x452b98
lea eax, [ecx + 1]
test eax, eax
jle 0x452c49
movsx ebp, word [ebx + 8]
imul ebp, eax
push ebp
mov dword [esp + 0x10], ebp
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 8], edx
je 0x452c81
push esi
mov esi, dword [ebx + 0xc]
test esi, esi
push edi
je 0x452c1f
movsx ebp, word [ebx + 4]
movsx eax, word [ebx + 8]
imul ebp, eax
mov ecx, ebp
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub ecx, ebp
xor eax, eax
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x18]
mov ecx, edx
mov edx, dword [esp + 0x14]
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
jmp 0x452c37
mov ecx, ebp
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
movsx esi, word [ebx + 8]
mov eax, ebp
mov dword [ebx + 0xc], edx
cdq
idiv esi
pop edi
pop esi
mov word [ebx + 6], ax
cmp ecx, 0xffffffff
jne 0x452c54
mov cx, word [ebx + 4]
jmp 0x452c5c
movsx edx, word [ebx + 4]
cmp ecx, edx
jl 0x452c63
lea eax, [ecx + 1]
mov word [ebx + 4], ax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x452c6e
mov word [eax], cx
mov edx, dword [ebx]
movsx eax, cx
push eax
mov ecx, ebx
call dword [edx + 4]
pop ebp
pop ebx
add esp, 8
ret 8
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x469d3e
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x518148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.00496790
lea ecx, [esi + 0x88]
mov dword [esp + 0x3c], 0
call fcn.004699a0
mov edx, dword [esp + 0x50]
mov dword [esi], vtable.CZoomFilter.0
mov ecx, dword [esp + 0x4c]
mov edi, dword [edx]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x18]
push eax
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov edx, edi
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
lea eax, [esi + 0x18]
push edx
push eax
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
sub ebx, eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
fild dword [esp + 0x4c]
sub eax, ecx
push edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
fidiv dword [esp + 0x50]
sub esp, 8
sub ebp, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x58], ebp
sub eax, edi
sub esp, 8
fstp qword [esp + 8]
fild dword [esp + 0x60]
mov dword [esp + 0x60], eax
lea eax, [esi + 0x18]
fidiv dword [esp + 0x60]
fstp qword [esp]
push eax
call sub.CRLUTL110.dll__UTLStretchMatrix_28
mov ecx, esi
call fcn.00469e50
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
Function at 0x46bbf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5181e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov ebx, ecx
push esi
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebx
call fcn.0049e550
mov esi, dword [esp + 0x30]
lea eax, [ebx + 0x6c]
mov ecx, 8
mov edi, eax
mov dword [ebx], vtable.CWireframeExFilter.0
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ebp
cmp ecx, 2
mov dword [ebx + 0x10], 6
mov dword [ebx + 0x8c], ebp
jne 0x46bcc2
push 0x88
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x22
xor eax, eax
mov dword [ebx + 0x8c], edi
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x8c]
lea eax, [ebx + 0x70]
add esp, 4
mov word [ecx], 2
mov edx, dword [ebx + 0x8c]
mov dword [edx + 8], 1
mov ecx, dword [ebx + 0x8c]
mov edx, dword [eax]
add ecx, 0x48
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0x3c]
mov word [ecx + 0xc], 0x64
mov edx, dword [ebx + 0x3c]
add edx, 0x18
push edx
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x90], ebp
cmp eax, 2
jne 0x46bd66
push 0x684
call sub.MFC42.DLL_operatornew
mov dword [ebx + 0x90], eax
add esp, 4
mov word [eax], 1
mov eax, dword [ebx + 0x90]
push eax
call fcn.00439910
mov edi, dword [ebx + 0x90]
mov ecx, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x80]
mov word [eax], 1
mov edx, dword [ebx + 0x90]
mov eax, dword [ecx]
add edx, 4
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [ebx + 0x90]
mov word [edx + 0x10], bp
mov eax, dword [ebx + 0x90]
mov dword [eax + 0x14], ebp
mov ecx, dword [ebx + 0x90]
mov dword [ecx + 0x18], 0x1c2
mov edx, dword [ebx + 0x90]
mov word [edx + 0x1c], 0x3c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x48d5b0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5187d1
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x5c
call sub.MFC42.DLL_operatornew
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, eax
mov ecx, 0x17
xor eax, eax
mov dword [ebx + 0x60], edi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x60]
xor ecx, ecx
test ebp, ebp
mov dword [eax + 4], esi
mov edx, dword [ebx + 0x60]
mov eax, dword [esp + 0x24]
push 0x20
sete cl
mov dword [edx + 0x14], ecx
mov edx, dword [ebx + 0x60]
lea ecx, [eax + 4]
lea ebp, [eax + 0x1c]
mov dword [edx + 8], ecx
mov ecx, dword [ebx + 0x60]
mov edx, dword [eax + 0x4c]
mov dword [ecx + 0x58], edx
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x48d639
push 4
mov ecx, eax
call fcn.00455fd0
jmp 0x48d63b
xor eax, eax
mov ecx, dword [ebx + 0x60]
or edi, 0xffffffff
push 0x20
mov dword [esp + 0x1c], edi
mov dword [ecx + 0xc], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x18], 1
je 0x48d66d
push 0x14
mov ecx, eax
call fcn.00455fd0
jmp 0x48d66f
xor eax, eax
mov edx, dword [ebx + 0x60]
push str.CORELBUDISTAT
mov dword [esp + 0x1c], edi
mov dword [edx + 0x10], eax
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test ebp, ebp
jne 0x48d691
test eax, eax
je 0x48d6ec
jmp 0x48d6af
mov edi, dword [ebx + 0x60]
mov ecx, 0xc
add edi, 0x18
mov esi, ebp
test eax, eax
rep movsd dword es:[edi], dword [esi]
jne 0x48d6ab
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48d6e8
mov esi, dword [esp + 0x24]
push 0x168
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x18], 2
je 0x48d6de
push esi
push 0
mov ecx, eax
call fcn.004b3320
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x48], eax
jmp 0x48d6ec
mov ecx, dword [ebx + 0x60]
xor eax, eax
mov dword [ecx + 0x48], eax
jmp 0x48d6ec
mov esi, dword [esp + 0x24]
mov edx, dword [ebx + 0x60]
mov eax, dword [esi + 0x18]
pop edi
mov dword [edx + 0x4c], eax
mov ecx, dword [ebx + 0x60]
mov edx, dword [esi + 0x1c]
mov dword [ecx + 0x50], edx
mov eax, dword [ebx + 0x60]
mov ecx, dword [esi + 0x20]
pop esi
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 8]
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc