joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x554978
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
jne 0x4d3fe4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
push eax
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
jne 0x4d3fe4
mov esi, dword [esp + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4d4430
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x554a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov eax, dword [ecx + 0xc]
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], 3
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d44a2
fld qword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
fstp qword [esi]
mov dword [esi + 8], ecx
jmp 0x4d44fb
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4d44df
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fld qword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
fstp qword [esi]
mov dword [esi + 8], edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x4d4520
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x554a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ecx + 0xc]
lea edx, [esp]
push edx
push 0x20019
push 0
push eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], 3
push eax
mov dword [esp + 0x18], 8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d458c
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4d45c1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
fld qword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4d4610
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x554a7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x134]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x12c], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xff
mov edi, ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004d3f50
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4d469d
cmp eax, 2
je 0x4d469d
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0xc], ebx
jmp 0x4d473f
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
je 0x4d46d5
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x4d473b
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x134]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi], eax
je 0x4d4701
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4d4728
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x4d473b
mov esi, dword [esp + 0x12c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x130]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x134]
mov byte [esp + 0x124], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 0xc
Function at 0x4d4930
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x554ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [ecx + 0xc]
lea edx, [esp]
push edx
push 0x20019
push 0
push eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], 3
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d499c
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4d49c9
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x4d4e40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x554b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
mov edi, 1
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d4ea3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x20]
push 4
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d4ec4
xor edi, edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x4d4ed6
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4d4f10
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x554bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
mov edi, 1
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d4f73
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x20]
push 0xc
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d4f94
xor edi, edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x4d4fa6
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4d5130
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x554bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
mov edi, 1
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d5193
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x20]
push 8
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d51b4
xor edi, edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x4d51c6
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4d57c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x554d24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x62a2
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog_2
lea edi, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x64]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0x68]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_4
push 0x5c5620
mov ecx, edi
mov byte [esp + 0x20], 4
mov dword [esi], 0x55eca8
call sub.MFC42.DLL_CString::operator_1
push 0x5c5620
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
push 0x5c5620
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
push 0x5c5620
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x30]
cmp eax, 2
mov dword [esi + 0x84], ecx
mov ecx, 0xd
mov dword [esi + 0x74], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], ecx
jne 0x4d58a0
mov dword [esi + 0x7c], 0xc
jmp 0x4d58a8
cmp eax, 1
jne 0x4d58a8
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x4dd7c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
fldl2e
push esi
mov esi, ecx
fmul qword [0x558678]
fld st(0)
frndint
fxch st(1)
fsub st(1)
f2xm1
fld1
faddp st(1)
fscale
fstp st(1)
fdivr qword [ebp + 8]
fadd qword [0x558678]
fstp qword [esp + 0x10]
jmp 0x4dd7f7
fstp st(0)
mov ecx, esi
call fcn.004dd4e0
fcom qword [0x558958]
fnstsw ax
test ah, 1
jne 0x4dd7f5
fmul qword [esp + 0x10]
mov ecx, esi
fstp qword [esp + 8]
call fcn.004dd4e0
fstp qword [esp + 0x18]
fld qword [esp + 8]
fcomp qword [0x558678]
fnstsw ax
test ah, 0x41
jne 0x4dd891
fld qword [esp + 0x10]
fsub qword [esp + 8]
fld st(0)
fdiv qword [ebp + 8]
fst qword [esp + 8]
fcomp qword [0x558958]
fnstsw ax
test ah, 1
jne 0x4dd8d8
fld qword [ebp + 8]
fdiv st(1)
fcomp qword [0x558958]
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4dd8da
fldln2
fld qword [esp + 8]
fyl2x
fchs
fst qword [esp + 8]
fld qword [ebp + 8]
fsub qword [0x558678]
call sub.MSVCRT.dll__CIpow
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x4dd8cd
jmp 0x4dd7f7
fld qword [esp + 8]
fld qword [0x558678]
fdiv qword [ebp + 8]
call sub.MSVCRT.dll__CIpow
fld st(0)
fchs
fldl2e
fmulp st(1)
fld st(0)
frndint
fxch st(1)
fsub st(1)
f2xm1
fld1
faddp st(1)
fscale
fstp st(1)
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x4dd8d1
jmp 0x4dd7f5
fld qword [esp + 8]
pop esi
mov esp, ebp
pop ebp
ret 8
fstp st(0)
push 0x5b1a88
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0
call dword [sym.imp.MSVCRT.dll_exit]
Function at 0x4dda40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
fld qword [ebp + 8]
fld qword [0x558678]
fsub st(1)
push esi
mov esi, ecx
fld st(0)
fmul st(2)
fmul st(2)
fld qword [ebp + 0x10]
fmul qword [ebp + 0x10]
fdivp st(1)
fsub st(2)
fstp qword [esp + 8]
fdivrp st(1)
fmul qword [esp + 8]
fst qword [esp + 0x10]
fld qword [esp + 8]
fcomp qword [0x558680]
fnstsw ax
test ah, 1
jne 0x4ddb66
fcomp qword [0x558680]
fnstsw ax
test ah, 1
jne 0x4ddb68
fld qword [esp + 8]
fcomp qword [0x558678]
fnstsw ax
test ah, 1
je 0x4ddabf
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004dd7c0
jmp 0x4ddaea
fld qword [esp + 8]
fcomp qword [0x558678]
fnstsw ax
test ah, 0x41
jne 0x4ddae3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.004dd8f0
jmp 0x4ddaea
mov ecx, esi
call fcn.004dd4e0
fstp qword [esp + 8]
fld qword [esp + 0x10]
fcomp qword [0x558678]
fnstsw ax
test ah, 1
je 0x4ddb1f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004dd7c0
fadd qword [esp + 8]
fdivr qword [esp + 8]
pop esi
mov esp, ebp
pop ebp
ret 0x10
fld qword [esp + 0x10]
fcomp qword [0x558678]
fnstsw ax
test ah, 0x41
jne 0x4ddb50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004dd8f0
fadd qword [esp + 8]
fdivr qword [esp + 8]
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.004dd4e0
fadd qword [esp + 8]
pop esi
fdivr qword [esp + 4]
mov esp, ebp
pop ebp
ret 0x10
fstp st(0)
push str.parameters_are_not_good_for_beta_distribution_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
Function at 0x4e4b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5554b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x1c], 0x55fb5c
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
lea ebp, [esi + 0x30]
mov dword [esp + 0x58], ebx
mov dword [ebp + 4], ebx
mov dword [ebp], 0x55870c
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], 0x55870c
lea edi, [esi + 0xc]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [edi], eax
mov dword [esi + 0x4c], eax
push str.Arial
mov dword [esi + 0x58], ebx
mov dword [edi + 4], ecx
mov ecx, 0xf
mov byte [esp + 0x5c], 2
mov dword [esi], 0x55fb58
mov dword [edi + 8], edx
mov dword [esi + 0x5c], 0x3fe80000
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [edi + 0xc], eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
mov dword [esi + 0x40], 0x2ee0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
fild dword [esi + 0x40]
fmul qword [esi + 0x58]
fmul qword [0x558780]
call sub.MSVCRT.dll__ftol
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
call edi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
fild dword [esi + 0x40]
fmul qword [esi + 0x58]
fmul qword [str.UUUUUU]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
call edi
push eax
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x60], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x4e4c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5554ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x55fb58
mov dword [esp + 0x18], 0
lea edi, [esi + 0x38]
mov dword [esp + 0xc], edi
mov dword [edi], 0x558628
mov ecx, edi
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [edi], 0x558614
lea edi, [esi + 0x30]
mov dword [esp + 0xc], edi
mov dword [edi], 0x558628
mov ecx, edi
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
add esi, 0x1c
mov dword [edi], 0x558614
mov dword [esp + 0xc], esi
mov dword [esi], 0x55fb5c
mov eax, dword [esi + 4]
mov dword [esp + 0x18], 4
test eax, eax
je 0x4e4d33
mov ecx, dword [esi + 8]
mov edx, ecx
dec ecx
test edx, edx
je 0x4e4d27
push ebx
lea edi, [eax + 0x14]
lea ebx, [ecx + 1]
mov ecx, edi
call sub.MFC42.DLL_CString::CString
add edi, 0x18
dec ebx
jne 0x4e4d19
pop ebx
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x558614
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e5030
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x55552a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov eax, dword [ebx + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
push 0x10
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x4e5087
mov ecx, eax
call sub.MFC42.DLL_CDC::CDC
mov edi, eax
jmp 0x4e5089
xor edi, edi
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
sub eax, ebp
sub ecx, ebx
test esi, esi
jne 0x4e50bc
xor edx, edx
jmp 0x4e50bf
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
call sub.MFC42.DLL_CGdiObject::FromHandle
test esi, esi
mov ebx, eax
jne 0x4e50da
xor eax, eax
jmp 0x4e50dd
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x4e516e
test ebx, ebx
jne 0x4e50f8
xor eax, eax
jmp 0x4e50fb
mov eax, dword [ebx + 4]
push eax
mov eax, dword [edi + 4]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, ebx
test esi, esi
jne 0x4e5121
xor edx, edx
jmp 0x4e5124
mov edx, dword [esi + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [edi + 4]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x4e514b
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 4]
push edx
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4e73a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareRocscienceSwedgeSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e741a
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push str.CurDir
push ecx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e740f
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll__chdir]
add esp, 4
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x11c
ret

