joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463917
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
dec eax
lahf
mov byte [ebp + 0x49], 0x8b
mov byte [ebp + 0x4a], 0x9f
mov byte [ebp + 0x4b], 0x97
mov byte [ebp + 0x4c], 0xa9
mov byte [ebp - 0x20], 0xa9
mov byte [ebp - 0x1f], 0xe4
mov byte [ebp - 0x1e], 0xe8
mov byte [ebp - 0x1d], 0xe4
mov byte [ebp - 0x1c], 0xfb
mov byte [ebp - 0x1b], 0x5b
mov byte [ebp - 0x1a], 0x46
mov byte [ebp - 0x19], 0x33
mov byte [ebp - 0x18], 0x22
mov byte [ebp - 0x17], 0xdd
mov byte [ebp - 0x16], 0x9e
mov byte [ebp - 0x15], 0xf7
mov byte [ebp - 0x14], 0x39
mov byte [ebp - 0x13], 0xe6
mov byte [ebp - 0x12], 0xb8
mov byte [ebp - 0x11], 0x9e
mov byte [ebp - 0x10], 0x59
mov byte [ebp - 0xf], 0xb2
mov byte [ebp - 0xe], 0xb0
mov byte [ebp - 0xd], 0x30
mov byte [ebp - 0xc], 0x8c
mov byte [ebp - 0xb], 0x8f
lea eax, [ebp + 0x18]
push 0x35
push eax
lea eax, [ebp - 0x20]

Function at 0x46398b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xa], 0x96
mov byte [ebp - 9], 0x1f
mov byte [ebp - 8], 0x3d
mov byte [ebp - 7], 0x57
mov byte [ebp - 6], 7
mov byte [ebp - 5], 0x58
mov byte [ebp - 4], 0xbf
mov byte [ebp - 3], 0x50
mov byte [ebp - 2], 0x2b
mov byte [ebp - 1], 0xf6
mov byte [ebp], 0x74
mov byte [ebp + 1], 0xe1
mov byte [ebp + 2], 0x1d
mov byte [ebp + 3], 0x9c
mov byte [ebp + 4], 0xd6
mov byte [ebp + 5], 0x7d
mov byte [ebp + 6], 0xe
mov byte [ebp + 7], 0x7d
mov byte [ebp + 8], 0x38
mov byte [ebp + 9], 0xb6
mov byte [ebp + 0xa], 0xc3
mov byte [ebp + 0xb], 0xcc
mov byte [ebp + 0xc], 0xdb
mov byte [ebp + 0xd], 0xd6
mov byte [ebp + 0xe], 0x8c
mov byte [ebp + 0xf], 0x27
mov byte [ebp + 0x10], 0x69
mov byte [ebp + 0x11], 0xd0
mov byte [ebp + 0x12], 0x4d
mov byte [ebp + 0x13], 0xef
mov byte [ebp + 0x14], 0x2c
call 0x462bac
mov esi, eax
lea eax, [ebp + 0x50]
push 0xd
push eax
lea eax, [ebp + 0x60]
mov byte [ebp + 0x50], 0xd1
mov byte [ebp + 0x51], 0x8f
mov byte [ebp + 0x52], 0xa2
mov byte [ebp + 0x53], 4
mov byte [ebp + 0x54], 0x5a
mov byte [ebp + 0x55], 0x4c
mov byte [ebp + 0x56], 0xa3
mov byte [ebp + 0x57], 0x21
mov byte [ebp + 0x58], 0xc8
mov byte [ebp + 0x59], 0xb7
mov byte [ebp + 0x5a], 0xa5
mov byte [ebp + 0x5b], 0xac
mov byte [ebp + 0x5c], 0x5e
mov byte [ebp + 0x60], 0x5e
mov byte [ebp + 0x61], 0xdf
mov byte [ebp + 0x62], 0xe9
mov byte [ebp + 0x63], 0xfb
mov byte [ebp + 0x64], 0x8c
mov byte [ebp + 0x65], 0x7e
mov byte [ebp + 0x66], 0xd7
mov byte [ebp + 0x67], 0x25
mov byte [ebp + 0x68], 0x34
mov byte [ebp + 0x69], 0x4d
mov byte [ebp + 0x6a], 0xd2
mov byte [ebp + 0x6b], 0xff
mov byte [ebp + 0x6c], 0x90
call 0x462bac
add esp, 0x18
mov ebx, eax
lea eax, [ebp + 0x70]
push eax
push 0xf003f
push 0
push esi
push 0x80000002
call 0x46441b
test eax, eax
je 0x463aaa
xor eax, eax
jmp 0x463bd1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push ebx
push dword [ebp + 0x70]
mov dword [ebp - 0x24], 0x400
call 0x4644cd
test eax, eax
je 0x463ad6
xor esi, esi
jmp 0x463bba
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x52c]
push eax
call 0x46426a
Function at 0x1003d694
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 8]
je 0x1003d6a5
pop ebp
jmp fcn.100635a0
push 5
call fcn.100649b2
pop ebp
ret 8

