joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007cabf
Capabilities:
Acquire debug privileges

Disassembly:
jae 0x1007cabd
jmp 0x1007cab8
call fcn.1007cabf
jae 0x1007cab8
add esp, 4
jmp 0x1007cac4
dec dword [esp]
jno 0x1007cac9
jns 0x1007cab4
jp 0x1007cacd
add esp, 4
popf
jmp 0x1007cad4
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x1007caed
jne 0x1007caed
call 0x1fc7fe41
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
lea eax, [ebp - 8]
push eax
push 0x28
push 0xffffffffffffffff
mov ecx, dword [0x101034a4]
mov edx, dword [ecx + 0x190]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
call dword [0x100e7c9c]
call dword [ebp - 0xc]
test eax, eax
jne 0x1007cb2c
xor al, al
jmp 0x1007cbf9
push 2
push 0x100d5d4c
mov eax, dword [ebp - 8]
push eax
call fcn.1007ccf0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x1007cb60
push 2
push 0x100d5d60
mov edx, dword [ebp - 8]
push edx
call fcn.1007ccf0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x1007cb67
xor al, al
jmp 0x1007cbf9
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0xb0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call dword [0x100e7c9c]
call dword [ebp - 0x10]
pushf
push 0xa
jae 0x1007cb93
jmp 0x1007cb8e
call 0x1007cb95
jae 0x1007cb8e
add esp, 4
jmp 0x1007cb9a
dec dword [esp]
jno 0x1007cb9f
jns 0x1007cb8a
jp 0x1007cba3
add esp, 4
popf
jmp 0x1007cbaa
clc
jae 0x1007cbaf
adc byte [esi], dl
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x1007cbc8
jne 0x1007cbc8
push ss
jl 0x1007cbcd
jmp 0x1007cbcf
je 0x1007cbca
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x1007cbe9
jne 0x1007cbe8
call 0x930bbc70
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x1007cbf7
jne 0x1007cbf7
call 0x6e66cdab
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret
Function at 0x1007d0f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x34], 0xc20
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x58], 0x401fffff
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x55
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x4e
mov byte [ebp - 0xe], 0x54
mov byte [ebp - 0xd], 0x5f
mov byte [ebp - 0xc], 0x55
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 9], 0x52
mov byte [ebp - 8], 0
push 0
push 3
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [0x101034a4]
mov edx, dword [ecx + 0x2d0]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
call dword [0x100e7c9c]
call dword [ebp - 0x40]
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
push 1
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0x2c8]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call dword [0x100e7c9c]
call dword [ebp - 0x44]
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
push 0x20000004
push 6
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [0x101034a4]
mov ecx, dword [eax + 0x1d0]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call dword [0x100e7c9c]
call dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [0x101034a4]
mov ecx, dword [eax + 0x2c4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
call dword [0x100e7c9c]
call dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [0x101034a4]
mov ecx, dword [eax + 0xb0]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
call dword [0x100e7c9c]
call dword [ebp - 0x50]
push 0x100
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [0x101034a4]
mov ecx, dword [eax + 0x2cc]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x54]
call dword [0x100e7c9c]
call dword [ebp - 0x54]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret
Function at 0x1007dd1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jae 0x1007dd1c
jmp 0x1007dd17
call fcn.1007dd1e
jae 0x1007dd17
add esp, 4
jmp 0x1007dd23
dec dword [esp]
jno 0x1007dd28
jns 0x1007dd13
jp 0x1007dd2c
add esp, 4
popf
jmp 0x1007dd33
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x1007dd4c
jne 0x1007dd4c
call 0x1fc810a0
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
push 0x2cc
push 0
lea eax, [ebp - 0x2f0]
push eax
call fcn.100a76a0
add esp, 0xc
mov dword [ebp - 0x2f0], 0x10010
lea ecx, [ebp - 0x2f0]
push ecx
push 0xfffffffffffffffe
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
call dword [0x100e7c9c]
call dword [ebp - 0x2f4]
test eax, eax
je 0x1007de7c
cmp dword [ebp - 0x2ec], 0
jne 0x1007dde3
cmp dword [ebp - 0x2e8], 0
jne 0x1007dde3
cmp dword [ebp - 0x2e4], 0
jne 0x1007dde3
cmp dword [ebp - 0x2e0], 0
jne 0x1007dde3
cmp dword [ebp - 0x2d8], 0
je 0x1007de7c
mov byte [ebp - 0x24], 0x48
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x77
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x20
mov byte [ebp - 0x1b], 0x62
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6b
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0
mov ecx, dword [0x101034a8]
call fcn.10009e20
push eax
push 0
push 0x100d628f
push 1
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [0x10103414]
call fcn.10011500
nop
pushf
push 0xa
jae 0x1007de89
jmp 0x1007de84
call 0x1007de8b
jae 0x1007de84
add esp, 4
jmp 0x1007de90
dec dword [esp]
jno 0x1007de95
jns 0x1007de80
jp 0x1007de99
add esp, 4
popf
jmp 0x1007dea0
clc
jae 0x1007dea5
jo 0x1007de3f
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x1007debe
jne 0x1007debe
lcall 0x749a, 0x3eb037c
sti
jl 0x1007dec3
jmp 0x1007dec5
je 0x1007dec0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x1007dedf
jne 0x1007dede
call 0x930bcf66
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x1007deed
jne 0x1007deed
call 0x9b633d50
dec ebp
cld
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret
Function at 0x1008d870
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100eb608
push 0x100a5b10
mov eax, dword fs:[0]
push eax
add esp, 0xffffffd0
mov eax, dword [0x100ed440]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x28
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0x404]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call dword [0x100e7c9c]
call dword [ebp - 0x30]
test eax, eax
jge 0x1008d8e9
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x29]
jmp 0x1008d9ca
lea ecx, [ebp - 0x24]
push ecx
push str.SeDebugPrivilege
push 0
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0x188]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call dword [0x100e7c9c]
call dword [ebp - 0x34]
test eax, eax
jne 0x1008d945
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0xb0]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call dword [0x100e7c9c]
call dword [ebp - 0x38]
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x2a]
jmp 0x1008d9ca
push 4
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.1008d7d0
add esp, 0x10
movzx eax, al
test eax, eax
je 0x1008d98f
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0xb0]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call dword [0x100e7c9c]
call dword [ebp - 0x3c]
mov byte [ebp - 0x2b], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x2b]
jmp 0x1008d9ca
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x101034a4]
mov eax, dword [edx + 0xb0]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call dword [0x100e7c9c]
call dword [ebp - 0x40]
nop
mov dword [ebp - 4], 0xfffffffe
jmp 0x1008d9c8
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret
Function at 0x1009abf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8660
mov eax, dword fs:[0]
push eax
sub esp, 0xc54
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc5c], esp
lea eax, [ebp + 8]
push eax
call fcn.10008920
lea ecx, [ebp - 0xc54]
push ecx
mov ecx, dword [0x10103414]
call fcn.10011990
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 2
mov byte [ebp - 0x3c], 0x55
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3a], 0x6b
mov byte [ebp - 0x39], 0x6e
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x77
mov byte [ebp - 0x36], 0x6e
mov byte [ebp - 0x35], 0x20
mov byte [ebp - 0x34], 0x64
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x76
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x63
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x64
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x63
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x21
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 0x25
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0x2d
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x25
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0x76
mov byte [ebp - 0x17], 0x62
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], pe_nt_image_headers32
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc54]
call fcn.10007e30
push eax
call fcn.100a7930
add esp, 8
test eax, eax
je 0x1009adec
call fcn.1009a750
movzx eax, al
test eax, eax
jne 0x1009ad51
push 1
lea ecx, [ebp + 0x20]
call fcn.10007e30
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x2000
lea edx, [ebp - 0xc3c]
push edx
call fcn.1009dec0
add esp, 0x14
lea eax, [ebp - 0xc3c]
push eax
push 0
mov ecx, dword [0x101034c0]
push ecx
call fcn.1004d5f0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.10007e30
push eax
push str.._s
push 0x2000
lea edx, [ebp - 0x43c]
push edx
call fcn.1009dec0
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [0x101034a4]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0xc58], edx
mov ecx, dword [ebp - 0xc58]
call dword [0x100e7c9c]
call dword [ebp - 0xc58]
cmp eax, 0xffffffff
jne 0x1009adec
push 2
lea ecx, [ebp + 0x20]
call fcn.10007e30
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x2000
lea ecx, [ebp - 0xc3c]
push ecx
call fcn.1009dec0
add esp, 0x14
lea edx, [ebp - 0xc3c]
push edx
push 0
mov eax, dword [0x101034c0]
push eax
call fcn.1004d5f0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc54]
call fcn.10002d70
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10002d70
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret
Function at 0x100a1580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100a1688
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100a1688
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x100a1688
push 2
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 2
je 0x100a15c9
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [ebp + 8], ax
jne 0x100a15bd
push 4
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 4
jne 0x100a15bd
add ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100a15f8
mov dword [eax], ebx
push 2
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 2
jne 0x100a15bd
movzx eax, word [ebp + 8]
cmp eax, 0x14c
je 0x100a1653
cmp eax, 0x8664
jne 0x100a15bd
push 0x108
push ebx
push edi
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 0x108
jne 0x100a15bd
cmp dword [edi], 0x4550
mov eax, 0x40
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf8
push ebx
push edi
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 0xf8
jne 0x100a15bd
cmp dword [edi], 0x4550
mov eax, 0x20
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100ab798
Capabilities:
Parse pe header

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