Function at 0x4e7450
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55573d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CWinApp::CWinApp
lea ecx, [esi + 0xc4]
mov dword [esp + 0x248], ebx
call fcn.00408a20
lea ecx, [esi + 0x130]
mov byte [esp + 0x248], 1
call fcn.004f2110
lea ecx, [esi + 0x138]
mov byte [esp + 0x248], 2
call sub.MFC42.DLL_CString::CString_4
mov eax, 0x3ff00000
mov dword [esi + 0x180], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x184], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x174], eax
mov dword [esi + 0x16c], eax
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
push 0x22b
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
mov dword [esi + 0x140], ebx
push eax
push 0xd
mov dword [esi + 0x148], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x158], ebx
push 0x400
mov dword [esi + 0x188], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x144], 0x40260000
mov dword [esi + 0x14c], 0x40210000
mov dword [esi + 0x154], ebx
mov dword [esi + 0x15c], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4e7575
mov al, byte [esp + 0x14]
xor ecx, ecx
cmp al, 0x31
sete cl
mov dword [esi + 0x164], ecx
jmp 0x4e757f
mov dword [esi + 0x164], 1
mov ecx, dword [esp + 0x240]
mov dword [esi], 0x55fe58
mov byte [esi + 0x118], bl
mov dword [esi + 0x11c], 1
mov dword [esi + 0x188], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x190], ebx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret