joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad1d7c8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push dword [ebx]
mov esi, dword [sym.imp.vmsvcrt.dll__get_osfhandle]
call esi
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_FlushFileBuffers]
push dword [ebx]
call fcn.4ad02e00
push 0
push dword [ebp + 0xc]
call fcn.4ad0e8ae
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x4ad1d816
push dword [ebp + 0xc]
push 1
push 0x271f
call fcn.4ad05fb5
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4ad1d8ad
push edi
mov edi, dword [ebp + 0x10]
push 2
mov ecx, edi
push 0
neg ecx
push ecx
push eax
call esi
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0x18]
push dword [ebx]
call esi
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ad1d869
push dword [ebx]
call fcn.4ad02e00
or dword [ebx], 0xffffffff
push dword [ebp + 0xc]
push 1
push 0x271f
call fcn.4ad05fb5
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4ad1d8ac
cmp dword [ebp + 8], edi
jne 0x4ad1d848
mov esi, dword [ebp + 0x14]
push dword [ebx]
mov ecx, edi
mov edi, dword [ebp + 0x18]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4ad1d84a
call fcn.4ad02e00
xor esi, esi
push esi
push 1
push dword [ebp + 0xc]
call fcn.4ad1e100
cmp eax, 0xffffffff
mov dword [ebx], eax
je 0x4ad1d852
push 2
push esi
push esi
push eax
call dword [sym.imp.vmsvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_SetFilePointer]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x4ad1d8b8
Capabilities:
Delete file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4ad33b3c]
cmp eax, 3
jne 0x4ad1d8fa
cmp dword [ebp + 0x10], 0
jne 0x4ad1d8e1
push 0
push 0x2340
call fcn.4ad0bfae
pop ecx
pop ecx
leave
ret 0x18
push dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
push eax
push dword [eax + 4]
call fcn.4ad1d6bb
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x4ad1d8dd
cmp eax, 2
jne 0x4ad1d95b
push esi
push 1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call fcn.4ad1e100
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ad1d92a
push dword [ebp + 0x1c]
call fcn.4ad01c24
push 0x6e
call fcn.4ad0c21a
push 1
push 0
jmp 0x4ad1d96a
lea eax, [ebp - 8]
push eax
push 0
call fcn.4ad19c17
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call dword [sym.imp.vmsvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_SetFileTime]
push esi
call fcn.4ad02e00
inc dword [0x4ad33b60]
pop esi
jmp 0x4ad1d8dd
push dword [ebp + 0x1c]
call fcn.4ad01c24
push 1
push 0x2349
call fcn.4ad0c2b1
nop
nop
nop
nop
nop
Function at 0x4ad1ea8f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4ad33b78]
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call fcn.4ad08d61
test al, al
jne 0x4ad1eac1
xor eax, eax
jmp 0x4ad1ebd1
push edi
lea eax, [ebp - 0x210]
push 0x4ad0136c
push eax
call dword [sym.imp.vmsvcrt.dll_wcscat]
pop ecx
pop ecx
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x624]
push eax
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.vKERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4ad1eb29
mov esi, dword [sym.imp.vKERNEL32.dll_GetLastError]
call esi
cmp eax, 0x90
jne 0x4ad1eb16
xor eax, eax
jmp 0x4ad1ebd0
push edi
call esi
push eax
call fcn.4ad05fb5
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x4ad1ebd0
cmp word [ebp - 0x210], 0x5c
jne 0x4ad1eb44
lea eax, [ebp - 0x210]
push eax
call fcn.4ad01a79
mov word [eax], di
jmp 0x4ad1eb4b
mov word [ebp - 0x20e], di
cmp word [ebp - 0x41c], di
je 0x4ad1eb74
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
push 2
push 0x235f
push esi
call fcn.4ad1ce7c
add esp, 0x14
jmp 0x4ad1eb8b
lea eax, [ebp - 0x210]
push eax
push 1
push 0x235e
push esi
call fcn.4ad1ce7c
add esp, 0x10
cmp eax, edi
jne 0x4ad1ebd0
mov eax, dword [ebp - 0x624]
mov ecx, eax
and ecx, 0xffff
push ecx
shr eax, 0x10
push eax
push 0x4ad3d8d4
lea eax, [ebp - 0x61c]
push 0x100
push eax
call dword [sym.imp.vmsvcrt.dll__snwprintf]
lea eax, [ebp - 0x61c]
push eax
push 1
push 0x235b
push esi
call fcn.4ad1ce7c
add esp, 0x24
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.4ad01305
leave
ret 8