Function at 0x10042ae0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x10042b2e
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x10042b08
cmp edx, 1
je 0x10042b4f
cmp edx, 2
je 0x10042b46
cmp edx, 3
jne 0x10042b5a
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x10043f74
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x804
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x10043ffc
mov edi, edx
mov esi, ecx
mov eax, 0x800
lea ebx, [ebp - 0x810]
push eax
push 0xff
push ebx
call fcn.101db130
add esp, 0xc
call fcn.1001f412
mov ecx, dword [eax]
or ecx, 2
push dword [ebp + 8]
push 0
push edi
mov edx, 0x800
push edx
push ebx
push dword [eax + 4]
push ecx
call fcn.101fa0b7
add esp, 0x1c
lea eax, [esi - 1]
cmp eax, 3
ja 0x10043ff5
push dword [esi*4 + 0x10211310]
call fcn.101fa0b7
add esp, 4
push ebx
push 0x10211310
push eax
call fcn.1002c4cc
add esp, 0xc
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
add esp, 0x804
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100441a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x102440c0]
mov ecx, dword [0x1028ef04]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x100441ef
mov esi, dword [0x102440bc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x102440c0
call fcn.101fa0b7
add esp, 4
cmp dword [0x102440c0], 0xffffffff
jne 0x100441d6
pcmpeqd xmm0, xmm0
mov esi, esp
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov dword [esi + 0x20], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x102440bc], eax
push 0x102440c0
call fcn.101fa0b7
add esp, 4
jmp 0x100441d6
Function at 0x10080fbd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21c]
push 0x20c
push 0xff
push edi
call fcn.101db130
add esp, 0xc
mov dword [edi - 0xc], edi
mov dword [edi - 8], edi
lea ecx, [ebp - 0x14]
mov dword [edi - 4], ecx
mov eax, 0x104
mov esi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ebx, edi
mov edx, ecx
sub edx, ebx
sar edx, 1
cmp edx, eax
jae 0x1008102c
add eax, eax
lea ecx, [ebp - 0x228]
push 2
push eax
push edi
call fcn.10081f78
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
sub ecx, ebx
sar ecx, 1
push ebx
push ecx
call esi
test eax, eax
je 0x10081070
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov edx, ecx
sub edx, ebx
sar edx, 1
cmp eax, edx
ja 0x10081005
lea ecx, [ebx + eax*2]
mov dword [ebp - 0x224], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, 0xfde9
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1008153e
add esp, 0xc
jmp 0x10081083
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.1007f423
add esp, 8
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x10081096
push eax
call fcn.101fa0b7
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10081191
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x158], eax
lea esi, [esp + 0x54]
push 0x104
push 0xff
push esi
call fcn.101db130
add esp, 0xc
mov dword [esi - 0xc], esi
mov dword [esi - 8], esi
lea eax, [esp + 0x154]
mov dword [esi - 4], eax
xor esi, esi
lea eax, [esp + 0x10]
mov dword [eax + 0x24], esi
mov dword [eax + 0x20], esi
xorps xmm0, xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
mov dword [eax + 0x28], 0xffff
xor edi, edi
dec edi
lea ebx, [esp + 8]
mov dword [ebx], edi
mov dword [ebx + 4], edi
push eax
push dword [ebp + 0xc]
push ebx
call fcn.100807f3
add esp, 0xc
cmp dword [ebx], esi
je 0x1008123a
mov esi, dword [ebp + 8]
call fcn.101ad951
cmp dword [esp + 0xc], eax
jne 0x10081286
cmp dword [esp + 8], 2
jne 0x10081286
cmp byte [ebp + 0x10], 0
je 0x10081286
mov dword [esi], 0
call fcn.101ada37
mov dword [esi + 4], eax
jmp 0x10081290
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0xc]
push esi
call fcn.10080c93
add esp, 0xc
cmp dword [esi], 0
lea edi, [esp + 0x54]
jne 0x10081294
cmp dword [esp + 0x34], 3
jne 0x100812bd
mov word [esp + 8], 0
lea ecx, [esp + 0x48]
push ebx
call fcn.10081508
lea eax, [esp + 0x48]
add dword [eax + 4], 0xfffffffe
push dword [eax]
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x100812de
movsd xmm0, qword [esp + 8]
movsd qword [esi], xmm0
lea edi, [esp + 0x54]
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x100812a5
push eax
call fcn.101fa0b7
add esp, 4
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esp + 8], 0
lea ecx, [esp + 0x48]
push ebx
call fcn.10081508
lea eax, [esp + 0x48]
add dword [eax + 4], 0xfffffffe
push dword [eax]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x1008130f
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
call fcn.1007f423
add esp, 8
call fcn.101ad951
cmp dword [esi + 4], eax
jne 0x10081294
cmp dword [esi], 2
jne 0x10081294
cmp byte [ebp + 0x10], 0
je 0x10081294
mov dword [esi], 0
call fcn.101ada37
mov dword [esi + 4], eax
jmp 0x10081294
Function at 0x101fa0b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x101fa0c6
pop dword [ebp - 0x1c]
mov eax, 0x101fa0c6
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xeb957388
add dword [ebp - 0x2c], 0x62bcd1c3
mov dword [ebp - 0x28], 0xc51f5ed0
sub dword [ebp - 0x28], 0x92ec128b
mov dword [ebp - 0x24], 0xbc9d10a6
sub dword [ebp - 0x24], 0x7050cc78
mov dword [ebp - 0x20], 0xdf4ae7bf
sub dword [ebp - 0x20], 0xdf4ae7bf
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xc91ad9d9
add eax, 0x47090ba7
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xbbd2684c
add dword [ebp - 0x2c], 0xb8a0010a
mov dword [ebp - 0x28], 0x40f0d98e
sub dword [ebp - 0x28], 0xff847819
mov dword [ebp - 0x24], 0xd2099474
add dword [ebp - 0x24], 0x9165d7f8
mov dword [ebp - 0x20], 0x3e726282
add dword [ebp - 0x20], 0xc18d9d7e
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x49e62
push 0
call eax
mov ecx, 0xf74e0a90
add ecx, 0x8b24ebf
mov ebx, eax
mov edx, 0x6168c728
sub edx, 0x513e8128
add edx, dword [ebp - 0x1c]
mov edi, 0xcd004d47
xor dword [ebp - 0x18], 0x4187bfad
mov esi, dword [edx]
xor dword [ebp - 0xc], 0x1dc43b99
sub esi, edi
mov dword [ebp - 0x10], 0x21a91df5
mov dword [ebx], esi
add ebx, 4
add edx, 0x48ee50f1
add edx, 0xb711af13
loop 0x101fa1d8
add eax, 0x77b4b071
add eax, 0x884ca79e
xor ebx, ebx
add ebx, eax
add eax, 0xc0c70d2
add eax, 0xf3f38f33
mov ecx, 0x1af47f46
add ecx, 0xf50b80ba
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x10004b10
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov bl, byte [edi + 1]
lea esi, [edi + 1]
test bl, bl
je 0x10004b40
nop
cmp bl, 0x2f
je 0x10004b2a
cmp bl, 0x5c
jne 0x10004b38
push edi
mov byte [esi], 0
call fcn.10043095
add esp, 4
mov byte [esi], bl
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x10004b20
pop edi
pop esi
pop ebx
ret

