joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ab870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 7
mov edi, dword [esi + 0xc]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
call fcn.00441900
mov edi, dword [eax + 0x1558]
mov ebp, dword [eax + 0x1554]
add eax, 0x1554
sub edi, ebp
lea ecx, [esp + 0x14]
sar edi, 2
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x1c]
xor ebx, ebx
push 0x1506
push eax
mov ecx, 0x4dc390
mov dword [esp + 0x38], ebx
call fcn.004984a0
mov ecx, dword [esp + 0x1c]
inc edi
push edi
push ecx
lea edx, [esp + 0x1c]
push str._s__d
push edx
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0xc]
xor eax, eax
add ecx, 4
add esp, 0x10
mov dword [ecx], eax
push str.12345678
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x18]
add edx, 4
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xc]
mov dl, byte [eax + 0x14]
and dl, 0xfc
mov byte [eax + 0x14], dl
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x14]
and cl, 0xf7
mov byte [eax + 0x14], cl
mov ecx, dword [esi + 0xc]
mov word [ecx + 0x15], bx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ebp, dword [esi + 0xc]
push 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
add ebp, 0x17
call sub.MFC42.DLL_CString::Remove
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x471310
xor al, al
jmp 0x47138f
push 0x45
push 0x2a
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
push 0x46
push 0x23
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
lea eax, [esp + 0x10]
push str.00000000
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov byte [esp + 0x30], 3
xor edi, edi
push 2
lea edx, [esp + 0x24]
push edi
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [ebx + ebp]
push ecx
push 0x4d5340
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
add edi, 2
inc ebx
cmp edi, 8
jl 0x471345
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x24]
mov edx, dword [esi + 0xc]
mov ecx, esi
mov byte [edx + 0x1b], al
mov eax, dword [esi]
call dword [eax + 0x18]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4719f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab96f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
xor esi, esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_4
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x1c], 2
cmp edi, esi
jle 0x471a68
push ebp
mov ebp, dword [esp + 0x2c]
xor eax, eax
lea ecx, [esp + 0xc]
mov al, byte [esi + ebp]
push eax
push str._02X
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
inc esi
cmp esi, edi
jl 0x471a3c
pop ebp
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
and eax, 0xff
push eax
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
mov esi, dword [esp + 0x24]
push eax
push esi
mov byte [esp + 0x24], 3
call fcn.0044d540
add esp, 8
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x474ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4abf30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 8
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00474f90
add esp, 0xc
mov edi, dword [esp + 0x28]
push eax
mov dword [esp + 0x24], 0
lea ebx, [edi + 8]
mov ecx, ebx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0xc]
push 8
add edx, 8
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00474f90
add esp, 0xc
lea ebp, [edi + 0xc]
push eax
mov ecx, ebp
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0xc]
push 0x20
add ecx, 0x10
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00474f90
add esp, 0xc
push eax
mov ecx, ebx
mov dword [esp + 0x24], 2
call sub.MFC42.DLL_CString::operator
or ebx, 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xc]
push 0x20
add eax, 0x30
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00474f90
add esp, 0xc
push eax
mov ecx, ebp
mov dword [esp + 0x24], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0xc]
push 0x20
add edx, 0x50
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00474f90
add esp, 0xc
push eax
lea ecx, [edi + 0x10]
mov dword [esp + 0x24], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0xc]
push 0x20
add ecx, 0x70
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00474f90
add esp, 0xc
push eax
lea ecx, [edi + 0x14]
mov dword [esp + 0x24], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x475340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ecx + 0xa8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push edi
push ebx
push ebx
push 0x474
push eax
call esi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push 0x4dab08
lea ecx, [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
push 0x1c84
push ecx
mov ecx, 0x4dc390
mov dword [esp + 0x40], ebx
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push ebx
push 0x1306
push eax
call esi
lea ecx, [esp + 0x10]
push 0x1c87
push ecx
mov ecx, 0x4dc390
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push 1
push 0x1306
push eax
call esi
lea ecx, [esp + 0x10]
push 0x1c88
push ecx
mov ecx, 0x4dc390
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push 2
push 0x1306
push eax
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x47cf20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4acc08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x3c0
mov edi, dword [esi + 0xc]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0xc]
mov ecx, 0x107
xor eax, eax
add edi, 0xae4
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x10]
mov ecx, 0x3c0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x38], 2
xor ebx, ebx
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x47cfa9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x47cfab
xor eax, eax
mov eax, dword [eax + 0x6ec]
mov ebp, dword [eax]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x47cfc5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x47cfc7
xor eax, eax
cmp ebp, dword [eax + 0x6ec]
je 0x47cff1
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x2bd]
cmp dword [eax], ecx
je 0x47cfe1
mov ebp, dword [ebp]
jmp 0x47cfb3
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x2c]
add edx, 0x18
push edx
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47d01b
mov edx, dword [esi + 0xc]
mov byte [edi + edx + 0x10], 0
mov eax, dword [esi + 0xc]
mov byte [edi + eax], 0
jmp 0x47d044
mov ecx, dword [esi + 0xc]
mov edx, edi
mov byte [edi + ecx + 0x10], 1
mov eax, dword [esi + 0xc]
add edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ebp, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
mov ecx, edi
mov eax, dword [edx]
add ecx, ebp
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
add edi, 0x11
inc ebx
cmp edi, 0xae4
jl 0x47cf97
mov eax, dword [esi + 0xc]
mov byte [eax + 0x7f7], 0
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x808], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x47d880
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4aceab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x4bd460
mov dword [esp + 0x18], 0
lea esi, [edi + 0x104]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CComboBox::CComboBox
lea ecx, [edi + 0x84]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CComboBox::CComboBox
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.0049fc90
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47dea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aced8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0xc]
push 0x590
push eax
mov ecx, 0x4dc390
mov dword [esp + 0x28], 0
call fcn.004984a0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4dab08
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0xc4]
mov byte [esp + 0x24], 2
push edi
call fcn.00441900
add eax, 0x14f4
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x30], 0
call fcn.0044d250
mov eax, dword [esi + 0x154]
push edi
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00440f00
add esp, 0x18
test eax, eax
jne 0x47df89
mov edx, dword [esi + 0xe4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0x14e
push edx
call edi
mov eax, dword [esi + 0xe4]
push 0
push 0
push 0x150
push eax
call edi
mov ecx, dword [esi + 0x154]
mov dword [ecx + 0x10], eax
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x47ffd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ecx + 0xa8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push edi
push ebx
push ebx
push 0x474
push eax
call esi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push 0x4dab08
lea ecx, [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
push 0x907
push ecx
mov ecx, 0x4dc390
mov dword [esp + 0x40], ebx
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push ebx
push 0x1306
push eax
call esi
lea ecx, [esp + 0x10]
push 0x908
push ecx
mov ecx, 0x4dc390
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push 1
push 0x1306
push eax
call esi
lea ecx, [esp + 0x10]
push 0x909
push ecx
mov ecx, 0x4dc390
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push 2
push 0x1306
push eax
call esi
lea ecx, [esp + 0x10]
push 0x90a
push ecx
mov ecx, 0x4dc390
call fcn.004984a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push edx
push 3
push 0x1306
push eax
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x481680
Capabilities:
Encrypt data using curve25519

Disassembly:
mov edx, ecx
push ebx
push esi
push edi
mov edi, dword [edx + 0xc]
mov ecx, 0x16
or eax, 0xffffffff
mov bl, 0xfe
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0xc]
mov byte [eax + 4], 8
mov eax, dword [edx + 0xc]
mov cl, byte [eax + 5]
and cl, bl
mov byte [eax + 5], cl
mov eax, dword [edx + 0xc]
mov cl, byte [eax + 5]
or cl, 6
mov byte [eax + 5], cl
mov eax, dword [edx + 0xc]
mov cl, 0xe7
and byte [eax + 5], cl
mov eax, dword [edx + 0xc]
mov byte [eax + 6], 0x28
mov eax, dword [edx + 0xc]
and byte [eax + 7], 0xfc
mov eax, dword [edx + 0xc]
and byte [eax + 7], 0xfb
mov eax, dword [edx + 0xc]
and byte [eax + 7], cl
mov eax, dword [edx + 0xc]
mov cl, byte [eax + 7]
and cl, 0xdf
mov byte [eax + 7], cl
mov ecx, dword [edx + 0xc]
mov byte [ecx + 8], 8
mov eax, dword [edx + 0xc]
mov ecx, 1
mov word [eax + 9], cx
mov eax, dword [edx + 0xc]
mov word [eax + 0xb], cx
mov eax, dword [edx + 0xc]
and byte [eax + 0xd], 0xf8
mov eax, dword [edx + 0xc]
or byte [eax + 0xd], 8
mov eax, dword [edx + 0xc]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0xc]
mov byte [eax + 0x10], 3
mov eax, dword [edx + 0xc]
or byte [eax + 0x11], cl
mov eax, dword [edx + 0xc]
mov cl, byte [eax + 0x11]
or cl, 2
mov byte [eax + 0x11], cl
mov eax, dword [edx + 0xc]
mov cl, 4
or byte [eax + 0x11], cl
mov eax, dword [edx + 0xc]
and byte [eax + 0x11], 0xf7
mov eax, dword [edx + 0xc]
or byte [eax + 0x11], 0x10
mov eax, dword [edx + 0xc]
and byte [eax + 0x11], 0xdf
mov eax, dword [edx + 0xc]
or byte [eax + 0x11], 0x40
mov eax, dword [edx + 0xc]
and byte [eax + 0x11], 0x7f
mov eax, dword [edx + 0xc]
and byte [eax + 0x12], bl
mov eax, dword [edx + 0xc]
and byte [eax + 0x12], 0xfd
mov eax, dword [edx + 0xc]
and byte [eax + 0x13], bl
mov eax, dword [edx + 0xc]
mov bl, byte [eax + 0x13]
and bl, 0xfd
mov byte [eax + 0x13], bl
mov eax, dword [edx + 0xc]
mov bl, byte [eax + 0x11]
and bl, 0xf7
mov byte [eax + 0x11], bl
mov eax, dword [edx + 0xc]
mov bl, 0x32
mov byte [eax + 0x15], cl
mov eax, dword [edx + 0xc]
mov byte [eax + 0x16], bl
mov esi, dword [edx + 0xc]
mov al, 0x14
mov byte [esi + 0x17], al
mov esi, dword [edx + 0xc]
mov byte [esi + 0x15], cl
mov ecx, dword [edx + 0xc]
mov byte [ecx + 0x16], bl
mov ecx, dword [edx + 0xc]
mov byte [ecx + 0x17], al
xor ecx, ecx
mov eax, 0x18
mov edi, dword [edx + 0xc]
lea esi, [ecx + 1]
inc ecx
mov word [eax + edi], si
add eax, 2
cmp eax, 0x28
jl 0x4817ae
pop edi
pop esi
pop ebx
ret
Function at 0x481df0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ad608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_2
push 0xf67
mov ecx, 0x4dc390
call fcn.00498cc0
mov ecx, dword [esi + 0xc]
add esi, 0x10
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x10], esi
mov byte [ecx + 4], al
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
call fcn.00441900
mov esi, eax
mov eax, dword [esi + 0x151c]
add esi, 0x1514
xor ebx, ebx
mov edi, dword [esi + 4]
cmp edi, eax
je 0x481e9c
mov ebp, dword [edi]
mov ecx, ebp
call fcn.0042d310
cmp dword [esp + 0x18], eax
je 0x481e91
mov eax, dword [esi + 8]
add edi, 4
inc ebx
cmp edi, eax
jne 0x481e75
jmp 0x481e9c
mov ecx, ebp
call fcn.00480360
test eax, eax
jne 0x481e9f
or ebx, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc ebx
mov edx, dword [ecx + 0xc]
add eax, 2
add esi, 4
cmp eax, 0x58
mov word [eax + edx - 2], bx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jl 0x481e4f
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x484000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x10], edi
mov ebx, ebp
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [0x4b5988]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00499b10
mov ecx, dword [esi + 0x10]
mov byte [edi + ecx + 8], al
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042c6c0
mov ecx, dword [esi + 0x10]
mov dword [edi + ecx], eax
mov eax, dword [ebx + 0x40]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [0x4b5988]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x24]
push 1
push edx
mov dword [esp + 0x2c], eax
call fcn.00499b10
mov ecx, dword [esi + 0x10]
mov byte [edi + ecx + 9], al
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042c6c0
mov ecx, dword [esi + 0x10]
add edi, 0xa
add esp, 0x20
add ebx, 4
mov dword [edi + ecx - 6], eax
cmp edi, 0xa0
jl 0x484015
mov eax, 0xc
xor ebx, ebx
sub eax, ebp
lea edi, [ebp + 0x94]
mov dword [esp + 0x1c], eax
mov eax, 0x20
sub eax, ebp
mov dword [esp + 0x14], eax
mov eax, dword [edi - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [0x4b5988]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x14]
push 1
push edx
mov dword [esp + 0x1c], eax
call fcn.00499b10
mov ecx, dword [esi + 0x10]
lea ebp, [ebx + ecx + 0xc8]
mov cl, byte [ebx + ecx + 0xc8]
mov dl, cl
xor dl, al
and dl, 0xf
xor dl, cl
mov byte [ebp], dl
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042c6c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x10]
add ecx, edi
mov dword [ecx + edx], eax
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [0x4b5988]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push 1
push eax
call fcn.00499b10
mov ecx, dword [esi + 0x10]
shl al, 4
mov dl, byte [ebx + ecx + 0xc8]
lea ebp, [ebx + ecx + 0xc8]
and dl, 0xf
or dl, al
mov byte [ebp], dl
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042c6c0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x10]
add esp, 0x20
add ecx, edi
inc ebx
add edi, 4
cmp ebx, 5
mov dword [ecx + edx], eax
jl 0x4840c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4