Function at 0x4ad1efd9
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4ad33b78]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
call fcn.4ad0ff25
test edi, edi
je 0x4ad1f00e
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.vmsvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
call fcn.4ad1ea63
test eax, eax
je 0x4ad1f032
lea eax, [ebp - 0x210]
push 0x4ad0136c
push eax
call dword [sym.imp.vmsvcrt.dll_wcscat]
pop ecx
pop ecx
and dword [ebp - 0x214], 0
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.vKERNEL32.dll_GetDiskFreeSpaceExW]
push 6
push esi
call fcn.4ad1cdef
lea eax, [ebp - 0x210]
push eax
push 0xe
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x10]
call fcn.4ad1ebe3
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x14]
push 0x4ad19334
call fcn.4ad0ca1d
push eax
push 2
push 0x2379
push esi
call fcn.4ad1ce7c
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
call fcn.4ad01305
leave
ret 0x10
Function at 0x4031b0
Capabilities:
Get geographical location
Get system information on windows
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ae04
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x45106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], 0
call fcn.00407c70
push eax
mov ecx, 0x454590
call fcn.00405490
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403235
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40322b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403419
push edx
push ecx
call fcn.0040aee0
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.00408010
push eax
mov ecx, 0x4545a8
call fcn.00405490
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403285
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40327b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40341e
push edx
push ecx
call fcn.0040aee0
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push 2
push 0x44ad08
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.00406440
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xa8], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x8c]
cmp ax, 9
je 0x4032e9
cmp ax, 6
je 0x4032e9
cmp ax, 0xc
jne 0x4032fb
push 2
push 0x44ad0c
lea ecx, [ebp - 0xa4]
call fcn.00406440
lea eax, [ebp - 0xa4]
mov ecx, 0x4545c0
push eax
call fcn.00405490
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x40334d
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403343
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403423
push edx
push ecx
call fcn.0040aee0
add esp, 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x55
lea eax, [ebp - 0x68]
push eax
push 0x59
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4033b9
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4033a0
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.00406440
lea eax, [ebp - 0xa4]
mov ecx, 0x4545d8
push eax
call fcn.00405490
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403400
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4033f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403428
push edx
push ecx
call fcn.0040aee0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040aeca
mov esp, ebp
pop ebp
ret
call fcn.00425ef0
call fcn.00425ef0
call fcn.00425ef0
call fcn.00425ef0
int3
Function at 0x4046d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b004
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x45106c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x11c]
push 0x104
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push eax
mov byte [edi], 0
mov dword [ebp - 0x120], 2
call fcn.00422f10
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x404788
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404770
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
mov ecx, edi
call fcn.00406440
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x120], 1
jb 0x4047a3
mov eax, dword [edi]
push 0
push eax
call fcn.004261c4
add esp, 8
test eax, eax
je 0x4047f7
lea ecx, [ebp - 0x140]
call fcn.00408290
push eax
mov ecx, edi
call fcn.00405490
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x40481c
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404812
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40488f
jmp 0x404812
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x404801
mov eax, dword [edi]
push 4
push eax
call fcn.004261c4
add esp, 8
test eax, eax
je 0x40481c
jmp 0x4047b2
push edx
push ecx
call fcn.0040aee0
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xf
jb 0x404853
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x40483a
mov eax, dword [edi]
push 0xf
lea esi, [eax + ecx]
push str.TempPDFSailPath
push esi
call fcn.00422990
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x404870
push 0xf
push str.TempPDFSailPath
mov byte [ebp - 0x124], 0
mov ecx, edi
push dword [ebp - 0x124]
push 0xf
call fcn.00406f60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040aeca
mov esp, ebp
pop ebp
ret 4
call fcn.00425ef0
int3
Function at 0x4055e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b182
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x44ac6c
mov dword [edi + 0x10], 0x44ac04
mov dword [edi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00402ab0
push ecx
lea ebx, [edi + 0x18]
mov dword [esi + 0x3c], 0
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.004065c0
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x405698
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00402a30
lea edx, [edi + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 5
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040b115
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 6
call fcn.00409711
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0xc], eax
add esp, 4
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [ebx], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
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
Function at 0x408370
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x45106c]
xor eax, esp
mov dword [esp + 0x68], eax
cmp dword [edx + 0x14], 0x10
xorps xmm0, xmm0
mov eax, dword [edx + 0x10]
push esi
mov esi, ecx
movlpd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x54], 0x67452301
mov dword [esp + 0x58], 0xefcdab89
mov dword [esp + 0x5c], 0x98badcfe
mov dword [esp + 0x60], 0x10325476
jb 0x4083cb
mov edx, dword [edx]
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00401890
push esi
lea ecx, [esp + 0xc]
call fcn.00401940
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040aeca
mov esp, ebp
pop ebp
ret

