joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2b10
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58fd66
push eax
mov eax, 0x1fcc
mov dword fs:[0], esp
call fcn.0054f4c0
mov al, byte [esp + 3]
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov al, byte [ebx + 0x7ea]
mov dword [esp + 0x1fe0], ebp
test al, al
je 0x4e2c30
push edi
mov ecx, dword [0x5fd410]
xor esi, esi
inc ecx
test ebp, ebp
mov dword [0x5fd410], ecx
je 0x4e2b81
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, ebp
jne 0x4e2b73
mov ecx, 0x7e8
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
xor ebp, ebp
push ecx
mov ecx, dword [0x5fd3e0]
push edx
push eax
lea eax, [esp + 0x48]
push 0x1fa0
push eax
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WSOCK32.dll_recvfrom]
test eax, eax
jle 0x4e2c21
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [0x5fd400]
mov ecx, dword [0x5fd40c]
push eax
push ecx
mov edi, str._world
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1fec], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._world
mov ecx, 0x5fd3e0
call fcn.0041a100
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.004e2de0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fe4], 0
call sub.MFC42.DLL_CString::CString
mov al, byte [ebx + 0x7ea]
test al, al
jne 0x4e2b60
pop edi
xor esi, esi
mov dword [esp + 0x1fe0], 0xffffffff
test ebp, ebp
je 0x4e2c4f
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, ebp
jne 0x4e2c41
push 0
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1fdc]
add esp, 4
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x1fd8
ret

Function at 0x4e2cc0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58fd78
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov al, byte [esi + 0x7ea]
test al, al
jne 0x4e2d9a
mov ecx, 0x5fd3e0
call fcn.0041a160
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4e2b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x800], eax
jne 0x4e2d26
xor al, al
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
push str.127.0.0.1
lea ecx, [esp + 0xc]
mov byte [esi + 0x7ea], 1
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], 0
mov eax, dword [ecx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0xc]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
mov dword [0x5fd40c], edx
mov dword [0x5fd400], 0x232d
call sub.MFC42.DLL_CString::CString
pop edi
mov ecx, dword [esp + 0xc]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e6140
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
mov word [ebp - 0x30], 8
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [edi + 0x638]
push 0x5fd02c
mov dword [ebp - 0x28], eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x30]
lea ecx, [edi + 0x4e4]
push eax
call fcn.004afb80
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x18], eax
call ebx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::MakeUpper
call fcn.004ba7f0
push 0x5fd02c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
lea eax, [edi + 0x638]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004e62b0
test eax, eax
jle 0x4e6239
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [edi + 0x550]
test al, al
je 0x4e6273
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call ebx
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
sub esi, dword [ebp - 0x18]
cmp esi, 0x1388
jb 0x4e61b3
jmp 0x4e624f
Function at 0x4e7340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5902fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 8]
sub esp, 0x48
mov dword [esp + 0x60], 0
mov esi, esp
mov dword [esp + 0x54], esp
mov dword [esp + 0x54], esi
mov dword [esi], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x2c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x44]
lea eax, [ebp + 0x48]
mov dword [esi + 0x38], ecx
push eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], edx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x4c]
mov byte [esp + 0x60], 1
push ecx
lea ecx, [esi + 0x44]
call sub.MFC42.DLL_CString::CString_3
push ebx
mov ecx, edi
mov byte [esp + 0x64], 0
call fcn.004e7ad0
lea ecx, [ebp + 0x4c]
mov dword [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x48]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x48
Function at 0x4ec610
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590c98
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
mov eax, dword [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
jne 0x4ec64f
mov dword [esp + 0x250], 0xffffffff
jmp 0x4ec6d9
push esi
or ebx, 0xffffffff
push edi
mov edi, dword [esp + 0x260]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
mov al, byte [esp + ecx + 3]
lea ecx, [esp + ecx + 4]
cmp al, 0x5c
jne 0x4ec6a0
cmp byte [ecx - 2], 0x3a
je 0x4ec6d2
cmp al, al
je 0x4ec6a4
cmp al, 0x2f
jne 0x4ec6a8
mov byte [ecx - 1], 0
lea ecx, [esp + 0x108]
lea edx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, ebx
je 0x4ec6f2
mov cl, byte [esp + 0x108]
push eax
test cl, 0x10
je 0x4ec6ec
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x250], ebx
lea ecx, [esp + 0x258]
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4ec707
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x258]
mov dword [esp + 0x250], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x248]
pop ebx
mov dword fs:[0], ecx
add esp, 0x250
ret 4
Function at 0x4ec7a0
Capabilities:
Connect network resource
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x590d08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 2
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push 1
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
call sub.MPR.dll_WNetAddConnection2A
cmp eax, edi
jne 0x4ec8a3
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
jne 0x4ec8a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 3
je 0x4ec8a3
sub eax, ebx
je 0x4ec8a3
push 0x5fd02c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString_4
push 0x80a2
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::LoadStringA
push 0x80bc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x10]
jmp 0x4ec90e
push 0x5fd02c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CString::CString_4
push 0x80a2
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 6
call sub.MFC42.DLL_CString::LoadStringA
push 0x80bd
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x30
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x4f13e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x591498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 0x10]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Program_LanguageID
push str.Program
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f1600
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x591518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5ee19c
push str.Transfer_Type
push str.JD_TransferType
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f1720
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x591558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5edaa0
push str.Parallel_No
push str.JD_Parallel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f1736
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x591558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5edaa0
push str.Parallel_No
push str.JD_Parallel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f1840
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5915af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.COM1
push str.Serial_Comport
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4f1858
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5915af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.COM1
push str.Serial_Comport
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4f1910
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5915df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.38400
push str.Serial_Baudrate
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4f1928
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5915df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.38400
push str.Serial_Baudrate
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4f19e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5915f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Serial_Parity
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f19f6
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5915f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Serial_Parity
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f1b00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x59164f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5ee104
push str.Serial_DataBits
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4f1b18
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x59164f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5ee104
push str.Serial_DataBits
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4f1bd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x591668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Serial_StopBits
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f1be6
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x591668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Serial_StopBits
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f1cf0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5916a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Serial_Protocol
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f1d06
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5916a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esi + 4]
lea ecx, [esp + 4]
push esi
push 0x104
push 0x104
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x5e2414
push str.Serial_Protocol
push str.JD_Serial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret