joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10179c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.1016a070
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10179dde
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.101756f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10179dde
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10175810
mov esi, eax
cmp esi, 0x64
jne 0x10179dde
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.101662c0
lea esi, [edi + eax]
cmp esi, ebp
jae 0x10179dbe
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.101662c0
add esi, eax
cmp esi, ebp
jae 0x10179dba
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x10179d66
cmp ecx, 1
jne 0x10179d26
test edx, edx
je 0x10179d66
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.10179b50
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x10179db2
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x10179d88
lea edx, [esp + 0x30]
call fcn.101662c0
add esi, eax
jmp 0x10179db2
lea edx, [esp + 0x20]
call fcn.101662c0
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x10179daa
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x10179db2
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x10179cf1
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10175810
mov esi, eax
cmp esi, 0x64
je 0x10179cb4
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x10179de6
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.10175f70
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x10184390
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x101843cc
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.101842b0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x1018448c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.101087a0
push edi
call fcn.101074b0
add esp, 0x14
cmp eax, 0x65
jne 0x10184423
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.10184330
add esp, 0x1c
jmp 0x1018447a
cmp eax, 0x64
jne 0x1018447a
push 0
push edi
call fcn.10107e10
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x10184445
cmp edx, ecx
je 0x1018447a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.10184330
add esp, 0x2c
push edi
call fcn.101064b0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x1018448c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1018cc00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c1a5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.101916f0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1018b785
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.100acaf0
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1019b9f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101c24d8
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x1019bbc8
je case.0x1019ba3e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1019ba3e.4
movzx eax, byte [eax + 0x1019bc64]
jmp dword [eax*4 + 0x1019bc28]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101946a0
push 0x1021caf8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10194580
push 0x1021cbd0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10194650
push 0x1021cab0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10194270
push 0x1021cc18
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10194340
push 0x1021ccf0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10194d90
push 0x1021cc60
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10194ba0
push 0x1021cca8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.10014150
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.101945d0
push 0x1021ca6c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.10014150
mov dword [ebp - 4], 1
jmp 0x1019bb0f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.10014150
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.10194b70
push 0x1021cca8
jmp 0x1019bb24
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.10014150
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.10194d60
push 0x1021cc60
jmp 0x1019bb24
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.10014150
mov dword [ebp - 4], 4
jmp 0x1019bb0f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10194ab0
push 0x1021c9e4
jmp 0x1019bb24
cmp esi, 0x781
je case.0x1019ba3e.3
cmp esi, 0x1779
je 0x1019bbf7
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.10194600
push 0x1021ca6c
lea eax, [ebp - 0x90]
jmp 0x1019bb27
push 0x1779
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.101946f0
push 0x1021cb88
jmp 0x1019bb24
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10194a60
push 0x1021cb40
jmp 0x1019bb24
Function at 0x101a1b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2519
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
push 0x100
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], 0x100
mov dword [esi + 0x3c], 0
call fcn.1018be4d
mov dword [esi + 0x40], eax
add esp, 4
mov dword [esi + 0x44], 2
lea ecx, [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
mov eax, esi
mov dword [esi], vtable.Poco::DigestBuf.0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x101a2200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2519
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
push 0x1000
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedBidirectionalStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], 0x1000
mov dword [esi + 0x3c], 0
call fcn.1018be4d
push dword [esi + 0x38]
mov dword [esi + 0x40], eax
call fcn.1018be4d
mov ecx, dword [esi + 0x40]
add esp, 8
mov dword [esi + 0x44], eax
add ecx, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x48], 3
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, esi
mov dword [esi], vtable.Poco::FileStreamBuf.0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xf
mov byte [esi + 0x50], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x101a2780
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x101a27e1
mov ecx, dword [esi + 0x48]
test cl, 1
je 0x101a27e1
test cl, 2
je 0x101a27a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101a27d1
lea eax, [esi + 0x50]
push eax
call fcn.1019b9e0
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
pop ecx
ret 0xc
or eax, 0xffffffff
pop esi
pop ecx
ret 0xc

Function at 0x101a2ac0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x101a2b6c
mov ecx, dword [esi + 0x48]
test cl, 2
je 0x101a2b6c
test cl, 8
je 0x101a2b2c
push 2
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x101a2b1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x101a2b1b
lea eax, [esi + 0x50]
push eax
call fcn.1019b9e0
add esp, 4
mov eax, dword [esp + 8]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101a2b5a
lea eax, [esi + 0x50]
push eax
call fcn.1019b9e0
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
add esp, 0xc
ret 0xc
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc

Function at 0x101a2de0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
pop esi
ret
Function at 0x401250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401269
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4012a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4012a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4012a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401290
cmp esi, eax
jb 0x4012aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x406a00
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43c5eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x10]
call fcn.0040ce90
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [0x44e3c0], eax
test edx, edx
jne 0x406a58
xor eax, eax
jmp 0x406a69
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406a60
sub eax, esi
push eax
push edx
mov ecx, 0x44e3b4
call fcn.00401960
mov edx, dword [esp + 0xec]
test edx, edx
jne 0x406a84
xor eax, eax
jmp 0x406a99
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406a90
sub eax, esi
push eax
push edx
mov ecx, 0x44e3b8
call fcn.00401960
mov edx, dword [esp + 0xf0]
test edx, edx
jne 0x406ab4
xor eax, eax
jmp 0x406ac9
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ac0
sub eax, esi
push eax
push edx
mov ecx, 0x44e3bc
call fcn.00401960
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x406150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xc]
call fcn.00411ef4
lea ecx, [esp + 0xc]
mov dword [esp + 0xe0], 0xffffffff
call fcn.00401170
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xdc
ret

Function at 0x406b30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43c5eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x10]
call fcn.0040ce90
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [0x44e3c0], eax
test edx, edx
jne 0x406b88
xor eax, eax
jmp 0x406b99
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b90
sub eax, esi
push eax
push edx
mov ecx, 0x44e3b4
call fcn.00401960
mov edx, dword [esp + 0xec]
test edx, edx
jne 0x406bb4
xor eax, eax
jmp 0x406bc9
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406bc0
sub eax, esi
push eax
push edx
mov ecx, 0x44e3b8
call fcn.00401960
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x406200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xc]
call fcn.00411ef4
lea ecx, [esp + 0xc]
mov dword [esp + 0xe0], 0xffffffff
call fcn.00401170
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xdc
ret
Function at 0x4086c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x540
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0x53c], eax
push ebp
mov ebp, dword [esp + 0x548]
lea edx, [esp + 0x338]
push esi
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4086e8
lea eax, [esp + 0x33c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408700
mov ecx, dword [str..]
mov dl, byte [0x43ec64]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x340]
push ecx
call fcn.00421d51
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
cmp esi, 0xffffffff
je 0x408874
lea edx, [esp + 0xc]
push edx
push esi
call fcn.00421e81
add esp, 8
test eax, eax
jne 0x40886b
push edi
lea ecx, [esp + 0x34]
mov eax, 0x43ec1c
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408780
test dl, dl
je 0x40877c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408780
add eax, 2
add ecx, 2
test dl, dl
jne 0x408760
xor eax, eax
jmp 0x408785
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408854
lea ecx, [esp + 0x34]
mov eax, 0x43ec5c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4087b6
test dl, dl
je 0x4087b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4087b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x408796
xor eax, eax
jmp 0x4087bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408854
lea edx, [esp + 0x138]
mov eax, ebp
sub edx, ebp
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4087d0
lea edi, [esp + 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4087e2
mov ax, word [0x43e584]
mov word [edi], ax
lea eax, [esp + 0x34]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408800
lea edi, [esp + 0x138]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408811
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x10], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x408842
lea ecx, [esp + 0x138]
push ecx
call fcn.004086c0
add esp, 4
jmp 0x408850
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00421e81
add esp, 8
test eax, eax
je 0x408754
pop edi
push esi
call fcn.00421cc3
add esp, 4
push ebp
call fcn.00421c93
mov ecx, dword [esp + 0x548]
add esp, 4
pop esi
pop ebp
xor ecx, esp
call fcn.0041f914
add esp, 0x540
ret

Function at 0x4088a0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00408690
add esp, 4
test eax, eax
je 0x4088b9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x408aa0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0x43e570
push eax
xor esi, esi
call fcn.00420f7d
mov ecx, dword [esp + 0x20]
push 0x43e590
push ecx
mov ebp, eax
call fcn.00420f7d
add esp, 0x10
mov edi, eax
mov dword [esp + 0xc], edi
test ebp, ebp
je 0x408b51
test edi, edi
je 0x408b48
push ebx
push 0x7d000
call fcn.0041152f
push ebp
mov ebx, eax
call fcn.00420b94
add esp, 8
test eax, eax
jne 0x408b39
mov edi, dword [esp + 0x20]
push ebp
push 0x7d000
push 1
push ebx
call fcn.00420e9c
lea edx, [eax + esi]
add esp, 0x10
cmp edx, edi
jbe 0x408b11
mov eax, edi
sub eax, esi
mov ecx, dword [esp + 0x10]
push ecx
push eax
push 1
push ebx
call fcn.00420b12
add esi, eax
add esp, 0x10
cmp esi, edi
jae 0x408b35
push ebp
call fcn.00420b94
add esp, 4
test eax, eax
je 0x408af5
mov edi, dword [esp + 0x10]
push ebx
call fcn.0041153a
add esp, 4
mov esi, 1
pop ebx
push ebp
call fcn.00420934
add esp, 4
test edi, edi
je 0x408b5e
push edi
call fcn.00420934
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x408b70
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
movzx eax, al
shr eax, 4
and eax, 1
ret

Function at 0x408bd0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 8]
not ecx
and eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret

Function at 0x408ce0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43bbf1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], ebx
call fcn.004125a5
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x408d29
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x34]
add eax, 0x10
mov dword [esi], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], 1
call fcn.004010b0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00401070
push eax
lea ecx, [esp + 0x18]
call fcn.00401060
push eax
lea ecx, [esp + 0x1c]
call fcn.00401050
push eax
lea ecx, [esp + 0x20]
call fcn.00401040
push eax
lea ecx, [esp + 0x24]
call fcn.00401030
push eax
push str._04d__02d__02d__02d:_02d:_02d
push esi
call fcn.00401f40
add esp, 0x20
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.00401020
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret