joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c035
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x1003e200]
push 0x1003fae8
add eax, 4
push eax
call fcn.10010c47
test eax, eax
je 0x1000c18e
mov ebx, dword [ebp - 0x14]
jmp 0x1000c073
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
lea esi, [ebx + 0x1c]
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x20
jne 0x1000c162
lea eax, [ebp - 0x34]
mov ecx, edi
call fcn.1001338a
xor edi, edi
cmp eax, edi
je 0x1000c162
push edi
push dword [0x1003e218]
lea edx, [ebp - 0x34]
push 0x10
call fcn.100148df
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.10010a31
test eax, eax
jne 0x1000c169
mov esi, dword [ebp - 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
lea edi, [ebp - 0x24]
call fcn.1000bc31
mov edi, eax
test edi, edi
je 0x1000c145
push 0
push dword [ebp - 4]
xor esi, esi
inc esi
call fcn.10003af7
test eax, eax
je 0x1000c126
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push dword [ebp - 4]
push eax
mov eax, dword [0x1003e200]
mov esi, dword [eax]
call fcn.1001f0ed
mov esi, eax
jmp 0x1000c130
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x1000c14f
push edi
push 0
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000c14f
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
push 0
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000c169
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push ebx
push 0
push dword [0x1003e140]
mov dword [ecx], eax
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x14]
cmp dword [ebp - 0xc], eax
jne 0x1000c070
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000c572
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
xor ebx, ebx
push 6
xor eax, eax
cmp dword [ebp + 8], ebx
pop ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
rep stosd dword es:[edi], eax
je 0x1000c59a
push dword [ebp + 8]
call esi
push ebx
push 4
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1000c61c
push 0x1004003f
push 0x1003f01d
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_Thread32First
jmp 0x1000c613
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x1003e25c]
jne 0x1000c607
push dword [ebp - 0x18]
push ebx
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp edi, ebx
je 0x1000c607
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push edi
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1000c5d9
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1000cb62
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], esi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
push 1
push esi
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x1000cc29
mov ecx, dword [0x1003e270]
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
je 0x1000cbbd
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000cbc3
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
jne 0x1000cc02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x1000cc17
push 0x2710
push esi
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 1
jne 0x1000cc0e
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp + 0xc]
add ebx, eax
sub dword [ebp + 0x10], eax
jne 0x1000cba1
jmp 0x1000cc1c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CancelIo]
cmp dword [ebp + 0x10], esi
jne 0x1000cc1e
xor edi, edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000cc31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1000cf33
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
add eax, 0x10
push esi
push edi
mov dword [ebp - 4], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
cmp dword [ebp + 0x14], esi
push 8
stosd dword es:[edi], eax
pop edi
je 0x1000cffc
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
add dword [ebp - 4], ebx
push dword [ebp - 4]
push esi
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1000d01e
test ebx, ebx
mov eax, dword [0x1003e25c]
mov edi, dword [ebp + 0x10]
mov dword [esi + 4], eax
movzx eax, word [ebp + 8]
mov dword [esi], eax
lea eax, [ebx + edi]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
je 0x1000cfb7
push ebx
push dword [ebp + 0x14]
lea eax, [esi + 0x10]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1000cfd2
test edi, edi
je 0x1000cfd2
push edi
push dword [ebp + 0xc]
lea eax, [esi + ebx + 0x10]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
push 1
lea eax, [ebp - 8]
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [0x1003e210]
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
jne 0x1000d00d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000d00f
cmp dword [ebp + 8], 0x119
jne 0x1000cf6f
xor eax, eax
jmp 0x1000d020
xor edi, edi
push esi
push 0
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1000d099
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x1003e2ac
xor edi, edi
push edi
mov eax, 0x100
push eax
push eax
push 0xff
push 4
push 0x40000003
push dword [0x1003e210]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000d0fc
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x1000cd7d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x1000d0eb
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x1000d104
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000d104
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x1000d901
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [edi + 0x28], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 1
jne 0x1000d929
mov eax, dword [edi + 0x34]
test al, 0x40
je 0x1000daa3
mov eax, dword [edi + 0x34]
test al, 1
je 0x1000da59
mov eax, dword [edi + 0x34]
test al, 6
jne 0x1000d9b9
mov eax, dword [edi + 0x34]
test al, 0x40
jne 0x1000d9b1
or dword [esp + 0xc], 0xffffffff
cmp dword [edi + 0x28], ebx
je 0x1000d9ca
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 4]
mov edx, dword [eax]
lea esi, [esp + 0xc]
push esi
mov esi, dword [edi + 0x24]
sub esi, ecx
add esi, dword [edi + 0x20]
push ecx
push esi
push eax
call dword [edx + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push ebx
push 0x2000
push dword [edi + 0x20]
push dword [esi]
call dword [eax + 4]
add esp, 0x10
cmp eax, ebx
mov dword [edi + 0x24], eax
jle 0x1000d98a
mov dword [edi + 0x28], eax
jmp 0x1000d9aa
je 0x1000d9a1
mov eax, dword [0x1003dc18]
cmp eax, 0xffffffff
je 0x1000d9a4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x1000d9a4
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
cmp dword [edi + 0x28], ebx
jne 0x1000d94c
jmp 0x1000d9c4
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], ebx
jmp 0x1000d9c4
push edi
push esi
call fcn.1000d2cf
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], ebx
jge 0x1000d9d5
mov eax, dword [edi + 0x34]
test al, 0x40
je 0x1000daa3
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x1000d9f6
push eax
mov eax, dword [edi + 4]
call fcn.1000c8b4
cmp eax, 0xe8
jne 0x1000d9f6
or dword [esp + 0xc], 0xffffffff
jmp 0x1000daa3
mov eax, dword [edi + 0x30]
push dword [edi + 0x38]
not eax
mov ebx, 0x100
and eax, ebx
push eax
mov eax, dword [esi + 0x10]
mov esi, dword [edi + 0x40]
and eax, 0x80
push eax
push dword [edi + 0x18]
push dword [edi + 8]
push dword [edi + 4]
call fcn.10005ed5
mov dword [edi + 0x30], eax
or dword [edi + 0x30], ebx
mov eax, dword [edi + 4]
call fcn.10001496
test eax, eax
jne 0x1000da37
cmp dword [edi + 0x2c], eax
jne 0x1000da3d
push edi
call fcn.1000d535
mov eax, dword [edi + 0x30]
test al, 1
jne 0x1000da51
mov eax, dword [edi + 0x34]
test al, 2
jne 0x1000daa3
cmp dword [edi + 0x2c], 0
jne 0x1000daa3
push edi
call fcn.1000d535
jmp 0x1000daa3
mov esi, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
add esi, dword [edi + 0x20]
mov ebx, dword [edi]
mov ecx, ebx
mov dword [esp + 0x10], eax
sub esi, eax
call fcn.10008e64
mov edx, dword [ebx]
xor ecx, ecx
push ecx
push 2
mov dword [esp + 0x1c], eax
push ecx
xor eax, eax
push eax
push ebx
call dword [edx + 0x14]
mov eax, dword [ebx]
push 0
push dword [esp + 0x14]
push esi
push ebx
call dword [eax + 0x10]
mov eax, dword [ebx]
xor esi, esi
push esi
push esi
push esi
push dword [esp + 0x20]
push ebx
call dword [eax + 0x14]
mov dword [edi + 0x28], esi
mov eax, dword [esp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ea80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
call fcn.100025df
cmp dword [0x1003e148], esi
je 0x1000ea9f
push esi
push 2
push 1
call fcn.1000154c
call fcn.1000c193
cmp dword [0x1003e154], esi
je 0x1000eaf6
lea eax, [ebp - 4]
push eax
push 0x1003f257
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000eaf6
push dword [0x1003e4c8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [0x1003e4c8]
push 1
push esi
push dword [0x1003e154]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x1000ee4e
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
mov dword [ebp - 4], eax
inc eax
push eax
xor ebx, ebx
push ebx
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1000ee99
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
je 0x1000ee99
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
push 0x10000000
push ebx
push ebx
push ebx
push dword [ebp + 0x14]
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x1000efa8
push 0x1000ed64
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
cmp eax, 0xffffffff
je 0x1000efa8
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push ebx
push 3
mov eax, edi
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0x16b
add eax, 0x50
push eax
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x1000ef21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1000efa8
mov eax, dword [esi + 0x18]
push 0xea60
call fcn.1000ebee
test eax, eax
jne 0x1000efa8
neg edi
push esi
sbb edi, edi
and edi, 0x7ff180
add edi, 0x84404000
push edi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x1000efa8
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push 0x1f
push eax
mov dword [ebp - 4], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
je 0x1000ef82
or dword [ebp + 0xc], 0x100
push 4
lea eax, [ebp + 0xc]
push eax
push 0x1f
push dword [esi + 0x14]
call edi
push 4
lea eax, [ebp + 0x18]
push eax
push 6
push dword [esi + 0x14]
call edi
test eax, eax
je 0x1000efa8
push 4
lea eax, [ebp + 0x18]
push eax
push 5
push dword [esi + 0x14]
call edi
test eax, eax
je 0x1000efa8
xor esi, esi
jmp 0x1000efb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 8], ebx
je 0x1000efc5
push dword [ebp - 8]
push ebx
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1000f136
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [esi + 0x18]
push ebx
push edi
xor ebx, ebx
push 0xea60
mov dword [ebp - 8], ebx
call fcn.1000ebee
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000f2ec
mov eax, dword [esi + 0x20]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000f2e3
cmp dword [esi], ebx
jne 0x1000f2e3
cmp dword [ebp + 8], ebx
je 0x1000f181
push dword [esi + 0x14]
call fcn.1000edeb
mov dword [esi + 4], eax
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
mov dword [ebp - 4], 8
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1000f2e3
mov edi, 0x1000
push edi
push ebx
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1000f2da
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000f204
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 4], eax
jne 0x1000f21e
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
call fcn.1000ebee
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000f21e
mov eax, dword [esi + 0x20]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000f21e
cmp dword [ebp - 8], ebx
je 0x1000f21b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
push eax
call dword [ecx + 0x10]
jmp 0x1000f1bb
mov dword [ebp - 4], ebx
push dword [ebp + 8]
push ebx
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 4], ebx
jne 0x1000f2da
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000013
push dword [esi + 0x14]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1000f2d3
cmp dword [ebp + 8], 0xc8
jne 0x1000f2d3
mov eax, dword [ebp - 0xc]
call fcn.10001496
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1000f2ca
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
push ebx
push ebx
xor edx, edx
push edx
xor ecx, ecx
push ecx
push eax
call dword [edi + 0x14]
mov eax, dword [ebp - 8]
inc eax
push eax
push ebx
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x1000f2c1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ebx
push dword [ebp - 8]
push edi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 8]
mov byte [edi + eax], bl
mov eax, dword [ebp - 8]
mov dword [esi], edi
mov dword [esi + 0x24], eax
jmp 0x1000f2da
mov dword [ebp - 4], 8
jmp 0x1000f2da
mov dword [ebp - 4], 0x10d2
jmp 0x1000f2da
mov dword [ebp - 4], 0xe8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 4
Function at 0x1000f5da
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x1003d718]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
shr edi, 0x14
imul edi, ecx
test edi, edi
push 8
pop ebx
mov dword [ebp - 4], 0x1003f3eb
jne 0x1000f606
mov edi, dword [0x1003d718]
test eax, eax
je 0x1000f60d
mov dword [ebp - 4], eax
push 0x30
push 0
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1000f6ec
call fcn.1000ec1d
test eax, eax
je 0x1000f6d3
cmp dword [ebp + 0x18], 0
jne 0x1000f63e
or dword [esi + 0x28], 1
push edi
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000f4d0
mov ebx, eax
test ebx, ebx
jne 0x1000f6cc
cmp dword [ebp + 0x18], eax
je 0x1000f6ec
mov eax, dword [esi + 0x18]
push edi
call fcn.1000ebee
mov ebx, eax
test ebx, ebx
jne 0x1000f6ba
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x1000f6cc
and dword [ebp - 8], ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push dword [esi + 0x14]
mov dword [ebp - 0xc], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1000f6b0
cmp dword [ebp - 0x10], 0xc8
je 0x1000f6cc
mov ebx, 0xe8
jmp 0x1000f6cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1000f6cc
cmp ebx, 0x102
jne 0x1000f6cc
add dword [0x1003d718], 0xea60
mov eax, esi
call fcn.1000ecb3
cmp dword [ebp + 0x18], 0
jne 0x1000f6dd
test ebx, ebx
je 0x1000f6ec
push esi
push 0
push dword [0x1003e140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
Function at 0x1000fdf9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 8]
push eax
push str.SoftwareMicrosoftWABDLLPath
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
cmp esi, edi
jne 0x1000fecc
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push edi
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x1000febf
push dword [ebp - 4]
call fcn.100012ea
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0xc], ebx
je 0x1000febf
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
mov esi, eax
cmp esi, edi
jne 0x1000feb5
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, edi
je 0x1000fead
push 0x1004031d
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1000fe9d
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call eax
test eax, eax
jne 0x1000fe93
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x1000feb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000fea0
push 0x7f
pop esi
cmp esi, edi
je 0x1000feb5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000feb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 0xc]
call fcn.100012ff
jmp 0x1000fec2
push 8
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x10010132
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
push 0x57
pop ebx
xor eax, eax
cmp edx, 0x129803f0
push 6
pop ecx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
je 0x100101a7
cmp edx, 0x132e03f0
je 0x10010197
cmp edx, 0x13c403f0
je 0x10010187
cmp edx, 0x142803f0
jne 0x10010329
mov dword [ebp + 0x10], 0x10040309
mov dword [ebp - 0x14], 0x19
jmp 0x100101b5
mov dword [ebp + 0x10], 0x1004030e
mov dword [ebp - 0x14], 0x6e
jmp 0x100101b5
mov dword [ebp + 0x10], 0x10040300
mov dword [ebp - 0x14], 0x50
jmp 0x100101b5
mov dword [ebp + 0x10], 0x10040313
mov dword [ebp - 0x14], 0x8f
mov edi, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push 0x1004038f
push edi
push esi
call fcn.100100d7
test eax, eax
mov dword [ebp - 0x24], eax
je 0x10010328
push 0x10040396
push edi
push esi
call fcn.100100d7
push 0x100403af
push edi
push esi
mov dword [ebp - 0x20], eax
call fcn.100100d7
push 0x100403aa
push edi
push esi
mov dword [ebp - 0x18], eax
call fcn.100100d7
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x1001024e
push esi
call edi
lea eax, [eax + eax + 6]
push eax
call fcn.100012ea
mov ebx, eax
test ebx, ebx
je 0x10010243
push 0x10040578
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
call dword [sym.imp.SHLWAPI.dll_StrToIntExW]
push ebx
call fcn.100012ff
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
jmp 0x10010254
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x100403a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100100d7
mov ebx, eax
test ebx, ebx
je 0x100102f0
push ebx
call edi
cmp eax, 1
jbe 0x100102f0
shr eax, 1
push eax
mov dword [ebp - 0x10], eax
call fcn.100012ea
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100102ed
mov ecx, ebx
call fcn.1001338a
test eax, eax
je 0x100102e5
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push edi
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x100102e5
mov eax, dword [ebp - 8]
add eax, 2
push eax
call fcn.100012ea
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x100102dc
push dword [ebp - 8]
push dword [ebp - 4]
push eax
call sub.ntdll.dll_memcpy
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
shr eax, 1
mov word [ecx + eax*2], di
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0xc]
call fcn.100012ff
push ebx
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
call fcn.1000f768
xor edi, edi
cmp dword [ebp - 0x1c], edi
mov ebx, eax
je 0x1001030f
push dword [ebp - 0x1c]
call fcn.100012ff
cmp dword [ebp - 0x18], edi
je 0x10010319
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x20], edi
je 0x10010323
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x24]
call esi
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 0x14