Function at 0x4089f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b4e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
push 0x84
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x408b05
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x408b05
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x408b05
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x408b05
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov ebx, eax
push 0x10
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x408ac6
lea ecx, [esi + 4]
mov dword [esi + 8], 0
push ecx
mov dword [esi + 0xc], 0
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x408ac8
xor esi, esi
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebx]
mov dword [eax + 0x4c], esi
mov eax, dword [ecx]
call dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x408b05
call fcn.00401150
mov ecx, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x4c]
call fcn.00401190
mov ecx, dword [ebx]
mov bl, 1
mov dword [ecx + 4], eax
jmp 0x408b07
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x408b3d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408b33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b53
push edx
push ecx
call fcn.0040aee0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.00425ef0
int3
Function at 0x40dc57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x64556a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x1258f6d0]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
push ebx
push esi
sub eax, ecx
push 0x1c
cdq
pop ebx
idiv ebx
xor esi, esi
inc esi
mov byte [esp + 0xf], 1
mov dword [esp + 0x14], esi
cmp eax, esi
jbe 0x6456a7
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov eax, dword [esp + 0x10]
add eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00646595
lea eax, [esp + 0x1c]
push eax
push 3
push 0x1249ff1c
mov esi, eax
call fcn.0064e198
add esp, 0xc
push 7
pop eax
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x54], cx
xor eax, eax
push 0x124a008c
mov ecx, esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.00647b25
test eax, eax
setne al
and byte [esp + 0xf], al
je 0x645655
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x58]
lea ecx, [esp + 0x20]
call fcn.006454a5
pop ecx
test al, al
je 0x645655
lea eax, [esp + 0x38]
push eax
mov eax, esi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0064d617
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00646023
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.00638f2f
jmp 0x645663
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
call fcn.006466d4
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00642f44
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.00642f44
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00642f44
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
inc dword [esp + 0x14]
add dword [esp + 0x10], 0x1c
cmp dword [esp + 0x14], eax
jb 0x6455b4
mov ecx, dword [esp + 0x8c]
pop esi
pop ebx
xor ecx, esp
call 0x1ec9d49
mov esp, ebp
pop ebp
ret
Function at 0x65bea5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1258f6d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x1262eaec]
push esi
push edi
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x4c], eax
test ebx, ebx
jne 0x65bf1c
and dword [ebp - 0x10], ebx
push 0x1d
push 0x124a2504
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], bl
call fcn.006430de
push 1
push 0x32
push 0x64
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.0065effb
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x20]
mov ebx, eax
call fcn.00638f2f
mov dword [0x1262eaec], ebx
push dword [esi + 0x78]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [esi + 0x74]
mov ebx, dword [eax]
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], ebx
call fcn.006539f5
pop ecx
cmp ebx, dword [esi + 0x74]
je 0x65c072
jmp 0x65bf51
mov ebx, dword [ebp - 0x40]
push dword [ebx + 0x28]
call fcn.0065c0df
test al, al
jne 0x65bf6a
inc dword [ebp - 0x48]
lea eax, [ebp - 0x40]
call fcn.0065ca81
jmp 0x65bf9b
cmp byte [esi + 0xa0], 0
je 0x65bfa8
cmp dword [ebx + 0x38], 2
je 0x65bfa8
mov ecx, dword [ebp - 0x4c]
lea eax, [ebx + 0x4c]
push eax
call fcn.0065cab7
lea eax, [ebp - 0x40]
call fcn.0065ca81
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [esi + 0x70]
push eax
call fcn.0065c79e
mov eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x74]
jne 0x65bf4e
jmp 0x65c072
push dword [ebp - 0x54]
lea ecx, [ebx + 0x58]
push dword [ebp - 0x58]
call fcn.0064b200
test al, al
je 0x65bffc
mov ecx, dword [ebx + 0x58]
sub ecx, dword [ebp - 0x58]
mov edx, dword [ebx + 0x5c]
sbb edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x64]
mov dword [eax], ecx
mov dword [eax + 4], edx
push 2
pop eax
mov dword [ebp - 0x44], eax
cmp dword [esi + 0xa8], eax
jne 0x65c072
mov ecx, dword [ebp - 0x4c]
lea eax, [ebx + 0x4c]
push eax
call fcn.0065cab7
push ebx
lea eax, [ebp - 0x68]
push eax
add esi, 0x70
push esi
call fcn.0065c79e
jmp 0x65c072
add ebx, 0x10
push ebx

