joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100331fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10047070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001a30
mov dword [ebp - 4], 0
lea eax, [esi + 0x70]
mov dword [esi], vtable.CWinXPWifi.0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x10006076
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x88]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x10006093
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea edi, [esi + 0xa0]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], 8
jb 0x100060b2
mov eax, dword [edi]
jmp 0x100060b4
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 3
call fcn.100080e0
mov ecx, eax
test ecx, ecx
jne 0x100060d2
push 0x80004005
call fcn.10004850
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x100060e7
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x100060e9
call edx
add eax, 0x10
mov dword [esi + 0xc8], eax
lea ebx, [esi + 0xe0]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x10006110
mov eax, dword [ebx]
jmp 0x10006112
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 5
mov ecx, edi
push 0x10041228
mov dword [esi + 0x10], 2
call fcn.10004610
push 0
push 0
push 0
push 0
mov dword [esi + 0xb8], 3
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0x10041228
mov ecx, ebx
mov dword [esi + 0xd4], 1
call fcn.10004610
push esi
push 0
push 0x10006010
call fcn.1001bcae
mov dword [esi + 0xdc], eax
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10007d59
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007d96
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10007d92
nop word [eax + eax]
cmp esi, edx
jae 0x10007d96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10007d80
cmp esi, edx
jb 0x10007d9d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c900
Capabilities:
Link many functions at runtime

