joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x402c32
lea esp, [esp]
test cl, 3
je 0x402c32
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x48fb60]
add ecx, 1
sub esi, 1
jne 0x402c10
cmp esi, 0x20
push ebx
push edi
jb 0x402e1c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48ff60]
xor edx, dword [ebx*4 + 0x490360]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48fb60]
add ecx, 4
xor edx, dword [eax*4 + 0x490760]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48ff60]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490360]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48fb60]
add ecx, 4
xor eax, dword [edx*4 + 0x490760]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48ff60]
xor edx, dword [ebx*4 + 0x490360]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48fb60]
xor edx, dword [eax*4 + 0x490760]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48ff60]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490360]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48fb60]
xor eax, dword [edx*4 + 0x490760]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48ff60]
xor edx, dword [ebx*4 + 0x490360]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48fb60]
xor edx, dword [eax*4 + 0x490760]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48ff60]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490360]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48fb60]
and edx, 0xff
xor eax, dword [edx*4 + 0x490760]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48ff60]
xor edx, dword [ebx*4 + 0x490360]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48fb60]
add ecx, 4
xor edx, dword [eax*4 + 0x490760]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48ff60]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490360]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48fb60]
and edx, 0xff
xor eax, dword [edx*4 + 0x490760]
sub edi, 1
jne 0x402c42
cmp esi, 4
jb 0x402e69
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x48ff60]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x490360]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x48fb60]
and eax, 0xff
xor edi, dword [eax*4 + 0x490760]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x402e26
test esi, esi
pop edi
pop ebx
je 0x402e8d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x48fb60]
add ecx, 1
sub esi, 1
jne 0x402e70
not eax
pop esi
ret
Function at 0x409b79
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46438b
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.00463650
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1014]
push eax
call fcn.004097ee
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
lea ecx, [ebp - 0x1014]
mov dword [ebp - 4], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1020], eax
jne 0x409c19
lea ecx, [ebp - 0x1014]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463522
leave
ret 8
lea eax, [ebp - 0x107c]
push eax
mov dword [ebp - 0x1018], esi
call fcn.00401000
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
pop ecx
mov ebx, 0x1000
jmp 0x409c5d
cmp dword [ebp - 0x1018], esi
je 0x409c79
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x107c]
push eax
call fcn.004016c0
add esp, 0xc
push esi
lea eax, [ebp - 0x1018]
push eax
push ebx
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1020]
call edi
test eax, eax
jne 0x409c39
push dword [ebp - 0x1020]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 8], 3
jne 0x409cdb
lea ecx, [ebp - 0x1014]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
jne 0x409cb7
lea ecx, [ebp - 0x1014]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
jmp 0x409bfd
mov eax, dword [edi + 0x3c]
add eax, edi
push dword [eax + 0x1c]
mov eax, dword [eax + 0x2c]
add eax, edi
push eax
lea eax, [ebp - 0x107c]
push eax
call fcn.004016c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x107c]
push eax
push dword [ebp - 0x101c]
call fcn.00401a80
pop ecx
pop ecx
push 0x14
pop esi
lea eax, [ebp - 0x10d8]
push eax
call fcn.00401000
push 0x10
push dword [ebp - 0x101c]
lea eax, [ebp - 0x10d8]
push eax
call fcn.004016c0
lea eax, [ebp - 0x10d8]
push eax
push dword [ebp - 0x101c]
call fcn.00401a80
add esp, 0x18
dec esi
jne 0x409cf2
inc esi
jmp 0x409ca4
Function at 0x40bb16
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
mov edi, ecx
call sub.MFC80U.DLL_Ordinal_1049
pop ecx
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.AuCommon.dll_int___cdecl_Util::Network::InitNetwork_void_]
push 0x110
lea eax, [ebp - 0x114]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x40bb92
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x40a900
push 0xc
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4ab408], eax
lea esi, [edi - 0xa4]
mov ecx, esi
call fcn.0040ac4a
test eax, eax
je 0x40bbaa
mov ecx, esi
call fcn.0040b5f8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00463522
leave
ret

Function at 0x40bd9f
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push esi
push eax
call fcn.0045fb00
push 8
xor esi, esi
lea eax, [ebp - 0x1c]
push esi
push eax
call sub.MSVCR80.dll_memset
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call sub.MSVCR80.dll_memset
push 8
lea eax, [ebp - 0xc]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0x28
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x40be18
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jbe 0x40be0e
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
inc eax
jmp 0x40be26
jne 0x40be1b
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jb 0x40be1b
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
pop esi
leave
ret
Function at 0x40c6a7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x20
mov eax, 0x46480b
call fcn.00463531
lea esi, [ecx + 0x40]
xor ebx, ebx
cmp dword [esi], ebx
mov dword [ebp - 0x2c], esi
jne 0x40c6c7
push esi
call dword [sym.imp.AuCommon.dll_int___cdecl_Util::Data::CreateTXArray_struct_ITXArray___]
pop ecx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40c836
cmp dword [esi], ebx
je 0x40c836
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x18], ebx
mov edi, eax
jne 0x40c836
lea eax, [edi - 3]
cmp eax, 0xeffffc
ja 0x40c836
mov esi, dword [sym.imp.MSVCR80.dll_malloc]
push edi
call esi
push edi
mov dword [ebp - 0x20], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp dword [ebp - 0x14], 2
jne 0x40c836
cmp word [ebp - 0x1c], bx
jne 0x40c836
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [edi - 2]
push eax
push dword [ebp - 0x20]
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
ja 0x40c836
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 4], ebx
push 0x47359c
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call fcn.004027e0
add esp, 0x14
test eax, eax
je 0x40c811
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.AuCommon.dll_int___cdecl_Util::Data::CreateTXArray_struct_ITXArray___]
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.AuCommon.dll_int___cdecl_Util::Data::CreateTXBuffer_struct_ITXBuffer___]
mov eax, dword [ebp + 8]
pop ecx
pop ecx
push dword [ebp - 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x19c]
test eax, eax
jge 0x40c7f4
cmp dword [ebp - 0x10], ebx
je 0x40c7f4
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ATL80.DLL_Ordinal_30]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x40c811
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x10], ebx
call fcn.0040c63c
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40c831
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x40c838
xor eax, eax
call fcn.00463609
ret 4
Function at 0x40e10c
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x464c7c
call fcn.00463531
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0045d890
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [esp], 0x473ac8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00409f29
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x40e161
push 0x472adc
jmp 0x40e1ad
push 0x473ab8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00409f29
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call esi
test eax, eax
je 0x40e1a8
push 0x472b14
jmp 0x40e1ad
push 0x472710
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp + 8]
call fcn.00463609
ret 4

Function at 0x4121c3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
push esi
mov esi, ecx
jne 0x4121e5
mov eax, dword [esi]
push 2
push 1
mov dword [esi + 0x24], 4
call dword [eax + 0xc]
jmp 0x412273
cmp eax, 3
push ebx
push edi
jne 0x412278
mov ecx, dword [esi + 0x34]
call fcn.00413760
mov ecx, dword [esi + 0x34]
mov edi, eax
call fcn.00414475
cmp eax, 1
jne 0x41225f
push 3
push eax
mov ecx, edi
call fcn.004266c1
mov ecx, dword [esi + 0x34]
call fcn.00413767
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, 0xffff
cmp eax, ecx
jae 0x412241
test eax, eax
jne 0x41223e
xor ecx, ecx
inc ecx
jmp 0x412241
movzx ecx, ax
push ecx
push 0xffffffffffffffff
mov ecx, edi
call fcn.004266c1
mov ecx, edi
call fcn.004265ac
test eax, eax
je 0x41225f
push 1
mov ecx, edi
call fcn.00426764
mov ecx, esi
push 2
push 2
mov eax, dword [esi]
mov dword [esi + 0x24], 4
call dword [eax + 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret 8
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x41230a
mov ecx, dword [esi + 0x34]
call fcn.00413760
mov ecx, dword [esi + 0x34]
mov edi, eax
call fcn.00414475
cmp eax, 3
je 0x41229e
cmp eax, ebx
jne 0x4122ff
cmp eax, ebx
mov ecx, edi
jne 0x4122a9
push 0
push ebx
jmp 0x4122ac
push ebx
push 3
call fcn.004266c1
mov ecx, dword [esi + 0x34]
call fcn.00413767
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, 0xffff
cmp eax, ecx
jae 0x4122e1
test eax, eax
jne 0x4122de
xor ecx, ecx
inc ecx
jmp 0x4122e1
movzx ecx, ax
push ecx
push 0xffffffffffffffff
mov ecx, edi
call fcn.004266c1
mov ecx, edi
call fcn.004265ac
test eax, eax
je 0x4122ff
push 1
mov ecx, edi
call fcn.00426764
push 2
push 3
mov ecx, esi
jmp 0x412265
cmp eax, 2
jne 0x412261
push 0
push 0
push 0x8002
push esi
mov dword [esi + 0x24], 3
call fcn.00417ba0
jmp 0x412271
Function at 0x41a413
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x4670e2
call fcn.00463531
mov esi, ecx
and dword [ebp - 4], 0
test byte [0x4ab630], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x41a442
or dword [0x4ab630], 1
call edi
mov dword [0x4ab62c], eax
cmp dword [ebp + 8], 0x64
je 0x41a45b
call edi
sub eax, dword [0x4ab62c]
cmp eax, 0xc8
jbe 0x41a4f3
call edi
push 0x473628
lea ecx, [ebp + 0xc]
mov dword [0x4ab62c], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x41a484
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x34c]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._lu__
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
cmp dword [esi + 0x204], 0
je 0x41a4ea
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esi + 0x1e4]
call sub.MFC80U.DLL_Ordinal_6063
lea ecx, [esi + 0x34c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esi + 0xe8]
call sub.MFC80U.DLL_Ordinal_6063
push dword [ebp + 8]
lea ecx, [esi + 0x28c]
call fcn.00419d3e
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
call fcn.00463609
ret 8