Function at 0x66e1f7
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x672b8d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x424034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x3f
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x43]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x44], 0
call fcn.00673856
push 7
xor eax, eax
pop ecx
push dword [ebp + 0xc]
mov byte [ebp - 0x64], 0
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push eax
call fcn.0067286e
lea eax, [ebp - 0x44]
push eax
push eax
push 0x40
pop edi
mov ecx, 0x41c5b0
call fcn.00672948
add esp, 0x1c
cmp dword [ebp + 0x10], 0
push 0x20
pop edi
jne 0x672c41
mov ebx, esi
mov esi, dword [0x41c30c]
mov dword [ebp - 0x68], 0x10
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.006729fd
add esp, 0x10
xor eax, eax
mov cl, byte [ebp + eax - 0x44]
xor byte [ebp + eax - 0x24], cl
inc eax
cmp eax, edi
jl 0x672c1c
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
add ebx, 0x30
dec dword [ebp - 0x68]
jne 0x672c03
jmp 0x672c94
lea ebx, [esi + 0x2d0]
mov esi, dword [0x41c30c]
mov dword [ebp - 0x68], 0xf
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.006729fd
add esp, 0x10
xor eax, eax
mov cl, byte [ebp + eax - 0x44]
xor byte [ebp + eax - 0x24], cl
inc eax
cmp eax, edi
jl 0x672c6d
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
dec dword [ebp - 0x68]
sub ebx, 0x30
cmp dword [ebp - 0x68], 0
jge 0x672c54
mov ebx, edi
push 0x40
pop edi
mov ecx, edi
lea esi, [ebp - 0x44]
call fcn.006728a0
mov eax, esi
push eax
push eax
mov ecx, 0x41c5f0
call fcn.00672948
mov ebx, dword [ebp - 0x6c]
push 8
xor esi, esi
push esi
push ebx
call dword [fcn.0041c348]
add esp, 0x14
or edi, 0xffffffff
mov dl, byte [ebp + esi - 0x44]
mov ecx, edi
and ecx, 7
shl dl, cl
mov eax, esi
sar eax, 3
or byte [eax + ebx], dl
inc esi
dec edi
cmp edi, 0xffffffbf
jg 0x672cc6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00673652
leave
ret