Disassembly:
push edi
push str.Wlanapi.dll
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
jne 0x1000c918
xor al, al
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanOpenHandle
push eax
call esi
push str.WlanEnumInterfaces
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.WlanRegisterNotification
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.WlanScan
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.WlanFreeMemory
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.WlanCloseHandle
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.WlanGetNetworkBssList
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.WlanQueryInterface
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.WlanSetInterface
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.WlanGetAvailableNetworkList
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.WlanGetProfile
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
push str.WlanGetProfileCustomUserData
push dword [edi]
mov dword [edi + 0x30], eax
call esi
push str.WlanSetProfile
push dword [edi]
mov dword [edi + 0x34], eax
call esi
push str.WlanConnect
push dword [edi]
mov dword [edi + 0x3c], eax
call esi
push str.WlanHostedNetworkQuerySecondaryKey
push dword [edi]
mov dword [edi + 0x40], eax
call esi
push str.WlanHostedNetworkForceStart
push dword [edi]
mov dword [edi + 0x78], eax
call esi
push str.WlanHostedNetworkForceStop
push dword [edi]
mov dword [edi + 0x44], eax
call esi
push str.WlanHostedNetworkInitSettings
push dword [edi]
mov dword [edi + 0x48], eax
call esi
push str.WlanHostedNetworkQueryProperty
push dword [edi]
mov dword [edi + 0x4c], eax
call esi
push str.WlanHostedNetworkStartUsing
push dword [edi]
mov dword [edi + 0x50], eax
call esi
push str.WlanHostedNetworkStopUsing
push dword [edi]
mov dword [edi + 0x54], eax
call esi
push str.WlanHostedNetworkSetProperty
push dword [edi]
mov dword [edi + 0x58], eax
call esi
push str.WlanHostedNetworkQueryStatus
push dword [edi]
mov dword [edi + 0x5c], eax
call esi
push str.WlanSetProfileEapXmlUserData
push dword [edi]
mov dword [edi + 0x60], eax
call esi
push str.WlanSaveTemporaryProfile
push dword [edi]
mov dword [edi + 0x64], eax
call esi
push str.WlanDisconnect
push dword [edi]
mov dword [edi + 0x68], eax
call esi
push str.WlanHostedNetworkSetSecondaryKey
push dword [edi]
mov dword [edi + 0x6c], eax
call esi
push str.WlanDeleteProfile
push dword [edi]
mov dword [edi + 0x70], eax
call esi
push str.WlanGetProfileList
push dword [edi]
mov dword [edi + 0x74], eax
call esi
mov dword [edi + 0x38], eax
mov al, 1
pop esi
pop edi
ret
Function at 0x1000e2da
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x10033887
call fcn.10010ff1
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000e3f7
cmp byte [ebx + 0x3e], 0
je 0x1000e3f7
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.10010f91
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x1000e326
xor al, al
jmp 0x1000e3f9
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.1000e5fd
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x1000e356
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.10010f91
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x1000e38b
sub eax, 1
je 0x1000e38f
dec eax
sub eax, 1
je 0x1000e3e5
xor bl, bl
jmp 0x1000e3e7
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x1000e39f
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x1000e3c7
cmp eax, 0x10
jae 0x1000e3ae
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1001d7c2
add esp, 0x10
cmp esi, eax
jne 0x1000e387
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x1000e3e5
test esi, esi
jne 0x1000e34a
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.1000abc0
jmp 0x1000e344
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100047f0
mov al, bl
jmp 0x1000e3f9
mov al, 1
call fcn.10010fac
ret
Function at 0x1000e9b0
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x100338fd
call fcn.10010ff1
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x1000e9d5
xor eax, eax
jmp 0x1000eb4e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000ea01
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1000ea01
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x1000eb4e
cmp dword [esi + 0x4c], 0
je 0x1000eb4b
mov ecx, esi
call fcn.1000e58d
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x1000ea34
push dword [esi + 0x4c]
push edi
call fcn.1000de2e
pop ecx
pop ecx
test al, al
je 0x1000eb4b
movzx ebx, di
jmp 0x1000eb4b
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.1000e5fd
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x1000ea6c
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.10010f91
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x1000eb3f
cmp eax, 1
jg 0x1000eb1a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x1000eab5
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x1000eae2
cmp eax, 0x10
jae 0x1000eac4
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.1001d7c2
add esp, 0x10
cmp edi, eax
jne 0x1000eb15
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x1000eae5
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x1000eb0f
test edi, edi
jne 0x1000ea60
cmp dword [ebp - 0x18], 0x20
jae 0x1000eb39
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.1000abc0
jmp 0x1000ea5a
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x1000eb39
cmp eax, 3
jne 0x1000eb3f
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.1000de2e
pop ecx
pop ecx
test al, al
je 0x1000eb39
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100047f0
mov ax, bx
call fcn.10010fac
ret 4
Function at 0x10011ccc
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.10011610
mov eax, dword [0x10047070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 0x1008], eax
call fcn.1001c129
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1010], edx
call fcn.1001c91a
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.100117a3
add esp, 0x28
call fcn.10013060
test al, al
je 0x10011d66
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
xor ebx, ebx
push dword [ebp - 0x1008]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
inc edi
test eax, eax
cmovne ebx, edi
mov dword [ebp - 0x100c], ebx
call fcn.1001312f
test al, al
je 0x10011dae
push eax
push eax
pop edi
push eax
pop ebp
pop ebx
pop ebx
pop edx
pop ecx
pop edi
pop edx
push eax
pop eax
push ecx
push esp
pop ebp
push ebp
pop esi
pop ecx
push esp
pop ebp
pop esp
push esi
push ebx
push edx
pop edi
push edx
push esi
mov ebx, dword [ebp - 0x100c]
xor edi, edi
inc edi
push 0x10036580
push dword [ebp - 0x1008]
call fcn.1001d47d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10011e61
test ebx, ebx
jne 0x10011deb
push esi
push 2
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0xfeff
push edi
push eax
call fcn.1001d7c2
add esp, 0x10
call fcn.10013426
test al, al
je 0x10011e04
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
lea eax, [ebp - 0x1004]
push eax
call fcn.10020fa9
push esi
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.1001d7c2
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xd
push 1
push eax
call fcn.1001d7c2
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xa
push 1
push eax
call fcn.1001d7c2
push esi
call fcn.1001d50a
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100102c8
mov esp, ebp
pop ebp
ret
Function at 0x100128ee
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.1001353a
test al, al
je 0x10012922
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.10013060
test al, al
je 0x10012947
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.100130a5
test al, al
je 0x1001296c
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.100131fe
test al, al
je 0x1001298f
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.100130ea
test al, al
je 0x100129ae
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x100129bd
xor eax, eax
jmp 0x10012a5b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push dword [ebx]
call esi
push str.IsWow64Process
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
mov edi, str.Wow64RevertWow64FsRedirection
mov dword [ebx + 0x18], eax
push edi
push dword [ebx]
call esi
push str.GetSystemWow64DirectoryW
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.100131b9
test al, al
je 0x10012a3c
pop eax
push edx
pop esp
pop ebx
push ecx
push eax
pop edx
pop edi
push ebx
pop esp
pop edx
pop edi
push edi
pop esi
push edi
pop ecx
push esp
push eax
push esi
push esi
push ebp
pop esp
push edx
mov ebx, dword [ebp - 4]
mov edi, str.Wow64RevertWow64FsRedirection
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebx + 4], 0
je 0x100129b6
push edi
push dword [ebx + 4]
call esi
push edi
push dword [ebx + 4]
mov dword [ebx + 0x20], eax
call esi
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012e47
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10047070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], ebx
push ebx
push eax
call fcn.10015810
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.10012d34
mov edi, dword [ebp - 0x11c]
add esp, 0xc
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], esi
call fcn.1001312f
test al, al
je 0x10012ef9
push eax
push eax
pop edi
push eax
pop ebp
pop ebx
pop ebx
pop edx
pop ecx
pop edi
pop edx
push eax
pop eax
push ecx
push esp
pop ebp
push ebp
pop esi
pop ecx
push esp
pop ebp
pop esp
push esi
push ebx
push edx
pop edi
push edx
push esi
mov esi, dword [ebp - 0x128]
xor ebx, ebx
mov edi, dword [ebp - 0x12c]
cmp edi, 5
jne 0x10012f14
test esi, esi
je 0x10012fa4
xor ebx, ebx
cmp esi, 1
setne bl
inc ebx
jmp 0x10012f9e
cmp edi, 6
jne 0x10012f7b
call fcn.100134b0
test al, al
je 0x10012f34
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
cmp byte [ebp - 6], 1
jne 0x10012f6f
mov ecx, dword [ebp - 0x128]
xor eax, eax
sub ecx, eax
je 0x10012f63
sub ecx, 1
je 0x10012f57
mov dword [ebp - 0x124], 6
jmp 0x10012fa4
mov dword [ebp - 0x124], 5
jmp 0x10012fa4
mov dword [ebp - 0x124], 3
jmp 0x10012fa4
mov dword [ebp - 0x124], 4
jmp 0x10012fa4
cmp edi, 0xa
jne 0x10012f95
test esi, esi
jne 0x10012fa4
cmp dword [ebp - 0x114], 0x4e20
sbb ebx, ebx
add ebx, 8
jmp 0x10012f9e
push 9
cmp edi, 0xa
pop eax
cmova ebx, eax
mov dword [ebp - 0x124], ebx
call fcn.100134b0
test al, al
je 0x10012fbf
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100102c8
mov esp, ebp
pop ebp
ret

