joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427de0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00409150
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x427e09
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x427eb1
cmp dword [0x22d0e8c], 0xa5f
jne 0x427e55
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x818]
push edx
push str.kilibugerenegupezocezicuberusog
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 4], 0x84526b
jne 0x427e7a
mov eax, dword [0x42d010]
mov dword [0x22d0e8c], eax
mov ecx, dword [0x22d0e8c]
add ecx, 0xa231
mov dword [0x22d0e8c], ecx
cmp dword [0x22d0e8c], 0x141
jne 0x427eac
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x42e2a8], 0xec58acac
mov dword [0x42e2ac], 0xffffffff
jmp 0x427e00
call fcn.00427ab0
jmp dword [0x22d0830]
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x403203
pop dword [ebp - 4]
mov eax, 0x3261f45
sub eax, 0x2e5ed42
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x7d1765d9
add dword [ebp - 0x14], 0xd13adf72
mov dword [ebp - 0x10], 0xa6778718
add dword [ebp - 0x10], 0x8bbbc52d
mov dword [ebp - 0xc], 0x6c8bb8a1
add dword [ebp - 0xc], 0xdfc08b8d
mov dword [ebp - 8], 0x74e3a9d5
add dword [ebp - 8], 0x8b1c562b
lea eax, [ebp - 0x14]
push eax
mov eax, 0x62c80fce
add eax, 0x9d7870be
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xb9f44a4
sub dword [ebp - 0x14], 0x972cdb4e
mov dword [ebp - 0x10], 0x5b44d2fd
sub dword [ebp - 0x10], 0x19d87188
mov dword [ebp - 0xc], 0xba42863
add dword [ebp - 0xc], 0x57cb4409
mov dword [ebp - 8], 0xca4fb533
sub dword [ebp - 8], 0xca4fb533
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x39b79
push 0
call eax
mov ecx, 0x547e
xor ebx, ebx
add ebx, eax
mov esi, 0xfcd9c4fe
sub esi, 0xfc98b4fe
add esi, dword [ebp - 4]
mov edx, 0x4f49fda1
add edx, 0xd79e3201
mov edi, dword [esi]
xor edi, edx
mov dword [ebx], edi
add ebx, 0xf48878f2
sub ebx, 0xf48878ee
add esi, 0x7650df9d
sub esi, 0x7650df99
loop 0x40331c
add eax, 0xcf67a3d9
add eax, 0x3099a0f2
xor ebx, ebx
add ebx, eax
add eax, 0x15c9f5bf
sub eax, 0x15c9f5ba
mov ecx, 0xb158c5f
add ecx, 0xf52a73a1
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x401110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
push section..text
call sub.KERNEL32.DLL_SetUnhandledExceptionFilter
add esp, 0xc
call fcn.0040d230
sub esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0xc]
mov ebx, dword [0x43c780]
push ebx
push eax
push section..bss
push 0x440004
call sub.msvcrt.dll__errno
mov eax, dword [0x444b10]
add esp, 0x20
test eax, eax
je 0x4011a5
mov edx, dword [sym.imp.msvcrt.dll_fflush]
mov dword [0x43c790], eax
test edx, edx
jne 0x4011e8
cmp edx, 0xffffffe0
je 0x40118b
push eax
push eax
mov eax, dword [0x444b10]
push eax
mov eax, dword [edx + 0x30]
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
mov edx, dword [sym.imp.msvcrt.dll_fflush]
cmp edx, 0xffffffc0
je 0x4011a5
push ebx
push ebx
mov ecx, dword [0x444b10]
push ecx
mov eax, dword [edx + 0x50]
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
call sub.msvcrt.dll__flsbuf
mov edx, dword [0x43c790]
mov dword [eax], edx
call fcn.0040d200
and esp, 0xfffffff0
sub esp, 0x10
call sub.msvcrt.dll__filbuf
add esp, 0xc
mov eax, dword [eax]
push eax
mov eax, dword [section..bss]
push eax
mov eax, dword [0x440004]
push eax
call fcn.00401384
mov ebx, eax
call sub.msvcrt.dll__setmode
mov dword [esp], ebx
call sub.KERNEL32.DLL_ExitProcess
push ecx
push ecx
push eax
mov eax, dword [edx + 0x10]
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
mov edx, dword [sym.imp.msvcrt.dll_fflush]
jmp 0x40116c
Function at 0x40ce50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov edi, dword [ebp + 0xc]
push 0
push 0
call sub.msvcrt.dll_strcpy
add esp, 0x14
push eax
call sub.msvcrt.dll___set_app_type
mov esi, eax
pop eax
mov eax, dword [ebp + 8]
pop edx
mov eax, dword [eax + 0x10]
push eax
push 0
call sub.msvcrt.dll_strcpy
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
push ebx
push ecx
push edi
call sub.msvcrt.dll__read
mov ebx, eax
pop eax
pop edx
push esi
push 0
call sub.msvcrt.dll_strcpy
mov dword [esp], esi
call sub.msvcrt.dll_memmove
add esp, 0x10
test ebx, ebx
jne 0x40ceb3
mov byte [edi], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40d5f0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
mov ebx, dword [0x444ba0]
call sub.KERNEL32.DLL_TlsAlloc
cmp eax, 0xffffffff
je 0x40d630
mov dword [ebx + 0x30], eax
push edx
push edx
push 0
mov eax, dword [ebx + 0x30]
push eax
call fcn.0040ea50
add esp, 0x10
test eax, eax
sete al
and eax, 0xff
mov dword [ebx + 0x2c], eax
mov ebx, dword [ebp - 4]
leave
ret
call fcn.0040e9a0
test eax, eax
sete al
and eax, 0xff
mov dword [ebx + 0x2c], eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x40d8c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, eax
mov esi, edx
mov eax, dword [edx]
jmp 0x40d8db
test ebx, ebx
jne 0x40d92f
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
xor ecx, ecx
mov edx, 5
test eax, eax
je 0x40d8eb
mov ecx, dword [eax + 0x18]
xor dl, dl
cmp eax, dword [edi + 0x10]
sete al
xor ebx, ebx
mov bl, al
shl ebx, 2
test edx, edx
jne 0x40d922
test ecx, ecx
je 0x40d8d1
push eax
push eax
mov eax, dword [edi + 4]
push esi
push edi
push eax
mov eax, dword [edi]
push eax
mov eax, ebx
or eax, 2
push eax
push 1
call ecx
add esp, 0x20
cmp eax, 7
je 0x40d927
cmp eax, 8
je 0x40d8d1
mov eax, 2
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll_fseek
lea esi, [esi]
lea edi, [edi]
Function at 0x40d940
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x444ba0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40da02
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40da17
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40d9dd
mov eax, dword [eax + 0x28]
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
jmp 0x40d988
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, 5
test eax, eax
je 0x40d998
mov ecx, dword [eax + 0x18]
xor dl, dl
cmp edx, 5
je 0x40d9d0
test edx, edx
jne 0x40d9c3
test ecx, ecx
je 0x40d980
push eax
push eax
push ebx
push edi
mov eax, dword [edi + 4]
push eax
mov esi, dword [edi]
push esi
push 1
push 1
call ecx
add esp, 0x20
cmp eax, 6
je 0x40da26
cmp eax, 8
je 0x40d980
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call fcn.0040e9a0
sub esp, 0xc
mov esi, eax
push ebx
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push esi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
add esp, 0xc
jmp 0x40d96e
call fcn.0040d370
mov eax, dword [0x444ba0]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x40d964
call fcn.0040d650
mov eax, dword [0x444ba0]
jmp 0x40d964
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, ebx
mov eax, edi
call fcn.0040d8c0
cmp eax, 7
jne 0x40d9c8
mov eax, dword [0x444ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40da75
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x40da9a
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x40da81
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.0040d370
mov eax, dword [0x444ba0]
jmp 0x40da53
push esi
push esi
push ebx
mov ebx, dword [eax + 0x30]
push ebx
call sub.KERNEL32.DLL_TlsSetValue
pop edx
test eax, eax
pop ecx
jne 0x40da64
call fcn.0040e9a0
jmp 0x40da64
call fcn.0040d650
mov eax, dword [0x444ba0]
jmp 0x40da5a
Function at 0x40dca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x444ba0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40dd30
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40dd45
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40dd60
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40dd24
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0040d8c0
cmp eax, 7
jne 0x40ddcf
mov eax, dword [0x444ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dda5
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40ddc0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x40dd85
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0040dab0
jmp 0x40dce5
call fcn.0040d370
mov eax, dword [0x444ba0]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x40dcc0
call fcn.0040d650
mov eax, dword [0x444ba0]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x40dccb
lea esi, [esi]
mov ebx, dword [eax + 0x30]
call fcn.0040e9a0
sub esp, 0xc
mov esi, eax
push ebx
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push esi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
add esp, 0xc
jmp 0x40dcce
push edx
push edx
push ebx
mov edi, dword [eax + 0x30]
push edi
call sub.KERNEL32.DLL_TlsSetValue
pop ebx
test eax, eax
pop esi
jne 0x40dd13
call fcn.0040e9a0
jmp 0x40dd13
call fcn.0040d370
mov eax, dword [0x444ba0]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x40dd09
lea esi, [esi]
call fcn.0040d650
mov eax, dword [0x444ba0]
jmp 0x40dd09
call sub.msvcrt.dll_fseek
lea esi, [esi]
lea edi, [edi]
Function at 0x40dde0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x40de70
mov eax, dword [0x444ba0]
test eax, eax
je 0x40de60
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40decf
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40de81
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0040dab0
cmp eax, 7
jne 0x40deed
mov eax, dword [0x444ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dec0
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40dede
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x40dea6
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.0040d370
mov eax, dword [0x444ba0]
jmp 0x40ddfc
sub esp, 0xc
push edi
call fcn.0040d940
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call fcn.0040e9a0
sub esp, 0xc
mov esi, eax
push ebx
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push esi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
add esp, 0xc
jmp 0x40de11
push edx
push edx
push ebx
mov edi, dword [eax + 0x30]
push edi
call sub.KERNEL32.DLL_TlsSetValue
pop ebx
test eax, eax
pop esi
jne 0x40de4f
call fcn.0040e9a0
jmp 0x40de4f
call fcn.0040d370
mov eax, dword [0x444ba0]
jmp 0x40de3a
call fcn.0040d650
mov eax, dword [0x444ba0]
jmp 0x40de07
call fcn.0040d650
mov eax, dword [0x444ba0]
jmp 0x40de45
call sub.msvcrt.dll_fseek
lea esi, [esi]
lea edi, [edi]

Function at 0x40e0b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push eax
push eax
call sub.KERNEL32.DLL_TlsAlloc
mov edx, eax
cmp eax, 0xffffffff
je 0x40e0d7
mov eax, dword [ebp + 8]
mov dword [eax], edx
push eax
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push edx
call fcn.0040ea50
add esp, 0x10
leave
ret
call fcn.0040e9a0
leave
ret
Function at 0x40b350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40b372
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b368
mov eax, 1
add ebx, ebx
jne 0x40b38b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b380
jne 0x40b39c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b380
xor ecx, ecx
sub eax, 3
jb 0x40b3b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b422
mov ebp, eax
add ebx, ebx
jne 0x40b3bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b3c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b3ec
inc ecx
add ebx, ebx
jne 0x40b3d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b3cd
jne 0x40b3e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b3cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b40c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b3fd
jmp 0x40b36e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b40c
add edi, ecx
jmp 0x40b36e
pop esi
mov edi, esi
mov ecx, 0x31
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40b42a
cmp byte [edi], 3
jne 0x40b42a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40b42f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40b4a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc1b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc1ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b45c
mov ecx, edi
jns 0x40b48b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc1f0]
or eax, eax
je 0x40b4a1
mov dword [ebx], eax
add ebx, 4
jmp 0x40b479
call dword [esi + 0xc200]
mov ebp, dword [esi + 0xc1f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40b4db
sub esp, 0xffffff80
jmp 0x401468
Function at 0x100012f0
Capabilities:
Terminate process

Disassembly:
test edi, edi
ja 0x100012fc
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push esi
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10001315
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push edi
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x10001430
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
jbe 0x1000145d
lea esp, [esp]
movzx edx, byte [ecx + edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x100d7f80]
add ecx, 1
cmp ecx, esi
jb 0x10001440
ret

Function at 0x10001460
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x200
mov edi, eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10001480
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x200
push 0
push esi
call sub.ntdll.dll_memset
mov eax, dword [edi + 0xf4]
mov ecx, dword [edi + 0xf0]
mov edx, dword [ebx + 0x134]
push eax
push ecx
push 0x200
push esi
push ebx
call edx
add esp, 0x20
cmp eax, 0x200
je 0x100014c6
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
ret
push edi
mov ecx, esi
call fcn.10001520
add esp, 4
test eax, eax
jne 0x100014b4
mov byte [edi], al
mov eax, dword [edi + 0x108]
or eax, dword [edi + 0x10c]
push 0x50
jne 0x100014ee
push 0x100d8380
jmp 0x100014f3
push str.exFAT_found_using_backup_sector_
add edi, 0xa0
push edi
call dword [sym.imp.ntdll.dll_strncpy]
add esp, 0xc
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
xor eax, eax
pop esi
ret

Function at 0x10001730
Capabilities:
Terminate process

Disassembly:
push ebx
push edi
push 0x400
mov edi, eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10001750
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x400
push 0
push ebx
call sub.ntdll.dll_memset
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xf4]
mov edx, dword [edi + 0x134]
add eax, 0x400
adc ecx, 0
push ecx
push eax
push 0x400
push ebx
push edi
call edx
add esp, 0x20
cmp eax, 0x400
je 0x1000179e
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, 1
pop edi
pop ebx
ret
push esi
mov edi, ebx
call fcn.10001b40
add esp, 4
test eax, eax
jne 0x1000178c
mov edi, esi
call fcn.100017d0
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
xor eax, eax
pop ebx
ret
Function at 0x10001c50
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [edi + 0x198]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ebx, [eax + eax*2]
test ebx, ebx
push esi
ja 0x10001c6d
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10001c85
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push ebx
push 0
push esi
call sub.ntdll.dll_memset
mov eax, dword [ebp + 0xf4]
mov ecx, dword [ebp + 0xf0]
add esp, 0xc
push eax
mov eax, dword [edi + 0x198]
push ecx
lea edx, [eax + eax*2]
mov eax, dword [edi + 0x134]
push edx
push esi
push edi
call eax
mov ecx, dword [edi + 0x198]
lea ecx, [ecx + ecx*2]
add esp, 0x14
cmp eax, ecx
je 0x10001cd7
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebp
push edi
call fcn.10001da0
add esp, 8
test eax, eax
jne 0x10001cc3
push edi
mov eax, ebp
mov ecx, esi
call fcn.10001d10
add esp, 4
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x100026d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebx, eax
mov byte [edi], 0
mov al, byte [ebx + 0xd]
test al, al
jbe 0x10002832
cmp al, 0x80
ja 0x10002832
movzx esi, al
imul esi, dword [ebp + 0x198]
test esi, esi
ja 0x1000270d
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push esi
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10002727
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push esi
push 0
push eax
call sub.ntdll.dll_memset
movzx edx, byte [ebx + 0x10]
imul edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0xd]
movzx eax, byte [ebx + 0xd]
mov esi, dword [ebp + 0x198]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x24], ecx
movzx ecx, word [ebx + 0xe]
add edx, ecx
add esp, 0xc
mov edi, edx
cdq
push edx
xor ecx, ecx
push eax
push ecx
sub ebp, 2
push ebp
mov dword [esp + 0x24], ecx
call sub.ntdll.dll__allmul
add edi, eax
mov eax, dword [esp + 0x14]
adc eax, edx
xor ebp, ebp
push ebp
push esi
push eax
push edi
call sub.ntdll.dll__allmul
mov edi, dword [esp + 0x24]
add eax, dword [edi + 0xf0]
adc edx, dword [edi + 0xf4]
push edx
mov edx, dword [esp + 0x14]
push eax
movzx eax, byte [ebx + 0xd]
imul esi, eax
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x134]
push edx
push esi
call eax
mov edx, dword [esi + 0x198]
mov ecx, dword [esp + 0x2c]
imul edx, ecx
add esp, 0x14
cmp eax, edx
jne 0x1000281f
shl ecx, 4
test ecx, ecx
mov dword [esp + 0x24], ebp
jle 0x1000281f
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
jne 0x1000281f
mov al, byte [esi + 0xb]
mov cl, al
and cl, 0xf
cmp cl, 0xf
je 0x10002801
test al, 8
je 0x10002801
cmp byte [esi], 0xe5
je 0x10002801
push esi
call fcn.10001370
add esp, 4
mov edx, edi
call fcn.10002860
test eax, eax
je 0x10002801
mov byte [edi], 0
cmp byte [esi], 0
jne 0x1000280e
mov dword [esp + 0x24], 1
movzx edx, byte [ebx + 0xd]
add ebp, 1
shl edx, 4
add esi, 0x20
cmp ebp, edx
jl 0x100027cd
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp byte [edi], 0
jne 0x1000284c
add ebx, 0x47
push ebx
call fcn.10001370
add esp, 4
mov edx, edi
call fcn.10002860
test eax, eax
je 0x1000284c
mov byte [edi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x10002e30
Capabilities:
Terminate process

Disassembly:
test ebx, ebx
push ebp
mov ebp, dword [esp + 8]
jne 0x10002e3d
mov eax, ebp
pop ebp
ret
push esi
xor esi, esi
test ebp, ebp
push edi
mov edi, ebp
je 0x10002e98
jmp 0x10002e50
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
test eax, eax
je 0x10002e8f
mov ecx, dword [ebx + 0x118]
test ecx, ecx
je 0x10002e8f
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002e86
test dl, dl
je 0x10002e82
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002e86
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002e66
xor eax, eax
jmp 0x10002e8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002eb1
mov esi, edi
mov edi, dword [edi + 8]
test edi, edi
jne 0x10002e50
push 0xc
call dword [sym.imp.MSVCR80.dll_malloc]
xor ecx, ecx
add esp, 4
cmp eax, ecx
jne 0x10002edc
push 1
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebx + 0x140]
test eax, eax
je 0x10002ec1
push ebx
call eax
add esp, 4
mov ecx, dword [ebx + 0x118]
mov esi, dword [sym.imp.MSVCR80.dll_free]
push ecx
call esi
push ebx
call esi
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
ret
cmp esi, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ebx
je 0x10002eeb
mov dword [esi + 8], eax
cmp ebp, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
je 0x10002ef7
mov eax, ebp
pop edi
pop esi
pop ebp
ret