joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a1335
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x28]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
je 0x4ae4f8
mov dword [esi + 4], 0x5b927c
mov dword [esi + 0x68], vtable.CSerializable.0
mov dword [esp + 8], 1
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
push ebx
push eax
mov ecx, esi
call fcn.004ab0e0
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.CProjectDataProperty.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], vtable.CProjectDataProperty.1.0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dl, byte [esp + 0x30]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], vtable.TextRenderer::CDataSource.0
mov dword [esi + 0x18], ecx
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], 1
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], 1
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], 1
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], 1
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3d], 1
push 0xc
mov dword [esp + 0x20], 2
mov byte [esi + 0x48], dl
call fcn.00570bbc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ebx
mov eax, dword [esi + 4]
mov dword [esi], vtable.CCDPartProperty.2.0
mov dword [esi + 0x10], vtable.CCDPartProperty.1.0
mov byte [esp + 0x14], 1
mov ecx, dword [eax + 4]
mov byte [esp + 0x15], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 1
mov dword [ecx + esi + 4], vtable.CCDPartProperty.0
mov edx, dword [esi + 4]
add esp, 4
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], bl
lea ecx, [eax - 0x64]
mov dword [eax + esi], ecx
xor eax, eax
mov dword [esi + 0x24], eax
mov eax, 0x62
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0x28], edx
mov dx, word [esp + 0x30]
mov dword [esi + 0x38], eax
xor al, al
mov word [esi + 0x34], dx
mov byte [esi + 0x36], al
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], bl
mov ecx, dword [esp + 0x10]
xor eax, eax
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], bl
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ecx
mov byte [esi + 0x45], 1
mov byte [esi + 0x44], bl
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x4b0b40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5a1580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6131b0]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.0057594a
mov al, 1
mov byte [esp + 0x15], bl
mov byte [esp + 0x14], al
lea esi, [edi + 0xc]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov byte [esp + 0x30], al
call fcn.00575d0e
mov cl, byte [esp + 0x15]
mov al, byte [esp + 0x14]
mov byte [esi + 5], cl
lea ecx, [esp + 0x10]
mov byte [esi + 4], al
mov byte [esp + 0x2c], bl
call fcn.00575bd5
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575bd5
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x18]
push edx
push 0x42
mov ecx, dword [eax + 0x1c]
push 0x44a
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x4b0cb0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4b1cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a17c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x10]
mov ecx, 0xc
lea edi, [esp + 0x48]
mov dword [esp + 0x40], 0x5b367c
mov dword [esp + 0x7c], vtable.CSerializable.0
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x5b3680]
mov dword [esp + 0xc], eax
mov dword [esp + ecx + 0x40], vtable.CMatrix_double_.0
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
mov dword [esp + ecx + 0x3c], eax
lea edx, [esp + 0x40]
mov ecx, ebx
push edx
mov dword [esp + 0xac], eax
call fcn.004b1820
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call dword [eax + 0x5c]
mov ebx, dword [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.004a7930
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], esi
jle 0x4b1e19
mov edx, dword [ebx + 0x10]
test esi, esi
fild dword [edx + esi*8]
lea eax, [edx + esi*8]
fst qword [esp + 0x10]
fild dword [eax + 4]
fld qword [esp + 0x50]
fmul st(1)
fld qword [esp + 0x48]
fmul st(3)
faddp st(1)
fadd qword [esp + 0x58]
fld qword [esp + 0x68]
fmul st(2)
fld qword [esp + 0x60]
fmul st(4)
faddp st(1)
fadd qword [esp + 0x70]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp st(0)
fstp st(0)
jne 0x4b1dfb
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x88]
call fcn.004a3470
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
jmp 0x4b1e09
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0046d950
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
mov dword [esp + 0xc], esi
jl 0x4b1d8e
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jle 0x4b1e8d
mov eax, dword [ebx + 0x10]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
fild dword [eax + edi*8]
lea esi, [eax + edi*8]
fstp qword [esp + 0x14]
fild dword [esi + 4]
fstp qword [esp + 0x1c]
call fcn.00440c10
fld qword [esp + 0x18]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [esp + 0x18]
fadd qword [0x5af430]
mov dword [esp + 0x14], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov edx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
inc edi
cmp edi, eax
jl 0x4b1e22
mov eax, dword [ebp + 8]
mov ecx, 8
lea esi, [esp + 0x20]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c3a50
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a2645
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
push esi
cmp ecx, eax
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
je 0x4c3a9a
mov dword [ebx + 4], 0x5b3980
mov dword [ebx + 0x74], vtable.CSerializable.0
mov dword [esp + 0x10], 1
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], 0x6e
mov dword [ebx], vtable.CProperty.1.0
mov edx, dword [ecx + 4]
mov dword [edx + ebx + 4], vtable.CProperty.0
mov cl, byte [esp + 0xf]
mov byte [ebx + 0xd], 0
mov byte [ebx + 0xe], 1
mov byte [ebx + 0x10], 0
mov byte [ebx + 0x11], 1
mov byte [ebx + 0x13], 0
mov byte [ebx + 0x14], 1
mov byte [ebx + 0x16], 0
mov byte [ebx + 0x17], 1
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x30], eax
lea esi, [ebx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x50], 0
mov byte [ebx + 0x51], 1
mov byte [esi], cl
push eax
mov ecx, esi
mov dword [esp + 0x74], 1
call fcn.004318f0
mov byte [esi + 0x10], 0
mov byte [esi + 0x11], 1
mov edx, dword [ebx + 4]
mov dword [ebx], vtable.CTextExtendedProperty.1.0
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 1
mov eax, dword [edx + 4]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [eax + ebx + 4], vtable.CTextExtendedProperty.0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
mov eax, dword [ecx + 4]
mov cx, word [esp + 0x10]
mov byte [esp + 0x11], 1
mov dword [esp + 0x4c], 0
lea edx, [eax - 0x70]
mov dword [esp + 0x50], 0
mov dword [eax + ebx], edx
xor al, al
mov byte [esp + 0x10], al
mov dx, word [esp + 0x10]
mov word [ebx + 0x12], cx
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 1
mov cx, word [esp + 0x10]
mov word [ebx + 0xc], dx
mov edx, dword [esp + 0x18]
mov word [ebx + 0x15], cx
mov ecx, dword [esp + 0x20]
mov byte [ebx + 0x14], al
mov byte [ebx + 0xe], al
mov byte [ebx + 0x17], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, 0xe
lea esi, [esp + 0x28]
lea edi, [esp + 0x28]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea esi, [esp + 0x28]
lea edi, [ebx + 0x18]
mov byte [esp + 0x60], 1
mov byte [esp + 0x61], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ca550
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a2978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x6131b0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x178]
xor ebx, ebx
cmp eax, 0x4edc
mov dword [esp + 0x5c], ebx
jne 0x4ca591
fld qword [esi + 0x98]
jmp 0x4ca597
fld qword [esi + 0xa0]
mov eax, dword [esi + 0xa8]
fchs
mov ecx, dword [eax + 8]
fstp qword [esp + 0x1c]
cmp ecx, ebx
je 0x4ca5cd
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [eax + 0xc]
mov dword [esp + 0x20], ebx
call fcn.00483d90
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
fld qword [eax]
jmp 0x4ca5d3
fld qword [0x5b39c0]
mov edi, dword [esp + 0x64]
mov eax, dword [esi + 0x170]
sub esp, 8
lea ecx, [esp + 0x18]
fild dword [edi + 8]
fadd qword [esp + 0x24]
fdiv st(1)
fstp qword [esp]
push eax
push ecx
fstp st(0)
call fcn.0056ad27
mov edx, dword [0x6131b0]
add esp, 0x10
mov dword [esp + 0xc], edx
mov ecx, dword [esi + 0xa8]
mov byte [esp + 0x5c], 1
mov eax, dword [ecx + 8]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00483860
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s__s
push eax
mov byte [esp + 0x6c], 2
call fcn.0056ad27
add esp, 0x10
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 1
call fcn.00575bd5
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
push eax
call fcn.00576005
mov edx, dword [esp + 0xc]
mov esi, dword [esi + 0x174]
mov dword [esp + 0x40], eax
mov eax, dword [edx - 8]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov ecx, dword [esi + 0x1c]
push eax
push ebx
push 0x1007
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00576054
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], bl
call fcn.00575bd5
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00575bd5
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x4ce1aa
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a2d07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push esi
mov esi, ecx
push eax
push 0x84
mov dword [esp + 0xc], esi
call fcn.005767ec
mov dword [esi + 0x5c], vtable.CHelpTargetInterface.0
mov dword [esi], vtable.CHelpTarget_class_CDialog_.0
mov dword [esi + 0x5c], vtable.CHelpTarget_class_CDialog_.1.0
lea ecx, [esi + 0x60]
mov dword [esp + 0x10], 0
call fcn.004e79e0
lea ecx, [esi + 0xe0]
mov byte [esp + 0x10], 1
call fcn.004e79e0
lea ecx, [esi + 0x160]
mov byte [esp + 0x10], 2
call fcn.00482c60
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x10], 3
call fcn.00482c60
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x10], 4
call fcn.004e79e0
lea ecx, [esi + 0x260]
mov byte [esp + 0x10], 5
call fcn.004e79e0
lea ecx, [esi + 0x2e0]
mov byte [esp + 0x10], 6
call fcn.00482c60
lea ecx, [esi + 0x320]
mov byte [esp + 0x10], 7
call fcn.00482c60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push 0x5ffb78
push 0x5fd270
push 0
push eax
mov dword [esi], vtable.CGeometryBentTextDlg.1.0
mov dword [esi + 0x5c], vtable.CGeometryBentTextDlg.0
mov dword [esi + 0x360], eax
mov dword [esi + 0x36c], ecx
call fcn.0053ce5e
mov edx, dword [esi + 0x360]
push 0
push 0x5ff9d0
push 0x5fd270
push 0
push edx
mov dword [esi + 0x364], eax
call fcn.0053ce5e
mov ecx, dword [esp + 0x30]
add esp, 0x28
mov dword [esi + 0x368], eax
mov byte [esi + 0x370], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4db840
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5a4120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push 0x7d00
call fcn.00570bbc
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [ecx]
push eax
push 0x7d00
push edi
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov al, byte [edi]
xor ebx, ebx
cmp al, bl
jne 0x4db8ba
push edi
call fcn.00570be5
add esp, 4
mov ecx, esi
call fcn.004db820
lea edx, [esp + 0x10]
push 0x5d9648
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CFormatException.0
call fcn.0053e275
push ebp
mov ebp, dword [esp + 0x40]
push 0x3d
push edi
call fcn.0053e3a7
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4db993
sub eax, edi
lea ecx, [esp + 0x10]
push eax
push edi
call fcn.0056a2a6
lea ecx, [esi + 1]
mov dword [esp + 0x34], ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.00575c43
mov edx, dword [0x6131b0]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x38], 2
call fcn.0057594a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 3
push ecx
lea ecx, [esp + 0x24]
call fcn.0057594a
lea edx, [esp + 0x1c]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x3c], 4
call fcn.00446d30
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 5
call fcn.00575bd5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.00575bd5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00575bd5
lea ecx, [esp + 0x40]
push ecx
lea ecx, [edi + 0x10]
call fcn.00575d0e
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call fcn.00575bd5
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.00575bd5
jmp 0x4db995
mov esi, edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [ecx + esi + 1]
lea edi, [ecx + esi + 1]
cmp al, bl
jne 0x4db8bf
mov edx, dword [esp + 0x14]
push edx
call fcn.00570be5
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword fs:[0], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x4dd6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004dd610
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4dd78e
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp + 0xc]
push edx
mov edx, dword [esi + 4]
lea ecx, [ebp + 8]
push ebx
push ecx
push ebx
push edx
push eax
call edi
test eax, eax
je 0x4dd726
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00458870
lea eax, [ebp - 0x1c]
push 0x5d9638
push eax
call fcn.0053e275
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00570bbc
mov ecx, dword [esi + 4]
add esp, 4
lea edx, [ebp + 0xc]
mov dword [esi + 8], eax
push edx
mov edx, dword [esi]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ecx
push edx
call edi
test eax, eax
je 0x4dd772
mov eax, dword [esi + 8]
push eax
call fcn.00570be5
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [esi + 8], ebx
push ebx
call fcn.00458870
lea ecx, [ebp - 0x24]
push 0x5d9638
push ecx
call fcn.0053e275
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004dd660
jmp 0x4dd788
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4dd880
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a42df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CRegistryOutputStream.0
mov ecx, dword [esi + 0x14]
lea edi, [esi + 0x14]
xor ebx, ebx
mov dword [esp + 0x24], 1
cmp ecx, ebx
je 0x4dd8fe
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
cmp eax, ebx
jne 0x4dd8ca
mov eax, 0x5af328
push edx
push eax
mov eax, dword [esi + 0x18]
push 3
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4dd8f7
push ebx
lea ecx, [esp + 0x18]
call fcn.00458870
lea ecx, [esp + 0x14]
push 0x5d9638
push ecx
call fcn.0053e275
mov ecx, edi
call fcn.004dd660
mov ecx, esi
mov byte [esp + 0x24], bl
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004dd6a0
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4dd933
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4dd92a
cmp al, 0xff
je 0x4dd92a
dec al
mov byte [ecx], al
jmp 0x4dd933
push ecx
call fcn.00570be5
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4def90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a439e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.004dee90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x10], eax
fld qword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], ecx
fst qword [esi + 0x20]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov edx, dword [0x6131b0]
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
mov dword [ecx], edx
mov eax, dword [0x6131b0]
lea edi, [esi + 0x34]
mov dword [edi], eax
fstp qword [esi + 0x28]
push 0x5fe3e4
mov byte [esp + 0x18], 2
mov dword [esi], vtable.CSimpleImageEffect.0
call fcn.00575d5e
push str._.0lf
mov ecx, edi
call fcn.00575d5e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24