Function at 0x100263dd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100260a0

Function at 0x100263e8
Capabilities:
Read file on windows

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

Function at 0x1002afbd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002ac7d
Function at 0x10004fe6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10004d67
fnstcw word [eax - 2]
pushfd
lea eax, [ebp - 0x58]
push eax
call fcn.10004d77
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10004d2c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10005055
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10004d67
cmp byte [bx + di], bl
invalid
Function at 0x100050a9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x40]
push eax
call fcn.10004d77
push eax
push esi
push dword [ebp + 8]
call fcn.10004d2c
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10004d67
xchg dword [ecx], esp
leave
lea eax, fs:[ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10004d77
push eax
push esi
push dword [ebp + 8]
call fcn.10004d2c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10004d77
push eax
push esi
push dword [ebp + 8]
call fcn.10004d2c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
invalid
inc ebp
invalid
Function at 0x10005450
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000543e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000545c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [eax], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100054ba
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100054a1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100054aa
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100054b4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10005496
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10005420
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10005507
dec eax
je 0x100054fe
sub eax, 3
je 0x100054f5
mov dword [ebp - 4], 0x40
jmp 0x10005524
mov dword [ebp - 4], 4
jmp 0x1000550a
mov dword [ebp - 4], 0x20
jmp 0x1000550a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10005556
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
or byte [edi + 0x3b], al
mov ebp, 0xffffff74
jbe 0x100054d6
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
invalid

Function at 0x1000599a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
invalid
test esi, esi
cli
invalid
invalid

Function at 0x100059ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.10004d77
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10004d2c
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.10004d67
add eax, 0x807ddf88
movsd dword es:[edi], dword [esi]
in al, dx
cli
invalid
jecxz 0x10005914
movsd dword es:[edi], dword [esi]
out dx, eax
cli
invalid
jns 0x10005992
test edi, esi
cli
invalid