joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cc369
Capabilities:
Get common file path

Disassembly:
push str.dsound3d.dll
call edi
mov dword [0x10138bcc], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate8
push dword [0x10138bc8]
call esi
cmp eax, ebx
mov dword [0x10138bec], eax
jne 0x100cc373
push str.DirectSoundCreate
push dword [0x10138bc8]
mov edx, dword [ebx]
adc bh, bh
salc
mov dword [0x10138be4], eax
push str.DirectSoundEnumerateA
push dword [0x10138bc8]
call esi
cmp dword [0x10138bec], ebx
mov dword [0x10138be8], eax
setne al
push eax
push dword [0x10138bc8]
call 0x101b37a4
cmp dword [0x10138bec], ebx
pop ecx
pop ecx
je 0x100cc410
push 0x104
lea eax, [ebp - 0x400]
push eax
mov dword [0x1011d71c], 8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
adc byte [eax], dl
test eax, eax
je fcn.100cc43a
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x200]
push eax
call 0x1019e38b
lea eax, [ebp - 0x200]
push str.d3d9.dll
push eax
call 0x1019e3de
push ebx
lea eax, [ebp - 0x200]
push ebx
push eax
call 0x1019f192
add esp, 0x1c
cmp eax, ebx
je fcn.100cc43a
push eax
call 0x1019f330
pop ecx
mov dword [0x1011d71c], 9
jmp fcn.100cc43a
push str.ddraw.dll
call edi
mov edi, eax
cmp edi, ebx
je fcn.100cc43a
push str.DirectDrawCreateEx
push edi
call esi
salc
test eax, eax
je 0x100cc433
mov dword [0x1011d71c], 7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]

Function at 0x100ceca5
Capabilities:
Create thread

Disassembly:
or al, 0x50
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x100cecdd
test eax, eax
je 0x100cecd9
cmp eax, 1
je 0x100cecd5
cmp eax, 2
jne 0x100cece6
push 0xf
jmp 0x100cecdf
push 2
jmp 0x100cecdf
push 1
jmp 0x100cecdf
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x100d1be4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc esp
and al, 0x20
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x888]
push edx
push esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call 0x101a33be
add esp, 0x30
test al, al
jne 0x100d1c31
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x848
ret
test byte [esp + 0x860], 0x40
mov dword [esp + 0x18], 0x900
invalid
je 0x100d1c4b
mov dword [esp + 0x18], 0x1200

Function at 0x100d41ad
Capabilities:
Get common file path

Disassembly:
call 0x101a857c
test al, al
je 0x100d41cf
invalid
mov dword [0x1013aa68], 0x100d4729
mov dword [0x1013aa6c], 0x100d4741
adc edx, dword [eax]
inc ecx
inc edi
or eax, 0x42d5e910
invalid
invalid
push 8
pop ecx
Function at 0x100d424c
Capabilities:
Get common file path

Disassembly:
shl byte [ebx + 0x1013aa64], 0x75
dec esi
call 0x101a85ed
push 1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetASPI32SupportInfo
push eax
call esi
push str.SendASPI32Command
push dword [0x1013aa64]
mov dword [0x1013aa68], eax
call esi
xor ebx, ebx
cmp dword [0x1013aa68], ebx
mov dword [0x1013aa6c], eax
je 0x100d4344
cmp eax, ebx
je 0x100d4344
call dword [0x1013aa68]
xor ecx, ecx
mov cl, ah
movzx esi, cl
cmp esi, 1
jne 0x100d4335
xor edi, edi
xor esi, esi
push esi
push edi
push ebx
call 0x101a8d0b
add esp, 0xc
cmp eax, 5
je 0x100d4300
cmp eax, 4
jne 0x100d430b
push esi
push edi
push ebx
call 0x101a8f09
add esp, 0xc
invalid
invalid
inc esi
cmp esi, 8
jl 0x100d42eb
inc edi
cmp edi, 0xc
jl 0x100d42e9
inc ebx
cmp ebx, 0x10
jl 0x100d42e7
cmp dword [0x1013aa78], 1
jge 0x100d432a
push 4
mov byte [0x1013aa60], 1
xor eax, eax
jmp 0x100d434e
call 0x101a868d
mov eax, esi
shl eax, 8
or eax, 3
jmp 0x100d434e
push 5

Function at 0x100d4462
Capabilities:
Get disk information

