joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412900
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x90]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4129fb
mov edx, dword [0x44600c]
push esi
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebx]
push eax
push ecx
push str.__s_s___mini
lea edi, [ebp - 0x8c]
call fcn.00410550
add esp, 0xc
lea edx, [ebp - 0x44]
push str.wjplay
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x44], 0
call fcn.00410060
mov eax, dword [ebx + 0x54]
push eax
mov eax, esi
call fcn.0040ff60
mov edx, dword [ebp - 0x8c]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4129a0
mov ecx, dword [ebp - 0x48]
sub eax, esi
push eax
push edx
mov edx, dword [ebp - 0x90]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
pop edi
pop esi
cmp eax, ecx
je 0x4129e2
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x4129fb
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x412a10
Capabilities:
Persist via run registry key
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x138]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412b8e
mov edx, dword [ebx]
push esi
push edi
lea ecx, [ebp - 0xec]
mov byte [ebp - 0xec], al
push edx
or eax, 0xffffffff
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
call fcn.00410060
push 0x43a988
mov eax, esi
call fcn.0040ff60
mov eax, dword [ebp - 0xf0]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43a490
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebx]
lea eax, [ebp - 0x68]
push eax
push ecx
lea edx, [ebp - 0x130]
push str.__s_s___mini
lea edi, [ebp - 0x134]
mov dword [ebp - 0x134], edx
mov byte [ebp - 0x130], 0
call fcn.00410550
add esp, 0xc
lea edx, [ebp - 0xa8]
push str.wjplay
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov dword [ebp - 0xac], edx
mov byte [ebp - 0xa8], 0
call fcn.00410060
push str._News
mov eax, esi
call fcn.0040ff60
mov eax, dword [ebx + 0x54]
push eax
mov eax, esi
call fcn.0040ff60
mov edx, dword [ebp - 0x134]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412b11
mov ecx, dword [ebp - 0xac]
sub eax, esi
push eax
push edx
mov edx, dword [ebp - 0x138]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop edi
pop esi
cmp eax, ecx
je 0x412b5c
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
cmp eax, edx
je 0x412b75
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
cmp eax, ecx
je 0x412b8e
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x4135f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435e99
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4433ec]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4433ec]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.00413780
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xc4], 0
call fcn.00415b00
lea ecx, [esp + 0x14]
push ecx
call fcn.00414180
lea esi, [esp + 0x14]
call fcn.00414360
call fcn.00414500
push 0xa0
call fcn.0041b7ee
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0xc0], 1
test eax, eax
je 0x413690
push eax
call fcn.00411de0
jmp 0x413692
xor eax, eax
mov byte [esp + 0xc0], 0
mov dword [edi + 0x14], eax
mov edx, dword [ebx]
sub esp, 0x44
mov dword [eax + 0x98], edx
mov esi, esp
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov dword [esp + 0x54], esp
push eax
or eax, 0xffffffff
call fcn.00410060
mov ecx, dword [edi + 0x14]
call fcn.00411e80
mov edi, dword [edi + 0x14]
mov ecx, dword [edi]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4136d4
sub eax, esi
je 0x41371a
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4136f8
mov ecx, dword [edi]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov ecx, dword [edi]
sub esp, 0x44
mov esi, esp
lea eax, [esi + 4]
mov dword [esp + 0x54], esp
mov dword [esi], eax
mov byte [eax], 0
push ecx
or eax, 0xffffffff
call fcn.00410060
push edi
call fcn.00411f50
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x6c]
cmp eax, edx
je 0x41372f
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x413744
push eax
call fcn.0041be61
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.00413190
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0041b499
mov esp, ebp
pop ebp
ret 4
Function at 0x414180
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4433ec]
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 + 8]
push 0x104
xor ebx, ebx
lea ecx, [ebp - 0x220]
push ebx
push ecx
mov dword [ebp - 0x274], eax
call fcn.00423450
add esp, 0xc
lea edx, [ebp - 0x26c]
push edx
push 0x19
push ebx
mov dword [ebp - 0x26c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41433b
mov ecx, dword [ebp - 0x26c]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x220]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x268], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x268]
mov byte [ebp - 0x264], bl
call fcn.00410060
push 0x43a910
mov eax, esi
call fcn.0040ff60
push 0x43c0c0
mov eax, esi
call fcn.0040ff60
push 0x43bd14
mov eax, esi
call fcn.0040ff60
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x414280
push eax
call fcn.0041be61
add esp, 4
push 0x104
lea edx, [ebp - 0x118]
push ebx
push edx
call fcn.00423450
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41433b
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x118]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x264]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x268]
mov dword [ebp - 0x268], ecx
mov byte [ebp - 0x264], bl
call fcn.00410060
push 0x43a910
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.0040ff60
push 0x43c0c0
mov eax, esi
call fcn.0040ff60
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x274]
push eax
call fcn.00415740
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x414337
push eax
call fcn.0041be61
add esp, 4
mov al, 1
jmp 0x41433d
xor al, al
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.0041b499
mov esp, ebp
pop ebp
ret 4
Function at 0x414360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435a23
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, edi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xa4], ebx
je 0x414459
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 0x9c], 0
mov dword [ebp - 4], 0
mov edi, dword [ebx + edi]
mov eax, dword [esi + 0x54]
push edi
push eax
push str._s_s
lea edi, [ebp - 0xa0]
call fcn.00410550
mov ecx, dword [ebp - 0xa0]
mov eax, ecx
add esp, 0xc
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4143f3
sub eax, edi
cmp byte [eax + ecx - 1], 0x5c
push ecx
jne 0x41440d
mov ecx, esi
call fcn.00415740
jmp 0x414413
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
cmp eax, edx
je 0x41442c
push eax
call fcn.0041be61
add esp, 4
mov edi, dword [esi]
mov ecx, dword [esi + 4]
inc dword [ebp - 0xa4]
sub ecx, edi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, 0x44
cmp dword [ebp - 0xa4], eax
jb 0x4143b3
mov ecx, dword [esi + 0x54]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
mov ebx, ecx
test ecx, ecx
jne 0x414471
mov ebx, 0x43a501
mov ecx, ebx
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x414476
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x41449e
lea ecx, [edi + 1]
push ecx
push 0
mov dword [ebp - 0x58], 0
call fcn.0041c905
add esp, 8
mov dword [ebp - 0x58], eax
push edi
push ebx
push eax
call fcn.0041c655
mov edx, dword [ebp - 0x58]
add esp, 0xc
mov byte [edi + edx], 0
push 0x43a910
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040ff60
mov eax, dword [ebp - 0x58]
push eax
mov ecx, esi
call fcn.00415740
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x4144e2
push eax
call fcn.0041be61
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x415b00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push str.wjplay.exe
call fcn.00415bb0
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x415b2b
push 0
push eax
call edi
push str.PlayerUpdate.exe
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415b45
push 0
push eax
call edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415b61
push 0
push eax
call edi
push str.WujiPlayer.exe
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415b7b
push 0
push eax
call edi
push 0x43a490
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415b95
push 0
push eax
call edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
ret 4

Function at 0x415bb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2114
call fcn.004305d0
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x110c]
push ecx
push 0x1000
lea edx, [ebp - 0x1108]
push edx
mov dword [ebp - 0x1110], eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x415bfd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x110c]
push ebx
push esi
push edi
shr eax, 2
xor edi, edi
test eax, eax
jle 0x415c84
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp + edi*4 - 0x1108]
push ecx
push 0
push 0x410
call ebx
lea edx, [ebp - 0x1114]
push edx
mov esi, eax
push 0x1000
lea eax, [ebp - 0x2114]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov edx, dword [ebp - 0x2114]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov eax, dword [ebp - 0x1110]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041b620
add esp, 8
test eax, eax
jne 0x415c99
mov edx, dword [ebp - 0x110c]
inc edi
shr edx, 2
cmp edi, edx
jl 0x415c15
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + edi*4 - 0x1108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b499
mov esp, ebp
pop ebp
ret 4
Function at 0x417b00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x417b07
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x417bdd
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
add ecx, 8
sub edx, 8
dec esi
jne 0x417b20
pop edi
test edx, edx
je 0x417bfa
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x43dbe8]
inc ecx
dec edx
jne 0x417be1
not eax
pop esi
ret

Function at 0x418260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x418296
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41828c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4182a7
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.0041d980
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x4182d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x418303
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4182fe
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x41832e
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x418315
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.0041d980
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x418343
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x41833d
cmp byte [esi + 8], 0
je 0x41833d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x4183e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x418427
cmp byte [esi + 1], 0
je 0x41842f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x418441
cmp byte [esi + 1], 0
je 0x418435
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x418449
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x418401
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x418449
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x41845b
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.0041c66f
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x418475
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x418589
jmp 0x418499
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x4184a8
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x4184bf
mov ebx, 0x404
cmp byte [esi], 0
je 0x4184e4
cmp byte [esi + 1], 0
je 0x418589
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4184e7
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x418510
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41850b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x418539
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x418521
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.0041d980
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x418589
lea eax, [ebx - 3]
test eax, eax
jle 0x41857d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x41856f
cmp byte [eax + ecx + 1], 0x4b
jne 0x41856f
cmp byte [eax + ecx + 2], 5
jne 0x41856f
cmp byte [eax + ecx + 3], 6
je 0x418575
test eax, eax
jg 0x418550
jmp 0x41857d
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x418589
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x418490
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041be61
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419f00
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3f
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.00423450
add esp, 0xc
xor eax, eax
jmp 0x419f30
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + str.Sta_Enctypt]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x7d], dl
cmp eax, 0x40
jb 0x419f30
push 0x37
lea eax, [ebp - 0x3b]
push 0
push eax
mov byte [ebp - 0x3c], 0
call fcn.00423450
add esp, 0xc
xor eax, eax
lea esp, [esp]
movsx ecx, byte [eax + str.91__]
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x43c4f1]
mov byte [ebp + eax - 0x3c], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x43c4f2]
mov byte [ebp + eax - 0x3b], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x43c4f3]
mov byte [ebp + eax - 0x3a], dl
movzx edx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x39], dl
add eax, 4
cmp eax, 0x38
jl 0x419f70
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.00419fd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x419fd0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
lea ebx, [ecx + 1]
mov ecx, 7
mov esi, edx
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1c]
mov ecx, 7
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0xb0], edi
jmp 0x41a056
mov edi, dword [ebp - 0xb0]
movsx esi, byte [edi + 0x43c558]
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [ebp + esi - 0x90]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0041d980
push esi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x20]
push eax
sub ecx, esi
push ecx
call fcn.0041d980
movsx esi, byte [edi + 0x43c558]
mov edx, 0x1c
sub edx, esi
push edx
lea eax, [ebp + esi - 0xac]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0041d980
push esi
lea edx, [ebp - 0xac]
lea eax, [ebp - 4]
push edx
sub eax, esi
push eax
call fcn.0041d980
push 0x37
lea ecx, [ebp - 0x73]
push 0
push ecx
call fcn.00423450
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x58]
add esp, 0x3c
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x41a0f0
movsx edx, byte [eax + 0x43c528]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax - 1], cl
movsx edx, byte [eax + 0x43c529]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax], cl
movsx edx, byte [eax + 0x43c52a]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 1], cl
movsx edx, byte [eax + 0x43c52b]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 2], cl
movsx edx, byte [eax + 0x43c52c]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 3], cl
movsx edx, byte [eax + 0x43c52d]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x41a0f0
mov eax, dword [ebp - 0xb0]
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
inc eax
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0xac]
add ebx, 0x30
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb0], eax
cmp eax, 0x10
jl 0x41a050
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b499
mov esp, ebp
pop ebp
ret