Function at 0x42642e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x42643e
xor eax, eax
jmp 0x426480
call fcn.00426403
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 4], eax
je 0x42643a
push edi
xor edi, edi
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x426485
inc edi
cmp edi, dword [ebp + 0x10]
jbe 0x42645a
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 4], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
xor eax, eax
inc eax
jmp 0x42647f

Function at 0x42651b
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4265aa
push ebx
push edi
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ReportType
mov ebx, str.AUREPORT
push ebx
call edi
cmp byte [esi + 0xe], al
je 0x426560
push 0
push 6
add esi, 8
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x4265a8
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push 0
push str.Param1
push ebx
call edi
lea ecx, [esi + 0x18]
mov word [esi + 8], ax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push 0
push str.Param2
push ebx
call edi
lea ecx, [esi + 0x18]
mov word [esi + 0xa], ax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push 0
push str.Param3
push ebx
call edi
mov word [esi + 0xc], ax
pop edi
pop ebx
pop esi
ret
Function at 0x428282
Capabilities:
Get hostname

Disassembly:
push 8
mov eax, 0x468ec1
call fcn.00463531
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0x10
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push dword [ebp - 0x14]
mov esi, eax
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
push 0xf
lea ecx, [ebp - 0x10]
jne 0x4282ec
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
mov ecx, dword [ebp + 8]
push 0x49218b
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
jmp 0x4282ff
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp + 8]
call fcn.00463609
ret 4

Function at 0x428313
Capabilities:
Get session user name

Disassembly:
push 8
mov eax, 0x468ee5
call fcn.00463531
xor ebx, ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push eax
push ebx
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x428348
mov ecx, dword [ebp + 8]
push 0x49218b
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
jmp 0x4283c4
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
jae 0x428353
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [ebp - 0x10]
inc eax
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov edi, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
call esi
test eax, eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
jne 0x4283a8
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
mov ecx, dword [ebp + 8]
push 0x49218b
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
jmp 0x4283bb
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp + 8]
call fcn.00463609
ret 8
Function at 0x428ae7
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x468fb5
call fcn.0046359a
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb esi, esi
mov ecx, ebx
neg esi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x208
lea eax, [ebp - 0x21a]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], 1
mov word [ebp - 0x21c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, edi
push 0x104
lea eax, [ebp - 0x21c]
push eax
je 0x428b6b
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x21c]
push eax
push str._sdriversetchosts
jmp 0x428b8d
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp + eax*2 - 0x21c]
cmp word [eax], 0x5c
jne 0x428b81
mov word [eax], di
lea eax, [ebp - 0x21c]
push eax
push 0x47e51c
push ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
mov eax, ebx
call fcn.0046361d
ret 4

Function at 0x428ba1
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x108], eax
call dword [sym.imp.MSVCR80.dll_ftell]
mov esi, dword [sym.imp.MSVCR80.dll_fseek]
xor edi, edi
push edi
push edi
push ebx
call esi
push edi
push edi
push dword [ebp - 0x108]
call esi
push 0xff
lea eax, [ebp - 0x103]
push edi
push eax
mov byte [ebp - 0x104], 0
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.MSVCR80.dll_fread]
push ebx
mov edi, 0x100
push edi
lea eax, [ebp - 0x104]
push 1
push eax
call esi
add esp, 0x38
jmp 0x428c3d
push dword [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push 1
push eax
call dword [sym.imp.MSVCR80.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x104]
push 1
push eax
call esi
add esp, 0x20
test eax, eax
jg 0x428c17
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00463522
leave
ret 8

Function at 0x429010
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.00428f4f
push dword [ebp + 8]
mov ecx, esi
call fcn.00428f20
push 0
push dword [esi + 0x1c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esi + 8], eax
jne 0x42903a
xor eax, eax
jmp 0x429082
push eax
call sub.MFC80U.DLL_Ordinal_265
test eax, eax
pop ecx
mov dword [esi + 0xc], eax
je 0x429036
push eax
push dword [esi + 8]
push 0
push dword [esi + 0x1c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x429063
mov ecx, esi
call fcn.00428f4f
jmp 0x429036
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
push 0x47e5c8
push dword [esi + 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42905a
xor eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4