Function at 0x4e79e0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5a47b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00482500
lea eax, [esp + 0xc]
push 5
push eax
push 0xe
push 0x400
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.CFloatEdit.0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4e7a34
mov cl, byte [esp + 0xc]
mov byte [esi + 0x78], cl
jmp 0x4e7a38
mov byte [esi + 0x78], 0x2e
push str._0.02f
lea ecx, [esi + 0x4c]
call fcn.00575d5e
lea edi, [esi + 0x48]
push 0x6003c4
mov ecx, edi
call fcn.00575d5e
mov dl, byte [esi + 0x78]
mov ecx, edi
push edx
call fcn.00575fd8
push 0x60365c
mov ecx, edi
call fcn.00575fb1
mov ecx, dword [esp + 0x14]
mov eax, 0x2594c37d
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x64], 0xd4b249ad
mov dword [esi + 0x6c], 0x54b249ad
mov dword [esi + 0x74], 0x3ff00000
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4e7dec
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a486f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 8], 0
call fcn.00575c43
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 1
push ecx
mov ecx, esi
call fcn.004e7b30
mov edx, dword [esp + 0x24]
push edx
call fcn.00540cf3
fst qword [esp + 0xc]
fcomp qword [0x5b3130]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x4e7e3a
mov al, byte [esi + 0x58]
test al, al
jne 0x4e7e70
fld qword [esi + 0x68]
fmul qword [esi + 0x70]
fld qword [esp + 8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4e7e53
fstp qword [esp + 8]
jmp 0x4e7e55
fstp st(0)
fld qword [esi + 0x60]
fmul qword [esi + 0x70]
fld qword [esp + 8]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x4e7e6e
fstp qword [esp + 8]
jmp 0x4e7e70
fstp st(0)
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov esi, dword [esi + 0x4c]
push eax
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0056ad27
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.0057594a
mov dword [esp + 4], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.00575bd5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8