joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x888074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x88bc98], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.004475ac
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447371
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x88bc90]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00447371
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x888074]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x4586a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447371
mov esp, ebp
pop ebp
ret 4
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4571d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x888074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00447565
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45a410]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45a410]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0044b750
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00447dd0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0043c2a0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
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 str.unordered_map_set_too_long
call fcn.00448519
int3
Function at 0x43c2a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x43c3f3
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0043c1a0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43c3c6
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43c33e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43c3b9
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x43c37a
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x43c372
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43c3b9
mov edi, eax
cmp ebx, eax
je 0x43c396
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43c3cf
cmp ebx, eax
jne 0x43c380
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x43c302
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43c3b9
push str.invalid_hash_bucket_count
call fcn.00448519
int3
Function at 0x44e143
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c66c
push 0x45c664
push str.FlsAlloc
push 0x1e
call fcn.0044e021
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e177
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
jmp 0x44e17d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44e1c1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c67c
push 0x45c674
push str.FlsGetValue
push 0x20
call fcn.0044e021
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e1f8
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44fa8b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44fb28
push ebx
push esi
call fcn.0044fa54
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044ddf4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44fad5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44fb27
push edi
push eax
call fcn.0044dae1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44faf5
call fcn.0044daa7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44fb26
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044ddf4
add esp, 0x20
test eax, eax
jne 0x44fb14
push edi
call fcn.0044daa7
jmp 0x44fb1c
push ebx
call fcn.0044daa7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4189c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf950
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4dd180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push 0x105
mov dword [ebp - 0x238], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
test eax, eax
je 0x418ac1
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418a36
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00416d30
cmp dword [ebp - 0x220], 7
lea eax, [ebp - 0x234]
push dword [ebp - 0x224]
cmova eax, dword [ebp - 0x234]
push eax
push esi
mov dword [ebp - 4], 0
call fcn.00422870
mov ecx, dword [ebp - 0x220]
add esp, 0xc
cmp ecx, 7
jbe 0x418ae3
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418ab5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418aff
push ecx
push edx
call fcn.0045776a
add esp, 8
jmp 0x418ae3
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045777d
mov esp, ebp
pop ebp
ret
call fcn.004661f8
int3
Function at 0x4192a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfacd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4dd180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x4192f7
mov ecx, dword [ebp + 8]
call fcn.004238a0
mov eax, dword [ebp + 8]
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 dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cmp ebx, 0x7fffffff
ja 0x419406
push ebx
cmp ebx, 0x1000
jb 0x419328
call fcn.004016d0
jmp 0x41932d
call fcn.0045773a
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
lea esi, [edi + ebx]
push esi
push edi
mov dword [ebp - 0x20], esi
call fcn.004171e0
add esp, 8
mov dword [ebp - 0x24], esi
push edi
push ebx
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4193f5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0x4c6b78
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4193f5
cmp dword [ebp - 0x10], 0x34
jb 0x4193f5
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0xfeef04bd
jne 0x4193f5
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 8]
mov esi, dword [ebp + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
mov ecx, esi
push eax
shr edx, 0x10
push edx
call fcn.00423780
test edi, edi
je 0x4193e1
cmp ebx, 0x1000
jb 0x4193d7
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x419401
mov edi, ecx
push ebx
push edi
call fcn.0045776a
add esp, 8
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
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004238a0
jmp 0x4193b9
call fcn.004661f8
call fcn.00417c90
int3

Function at 0x4198f0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4dd180]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push eax
lea eax, [esp + 4]
push eax
call fcn.004222f0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x419918
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x18]
mov ebx, eax
cmp ecx, 7
jbe 0x41995a
mov edx, dword [esp + 4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419988
push ecx
push edx
call fcn.0045776a
add esp, 8
cmp ebx, 0xffffffff
je 0x419976
test bl, 0x10
je 0x419976
mov al, 1
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045777d
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
xor al, al
pop ebx
xor ecx, esp
call fcn.0045777d
add esp, 0x1c
ret
call fcn.004661f8
int3
Function at 0x4199a0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4dd180]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push eax
lea eax, [esp + 4]
push eax
call fcn.004222f0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x4199c8
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x18]
mov ebx, eax
cmp ecx, 7
jbe 0x419a0a
mov edx, dword [esp + 4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419a00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a38
push ecx
push edx
call fcn.0045776a
add esp, 8
cmp ebx, 0xffffffff
je 0x419a26
test bl, 0x10
jne 0x419a26
mov al, 1
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045777d
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
xor al, al
pop ebx
xor ecx, esp
call fcn.0045777d
add esp, 0x1c
ret
call fcn.004661f8
int3
Function at 0x41a180
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfccd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4dd180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004222f0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x41a1c1
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 7
jbe 0x41a202
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a1f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a220
push ecx
push edx
call fcn.0045776a
add esp, 8
test esi, esi
je 0x41a225
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045777d
mov esp, ebp
pop ebp
ret
call fcn.004661f8
push str.Error_creating_directory
lea ecx, [ebp - 0x40]
call fcn.004037d0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.00424390
push 0x4d6388
lea eax, [ebp - 0x68]
push eax
call fcn.00458def
int3
Function at 0x427460
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x427481
jl 0x427477
test esi, esi
jne 0x427481
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x427534
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.0041e7f0
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x4274f1
jg 0x4274b9
test esi, esi
je 0x4274f1
cmp ebp, eax
jg 0x4274c9
jl 0x4274c3
cmp edi, esi
jae 0x4274c9
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.004592e0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x427510
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x427520
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x4274a0
jl 0x427520
test edi, edi
jne 0x4274a0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x427579
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x427580
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.004592e0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x427580
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x4275e9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4275aa
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x4275d4
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.0048e7a0
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4275e9
cmp edi, eax
ja 0x4275b2
test edi, edi
je 0x4275e9
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.0048e7a0
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x427950
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x154
mov eax, dword [0x4dd180]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
mov dword [esp + 0x1c], ebp
xor esi, esi
lea edx, [ebp + 0x1f]
nop dword [eax + eax]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x20], ecx
inc esi
cmp esi, 0x10
jl 0x427980
lea eax, [esp + 0x28]
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]
ror ecx, 0x1f
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x4279b5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ebp, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov ecx, edi
mov eax, esi
not ecx
and eax, edi
and ecx, ebx
mov edx, ebp
or ecx, eax
ror edx, 0x1b
mov eax, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
add eax, 0x5a827999
mov dword [esp + 0x14], ebx
mov ebx, esi
mov esi, edi
shr edi, 2
shl esi, 0x1e
add edx, dword [esp + ecx*4 + 0x20]
or esi, edi
inc ecx
add edx, eax
mov dword [esp + 0x10], ecx
mov edi, ebp
mov ebp, edx
cmp ecx, 0x14
jl 0x4279e8
mov dword [esp + 0x18], ebp
mov ecx, edx
mov dword [esp + 0x10], 0x14
nop word [eax + eax]
mov eax, ebx
ror edx, 0x1b
xor eax, esi
xor eax, edi
add edx, eax
mov eax, dword [esp + 0x10]
add edx, dword [esp + eax*4 + 0x20]
mov eax, dword [esp + 0x14]
add eax, 0x6ed9eba1
mov dword [esp + 0x14], ebx
add edx, eax
mov ebx, esi
mov eax, dword [esp + 0x10]
mov esi, edi
shr edi, 2
inc eax
shl esi, 0x1e
or esi, edi
mov dword [esp + 0x10], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x28
jl 0x427a40
mov dword [esp + 0x18], ecx
mov ebp, edx
mov dword [esp + 0x10], 0x28
nop
mov ecx, esi
ror edx, 0x1b
or ecx, edi
mov eax, esi
and eax, edi
and ecx, ebx
or ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [esp + 0x10]
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ebx, esi
mov esi, edi
shr edi, 2
add ecx, dword [esp + eax*4 + 0x20]
inc eax
shl esi, 0x1e
add edx, ecx
or esi, edi
mov dword [esp + 0x10], eax
mov edi, ebp
mov ebp, edx
cmp eax, 0x3c
jl 0x427a90
mov dword [esp + 0x18], ebp
mov ecx, edx
mov dword [esp + 0x10], 0x3c
nop
mov ebp, dword [esp + 0x10]
mov eax, ebx
xor eax, esi
ror edx, 0x1b
add edx, dword [esp + 0x14]
xor eax, edi
add eax, 0xca62c1d6
mov dword [esp + 0x14], ebx
add eax, dword [esp + ebp*4 + 0x20]
mov ebx, esi
add edx, eax
mov esi, edi
shr edi, 2
mov eax, ebp
mov ebp, dword [esp + 0x1c]
inc eax
shl esi, 0x1e
or esi, edi
mov dword [esp + 0x10], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x50
jl 0x427ae0
add dword [ebp + 4], edi
mov eax, dword [esp + 0x14]
add dword [ebp + 0x10], eax
xor eax, eax
add dword [ebp + 8], esi
add dword [ebp + 0xc], ebx
add dword [ebp], edx
mov ecx, dword [esp + 0x160]
pop edi
pop esi
mov word [ebp + 0x1c], ax
pop ebp
pop ebx
xor ecx, esp
call fcn.0045777d
add esp, 0x154
ret