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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
test ebx, ebx
je 0x1101ce30
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x1101ce3c
mov eax, 0x2000
mov edx, dword [ebp + 8]
lea ecx, [esi + 0xc]
push ecx
push 0
push esi
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x1101ce6d
push 0x1ec
push str...CTL32Refcount.cpp
push str.hThread
call fcn.11016130
add esp, 0xc
test ebx, ebx
je 0x1101ce8e
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1101fdc0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x1101fde2
push 0x1c7
push str...CTL32RegKey.cpp
push str.m_hKey___NULL
call fcn.11016130
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
ret 4

Function at 0x1101fef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
push edi
push eax
mov dword [ebp - 0x34], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1101ff45
xor ecx, ecx
cmp eax, 2
push edi
sete cl
push eax
push str.Error__d_getting__s
push ecx
push esi
call fcn.1101fd60
add esp, 0x14
jmp 0x1101ff73
mov eax, dword [ebp - 0x30]
cmp eax, 1
jne 0x1101ff6b
lea edx, [ebp - 0x2c]
push edx
call fcn.1102b132
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8
cmp eax, 4
mov eax, dword [ebp - 0x2c]
je 0x1101ff76
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8

Function at 0x1101ff90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push edx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x1101ffd4
xor ecx, ecx
cmp esi, 2
push ebx
sete cl
push esi
push str.Error__d_getting__s
push ecx
push edi
call fcn.1101fd60
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x1101ffe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [edi]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0
push ebx
push eax
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x1102001c
cmp dword [ebp + 0xc], 4
je 0x11020037
mov esi, 0xd
xor ecx, ecx
cmp esi, 2
push ebx
sete cl
push esi
push str.Error__d_getting__s
push ecx
push edi
call fcn.1101fd60
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x110200d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x808]
push edx
mov dword [ebp - 0x810], ecx
lea edi, [ebp - 0x804]
mov ecx, edi
push ecx
lea edx, [ebp - 0x814]
push edx
push 0
push eax
mov dword [ebp - 0x80c], eax
mov eax, dword [ebx]
push eax
mov dword [ebp - 0x808], 0x7fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
jne 0x1102018c
lea ecx, [ebp - 0x804]
cmp edi, ecx
je 0x11020144
push edi
call fcn.110279bb
add esp, 4
mov esi, dword [ebp - 0x808]
add esi, 2
push esi
call fcn.11027a34
mov ecx, dword [ebp - 0x80c]
add esp, 4
lea edx, [ebp - 0x808]
push edx
mov edx, dword [ebx]
mov edi, eax
push edi
lea eax, [ebp - 0x814]
push eax
push 0
push ecx
add esi, 0xfffffffe
push edx
mov dword [ebp - 0x808], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
je 0x11020131
mov eax, dword [ebp - 0x808]
mov byte [eax + edi], 0
mov ecx, dword [ebp - 0x808]
mov byte [ecx + edi + 1], 0
test esi, esi
jne 0x110201ba
mov eax, dword [ebp - 0x814]
cmp eax, 1
je 0x110201f9
cmp eax, 2
je 0x110201f9
mov esi, 0xd
mov eax, dword [ebp - 0x80c]
xor ecx, ecx
push eax
cmp esi, 2
sete cl
push esi
push str.Error__d_getting__s
push ecx
push ebx
call fcn.1101fd60
mov ecx, dword [ebp - 0x810]
add esp, 0x14
call fcn.11016860
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x810]
push edi
call fcn.11018380
lea edx, [ebp - 0x804]
cmp edi, edx
je 0x110201e4
push edi
call fcn.110279bb
add esp, 4
jmp 0x110201e4

Function at 0x11020280
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push edx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x110202bd
push ebx
push esi
push str.Error__d_setting__s
push 0
push edi
call fcn.1101fd60
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x110202d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov edi, ecx
mov ecx, dword [edi]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x1102030d
mov edx, dword [ebp + 0xc]
push edx
push ebx
push esi
push str.Error__d_setting__s_to_x_x
push 0
push edi
call fcn.1101fd60
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x11020320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov eax, edx
push edi
mov ebx, ecx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11020330
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebx]
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x11020374
mov eax, dword [ebp + 0xc]
push eax
push edi
push esi
push str.Error__d_setting__s_to__s
push 0
push ebx
call fcn.1101fd60
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x11020380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xa
lea eax, [ebp - 0x44]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.1102b971
lea eax, [ebp - 0x44]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110203b0
mov ecx, dword [edi]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x44]
push eax
push 1
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x110203f2
lea edx, [ebp - 0x44]
push edx
push ebx
push esi
push str.Error__d_setting__s_to__s
push 0
push edi
call fcn.1101fd60
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8