Function at 0x1000ca80
Capabilities:
Compute adler32 checksum

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
mov eax, 0x5e6ea9af
push esi
push edi
mov edi, edx
movzx esi, cx
mul ebp
shr ecx, 0x10
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebp
sub edx, eax
mov dword [esp + 0xc], edx
test edi, edi
jne 0x1000cab8
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
test ebp, ebp
je 0x1000cbb2
push ebx
xor ebx, ebx
cmp edx, 7
jbe 0x1000cb1c
mov ebp, 7
sub ebp, edi
nop
movzx eax, byte [edi]
add ebx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add edi, 8
add ecx, esi
add esi, eax
add ecx, esi
lea eax, [edi + ebp]
cmp eax, edx
jb 0x1000cad0
xor ebp, ebp
cmp ebx, edx
jae 0x1000cb72
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x1000cb63
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, ebp
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebp, esi
add edi, 2
add esi, eax
add ebx, esi
sub edx, 1
jne 0x1000cb40
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
jae 0x1000cb6d
jmp 0x1000cb65
mov ebx, ebp
movzx eax, byte [edi]
add esi, eax
add ecx, esi
inc edi
lea eax, [ebx + ebp]
add ecx, eax
mov eax, 0x80078071
mov ebp, dword [esp + 0x20]
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, 0x15b0
add ecx, eax
sub ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], edx
jne 0x1000cac1
pop ebx
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x10015fb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
mov eax, dword [edi]
cmp ebx, 8
jb 0x1001604b
mov edx, ebx
shr edx, 3
mov ecx, edx
neg ecx
lea ebx, [ebx + ecx*8]
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10076600]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
sub edx, 1
jne 0x10015fd2
test bl, 4
je 0x1001608c
xor eax, dword [esi]
sub ebx, 4
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10076600]
add esi, 4
test ebx, ebx
je 0x100160aa
movzx edx, byte [esi]
lea esi, [esi + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10076600]
sub ebx, 1
jne 0x10016090
mov dword [edi], eax
pop edi
pop esi
pop ebx
ret

Function at 0x1002353f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002357e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002357e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002357e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002357e
cmp dword [ecx + 0x74], 0xe
jbe 0x1002357e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100261ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1007c700]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100261eb
cmp byte [ebx], 0xa
jne 0x100261eb
or byte [edi + eax + 0x28], 4
jmp 0x100261f0
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100262ef
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100262d2
inc eax
cmp dl, 0xd
je 0x1002621c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10026242
cmp eax, ecx
jae 0x10026250
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10026204
jmp 0x100262ef
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100262cd
cmp dword [ebp - 0x10], 0
je 0x100262cd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1007c700]
test byte [eax + edi + 0x28], 0x48
je 0x100262a7
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10026292
mov byte [esi], dl
jmp 0x100262a3
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1007c700]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100262ef
cmp byte [ebp - 1], 0xa
jne 0x100262b6
cmp esi, ebx
jne 0x100262b6
mov byte [esi], 0xa
jmp 0x100262ee
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100483a1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100262ef
mov byte [esi], 0xd
jmp 0x100262ee
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1007c700]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100262ec
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100262ef
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100262f8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1007c700]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1002633e
cmp word [ebx], dx
jne 0x1002633e
or byte [eax + edi + 0x28], 4
jmp 0x10026343
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100264a6
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10026486
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10026384
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100263ba
cmp eax, edx
jae 0x100263c8
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1002635f
jmp 0x100264a6
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026481
cmp dword [ebp - 0x18], 0
je 0x10026481
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1007c700]
test byte [eax + edi + 0x28], 0x48
je 0x10026457
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1002641b
mov word [esi], cx
jmp 0x10026452
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1007c700]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1007c700]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1007c700]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100264a6
pop eax
cmp word [ebp - 4], ax
jne 0x10026467
cmp esi, ebx
jne 0x10026467
mov word [esi], ax
jmp 0x100264a3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100483a1
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100264a6
push 0xd
pop eax
jmp 0x10026462
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1007c700]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100264a0
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100264a6
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100289e0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1007b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x1006e344
push esi
call fcn.10051f7f
pop ecx
pop ecx
test eax, eax
jne 0x10028a0e
xor al, al
jmp 0x10028a8b
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.1002863d
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10028a48
push dword [ebp - 0x210]
call fcn.1004307a
xor al, al
jmp 0x10028a89
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10028a4e
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x10028a6e
push edx
call fcn.10028917
pop ecx
test al, al
je 0x10028a39
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x10028a7c
mov bl, 1
push dword [ebp - 0x210]
call fcn.1004307a
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10016a35
leave
ret
Function at 0x1004d149
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006f57c
push 0x1006f574
push str.FlsAlloc
push 0x1f
call fcn.1004ce17
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1004d17d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1006d184]
call esi
jmp 0x1004d183
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1004d1c7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006f58c
push 0x1006f584
push str.FlsGetValue
push 0x21
call fcn.1004ce17
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1004d1fe
push dword [ebp + 8]
mov ecx, esi
call dword [0x1006d184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1004d206
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006f594
push 0x1006f58c
push str.FlsSetValue
push 0x22
call fcn.1004ce17
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1004d240
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1006d184]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]