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

Disassembly:
push 0xffffffffffffffff
push 0x4608b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
push sub.MFC42.DLL_CDateTimeCtrl::CDateTimeCtrl
push 4
lea eax, [esi + 0x1398]
push 0x40
push eax
mov dword [esp + 0x30], 6
call fcn.004246b0
push sub.MFC42.DLL_CListCtrl::CListCtrl
push 3
lea ecx, [esi + 0x12d8]
push 0x40
push ecx
mov byte [esp + 0x30], 5
call fcn.004246b0
push fcn.00401360
push 3
lea edx, [esi + 0x11dc]
push 0x54
push edx
mov byte [esp + 0x30], 4
call fcn.004246b0
lea ecx, [esi + 0x1198]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CStatic::CStatic
push fcn.0041ba50
push 4
lea eax, [esi + 0xd48]
push 0x114
push eax
mov byte [esp + 0x30], 2
call fcn.004246b0
push fcn.0041ba50
push 3
lea ecx, [esi + 0xa0c]
push 0x114
push ecx
mov byte [esp + 0x30], 1
call fcn.004246b0
push fcn.004216e0
push 3
lea edx, [esi + 0x1bc]
push 0x2c4
push edx
mov byte [esp + 0x30], 0
call fcn.004246b0
lea ecx, [esi + 0x1b4]
mov dword [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x15c]
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x14], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x108]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0xb4]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x60]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x13
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CStatic::CStatic
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x410fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460cfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x6b8]
mov dword [esp + 0x20], 5
call fcn.00422e20
lea edi, [esi + 0x6b0]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esi + 0x670]
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esi + 0x630]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CButton::CButton
push fcn.00422910
push 3
lea eax, [esi + 0x3e4]
push 0xc4
push eax
mov byte [esp + 0x30], 1
call fcn.004246b0
push fcn.0041ba50
push 2
lea ecx, [esi + 0x1bc]
push 0x114
push ecx
mov byte [esp + 0x30], 0
call fcn.004246b0
lea ecx, [esi + 0x1b4]
mov dword [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x15c]
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x14], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x108]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0xb4]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x60]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x13
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CStatic::CStatic
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x410fd9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460cfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x6b8]
mov dword [esp + 0x20], 5
call fcn.00422e20
lea edi, [esi + 0x6b0]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esi + 0x670]
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esi + 0x630]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CButton::CButton
push fcn.00422910
push 3
lea eax, [esi + 0x3e4]
push 0xc4
push eax
mov byte [esp + 0x30], 1
call fcn.004246b0
push fcn.0041ba50
push 2
lea ecx, [esi + 0x1bc]
push 0x114
push ecx
mov byte [esp + 0x30], 0
call fcn.004246b0
lea ecx, [esi + 0x1b4]
mov dword [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x15c]
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x14], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x108]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0xb4]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x60]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x13
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CStatic::CStatic
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4137d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4612f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x466150
lea ecx, [esi + 0x57c]
mov dword [esp + 0x20], 3
call fcn.0041d3d0
lea ecx, [esi + 0x53c]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CSliderCtrl::CSliderCtrl
lea edi, [esi + 0x534]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
push sub.MFC42.DLL_CStatic::CStatic
push 0xc
lea eax, [esi + 0x1bc]
push 0x40
push eax
mov dword [edi], 0x46398c
mov byte [esp + 0x30], 0
call fcn.004246b0
lea ecx, [esi + 0x1b4]
mov dword [esp + 0x20], 9
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x15c]
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x14], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x108]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0xb4]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CStatic::CStatic
lea ebx, [esi + 0x60]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 0x48]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4639a0
mov ecx, edi
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, ebx
mov dword [edi], 0x46398c
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CStatic::CStatic
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x413c20
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [0x483b14], 1
push eax
push 0
push 0
push 0x413b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x414670
Capabilities:
Create service
Modify service

Disassembly:
push esi
push edi
mov esi, ecx
push 0
push 0
push 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push 0
push 0
push ecx
push 1
push 3
push 1
push 0xf01ff
push eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
test edi, edi
jne 0x4146eb
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0xf01ff
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x4146be
pop edi
pop esi
ret
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4146eb
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push esi
push 1
push 3
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x4146eb
pop edi
pop esi
ret
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop esi
ret
Function at 0x4177d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4177db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4178de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x46788c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x46788c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x46788c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x46788c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x46788c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x46788c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x46788c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x46788c]
xor eax, edx
inc ecx
dec edi
jne 0x4177f6
pop edi
test esi, esi
je 0x417900
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x46788c]
xor eax, edx
inc ecx
dec esi
jne 0x4178e2
pop esi
pop ebx
not eax
ret