Disassembly:
mov al, bl
add al, 0x41
movsx eax, al
push eax
lea eax, [ebp - 8]
push str._c:_
push eax
call 0x101724ea
add esp, 0xc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x100d446c
mov eax, dword [0x1013aa74]
add eax, edi
push eax
push ebx
call 0x101a8a5d
mov eax, dword [0x1013aa74]
cmp byte [edi + eax + 0x10], 0
pop es
adc byte [eax], al
pop ecx
pop ecx
je 0x100d446c
inc dword [ebp - 4]
add edi, 0x3c
inc ebx
cmp edi, esi
jl 0x100d4425
call 0x101a8a0a
pop esi
mov dword [0x1013aa3c], eax
invalid
inc ebp

Function at 0x100d4467
Capabilities:
Get disk information

Disassembly:
mov al, bl
add al, 0x41
movsx eax, al
push eax
lea eax, [ebp - 8]
push str._c:_
push eax
call 0x101724ea
add esp, 0xc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x100d446c
mov eax, dword [0x1013aa74]
add eax, edi
push eax
push ebx
call 0x101a8a5d
mov eax, dword [0x1013aa74]
cmp byte [edi + eax + 0x10], 0
pop es
adc byte [eax], al
pop ecx
pop ecx
je 0x100d446c
inc dword [ebp - 4]
add edi, 0x3c
inc ebx
cmp edi, esi
jl 0x100d4425
call 0x101a8a0a
pop esi
mov dword [0x1013aa3c], eax
invalid
inc ebp

Function at 0x100d5653
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
je 0x100d5698
cmp dword [esi + 0x58], ebx
mov edi, 0x930
jne 0x100d5687
push 0xefa
push ebp
push edi
push ebx
call 0x101a7e2e
add esp, 0x10
cmp eax, ebx
mov dword [esi + 0x58], eax
jne 0x100d5687
push esi
call 0x101aad61
pop ecx
xor al, al
jmp 0x100d56da
push edi
push ebx
push dword [esi + 0x58]
call 0x1016fa01
add esp, 0xc
mov byte [esi + 0x60], 1
push 4
push esi
call 0x101aab02
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call edi
mov ebx, eax
call edi
mov ecx, dword [esi + 0x34]
imul ecx, ecx, 0x3e8
sub eax, ebx
cmp eax, ecx
jae 0x100d56d8
push 1
push dword [esi + 0x4c]
push dword [esi + 0x40]
push esi
call 0x101aa9af
add esp, 0x10
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100d56ac
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100d6fb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc esi
pop esp
push edi
xor edi, edi
cmp eax, edi
je 0x100d7315
test byte [esi + 0x41], 0x20
je 0x100d6fdc
invalid
fld1
cwde
mov dh, 0x85
inc dword [eax]
add byte [eax], al
fstp dword [esi + 0x7c]
jmp 0x101ae2f1
test byte [esi + 0x3c], 0x20