Function at 0x11020410
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x11020446
xor ecx, ecx
cmp esi, 2
push ebx
sete cl
push esi
push str.Error__d_deleting__s
push ecx
push edi
call fcn.1101fd60
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x11020e70
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
push ecx
push ecx
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x21c]
push eax
mov word [ebp - 0x14], cx
call fcn.1102c602
lea edi, [ebp - 0x14]
add esp, 0x14
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x11020ec2
mov ecx, dword [0x11052ca4]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x220]
push edx
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
call fcn.110278cd
mov esp, ebp
pop ebp
ret

Function at 0x11020f10
Capabilities:
Encrypt data using rc4 prga
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.11020e70
mov edi, eax
test esi, esi
je 0x11020f5f
movzx eax, word [esi]
test ax, ax
je 0x11020f5f
movzx ecx, word [esi + 2]
movzx edx, word [esi + 4]
movzx eax, al
shl eax, 8
and ecx, 0xff
or eax, ecx
shl eax, 8
and edx, 0xff
or eax, edx
jmp 0x11020f62
mov eax, dword [ebp + 0x10]
xor edi, eax
push edi
push str.RegistryMachineSOFTWAREClassesN_x
push ebx
call fcn.11018050
add esp, 0xc
test esi, esi
je 0x11020fdb
mov eax, 0x11059974
lea esp, [esp]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x11020fa6
test cx, cx
je 0x11020fa2
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x11020fa6
add esi, 4
add eax, 4
test cx, cx
jne 0x11020f80
xor eax, eax
jmp 0x11020fab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x11020fdb
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x48], 0x20
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x11020fdb
lea edx, [ebp - 0x44]
push edx
push edi
push str.RegistryMachineSOFTWAREClassesN_x._s
push ebx
call fcn.11018050
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.110278cd
mov esp, ebp
pop ebp
ret
Function at 0x110221d0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push str.msi.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 8], eax
test eax, eax
jne 0x110221e7
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MsiGetPropertyW
push eax
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x11022257
mov eax, dword [esi + 8]
push str.MsiSetPropertyW
push eax
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x11022257
mov ecx, dword [esi + 8]
push str.MsiProcessMessage
push ecx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x11022257
mov edx, dword [esi + 8]
push str.MsiCreateRecord
push edx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x11022257
mov eax, dword [esi + 8]
push str.MsiRecordSetStringW
push eax
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x11022257
mov ecx, dword [esi + 8]
push str.MsiCloseHandle
push ecx
call edi
mov dword [esi + 0x20], eax
test eax, eax
jne 0x1102225c
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esi + 8]
push str.MsiRecordSetInteger
push edx
call edi
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x24], eax
pop edi
pop esi
mov eax, ecx
ret
Function at 0x11023e10
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11051ab6
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
xor ebx, ebx
push edi
mov dword [ebp - 0xa24], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0xa1c]
push eax
push 0x1105f29c
push 0x17
push edi
push 0x1105f36c
mov dword [ebp - 0xa1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x11024004
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x218]
push str.rootCIMV2
push ecx
call ebx
add esp, 8
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x110686e8
push edi
push edi
push edi
push edi
push edi
mov ecx, eax
mov eax, dword [ebp - 0xa1c]
mov edx, dword [eax]
push edi
push ecx
push eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xa30], ecx
call eax
test eax, eax
js 0x11023ff1
mov eax, dword [0x110686e8]
lea edx, [ebp - 0xa20]
push edx
mov dword [ebp - 0xa20], edi
mov ecx, dword [eax]
push 0x1105c1d4
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0xa20]
cmp eax, edi
je 0x11023ff1
mov edx, dword [0x110686e8]
mov ecx, dword [eax]
push edi
push edi
push 3
push 2
push edi
push edi
push 0xa
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jl 0x11023fe3
xor ecx, ecx
mov eax, esi
mov dword [0x110686e4], edi
mov word [ebp - 0xa18], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x11023f34
sub eax, edx
sar eax, 1
cmp eax, 0xc8
jae 0x11023f5c
push esi
lea edx, [ebp - 0xa18]
push str.SELECT__FROM__s
push edx
call ebx
add esp, 0xc
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa2c]
call fcn.11022df0
mov esi, eax
push 0x1105bbc8
lea ecx, [ebp - 0xa28]
mov dword [ebp - 4], edi
call fcn.11022df0
mov ecx, dword [esi]
mov ebx, 1
mov byte [ebp - 4], bl
cmp ecx, edi
je 0x11023f95
mov ecx, dword [ecx]
jmp 0x11023f97
xor ecx, ecx
mov eax, dword [eax]
cmp eax, edi
je 0x11023fa1
mov edx, dword [eax]
jmp 0x11023fa3
xor edx, edx
mov eax, dword [0x110686e8]
mov esi, dword [eax]
push 0x110686e4
push edi
push 0x20
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
lea ecx, [ebp - 0xa28]
mov esi, eax
call fcn.11023dc0
lea ecx, [ebp - 0xa2c]
mov dword [ebp - 4], 0xffffffff
call fcn.11023dc0
cmp esi, edi
jl 0x11023fe3
mov dword [ebp - 0xa24], ebx
mov eax, dword [ebp - 0xa20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xa30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp - 0xa24]
mov eax, dword [ebp - 0xa1c]
cmp eax, edi
je 0x11024016
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
Function at 0x11026110
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11051dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x11064c1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov word [esi], cx
xor edx, edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edi
mov dword [ebp - 4], edi
mov word [esi + 0x1c], dx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], edi
mov word [esi + 0x38], cx
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], edi
mov word [esi + 0x54], dx
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], edi
mov word [esi + 0x70], cx
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], edi
mov word [esi + 0x8c], dx
mov dword [esi + 0xbc], eax
xor eax, eax
mov dword [esi + 0xb8], edi
mov word [esi + 0xa8], ax
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x11026260
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x10], edi
call fcn.11003750
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x11026235
push str.IsWow64Process
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
cmp eax, edi
je 0x11026241
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push edx
call eax
jmp 0x11026249
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x10], edi
jne 0x11026255
mov ecx, esi
call fcn.11025590
cmp ebx, edi
je 0x11026260
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
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 0x110278cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x11064c1c]
jne 0x110278d7
repz ret
jmp fcn.1102d479
Function at 0x1102bc45
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1102bc6c
call fcn.1102d69e
mov dword [eax], esi
call fcn.1102d68b
push 0x16
pop esi
mov dword [eax], esi
call fcn.1102f0a5
mov eax, esi
jmp 0x1102bcc1
test dword [ebp + 0xc], 0xfffffff9
jne 0x1102bc52
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1102bc99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1102d6b1
pop ecx
call fcn.1102d68b
mov eax, dword [eax]
jmp 0x1102bcc1
test al, 0x10
jne 0x1102bcbf
test al, 1
je 0x1102bcbf
test byte [ebp + 0xc], 2
je 0x1102bcbf
call fcn.1102d69e
mov dword [eax], 5
call fcn.1102d68b
mov dword [eax], 0xd
jmp 0x1102bc90
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1103f87b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1102e8f0
and dword [ebp - 0x14], 0
cmp dword [0x11069490], 0
mov dword [ebp - 0x18], eax
jne 0x1103f92e
push 0x1105e160
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1103f9d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1105e154
push ebx
call edi
test eax, eax
je 0x1103f9d6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x1105e144
push ebx
mov dword [0x11069490], eax
call edi
push eax
call esi
push 0x1105e130
push ebx
mov dword [0x11069494], eax
call edi
push eax
call esi
push 0x1105e114
push ebx
mov dword [0x11069498], eax
call edi
push eax
call esi
mov dword [0x110694a0], eax
test eax, eax
je 0x1103f92e
push 0x1105e0fc
push ebx
call edi
push eax
call esi
mov dword [0x1106949c], eax
mov eax, dword [0x1106949c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1103f987
cmp dword [0x110694a0], ecx
je 0x1103f987
push eax
call esi
push dword [0x110694a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1103f987
test ebx, ebx
je 0x1103f987
call edi
test eax, eax
je 0x1103f97e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1103f97e
test byte [ebp - 8], 1
jne 0x1103f987
or dword [ebp + 0x10], 0x200000
jmp 0x1103f9ba
mov eax, dword [0x11069494]
cmp eax, dword [ebp - 0x18]
je 0x1103f9ba
push eax
call esi
test eax, eax
je 0x1103f9ba
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1103f9ba
mov eax, dword [0x11069498]
cmp eax, dword [ebp - 0x18]
je 0x1103f9ba
push eax
call esi
test eax, eax
je 0x1103f9ba
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x11069490]
call esi
test eax, eax
je 0x1103f9d6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1103f9d8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.110278cd
leave
ret
Function at 0x100048d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1004a258]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x4178]
or eax, dword [ebx + 0x417c]
lea esi, [ebx + 0x4178]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
jne 0x10004949
cmp dword [ebx + 0x41b0], 8
lea eax, [ebx + 0x419c]
jb 0x10004910
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x10004943
push 0
lea eax, [ebp - 0x1c]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor eax, eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x12], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
or ecx, dword [ebp - 0x24]
and eax, 0x7fffffff
mov dword [ebp - 0x28], ecx
sub ecx, dword [esi]
push 0
mov dword [ebp - 0x1c], eax
sbb eax, dword [esi + 4]
push 0x989680
push eax
push ecx
call fcn.1000ef80
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
shl dword [ebp - 0x18], 4
sub dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
shl ecx, 2
test edx, edx
jl 0x10004a26
jg 0x100049bf
cmp eax, ecx
jbe 0x10004a26
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
cmp dword [ebx + 0x41b0], 8
lea eax, [ebx + 0x419c]
jb 0x100049db
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x10004a0e
push 0
lea eax, [ebp - 0x1c]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eb31
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000eb31
mov esp, ebp
pop ebp
ret 4