Function at 0x417910
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x46788c]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x46788c]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x4182e0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x418321
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x418316
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x418334
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x1c], ecx
pop ebp
pop ebx
ret
Function at 0x418e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp edi, ebx
jne 0x418e6e
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x418e80
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x418e8e
push edi
call fcn.004192b0
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.00418c50
add esp, 0x10
test eax, eax
je 0x418eb7
pop edi
pop esi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
push 0x84
call ebp
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x418eda
pop edi
pop esi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call ebp
mov dword [esi], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x418f12
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x418f60
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00417b70
add esp, 4
test eax, eax
jne 0x418f60
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x418f8d
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x418f99
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
mov ebp, dword [esp + 0x20]
neg cl
sbb ecx, ecx
lea ebx, [esi + 0x70]
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [ebx], 0x12345678
mov dword [esi + 0x78], 0x34567890
je 0x418fd9
mov al, byte [ebp]
test al, al
je 0x418fd9
push eax
push ebx
call fcn.00417910
add esp, 8
inc ebp
jne 0x418fc5
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4193f0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x4194d2
cmp dword [ebp + 4], 0xffffffff
jne 0x4194d2
push ebx
lea ebx, [ebp + 0x140]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + ebp + 0x13f]
cmp cl, 0x5c
je 0x419462
cmp cl, 0x2f
je 0x419462
mov edi, 0x471fd0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp edi, 1
pop ebx
jne 0x41948e
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41948e
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push edi
push ecx
push esi
call fcn.00418090
add esp, 0x10
test eax, eax
jne 0x4194b1
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.004185b0
add esp, 4
mov dword [ebp], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc
Function at 0x419a70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
push ebp
je 0x419a98
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x419a98
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [esp + 0x218]
mov cl, byte [ebp]
test cl, cl
je 0x419b72
mov eax, ebp
mov edx, ebp
cmp cl, 0x2f
je 0x419ab8
cmp cl, 0x5c
jne 0x419aba
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x419aae
push esi
cmp eax, ebp
push edi
je 0x419afc
sub eax, ebp
mov esi, ebp
mov ecx, eax
lea edi, [esp + 0x114]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x114], 0
lea eax, [esp + 0x114]
push eax
push ebx
call fcn.00419a70
add esp, 8
test ebx, ebx
mov byte [esp + 0x10], 0
je 0x419b28
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
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]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x419b72
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x41a700
Capabilities:
Delete file

Disassembly:
sub esp, 0x12c
push edi
push str.bvisdhhofhdfbxbcvrghg
push str.C:UsersPublicDownloadsdhew.dat
call fcn.0041a140
mov edi, eax
add esp, 8
test edi, edi
jne 0x41a727
pop edi
add esp, 0x12c
ret
mov eax, dword [esp + 0x134]
push eax
push edi
call fcn.0041a220
add esp, 8
test eax, eax
je 0x41a74f
push edi
call fcn.0041a260
add esp, 4
xor eax, eax
pop edi
add esp, 0x12c
ret
lea ecx, [esp + 4]
push ecx
push 0xffffffffffffffff
push edi
call fcn.0041a160
add esp, 0xc
test eax, eax
je 0x41a776
push edi
call fcn.0041a260
add esp, 4
xor eax, eax
pop edi
add esp, 0x12c
ret
push ebx
mov ebx, dword [esp + 8]
push esi
xor esi, esi
test ebx, ebx
jle 0x41a7a2
lea edx, [esp + 0xc]
push edx
push esi
push edi
call fcn.0041a160
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call fcn.0041a200
add esp, 0x18
inc esi
cmp esi, ebx
jl 0x41a782
push edi
call fcn.0041a260
add esp, 4
push str.C:UsersPublicDownloadsdhew.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebx
mov eax, 1
pop edi
add esp, 0x12c
ret

Function at 0x41a7d0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push edi
mov edi, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov dword [esp + 0x28], edi
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x18], edi
mov edx, 0xf1bbcdc8
mov dword [esp + 0x14], esi
mov edi, 8
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [ecx + edx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [eax + edx]
xor esi, ebx
add edx, 0x61c88647
sub ecx, esi
dec edi
jne 0x41a80c
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
pop ebx
mov dword [ecx], eax
add esp, 0xc
ret

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

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
push esi
push edi
push 0x474154
push eax
call ebp
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
mov esi, eax
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebx, eax
call edi
push ebx
call sub.MFC42.DLL_operatornew
push esi
mov edi, eax
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
push esi
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [esp + 0x50]
push ecx
push ebx
push edi
call fcn.0041a870
mov edx, dword [esp + 0x64]
add esp, 0x48
push 0x4729e8
push edx
call ebp
mov esi, eax
push esi
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
ret