joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407322
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
push eax
push dword [esp + 0x14]
push ecx
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x40737e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x4000
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406a1f
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x4073f0
push esi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
mov word [edi + 0x3ffe], ax
pop esi
jne 0x4073f0
cmp dword [ebp + 0x18], 1
je 0x4073f5
cmp dword [ebp + 0x18], 2
je 0x4073f5
xor eax, eax
mov word [edi], ax
pop edi
leave
ret 0x14

Function at 0x4073fa
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x40745d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp - 8], 0x73006e
mov dword [ebp - 4], 0x61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add word [ebp - 4], dx
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4074a7
test edi, edi
jne 0x40746a
mov word [esi], ax
jmp 0x4074a9
mov eax, esi
pop edi
pop esi
leave
ret 8

Function at 0x4075a4
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4075c6
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x407841
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45d8cc], 0
push esi
jne 0x40787b
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x407852
mov dword [ecx*4 + 0x45d8c8], edx
inc ecx
cmp ecx, 0x100
jl 0x40784d
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x4078a5
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x45d8c8]
inc esi
sub edx, 1
jne 0x40788d
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x403880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0
mov dword [0x4da4f4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0042d0c5
test eax, eax
jne 0x4038b4
mov eax, 1
pop esi
pop ebp
ret 0x10
call fcn.004116f0
test eax, eax
je 0x403928
call fcn.0042c800
mov ecx, eax
test ecx, ecx
je 0x403946
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov edx, dword [ebp + 0x14]
add eax, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00404fc0
mov esi, dword [ebp + 8]
add esp, 4
mov edi, eax
cmp dword [esi - 0xc], 0
je 0x403906
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
push 0x4646c0
push eax
call fcn.00402930
add esp, 0xc
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403920
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 0x4034b0
push eax
push 0x66
push esi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
xor eax, eax
pop esi
pop ebp
ret 0x10
push 0x80004005
call fcn.004049e0
int3

Function at 0x404310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404325
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404364
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404360
lea ebx, [ebx]
cmp esi, edx
jae 0x404364
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x404350
cmp esi, edx
jb 0x404369
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x404fc0
Capabilities:
Access peb ldr_data
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4576d3
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
push edi
mov eax, dword [0x47c9a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x30], edx
mov esi, ecx
lea ecx, [esp + 0x28]
call fcn.0040d990
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x24]
mov edx, dword [eax]
call fcn.0040d680
mov byte [esp + 0xa0], 2
or edi, 0xffffffff
mov edx, dword [esp + 0x28]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40503e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x2c]
call fcn.0040dcc0
mov byte [esp + 0xa0], 3
lea ecx, [esp + 0x1c]
push dword [esp + 0x24]
mov edx, dword [eax]
call fcn.0040d6e0
add esp, 4
mov byte [esp + 0xa0], 5
mov ecx, edi
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405086
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x464d28
lea ecx, [esp + 0x24]
call fcn.00404200
push 4
push str..exe
lea ecx, [esp + 0x24]
call fcn.00404200
lea ecx, [esp + 0x1c]
call fcn.00404e30
push 0x44
mov byte [esp + 0x1f], al
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00442490
or dword [esp + 0x84], 1
add esp, 0xc
cmp byte [esp + 0x1b], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], 0x44
mov word [esp + 0x7c], ax
movdqa xmmword [esp + 0x34], xmm0
je 0x40515a
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push esi
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40515a
push dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x34]
call esi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x20]
jmp 0x40516c
mov ecx, dword [ebp + 8]
push 0x33
push str.Error:_cannot_start_64_bit_version_of_the_installer
call fcn.004045b0
or esi, 0xffffffff
mov byte [esp + 0xa0], 2
mov ecx, edi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405191
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
mov dword [esp + 0x30], ecx
lea eax, [ecx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4051be
mov ecx, dword [ecx]
push dword [esp + 0x30]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4051e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457719
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47c9a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov di, dx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0042c800
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40523a
push 0x80004005
call fcn.004049e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0
push 2
movzx ebx, di
mov dword [ebp - 4], 0
push ebx
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
je 0x4052e5
jns 0x405274
push 0x80070057
call fcn.004049e0
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x40528f
push edi
mov ecx, esi
call fcn.00404890
push edi
push dword [esi]
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [edi - 1]
cmp ecx, 0xffffffff
jne 0x4052bb
mov eax, dword [esi]
test eax, eax
jne 0x4052ad
xor ecx, ecx
jmp 0x4052bf
push dword [eax - 8]
push eax
call fcn.0043f5ec
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x40526a
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40526a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
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
push 0x12
push str._Unknown_language_
mov ecx, esi
call fcn.004045b0
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 0x405ef0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x47c9a0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov bl, 1
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
test bl, bl
je 0x405fdf
lea ecx, [esp + 0x18]
push ecx
push dword [eax + esi*4]
call edx
cmp eax, 0xffffffff
je 0x405f75
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esp + 0x18], 0x10
jne 0x405f75
mov eax, dword [esp + 0xc]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x405f75
mov eax, dword [esp + 0xc]
push dword [eax + esi*4]
push str.Couldnt_delete_old_version_of_file__s_r_nMake_sure_you_have_full_write_access_to_the_Windows_System_directory
push edi
call fcn.00403ff0
add esp, 0xc
xor bl, bl
mov eax, dword [esp + 0xc]
inc esi
mov edx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, 1
jl 0x405f28
test bl, bl
je 0x405fd9
mov esi, dword [esp + 0x14]
xor edi, edi
sub eax, esi
mov dword [esp + 0xc], eax
test bl, bl
je 0x405fd5
push dword [eax + esi]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x405fc4
mov eax, dword [esp + 0xc]
xor bl, bl
push dword [eax + esi]
push dword [esi]
push str.Couldnt_rename_temp_file__s_to__s_r_nMake_sure_you_have_full_write_access_to_the_Windows_System_directory
push dword [esp + 0x1c]
call fcn.00403ff0
add esp, 0x10
mov eax, dword [esp + 0xc]
inc edi
add esi, 4
cmp edi, 1
jl 0x405f95
test bl, bl
jne 0x40601b
mov edi, dword [esp + 0x10]
mov edx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push dword [esi]
call edx
cmp eax, 0xffffffff
je 0x40601b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esp + 0x18], 0x10
jne 0x40601b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40601b
push dword [esi]
push str._r_nWarning:_couldnt_delete_file__s
push edi
call fcn.00406d10
add esp, 0xc
mov ecx, dword [esp + 0x26c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043f01f
mov esp, ebp
pop ebp
ret
Function at 0x40aca0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov edx, dword [esi + 0x9c]
cmp edx, 0xffffffff
jne 0x40acbf
pop edi
pop esi
or eax, edx
pop ebx
pop ebp
ret
lea eax, [edx + edi]
cmp eax, 0x40
jbe 0x40ad2d
cmp edx, 0x40
ja 0x40ad10
lea eax, [esi + 0x40]
mov ecx, esi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov edx, dword [esi + 0x9c]
push eax
call fcn.0040d030
add esp, 4
lea eax, [esi + 0x40]
mov edx, edi
push eax
mov ecx, ebx
call fcn.0040d030
add dword [esi + 0x9c], edi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push edi
lea eax, [edx + esi]
push ebx
push eax
call fcn.00448460
add dword [esi + 0x9c], edi
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40ad50
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x40ae15
cmp eax, 0x40
jbe 0x40ad85
lea edx, [esi + 0x40]
mov ecx, esi
call fcn.0040d2f0
mov dword [esi + 0x9c], 0x14
mov ecx, dword [esi + 0x9c]
mov eax, 0x40
sub eax, ecx
push eax
push 0
lea eax, [ecx + esi]
push eax
call fcn.00442490
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjH]
add esp, 0xc
mov eax, esi
mov ecx, 2
lea eax, [eax + 0x20]
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x10], xmm0
dec ecx
jne 0x40adb0
lea eax, [esi + 0x40]
mov dword [eax + 4], ecx
lea edx, [ecx + 0x40]
mov dword [eax], ecx
mov ecx, esi
push eax
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
call fcn.0040d030
add esp, 4
mov dword [esi + 0x9c], 0xffffffff
test edi, edi
je 0x40ae29
lea eax, [esi + 0x40]
mov edx, edi
push eax
mov ecx, ebx
call fcn.0040d030
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40ae30
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47c9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 0x9c], 0xffffffff
je 0x40ae60
push edi
xor edx, edx
xor ecx, ecx
call fcn.0040ad50
add esp, 4
push esi
lea esi, [edi + 0x40]
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.0040d2f0
movdqa xmm1, xmmword [0x471c80]
mov eax, edi
mov ecx, 2
lea ecx, [ecx]
lea eax, [eax + 0x20]
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x10], xmm0
dec ecx
jne 0x40ae80
mov dword [esi + 4], ecx
lea edx, [ecx + 0x40]
mov dword [esi], ecx
mov ecx, edi
push esi
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
call fcn.0040d030
push esi
mov edx, 0x14
lea ecx, [ebp - 0x18]
call fcn.0040d030
add esp, 8
lea ecx, [ebp - 0x18]
mov edx, esi
call fcn.0040d2f0
pop esi
test ebx, ebx
je 0x40af05
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call fcn.00448460
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043f01f
mov esp, ebp
pop ebp
ret
Function at 0x40bdf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x47c9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xa0
mov dword [ebp - 0x220], eax
mov esi, edx
lea eax, [ebp - 0x16c]
mov edi, ecx
push 0
push eax
call fcn.00442490
lea eax, [ebp - 0x16c]
mov edx, esi
push eax
mov ecx, edi
call fcn.0040aca0
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0x16c]
mov ecx, 0x28
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040ad50
mov ecx, dword [ebp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esp, 0x14
mul ecx
mov eax, edx
shr eax, 4
inc eax
mov dword [ebp - 0x21c], eax
je 0x40bfb1
mov edx, 1
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], eax
jmp 0x40bea0
mov eax, edx
mov dword [ebp - 0x1c], 0
shr eax, 0x18
lea esi, [ebp - 0x20c]
mov byte [ebp - 0x18], al
lea edi, [ebp - 0xcc]
mov eax, edx
mov byte [ebp - 0x15], dl
shr eax, 0x10
mov ecx, 0x28
mov byte [ebp - 0x17], al
xorps xmm0, xmm0
mov eax, edx
mov ebx, 0x3e8
shr eax, 8
mov byte [ebp - 0x16], al
mov eax, 4
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xcc]
mov edx, eax
push ecx
lea ecx, [ebp - 0x18]
movdqu xmmword [ebp - 0x230], xmm0
call fcn.0040ad50
lea eax, [ebp - 0xcc]
mov edx, 0x14
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ae30
movdqu xmm0, xmmword [ebp - 0x18]
add esp, 8
mov eax, 0x10
movdqu xmm1, xmmword [ebp - 0x230]
pxor xmm0, xmm1
movdqu xmmword [ebp - 0x2c], xmm0
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x18]
xor byte [ebp + eax - 0x2c], cl
inc eax
cmp eax, 0x14
jb 0x40bf30
lea esi, [ebp - 0x16c]
mov ecx, 0x28
lea edi, [ebp - 0xcc]
rep movsd dword es:[edi], dword [esi]
dec ebx
je 0x40bf5b
movdqu xmm0, xmmword [ebp - 0x2c]
jmp 0x40bee2
mov edi, dword [ebp - 0x210]
xor edx, edx
mov ebx, dword [ebp - 0x214]
mov ecx, edi
mov esi, dword [ebp - 0x220]
cmp ecx, dword [ebp + 0x18]
jae 0x40bf83
mov al, byte [ebx + ecx]
inc edx
mov byte [ecx + esi], al
inc ecx
cmp edx, 0x14
jb 0x40bf71
mov edx, dword [ebp - 0x218]
add edi, 0x14
inc edx
mov dword [ebp - 0x210], edi
sub ebx, 0x14
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], ebx
lea eax, [edx - 1]
cmp eax, dword [ebp - 0x21c]
jb 0x40bea0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f01f
mov esp, ebp
pop ebp
ret

Function at 0x40ccc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add edx, 0xfffffff0
cmp edx, 0xf0
ja case.0x40ccd5.17
movzx eax, byte [edx + 0x40cd0c]
jmp dword [eax*4 + 0x40ccfc]
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.0040bfd0
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.0040c390
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.0040c760
or eax, 0xffffffff
pop ebp
ret
Function at 0x40ce00
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x47c9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x154], edi
lea esi, [edi + 0x1c]
mov ecx, dword [esi]
lea esi, [esi + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff00
or eax, ecx
mov dword [ebp + edx*4 - 0x144], eax
inc edx
cmp edx, 0x10
jb 0x40ce23
lea eax, [ebp - 0x13c]
mov edx, 0x40
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
dec edx
jne 0x40ce55
mov ecx, dword [ebp - 0x154]
mov eax, dword [edi + 8]
mov esi, eax
mov ebx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x158], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], edx
jmp 0x40cea0
mov ecx, ebx
mov edx, esi
not ecx
rol esi, 5
and ecx, eax
mov eax, edi
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x150]
add esi, ecx
add eax, 0x5a827999
mov ecx, dword [ebp - 0x148]
add esi, dword [ebp + ecx*4 - 0x144]
inc ecx
add esi, eax
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 0x14c], eax
ror edi, 2
mov ebx, edx
cmp ecx, 0x14
jb 0x40cea0
mov edx, 0x14
lea esp, [esp]
xor eax, edi
mov ecx, esi
xor eax, ebx
rol esi, 5
add esi, eax
mov eax, dword [ebp - 0x150]
add esi, dword [ebp + edx*4 - 0x144]
add eax, 0x6ed9eba1
add esi, eax
inc edx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 0x14c], eax
ror edi, 2
mov ebx, ecx
cmp edx, 0x28
jb 0x40cf00
mov dword [ebp - 0x148], 0x28
lea ebx, [ebx]
mov ecx, edi
mov edx, esi
xor ecx, ebx
rol esi, 5
add esi, dword [ebp - 0x150]
and ecx, eax
mov eax, edi
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x148]
add ecx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, edi
mov edi, ebx
add esi, ecx
mov ecx, dword [ebp - 0x14c]
mov ebx, edx
mov edx, dword [ebp - 0x148]
inc edx
ror edi, 2
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
cmp edx, 0x3c
jb 0x40cf50
mov edx, 0x3c
mov edi, edi
xor eax, edi
mov dword [ebp - 0x148], esi
xor eax, ebx
rol esi, 5
add eax, 0xca62c1d6
add esi, ecx
add eax, dword [ebp + edx*4 - 0x144]
inc edx
mov ecx, dword [ebp - 0x14c]
add esi, eax
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 0x148]
ror edi, 2
mov dword [ebp - 0x14c], eax
cmp edx, 0x50
jb 0x40cfb0
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x158]
add eax, esi
add dword [edx + 0x10], edi
add dword [edx + 0x18], ecx
mov ecx, dword [ebp - 4]
mov dword [edx + 8], eax
xor ecx, ebp
mov eax, ebx
add dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14c]
add dword [edx + 0x14], eax
pop edi
pop esi
pop ebx
call fcn.0043f01f
mov esp, ebp
pop ebp
ret