joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100642e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x10297dcd], 0
je 0x100644ad
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100e6e30]
xorps xmm4, xmm4
comiss xmm0, xmm1
setae al
movd xmm5, eax
cvtdq2ps xmm5, xmm5
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10064321
movaps xmm0, xmm1
jmp 0x10064329
movss xmm0, dword [0xe7c3d8]
mov eax, dword [0x107dce38]
mulss xmm0, dword [0x100e7750]
add eax, 0x140
ucomiss xmm5, xmm4
movd xmm3, eax
cvtdq2ps xmm3, xmm3
lahf
mulss xmm3, xmm1
subss xmm3, xmm0
test ah, 0x44
jnp 0x10064358
movaps xmm2, xmm1
jmp 0x10064360
movss xmm2, dword [0xe7c3d8]
mulss xmm2, dword [0x100e75c0]
ucomiss xmm5, xmm4
addss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1006437a
movaps xmm0, xmm1
jmp 0x10064382
movss xmm0, dword [0xe7c3d8]
ucomiss xmm5, xmm4
mulss xmm0, xmm4
lahf
addss xmm0, xmm2
divss xmm0, xmm1
test ah, 0x44
jnp 0x1006439c
movaps xmm3, xmm1
jmp 0x100643a4
movss xmm3, dword [0xe7c3d8]
movss xmm6, dword [0x100e7610]
mulss xmm3, xmm6
ucomiss xmm5, xmm4
addss xmm3, xmm2
lahf
divss xmm3, xmm1
movss dword [ebp - 4], xmm3
test ah, 0x44
jnp 0x100643cb
movaps xmm2, xmm1
jmp 0x100643d3
movss xmm2, dword [0xe7c3d8]
mulss xmm2, xmm6
push ebx
push esi
push edi
divss xmm2, xmm1
push 0xd2
cvttss2si eax, xmm0
cvttss2si ebx, xmm2
push ebx
push 0x50
push eax
mov eax, 0x790b10
call eax
mov edi, dword [ebp + 8]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 1
jne 0x1006444a
cmp word [edi + 0x16], 0
jle 0x10064426
call esi
sub eax, dword [0x1087d0ec]
cmp eax, 0x32
jbe 0x1006444a
mov eax, dword [0x1087d0e0]
test eax, eax
jle 0x1006444a
dec eax
jmp 0x1006443e
call esi
sub eax, dword [0x1087d0ec]
cmp eax, 0x32
jbe 0x1006444a
mov eax, dword [0x1087d0e0]
cmp eax, 0xc
jge 0x1006444a
inc eax
mov dword [0x1087d0e0], eax
call esi
mov dword [0x1087d0ec], eax
cvttss2si eax, dword [ebp - 4]
push 0xd2
push ebx
push 0x50
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x100644aa
cmp word [edi + 0x16], 0
jle 0x10064486
call esi
sub eax, dword [0x1087d0ec]
cmp eax, 0x32
jbe 0x100644aa
mov eax, dword [0x1087d0e4]
test eax, eax
jle 0x100644aa
dec eax
jmp 0x1006449e
call esi
sub eax, dword [0x1087d0ec]
cmp eax, 0x32
jbe 0x100644aa
mov eax, dword [0x1087d0e4]
cmp eax, 0xc
jge 0x100644aa
inc eax
mov dword [0x1087d0e4], eax
call esi
mov dword [0x1087d0ec], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1006fd50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], ebx
cmp dword [ebx + 0x835c], 0xfffffffb
jle 0x1006ff77
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x8360]
cmp eax, 0x3e8
jbe 0x1006fd97
dec dword [ebx + 0x835c]
call esi
mov dword [ebx + 0x8360], eax
mov eax, dword [0x1029f5c4]
cmp eax, dword [0xe61e18]
je 0x1006fdbe
pop esi
mov dword [ebx + 0x835c], 0xfffffffb
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
push 0x21
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x1006ff76
push edi
push 1
mov eax, 0x635fd0
call eax
mov dword [esp], 0x3f800000
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
push dword [0xe8c588]
mov esi, 0x41fe10
call esi
mov edx, 0x420120
mov ecx, eax
call edx
push 0
call esi
mov edx, 0x4200f0
mov ecx, eax
call edx
push 0xff
push 0
push 0x96
push 0xff
call esi
mov edx, 0x420040
mov ecx, eax
call edx
sub esp, 0x10
mov eax, 0x790b50
mov dword [esp + 0xc], 0x41b80000
mov dword [esp + 8], 0x42d80000
mov dword [esp + 4], 0x43c58000
mov dword [esp], 0x40000000
push 0x7ac0
call eax
mov eax, dword [ebx + 0x835c]
xor esi, esi
test eax, eax
mov edi, 0x3c
cmovns esi, eax
mov eax, 0x91a2b3c5
imul esi
mov eax, 0x88888889
add edx, esi
sar edx, 0xb
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul esi
add edx, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov eax, ecx
shl eax, 4
mov edi, edx
sub eax, ecx
shl eax, 2
sub esi, eax
lea eax, [ebp - 0x2c]
push esi
push edi
push ebx
push str._02d:_02d:_02d
mov dword [ebp - 0x30], esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
call esi
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push edi
push ebx
push str.__02d:_02d:_02d_
push eax
call esi
add esp, 0x3c
mov ecx, 0x101a8848
push 0
push 3
push 0
push 0x6c
push 0x14a
call fcn.1003fea0
push eax
push 0x18c
push 2
mov esi, 0x41fe10
call esi
mov edi, 0x420150
mov ecx, eax
call edi
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x835c], 0xa
jge 0x1006ff3f
push 0xff
push 0x20
push 0x20
push 0xff
call esi
mov ecx, eax
mov eax, 0x420040
call eax
push dword [0xe8c590]
call esi
mov ecx, eax
mov eax, 0x420120
call eax
push 0
push 3
push 0
push 0x6c
lea eax, [ebp - 0x2c]
push eax
push 0x195
push 2
call esi
mov ecx, eax
call edi
push 0
mov eax, 0x635fd0
call eax
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100b7755
mov esp, ebp
pop ebp
ret
Function at 0x1009b180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1009b1c7
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x1009b2e0
cmp dword [ebp - 0x1e], 0x36
jne 0x1009b2e0
cmp byte [ebp + 0x10], 0
mov eax, 0x102bb4fc
push esi
push 0
mov esi, 0x102bb52c
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x102bb55c]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x102bb560]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x102bb564]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x102bb568]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x102bb55c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x102bb560]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x102bb564]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x102bb568]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x102bb55c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x102bb560]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x102bb564]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x102bb568]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.100b7755
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a6000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102bc0d8], 0
je 0x100a605b
lea ecx, [ebp - 0x408]
call fcn.100049f0
push ecx
lea eax, [ebp - 0x40c]
push eax
push 0x102bc09b
lea ecx, [ebp - 0x408]
call fcn.10004b20
test al, al
je 0x100a6069
mov eax, dword [0x102bc0d8]
cmp eax, dword [ebp - 0x40c]
jne 0x100a6069
push ecx
call fcn.100a6090
call fcn.100a6350
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
push 0x10
push str.Error
push str.CheckSumFile_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100a6350
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x100ef018]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
mov esi, dword [0x104c9fb4]
cmp esi, dword [0x104c9fb8]
je 0x100a63ea
nop dword [eax]
lea ecx, [esp + 0x10]
call fcn.100049f0
push esi
push str.CheckSum_Error__file:__s_
push 0x104c9fc0
call fcn.10087050
add esp, 0xc
lea eax, [esp + 8]
push 0x100e54b0
push esi
push eax
call fcn.100bb141
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x100a63fd
push eax
call fcn.100bb20a
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.10004b20
test al, al
je 0x100a63fd
mov eax, dword [esi + 0x80]
cmp eax, dword [esp + 0xc]
jne 0x100a63fd
add esi, 0x84
cmp esi, dword [0x104c9fb8]
jne 0x100a6380
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
push 0x10
push str.Error
push 0x104c9fc0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100ac480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100ac60b
cmp dword [0x107dce90], 2
je 0x100ac60b
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x102bc100]
mov dword [0x107dce90], 1
mov dword [0x107dce8c], 0
call esi
mov dword [0x107dce88], eax
call esi
mov dword [0x107dce84], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x107dce80], 0x7530
mov dword [0x107dce7c], edi
mov dword [0x107dce78], 0
movzx eax, byte [eax + 8]
mov dword [0x107dce74], eax
nop dword [eax]
xor al, al
mov edi, 6
mov byte [ebp - 0x105], al
mov ebx, 4
lea eax, [ebp - 0x100]
sub edi, eax
nop word [eax + eax]
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100ac587
cmp byte [eax + 0x30c], 0
je 0x100ac587
movzx ecx, word [eax + 0x7e]
mov eax, ecx
mov byte [ebp - 0x10b], cl
shr eax, 8
mov byte [ebp - 0x10c], al
lea eax, [edi + ebx]
lea eax, [ebp + eax - 0x104]
cmp eax, 0x100
ja 0x100ac595
mov ax, word [ebp - 0x10c]
mov word [ebp + ebx - 0x104], ax
add ebx, 2
inc byte [ebp - 0x105]
inc esi
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100ac530
mov al, byte [ebp - 0x105]
push 0xffffffffffffffff
mov byte [ebp - 0x101], al
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
mov byte [ebp - 0x104], 0xc1
mov byte [ebp - 0x103], bl
mov byte [ebp - 0x102], 0x14
call fcn.100a6640
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100ac510
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x107dcea8], xmm0
mov ax, word [ecx + 8]
mov word [0x107dceb0], ax
mov al, byte [ecx + 0xa]
mov byte [0x107dceb2], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
Function at 0x100b3b80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x15
mov edi, 0x861110
call edi
mov esi, 0x85ec20
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
push 0x49
call edi
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
push 0x4f
call edi
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
push 0xe
call edi
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
push 8
call edi
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
push 7
call edi
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
push 0x41
call edi
mov ecx, eax
call esi
test al, al
jne 0x100b3c9e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10297d68]
cmp eax, 0x5dc
jb 0x100b3c9e
cmp byte [0x10297d6d], 1
jne 0x100b3c42
mov byte [0x10297d6d], 0
pop edi
mov dword [0xe8cb3c], 0
mov byte [0x108842e4], 0
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [ebp - 8], 0xd6f305c1
mov byte [ebp - 4], 0
call fcn.100aba10
call esi
mov dword [0x10297d68], eax
mov byte [0x10297d6d], 1
mov dword [0xe8cb3c], 1
push 0x10
mov dword [0x108842c0], 0
mov byte [0x108842d0], 0x2a
mov byte [0x108842e4], 0
call edi
mov edx, 0x85f9a0
mov ecx, eax
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b5490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100b54d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x100b54f0
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b5510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.100b9450
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b5550
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x107d6ec8]
test edx, 0xffff0000
jne 0x100b5692
push edi
push 0x100e6b08
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x100b5691
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100b5691
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100b5691
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x100b5687
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push edi
push esi
cmp ecx, dword [ebx + 8]
jne 0x100b562d
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100b5690
xor edi, edi
test edx, edx
je 0x100b5687
nop dword [eax]
mov esi, dword [ebx + edi*4 + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp edi, dword [ebx]
jb 0x100b55f0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100b5690
xor eax, eax
mov dword [ebp - 8], eax
test edx, edx
je 0x100b5687
nop
mov esi, dword [ebx + eax*8 + 0x10]
mov edi, dword [ebx + eax*8 + 0xc]
lea eax, [ebp - 4]
add esi, dword [ebp + 8]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [edi], esi
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx]
jb 0x100b5650
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b5790
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.100b99d0
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x104]
call fcn.10099d10
add esp, 0x10
lea eax, [ebp - 0x104]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100b58b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100ecf98
push 0x100b9280
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x100ef018]
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 - 0x13c], edx
push ecx
push str..PhysicalDrive_d
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x140], esi
cmp esi, 0xffffffff
je 0x100b5a57
mov dword [ebp - 0x124], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 8
lea eax, [ebp - 0x134]
push eax
push 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100b598f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b5a57
push dword [ebp - 0x130]
call fcn.100b7ea1
mov edi, eax
mov dword [ebp - 0x144], edi
push dword [ebp - 0x130]
push 0
push edi
call fcn.100b99d0
add esp, 0x10
push 0
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x130]
push edi
push 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100b5a47
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100b5a47
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x13c]
call fcn.100bf2ed
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100b7eaa
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100b5a59
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100b7eaa
add esp, 4
xor al, al
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.100b7755
mov esp, ebp
pop ebp
ret

