joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4050a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push edx
push 0x101
push 0
push eax
push ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405123
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4e3c44
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x405123
xor eax, eax
cmp dword [ebp - 8], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x405880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
test edi, edi
je 0x405897
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4058d6
push 0x4e3c60
push 1
push 0x4e3c74
call fcn.00402d00
add esp, 8
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
test esi, esi
je 0x405949
mov edi, 0x51d630
push edi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
mov ecx, esi
call dword [0x4dc8a4]
call esi
mov dword [ebp + 0x10], eax
xor esi, esi
cmp dword [edi], ebx
jle 0x405949
nop dword [eax]
push 0x4e3c8c
push dword [eax + esi*4]
call fcn.004aed57
add esp, 8
test eax, eax
je 0x405917
mov eax, dword [ebp + 0x10]
push 0x4e3ca4
push dword [eax + esi*4]
call fcn.004aed57
add esp, 8
test eax, eax
je 0x405917
mov eax, dword [ebp + 0x10]
inc esi
xor ebx, ebx
cmp esi, dword [edi]
jl 0x4058e0
jmp 0x405949
mov ecx, dword [edi]
mov ebx, 1
lea eax, [ecx - 1]
cmp esi, eax
jge 0x405944
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax + eax]
mov eax, dword [ebx + esi*4 + 4]
mov dword [ebx + esi*4], eax
inc esi
mov ecx, dword [edi]
lea eax, [ecx - 1]
cmp esi, eax
jl 0x405930
mov ebx, dword [ebp - 4]
lea eax, [ecx - 1]
mov dword [edi], eax
push ebx
push dword [ebp + 8]
call fcn.00405440
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebx, ecx
xor eax, eax
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bc50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret
Function at 0x40c6e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d09be
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x517b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [ebp - 4], 1
call fcn.0040bad0
mov ebx, eax
test ebx, ebx
je 0x40c7fe
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [ebp - 0x14]
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov esi, dword [ecx]
mov ecx, ebx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
add eax, 0xffffff80
or ecx, eax
jge 0x40c77a
push 0x80
mov ecx, edi
call fcn.0040c490
mov ecx, dword [edi]
cmp dword [ecx - 8], 0x80
jl 0x40c7f4
push esi
push 0x80
push ecx
push dword [ebp + 0x14]
mov dword [ecx - 0xc], 0x80
xor edx, edx
mov eax, dword [edi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov word [eax + 0x100], dx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov esi, eax
test esi, esi
js 0x40c7f4
mov eax, dword [edi]
sub ebx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ebx, eax
jge 0x40c7cc
push esi
mov ecx, edi
lfence
call fcn.0040c490
mov ecx, dword [edi]
cmp esi, dword [ecx - 8]
jg 0x40c7f4
mov dword [ecx - 0xc], esi
xor eax, eax
mov ecx, dword [edi]
mov word [ecx + esi*2], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.0040b680
push 0x80004005
call fcn.0040b680
int3

Function at 0x40cd50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x40cdac
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x40cdac
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 0x40cd9a
cmp esi, edx
jae 0x40cdac
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40cd88
cmp esi, edx
jae 0x40cdac
cmp word [esi], 0
je 0x40cdac
mov eax, esi
lfence
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x410330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0ded
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x517b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 8
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xc], 0
call fcn.004a71b8
mov edi, eax
add esp, 4
test edi, edi
je 0x4103d4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004a94f4
add esp, 4
mov dword [edi + 4], eax
jmp 0x4103d6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov edi, dword [edi + 4]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, edi
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
call fcn.004095f0
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, edi
call esi
movzx edi, ax
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x410462
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x410462
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, edi
call esi
cmp dword [ebx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov word [ebx + 0x40], ax
jne 0x410482
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
and eax, 0x13
or eax, 4
mov dword [ebx + 0xc], eax
and ecx, eax
jne 0x4104a5
cmp byte [ebp + 0xc], 0
je 0x410491
push ebx
call fcn.004a9ad0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4104b1
mov esi, 0x4e4068
jmp 0x4104c1
test cl, 2
mov esi, 0x4e4080
mov eax, 0x4e4098
cmove esi, eax
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.004104f0
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.0040a330
push 0x508858
lea eax, [ebp - 0x2c]
push eax
call fcn.004aa678
int3
Function at 0x411da0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0ef5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x517b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.00411aa0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x411e2a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x411f6a
cmp dword [ebx + 8], 0x15555555
je 0x411f80
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.004a71b8
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e4bc0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4e4bc0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x411f1d
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.004b9f70
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004a76f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x411eff
cmp eax, 0x200
jae 0x411efd
shl eax, 3
cmp eax, ecx
jae 0x411eff
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00418050
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00411aa0
mov edx, dword [eax]
jmp 0x411f20
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x411f4b
mov dword [ecx + eax*8], esi
jmp 0x411f5d
cmp ebx, edx
jne 0x411f54
mov dword [ecx + eax*8], esi
jmp 0x411f61
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x411f61
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4e4b78
call fcn.004a90aa
int3
Function at 0x412250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0fd4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x517b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
call fcn.0040bad0
mov ebx, eax
test ebx, ebx
je 0x4123fe
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
call fcn.0040bad0
mov ebx, eax
test ebx, ebx
je 0x412408
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 4], eax
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0xffffffff
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0xffffffff
push 5
mov dword [edi + 0x38], 0xa0a0a
mov dword [edi + 0x3c], 0x232425
mov byte [edi + 0x40], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [edi + 0x44], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x48], eax
push 0xf
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x50], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [edi + 0x54], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [edi + 0x58], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [edi + 0x5c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x60], eax
push 5
mov dword [edi + 0x64], 0x505050
mov dword [edi + 0x68], 0x808080
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], 0xc0c0c0
mov byte [edi + 0x74], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
push 0x412420
push 0x4127c0
push 0x1f
push 4
lea eax, [edi + 0x88]
mov byte [ebp - 4], 5
push eax
call fcn.004a7562
mov word [edi + 0x180], 1
mov eax, edi
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 0x80004005
call fcn.0040b680
push 0x80004005
call fcn.0040b680
int3
Function at 0x4135b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x41363b
mov esi, dword [ebp + 8]
mov ecx, 1
lfence
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4135eb
push edi
mov ecx, esi
lfence
call fcn.0040c490
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov edx, edi
cmp edi, 0xffffffff
jne 0x413617
mov ecx, dword [esi]
test ecx, ecx
jne 0x413609
xor edx, edx
jmp 0x41361b
push dword [ecx - 8]
push ecx
call fcn.004b9a2b
add esp, 8
mov edx, eax
test edx, edx
js 0x41363b
mov ecx, dword [esi]
cmp edx, dword [ecx - 8]
jg 0x41363b
lfence
mov eax, dword [esi]
xor ecx, ecx
mov dword [eax - 0xc], edx
mov eax, dword [esi]
mov word [eax + edx*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.0040b680
int3

Function at 0x414a20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
mov ebx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
push esi
mov esi, eax
mov dword [ebp - 0xc], ecx
movzx eax, al
xor eax, 0x811c9dc5
shr edx, 8
push edi
lea edi, [ecx + 8]
shr ebx, 0x10
imul ecx, eax, 0x1000193
movzx eax, dl
shr esi, 0x18
xor ecx, eax
movzx eax, bl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, esi
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00411aa0
mov eax, dword [eax + 4]
test eax, eax
jne 0x414a97
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0xc]
mov edi, dword [edi + 0xc]
cmp eax, edi
jne 0x414ad9
mov esi, dword [edi]
cmp esi, edi
je 0x414ac4
mov ebx, dword [ebp - 0x10]
nop word [eax + eax]
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x414ad9
mov esi, dword [esi]
cmp esi, edi
jne 0x414ab0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 4
Function at 0x414af0
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1230
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x517b80]
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 - 0x228], ecx
mov eax, dword [ebp + 8]
xor bl, bl
mov esi, dword [ebp + 0xc]
push 0x4e47f0
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
je 0x414c65
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x4e47f8
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp eax, 0xffffffff
je 0x414c65
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x414bde
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x414be4
push 0
lea ecx, [ebp - 0x220]
push ecx
push dword [ebp - 0x224]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
setne bl
jmp 0x414be4
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test bl, bl
je 0x414c58
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
call fcn.00412000
add esp, 4
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00411450
test al, al
jne 0x414c3b
test esi, esi
je 0x414c37
push esi
lea ecx, [ebp - 0x21c]
call fcn.004126b0
xor bl, bl
jmp 0x414c58
mov eax, dword [ebp - 0x228]
lea ecx, [eax + 4]
mov byte [eax + 0x48], 0
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x414c56
push eax
call fcn.004126b0
mov bl, 1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov al, bl
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.004a71aa
mov esp, ebp
pop ebp
ret 8
Function at 0x417c70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
mov edi, ecx
mov dword [ebp - 0x1c], 0x17
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x417cd0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x417cd0
mov dword [ebp - 0x38], 5
push 5
jmp 0x417cd9
mov dword [ebp - 0x38], 0
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x417d1c
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x417d1c
mov esi, 5
push esi
jmp 0x417d1f
xor esi, esi
push esi
push dword [edi + 0x28]
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, ebx
jne 0x417d52
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x38], 5
jne 0x417d9d
cmp esi, 5
jne 0x417d6a
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c], eax
jmp 0x417d71
mov dword [ebp - 0x3c], 0
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 2
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp + 0xc]
mov edx, ebx
sub ecx, dword [ebp - 0x3c]
sub edx, eax
push 1
push ecx
push esi
push 0
push edx
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [ebp - 0x34], 5
jne 0x417de3
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x38], 5
mov dword [ebp - 0x34], eax
jne 0x417dc0
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
jmp 0x417dc2
xor esi, esi
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp + 0xc]
sub ebx, esi
push 1
push dword [ebp - 0x34]
sub ecx, eax
push ebx
push ecx
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 8
Function at 0x418050
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, 0x1fffffff
mov esi, 1
push edi
mov edi, ecx
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x41819c
lea eax, [ecx - 1]
mov ebx, dword [edi + 4]
or eax, esi
mov dword [ebp - 0xc], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00417f50
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x418177
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, edx
mov edx, dword [edi + 0xc]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp - 8], ebx
cmp esi, dword [ebp - 0xc]
jne 0x418104
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x41816c
mov edx, dword [ebx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x41813b
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp edx, eax
je 0x418136
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x418169
cmp esi, edx
je 0x41814c
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x418180
cmp esi, edx
jne 0x418140
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 0xc]
jne 0x4180b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x418169
push 0x4e4b94
call fcn.004a90aa
int3