Function at 0x100d86ad
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [ebp - 4]
push eax
call 0x101ab008
add esp, 0x10
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x100d86d3
push esi
call 0x1019ea5f
mov dword [0x10133818], 0xc
jmp 0x100d8723
push dword [ebp + 0xc]
push dword [ebp - 4]
push 1
push eax
call 0x101ab929
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [esi + 0x164]
call 0x101b0b36
add esp, 0x24
test al, al
jne 0x100d872a
push esi
call 0x1019ea9e
push 0x31e
push 0x323
push edi
push dword [ebp - 0xc]
push 0
call 0x101ab032
mov eax, dword [ebp + 0x10]
add esp, 0x10
test al, 8
je 0x100d8779
mov ecx, dword [ebp + 8]
xor edx, edx
cmp dword [ebp - 0x10], edx
jbe 0x100d875b
xor byte [ecx], 0x80
inc ecx
inc edx
cmp edx, dword [ebp - 0x10]
jb 0x100d874e
mov eax, dword [ebp + 0x10]
and eax, ebx
mov ecx, 0x100
or eax, ecx
mov dword [ebp + 0x10], eax
mov edx, dword [esi + 0x124]
lea eax, [esi + 0x124]
and edx, ebx
or edx, ecx
mov dword [eax], edx
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp + 8]
push esi
call 0x1019f742
test byte [ebp + 0x10], 0x10
mov eax, dword [ebp - 8]
je 0x100d8796
sar eax, 1
test byte [ebp + 0x10], 0x40
je 0x100d879e
sar eax, 1
xor ecx, ecx
Function at 0x100eaf08
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push esi
mov esi, dword [ecx + 0x44]
sub edx, eax
sar edx, 1
cmp eax, esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x100eaf42
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x100eaf56
sub eax, esi
mov edx, eax
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
mov edx, edi
sub edx, esi
mov dword [esp + 0x4c], edx
sub eax, edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], eax
jge 0x100eaf6e
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x100eaf76
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x100eaf7e
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x100eb6f7
mov eax, dword [ecx + 0x14]
fld dword [0x10100498]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x100eafd3
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f0]
mov eax, dword [eax + 0x101541a0]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
jmp 0x100eaffc
or eax, 0xffffffff
mov dword [esp + 0x60], eax
and al, 0x60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f4]
mov eax, dword [eax + 0x101541a4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
cmp dword [ecx + 0x4c], edi
mov dword [esp + 0x14], 0x10122058
jne 0x100eb70c
mov dword [esp + 0x14], 0x10154a38
mov eax, dword [esp + 0x78]
fld dword [0x10100498]
cwde
add al, 0x10
adc byte [ebp + 0x148b4004], cl
test eax, edi
test dword [eax + edx], edx
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edx
push esp
and al, 0x2c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 3
Function at 0x100eafd8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push esi
mov esi, dword [ecx + 0x44]
sub edx, eax
sar edx, 1
cmp eax, esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x100eaf42
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x100eaf56
sub eax, esi
mov edx, eax
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
mov edx, edi
sub edx, esi
mov dword [esp + 0x4c], edx
sub eax, edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], eax
jge 0x100eaf6e
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x100eaf76
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x100eaf7e
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x100eb6f7
mov eax, dword [ecx + 0x14]
fld dword [0x10100498]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x100eafd3
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f0]
mov eax, dword [eax + 0x101541a0]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
jmp 0x100eaffc
or eax, 0xffffffff
mov dword [esp + 0x60], eax
and al, 0x60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f4]
mov eax, dword [eax + 0x101541a4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
cmp dword [ecx + 0x4c], edi
mov dword [esp + 0x14], 0x10122058
jne 0x100eb70c
mov dword [esp + 0x14], 0x10154a38
mov eax, dword [esp + 0x78]
fld dword [0x10100498]
cwde
add al, 0x10
adc byte [ebp + 0x148b4004], cl
test eax, edi
test dword [eax + edx], edx
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edx
push esp
and al, 0x2c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 3

Function at 0x100eb255
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x1014c158]
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x100eb290

Function at 0x100eb274
Capabilities:
Resolve function by parsing pe exports

Disassembly:
fmul dword [ecx*4 + 0x1014c158]
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [ebp]
jmp 0x100eb290
Function at 0x100eb712
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push esi
mov esi, dword [ecx + 0x44]
sub edx, eax
sar edx, 1
cmp eax, esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x100eaf42
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x100eaf56
sub eax, esi
mov edx, eax
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
mov edx, edi
sub edx, esi
mov dword [esp + 0x4c], edx
sub eax, edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], eax
jge 0x100eaf6e
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x100eaf76
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x100eaf7e
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x100eb6f7
mov eax, dword [ecx + 0x14]
fld dword [0x10100498]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x100eafd3
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f0]
mov eax, dword [eax + 0x101541a0]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
jmp 0x100eaffc
or eax, 0xffffffff
mov dword [esp + 0x60], eax
and al, 0x60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f4]
mov eax, dword [eax + 0x101541a4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
cmp dword [ecx + 0x4c], edi
mov dword [esp + 0x14], 0x10122058
jne 0x100eb70c
mov dword [esp + 0x14], 0x10154a38
mov eax, dword [esp + 0x78]
fld dword [0x10100498]
cwde
add al, 0x10
adc byte [ebp + 0x148b4004], cl
test eax, edi
test dword [eax + edx], edx
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edx
push esp
and al, 0x2c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 3
Function at 0x100eb73c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push esi
mov esi, dword [ecx + 0x44]
sub edx, eax
sar edx, 1
cmp eax, esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x100eaf42
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x100eaf56
sub eax, esi
mov edx, eax
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x100eaf60
mov edx, edi
sub edx, esi
mov dword [esp + 0x4c], edx
sub eax, edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], eax
jge 0x100eaf6e
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x100eaf76
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x100eaf7e
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x100eb6f7
mov eax, dword [ecx + 0x14]
fld dword [0x10100498]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x100eafd3
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f0]
mov eax, dword [eax + 0x101541a0]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
jmp 0x100eaffc
or eax, 0xffffffff
mov dword [esp + 0x60], eax
and al, 0x60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x101485f4]
mov eax, dword [eax + 0x101541a4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
cmp dword [ecx + 0x4c], edi
mov dword [esp + 0x14], 0x10122058
jne 0x100eb70c
mov dword [esp + 0x14], 0x10154a38
mov eax, dword [esp + 0x78]
fld dword [0x10100498]
cwde
add al, 0x10
adc byte [ebp + 0x148b4004], cl
test eax, edi
test dword [eax + edx], edx
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edx
push esp
and al, 0x2c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 3
Function at 0x100eb830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jne 0x100eb8ed
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x100eb8a6
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
mov dl, byte [esi + 1]
xor ecx, ecx
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
sar ebx, 3
mov ecx, 0x18
sub ecx, edi
and edx, 0xffffff
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
fld st(0)
ror byte [ebx + 0x486888], 0
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
fmul dword [edi*4 + 0x1014c194]
je 0x100eb8dd
fchs
mov ebx, dword [esp + 0x68]
fstp dword [ebp]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x100eb957
test edi, edi
je 0x100eb949
mov edx, dword [esp + 0x20]
fld st(0)
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], edx
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp

