joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d7e0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c770
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x465944]
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 dword [ebp - 0x68], ecx
mov ebx, dword [ebp + 8]
mov ecx, 0x466d80
call fcn.0040d4e0
test eax, eax
je 0x41d990
mov ecx, eax
call fcn.004164d0
mov esi, eax
test esi, esi
je 0x41d990
lea edi, [ebx + 4]
push edi
push dword [esi + 0x20]
call fcn.0042f6f8
add esp, 8
test eax, eax
jne 0x41d990
push 0x44f2cc
lea ecx, [ebp - 0x64]
call fcn.004069b0
push eax
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.0041c200
push edi
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
call fcn.00406e60
mov eax, dword [ebp - 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4644d8]
je 0x41d8ac
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41d8ac
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff4
push eax
call fcn.00425cdd
add esp, 4
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 4
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4644d8]
je 0x41d8d7
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41d8d7
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff4
push eax
call fcn.00425cdd
add esp, 4
push 0
push dword [ebp - 0x5c]
lea eax, [ebx + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d90a
lea eax, [ebx + 0x84]
push eax
push str.Copy_ini_file_Failed____s_
call fcn.0041b930
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00419490
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x58]
call fcn.00419b90
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push ebx
push esi
push eax
call fcn.0041e000
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x28c], 0
mov ecx, str.Failed_
mov eax, str.Success
cmove eax, ecx
push eax
lea eax, [ebx + 4]
push eax
push str.__s_DownLoad_Ini_File:___s_
call fcn.0041b930
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00419620
mov eax, dword [ebp - 0x5c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4644d8]
je 0x41d990
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41d990
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff4
push eax
call fcn.00425cdd
add esp, 4
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.0042a853
mov esp, ebp
pop ebp
ret 4
Function at 0x41e7e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c861
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x465944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0x466d80
mov dword [ebp - 0x18], 0
call fcn.0040d4e0
mov esi, eax
test esi, esi
jne 0x41e833
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4644dc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004162d0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e85e
xor esi, esi
jmp 0x41e964
mov ecx, esi
call fcn.00416e30
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x16c]
call fcn.00406d70
mov esi, dword [ebx + 0x108]
mov ecx, esi
call fcn.00412b10
push eax
mov ecx, esi
call fcn.004135f0
push 0x85
lea ecx, [ebp - 0x14]
call fcn.004069b0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0xd0]
call fcn.00411880
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4644d8]
je 0x41e8d0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41e8d0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
push eax
call fcn.00425cdd
add esp, 4
mov eax, dword [0x4644dc]
push 0xe1
push 0x44f3d8
push dword [0x4670d8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push str.res:___d__s__d
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 5
call fcn.0040c330
add esp, 0x14
push 0xd
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebx + 0x7c]
call fcn.004110d0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4644d8]
je 0x41e944
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41e944
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
push eax
call fcn.00425cdd
add esp, 4
push 0
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x10]
push str.__s_Start_download_task.
call fcn.0041b930
add esp, 8
mov esi, 1
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4644d8]
je 0x41e98b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41e98b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
push ecx
call fcn.00425cdd
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41eea0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0042a870
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41eefb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 4]
test esi, esi
je 0x41efcc
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x41efcc
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebp - 0x1010], eax
and ecx, 0x80000fff
jns 0x41ef35
dec ecx
or ecx, 0xfffff000
inc ecx
xor edi, edi
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1008], 0
test eax, eax
jle 0x41ef9a
nop dword [eax + eax]
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0042be30
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41efcc
inc edi
add esi, 0x1000
cmp edi, dword [ebp - 0x1010]
jl 0x41ef50
mov ecx, dword [ebp - 0x100c]
test ecx, ecx
jle 0x41efcc
push ecx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0042be30
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
Function at 0x41f2d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x124], eax
mov eax, dword [esi + 0x3d8]
test eax, eax
jne 0x41f465
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], 0xa26b483a
mov dword [ebp - 0x10], 0x80b12757
mov dword [ebp - 0xc], 0x8d68500d
mov dword [ebp - 8], 0xe20b726d
mov dword [ebp - 0x24], 0x31ff78c6
mov dword [ebp - 0x20], 0x6344cb22
mov dword [ebp - 0x1c], 0x951b6db1
mov dword [ebp - 0x18], 0x6d8d68f5
cmp eax, 0xffffffff
je 0x41f463
cmp dword [esi + 0x3dc], 0
je 0x41f463
push 0
push 0
push 0x1cc
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41f463
push ebx
push edi
push dword [esi + 0x68]
call fcn.0042a118
mov ecx, dword [esi + 0x68]
mov ebx, eax
add ecx, 0x20
push ecx
call fcn.0042a118
add esp, 8
mov edi, eax
test ebx, ebx
je 0x41f42c
test edi, edi
je 0x41f43b
push 0
lea eax, [ebp - 0x120]
push eax
mov eax, dword [esi + 0x64]
sub eax, 0x1cc
push eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f42c
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push 0x80
push eax
call fcn.004203e0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x118]
push eax
push dword [esi + 0x68]
push ebx
push edi
call fcn.0041f760
mov ecx, dword [ebp - 0x124]
add esp, 0x24
mov dword [esi + 0x3d8], ebx
mov dword [ebp - 0x11c], ebx
test ecx, ecx
je 0x41f408
mov eax, dword [esi + 0x68]
mov dword [ecx], eax
push 1
push edi
call fcn.0042a10a
mov eax, dword [ebp - 0x11c]
add esp, 8
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x41f43b
push 1
push edi
call fcn.0042a10a
add esp, 8
test ebx, ebx
je 0x41f44a
push 1
push ebx
call fcn.0042a10a
add esp, 8
mov eax, dword [ebp - 0x11c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
Function at 0x41f480
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x240], 0
push esi
push edi
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x41f66a
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41f66a
push 0
lea eax, [ebp - 0x240]
push eax
push 0x118
lea eax, [ebp - 0x184]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f66a
cmp dword [ebp - 0x184], 0x54444851
jne 0x41f66a
cmp dword [ebp - 0x180], 0x118
ja 0x41f66a
push 0
lea eax, [ebp - 0x240]
mov ecx, 0x46
push eax
push 0xb4
lea eax, [ebp - 0x238]
push eax
push dword [ebx]
lea edi, [ebx + 0xb8]
lea esi, [ebp - 0x184]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f66a
lea eax, [ebp - 0x238]
mov ecx, ebx
push eax
call fcn.0041f680
test eax, eax
je 0x41f66a
mov eax, dword [ebx]
xor edi, edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x248], edi
cmp eax, 0xffffffff
je 0x41f66a
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41f66a
lea eax, [ebp - 0x244]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f66a
cmp dword [ebp - 0x244], edi
jne 0x41f66a
push esi
call fcn.0042a118
add esp, 4
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x41f66a
push edi
lea ecx, [ebp - 0x248]
push ecx
push esi
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f636
mov eax, dword [ebp - 0x23c]
push 0xb4
add eax, 0x118
push edi
push eax
call fcn.0042c930
lea eax, [ebp - 0x6c]
push eax
call fcn.00420ec0
push esi
push dword [ebp - 0x23c]
lea eax, [ebp - 0x6c]
push eax
call fcn.00421610
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00420de0
add esp, 0x24
lea edx, [ebx + 4]
lea ecx, [ebp - 0x14]
lea esi, [edi + 0xc]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41f636
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41f620
mov edi, 1
push 1
push dword [ebp - 0x23c]
call fcn.0042a10a
add esp, 8
test edi, edi
je 0x41f66a
pop edi
pop esi
mov dword [ebx + 0x3dc], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a853
mov esp, ebp
pop ebp
ret
Function at 0x41f680
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xbc], 0
push dword [edi + 0x3e0]
push 0x80
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00422430
add esp, 0x14
cmp dword [ebp - 0xbc], 0x74
jne 0x41f74d
lea eax, [ebp - 0xa8]
push str.www.360.cn
push eax
call fcn.0042f6f8
add esp, 8
test eax, eax
jne 0x41f74d
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x41f74d
cmp dword [ebp - 0xc0], 0
jne 0x41f74d
cmp eax, dword [ebp - 0x58]
jne 0x41f74d
lea eax, [edi + 0x1d0]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0042f6f8
add esp, 8
test eax, eax
jne 0x41f74d
push esi
add edi, 4
lea esi, [ebp - 0xb8]
mov ecx, 0x2d
mov eax, 1
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4
Function at 0x41f760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x1c], 0
je 0x41f8fc
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [ebp + 0x1c], ebx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0x10
jb 0x41f7e0
mov eax, esi
shr eax, 4
mov dword [ebp - 8], eax
sub edx, ebx
mov eax, edi
sub eax, ebx
mov ecx, ebx
mov dword [ebp - 0xc], eax
mov ebx, 4
mov esi, eax
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
sub ebx, 1
jne 0x41f7a4
push dword [ebp + 0x14]
push edi
push edi
call fcn.0041fe70
mov esi, dword [ebp - 4]
mov edx, edi
mov ebx, dword [ebp + 0x1c]
sub esi, 0x10
add ebx, 0x10
mov dword [ebp - 4], esi
add esp, 0xc
mov dword [ebp + 0x1c], ebx
add edi, 0x10
sub dword [ebp - 8], 1
jne 0x41f792
test esi, esi
je 0x41f8ec
mov ecx, edx
xor eax, eax
sub ecx, ebx
mov dword [ebp - 0xc], ecx
mov ecx, edi
sub ecx, ebx
mov dword [ebp - 0x10], ecx
mov ecx, 1
sub ecx, ebx
mov dword [ebp - 0x14], ecx
mov ecx, 2
sub ecx, ebx
mov dword [ebp - 0x18], ecx
mov ecx, 3
sub ecx, ebx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
nop dword [eax]
cmp eax, esi
jae 0x41f89c
mov esi, dword [ebp - 0x10]
add ebx, eax
mov cl, byte [ecx + ebx]
xor cl, byte [ebx]
mov byte [esi + ebx], cl
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
add ecx, ebx
cmp ecx, esi
jae 0x41f89b
mov ecx, dword [ebp + 0x1c]
add ecx, 2
mov dword [ebp - 8], ecx
mov cl, byte [ecx + eax - 1]
xor cl, byte [eax + edx + 1]
mov byte [edi + eax + 1], cl
mov ecx, dword [ebp - 0x18]
add ecx, ebx
cmp ecx, esi
jae 0x41f896
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + eax]
xor cl, byte [eax + edx + 2]
mov byte [edi + eax + 2], cl
mov ecx, dword [ebp - 0x1c]
add ecx, ebx
cmp ecx, esi
jae 0x41f891
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x1c]
mov cl, byte [ecx + eax + 1]
xor cl, byte [eax + edx + 3]
mov byte [edi + eax + 3], cl
add eax, 4
mov ecx, dword [ebp - 0xc]
cmp eax, 0x10
jb 0x41f820
jmp 0x41f8be
add eax, 3
jmp 0x41f89c
add eax, 2
jmp 0x41f89c
inc eax
cmp eax, 0x10
jae 0x41f8be
mov ebx, 0x10
lea ecx, [eax + edi]
sub edx, edi
sub ebx, eax
nop dword [eax]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x41f8b0
push dword [ebp + 0x14]
push edi
push edi
call fcn.0041fe70
add esp, 0xc
mov edx, edi
cmp esi, 0x10
jbe 0x41f8ec
mov ebx, dword [ebp + 0x1c]
sub esi, 0x10
add ebx, 0x10
mov dword [ebp - 4], esi
add edi, 0x10
mov dword [ebp + 0x1c], ebx
test esi, esi
jne 0x41f7e8
mov eax, dword [ebp + 0x18]
movups xmm0, xmmword [edx]
pop edi
pop esi
movups xmmword [eax], xmm0
pop ebx
mov esp, ebp
pop ebp
ret
push 0x41f920
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00420b30
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x4203e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00420600
add esp, 0xc
test eax, eax
js 0x4205f2
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x420469
mov eax, dword [ebp + 0x10]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x420420
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x4205ee
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x450718]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x451b18]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451318]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451718]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451f18]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x450718]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x451718]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451b18]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451318]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451f18]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x450718]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x451718]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451b18]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451318]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451f18]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x450718]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x451718]
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451b18]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451318]
movzx eax, dl
movzx eax, byte [eax*4 + 0x450718]
xor ecx, dword [eax*4 + 0x451f18]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x420480
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x420ec0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x421710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4048
call fcn.0042a870
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4217bc
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4217bc
test eax, eax
je 0x4217bc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4008], esi
cmp esi, 0xffffffff
je 0x4217bc
push 0x38
lea eax, [ebp - 0x4048]
mov dword [ebp - 0x4028], 0
push 0x452448
push eax
mov dword [ebp - 0x4024], 0
mov dword [ebp - 0x4020], 0
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x4048], 0
call fcn.00401d20
add esp, 0xc
test eax, eax
je 0x4217d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0xc
mov esi, 0x4000
jmp 0x4217e6
mov edi, dword [ebp - 0x400c]
cmp ebx, 0x4000
mov dword [ebp - 0x4048], edi
mov eax, ebx
cmova eax, esi
sub ebx, eax
mov dword [ebp - 0x4044], eax
add edi, eax
mov dword [ebp - 0x400c], edi
nop word [eax + eax]
lea eax, [ebp - 0x4004]
mov dword [ebp - 0x4038], 0x4000
mov dword [ebp - 0x403c], eax
lea eax, [ebp - 0x4048]
push 0
push eax
call fcn.00401e50
mov edi, eax
add esp, 8
test edi, edi
je 0x421842
cmp edi, 1
jne 0x42188e
mov ecx, dword [ebp - 0x4038]
sub esi, ecx
je 0x42187b
push 0
lea eax, [ebp - 0x4010]
push eax
push esi
lea eax, [ebp - 0x4004]
push eax
push dword [ebp - 0x4008]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x421884
cmp dword [ebp - 0x4010], esi
jne 0x421884
mov ecx, dword [ebp - 0x4038]
mov esi, 0x4000
test ecx, ecx
je 0x421810
cmp edi, 1
je 0x421896
mov esi, 0x4000
test ebx, ebx
jne 0x4217e0
lea eax, [ebp - 0x4048]
push eax
call fcn.00403350
add esp, 4
push dword [ebp - 0x4008]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp edi, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x422906
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4228c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00422b10
pop edi
pop esi
pop ebp
ret 0x10
push ebx
lea ebx, [edi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
lea ecx, [edi + 4]
cmp dword [ecx + 8], eax
je 0x4228f4
mov dword [eax], esi
add dword [ecx + 4], 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
lea edx, [ebp + 8]
push edx
push eax
call fcn.004155b0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10