Function at 0x100c8c70
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c8ae6

Function at 0x100ce1bd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cde3a

Function at 0x438c82
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ecx
mov edi, edx
dec edi
add edx, edx
call fcn.00438cba
push edi
pop edx
mov edx, edi
xor dword [ebx], ecx
add edi, edx
add ebx, 1
sub edx, 1
inc edx
inc edi
cmp ebx, esi
jne fcn.00438c82
mov edi, 0x43f72b93
ret
Function at 0x5700a9
Capabilities:
Parse pe header

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

Function at 0x571389
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x5713aa
jl 0x5713a1
test edi, edi
jne 0x5713aa
xor eax, eax
xor edx, edx
jmp 0x57146b
cmp dword [ebx + 0x38], 0
je 0x5713bf
push eax
push edi
push dword [ebp + 8]
call fcn.00571471
jmp 0x57146b
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x571406
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x571406
cmp eax, edi
jb 0x5713e0
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00572540
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x57140c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x571460
mov ecx, ebx
call fcn.00570be3
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x57144b
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0057b9af
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x571460
jmp 0x57141e
test edx, edx
je 0x571460
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0057b9af
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x57f788
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x593240
push 0x593238
push str.FlsAlloc
push 0x1f
call fcn.0057f5f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57f7bc
push dword [ebp + 8]
mov ecx, esi
call dword [0x58f180]
call esi
jmp 0x57f7c2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x57f806
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x593250
push 0x593248
push str.FlsGetValue
push 0x21
call fcn.0057f5f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57f83d
push dword [ebp + 8]
mov ecx, esi
call dword [0x58f180]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x57f845
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x593258
push 0x593250
push str.FlsSetValue
push 0x22
call fcn.0057f5f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57f87f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x58f180]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]