Function at 0x100ebdee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [eax + eax*2]
shl eax, 2
mov edi, dword [eax + 0x101485f0]
mov eax, dword [eax + 0x101541a0]
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], eax
jmp 0x100ebe47
lea eax, [esp + 0x4c]

Function at 0x100ebf95
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], 0
add byte [ebp - 0x7d], cl
ret 0x8502

Function at 0x100ec6a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add eax, 0x10100498
lea eax, [eax + eax*2]
mov edi, dword [eax*4 + 0x101485f8]
clc
test dword [eax + edx], edx
Function at 0x302a040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x302a04f
pop dword [ebp - 0x34]
mov eax, 0xf9a6bdca
sub eax, 0xf6a41d7b
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x6a099
push 0
mov eax, 0x133fda97
sub eax, 0x103fc9cf
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x8a383e34
add ecx, 0x75c80e21
mov edx, eax
mov ebx, 0xb1bb19cc
sub ebx, 0xaea709cc
add ebx, dword [ebp - 0x34]
mov esi, 0xc814b51f
sub esi, 0xbc46056a
add dword [ebp - 0x2c], 0x46fb72ae
mov edi, dword [ebx]
add dword [ebp - 0x28], 0xf0d41955
xor edi, esi
mov dword [ebp - 0x10], 0x1296e6f5
mov dword [edx], edi
xor dword [ebp - 0x28], 0xd4830ded
add edx, 4
add ebx, 4
loop 0x302a0ae
add eax, 0xa8385390
add eax, 0x57c8d097
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe8c58dfb
add ecx, 0x1a3a7205
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x302d5b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x302d5c7
push 0x57
call fcn.0302a040
jmp 0x302d624
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x302d5ea
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x302d622
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x302d617
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x302d617
mov eax, dword [ebp - 4]
jmp 0x302d624
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x302d5e1
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3037260
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x14], 0
jne 0x3037286
cmp dword [ebp + 0x18], 0
je 0x303727a
cmp dword [ebp + 0x1c], 0
jne 0x3037286
push 0x57
call fcn.0302a040
jmp 0x30373d5
mov eax, dword [ebp + 8]
push eax
call fcn.0302a040
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x30372a4
push 6
call fcn.0302a040
jmp 0x30373d5
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0302a040
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x30372cc
push 0x7e
call fcn.0302a040
jmp 0x30373d5
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x303738b
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 0x14]
push ecx
call dword [0x31185fc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x303730e
push 0x57
call fcn.0302a040
jmp 0x30373d5
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jne 0x3037339
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x57
call fcn.0302a040
jmp 0x30373d5
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0302a040
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x303737f
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x303737f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x1c]
je 0x303737f
mov ecx, dword [ebp - 4]
push ecx
call fcn.0302a040
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x30373b1
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0302a040
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30373b1
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x30373c0
push 0x57
call fcn.0302a040
jmp 0x30373d5
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0302a040
mov esp, ebp
pop ebp
ret 0x18