Function at 0x100ad369
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x100e6a50
push esi
call fcn.100b9cfb
pop ecx
pop ecx
test eax, eax
jne 0x100ad397
xor al, al
jmp 0x100ad414
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.100ad0d9
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x100ad3d1
push dword [ebp - 0x210]
call fcn.100aefc0
xor al, al
jmp 0x100ad412
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100ad3d7
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x100ad3f7
push edx
call fcn.100ad2bb
pop ecx
test al, al
je 0x100ad3c2
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x100ad405
mov bl, 1
push dword [ebp - 0x210]
call fcn.100aefc0
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10005677
leave
ret
Function at 0x100b1cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b1cfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b1cfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100b883d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.10087c80
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100b7c35
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100b887f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100b89f6
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10087ad0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10103cd0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100b85cd
mov ecx, dword [esi*4 + 0x10103cd0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100b89ef
cmp eax, dword [edi + ecx + 0x24]
jne 0x100b89ef
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b89ef
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100b85cd
add esp, 0x14
cmp edx, esi
jl 0x100b89ef
jg 0x100b894a
cmp eax, esi
jb 0x100b89ef
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x100b89ef
jl 0x100b896c
cmp dword [ebp - 0x1008], eax
ja 0x100b89ef
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x100b8991
cmp ebx, esi
je 0x100b89d6
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x100b89d6
mov al, byte [ecx]
cmp al, 0xd
jne 0x100b89b7
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100b89c3
cmp byte [ecx + 1], 0xa
jne 0x100b89c3
inc ecx
jmp 0x100b89c3
movzx eax, al
movsx eax, byte [eax + 0x10102870]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100b899d
cmp edx, ebx
jne 0x100b899d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x100b89f4
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10005677
leave
ret
Function at 0x100b934b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100b93e8
push ebx
push esi
call fcn.100b9439
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100b20f3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100b9395
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b93e7
push edi
push eax
call fcn.100b1fe0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100b93b5
call fcn.100b1f90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b93e6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100b20f3
add esp, 0x20
test eax, eax
jne 0x100b93d4
push edi
call fcn.100b1f90
jmp 0x100b93dc
push ebx
call fcn.100b1f90
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100b93eb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100b93fc
pop esi
ret
push ebx
push edi
push esi
call fcn.100b9439
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100b1fe0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b9424
push ebx
push esi
push edi
call fcn.100a7120
add esp, 0xc
push 0
call fcn.100b1f90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100b9470
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b947b
Function at 0x100bb571
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x100bb58b
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x100bb5a2
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x100bb5fa
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.100b9f53
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x100bb5fa
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x100bb5fa
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100bb5fa
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x100bb5f4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x100bb5f6
xor bl, bl
mov al, bl
jmp 0x100bb5fc
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x100bbe41
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10103cd0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100bbe83
cmp byte [ebx], 0xa
jne 0x100bbe83
or byte [edi + eax + 0x28], 4
jmp 0x100bbe88
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100bbf8b
mov cl, byte [eax]
cmp cl, 0x1a
je 0x100bbf66
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x100bbeb7
mov eax, dword [ebp - 8]
jmp 0x100bbed7
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x100bbef3
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x100bbed1
add eax, 2
mov cl, 0xa
jmp 0x100bbed4
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x100bbe99
jmp 0x100bbf8b
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 0x100bbf61
cmp dword [ebp - 0x10], 0
je 0x100bbf61
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x10103cd0]
test byte [eax + edi + 0x28], 0x48
je 0x100bbf40
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x100bbf30
mov byte [esi], 0xa
jmp 0x100bbf8a
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x10103cd0]
mov byte [eax + edi + 0x2a], cl
jmp 0x100bbf8a
cmp byte [ebp - 1], 0xa
jne 0x100bbf4a
cmp esi, ebx
je 0x100bbf2b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100b856f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100bbf8b
mov byte [esi], 0xd
jmp 0x100bbf8a
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x10103cd0]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x100bbf88
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x100bbf8b
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret