joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418a2b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x480f90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x418a6e
cmp word [esi], dx
jne 0x418a6e
or byte [edi + eax + 0x28], 4
jmp 0x418a73
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x418bc6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x418ba6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x418ab5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418aeb
cmp eax, edx
jae 0x418af7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x418a8d
jmp 0x418bc6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418ba2
cmp dword [ebp - 0x14], 0
je 0x418ba2
mov eax, dword [ebx*4 + 0x480f90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x418b7a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x418b43
mov word [esi], cx
jmp 0x418b76
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x480f90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x480f90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x480f90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418bc6
pop ebx
cmp word [ebp - 4], bx
jne 0x418b8b
cmp esi, dword [ebp + 0xc]
jne 0x418b8b
mov word [esi], bx
jmp 0x418bc3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041945f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418bc6
push 0xd
jmp 0x418bbf
mov ecx, dword [ebx*4 + 0x480f90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418bbd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418bc6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10001010
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
mov ecx, 0x100
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push str.Wininet.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.InternetConnectA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
push 0
push 0
push 3
push ecx
mov ecx, dword [esp + 0x424]
push edx
mov edx, dword [esp + 0x424]
push ecx
mov ecx, dword [esp + 0x424]
push edx
push ecx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x400
ret

Function at 0x100010b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
mov ecx, 0x100
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push str.kernel32.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.SetFilePointer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x410]
mov edx, dword [esp + 0x40c]
push 2
push 0
push ecx
push edx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x400
ret

Function at 0x10001130
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
mov ecx, 0x100
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push str.kernel32.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.ReadFile
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x418]
mov edx, dword [esp + 0x414]
push 0
push ecx
mov ecx, dword [esp + 0x418]
push edx
mov edx, dword [esp + 0x418]
push ecx
push edx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x400
ret
Function at 0x100013f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
call fcn.10004760
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 8]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push str.kernel32.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.VirtualProtect
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x414]
lea ecx, [esp + 0x418]
push ecx
mov ecx, dword [esp + 0x414]
push edx
mov edx, dword [esp + 0x414]
push ecx
push edx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x400
ret
Function at 0x10001640
Capabilities:
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x10c
mov al, byte [0x1000aae0]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
push edi
push ebx
push str.http:__
mov edi, ebx
mov byte [esp + 0x1b], al
call fcn.10003300
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
jle 0x10001675
lea edi, [ebx + ebp + 7]
push edi
push 0x10007138
call fcn.10003300
mov esi, eax
add esp, 8
lea edx, [esp + 0x64]
lea ecx, [esi + 1]
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
add esi, ebp
lea esi, [esi + ebx + 7]
push esi
push 0x10007134
call fcn.10003300
add esp, 8
mov edi, eax
lea eax, [esi + 1]
lea ecx, [esp + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [edi + esi + 1]
lea eax, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.10003560
add esp, 8
push 0
push 0
push 0
push 0
push 0x10007130
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x1000170d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov eax, dword [esp + 0x14]
push 0x1000aae0
push 0x1000aae0
lea ecx, [esp + 0x6c]
push eax
push ecx
push ebx
call fcn.10001010
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x10001749
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
push 0
lea edx, [esp + 0x2c]
push 0x80000000
push edx
push 0
lea eax, [esp + 0xd0]
push str.HTTP_1.0
push eax
push 0x10007120
push ebp
mov dword [esp + 0x48], str.Accept:__
mov dword [esp + 0x4c], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100017a1
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov ecx, 0xb
mov esi, str.Content_Type:application_x_www_form_urlencoded
lea edi, [esp + 0x30]
lea edx, [esp + 0x13]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
push edx
movsb byte es:[edi], byte [esi]
mov word [esp + 0x63], cx
mov byte [esp + 0x65], cl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [esp + 0x18]
push eax
lea eax, [esp + 0x17]
lea ecx, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ecx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1000180b
mov eax, dword [esp + 0x124]
lea edx, [esp + 0x1c]
push edx
push 0x400
push eax
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10001827
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
Function at 0x10002000
Capabilities:
Delete file

Disassembly:
mov eax, 0x1148
call fcn.100053e0
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea eax, [esp + 0x14]
push ebp
push eax
push 0x100076e0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call sub.gdiplus.dll_GdiplusStartup
mov esi, dword [esp + 0x115c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x158]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x15c]
push ecx
push esi
call ebx
push eax
push esi
push 1
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebp
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x1000209d
lea eax, [edi + 4]
lea edx, [esp + 0x158]
push eax
push edx
mov dword [edi], 0x100061c8
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [edi + 8], eax
jmp 0x1000209f
xor edi, edi
lea eax, [esp + 0x44]
mov dword [0x10007c7c], edi
push eax
push str.image_jpeg
call fcn.10001f30
add esp, 8
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
push esi
call ebx
sub eax, 3
lea ecx, [esp + 0x54]
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x54]
push str..jpg
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x958]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x95c]
lea ecx, [esp + 0x58]
push eax
push ecx
call ebx
lea edx, [esp + 0x5c]
push eax
mov ebx, 1
push edx
push ebx
push 0
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x54]
push eax
call ebp
mov edx, dword [0x100061d0]
mov eax, dword [0x100061d4]
mov edi, dword [0x10007c7c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x100061d8]
mov dword [esp + 0x28], edx
mov edx, dword [0x100061dc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], 4
mov dword [esp + 0x38], ebx
push eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x95c]
push ecx
push edx
push eax
call sub.gdiplus.dll_GdipSaveImageToFile
test eax, eax
je 0x10002197
mov dword [edi + 8], eax
mov ecx, dword [0x10007c7c]
test ecx, ecx
je 0x100021a6
mov edx, dword [ecx]
push ebx
call dword [edx]
push esi
call ebp
mov eax, dword [0x100076e0]
push eax
call sub.gdiplus.dll_GdiplusShutdown
lea ecx, [esp + 0x54]
push ecx
push 0x1000a06a
call fcn.10001bf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1148
ret
Function at 0x10002470
Capabilities:
Capture screenshot
Get common file path

Disassembly:
sub esp, 0x10c
push edi
mov edi, dword [esp + 0x114]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100025a5
push ebx
push ebp
push esi
push eax
push eax
push eax
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 4]
mov ebp, dword [edi + 8]
mov ebx, eax
mov eax, dword [edi]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp edx, ecx
jge 0x100024e0
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], ecx
jge 0x100024ea
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
cmp ebp, ecx
jle 0x100024f4
mov ebp, ecx
cmp edi, eax
jle 0x100024fa
mov edi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub edi, edx
sub ebp, eax
push edi
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0xcc0020
push edx
push eax
push esi
push edi
push ebp
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
lea edx, [esp + 0x1c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
push edx
rep stosd dword es:[edi], eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x1c]
push 0x1000a3b0
push eax
call edi
lea ecx, [esp + 0x1c]
push str..bmp
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.10002260
add esp, 8
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push ebx
call esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10c
ret

Function at 0x100032a0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push esi
push edi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x100025b0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edi
call fcn.10002470
add esp, 4
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10003370
Capabilities:
Create http request
Query remote server for available data
Send data
Send http request

Disassembly:
sub esp, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
push ebp
push str.http:__
mov edi, ebp
call fcn.10003300
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jle 0x1000339e
lea edi, [eax + ebp + 7]
push edi
push 0x10007138
call fcn.10003300
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov esi, eax
add esp, 8
lea ecx, [esp + 0x60]
lea eax, [esi + 1]
push eax
push edi
push ecx
call ebx
mov edx, dword [esp + 0x10]
add esi, edx
lea esi, [esi + ebp + 7]
push esi
push 0x10007134
call fcn.10003300
add esp, 8
mov edi, eax
lea eax, [esi + 1]
lea ecx, [esp + 0x18]
push edi
push eax
push ecx
call ebx
lea edx, [edi + esi + 1]
lea eax, [esp + 0xbc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.10003560
add esp, 8
push 0
push 0
push 0
push 0
push 0x10007130
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
mov eax, dword [esp + 0x14]
push 0x1000aae0
push 0x1000aae0
lea ecx, [esp + 0x68]
push eax
push ecx
push ebp
call fcn.10001010
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x100034e5
push 0
lea edx, [esp + 0x24]
push 0x80000000
push edx
push 0
lea eax, [esp + 0xcc]
push str.HTTP_1.0
push eax
push 0x10007120
push ebx
mov dword [esp + 0x40], str.Accept:__
mov dword [esp + 0x44], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [esp + 0x10], eax
je 0x100034e5
mov ecx, 0xb
mov esi, str.Content_Type:application_x_www_form_urlencoded
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x120]
xor ecx, ecx
mov word [esp + 0x5b], cx
push esi
mov byte [esp + 0x61], cl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x34]
push 0xffffffffffffffff
push edx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
lea eax, [esp + 0x2c]
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x10003f20
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
push str.http
push eax
call ebp
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10003fdf
push esi
push edi
mov dword [esp + 0x14], 0
push 0x160
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov ecx, 0x58
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea edi, [ebx + 1]
push 0x100074c8
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x10003f7e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x10003f8a
sub eax, ebx
inc eax
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x5a]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x15c], eax
add eax, ecx
push str.http
push edi
mov dword [esp + 0x1c], eax
call ebp
add esp, 8
mov ebx, eax
push 0
push 0
push esi
push 0x10003ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x10003f4b
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100046b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push edi
call fcn.10004760
mov ebp, dword [esp + 0xc]
xor edi, edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x100046f1
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ebp
sub ebx, esi
mov al, byte [ebx + esi]
add al, 7
xor al, 5
sub al, 7
mov byte [esi], al
call fcn.10004760
inc edi
push ebp
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
jl 0x100046d2
pop esi
pop ebx
call fcn.10004760
pop edi
pop ebp
ret

Function at 0x10004790
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x1000a270]
push 0
push eax
push 0x10004770
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1000a2a8], eax
mov eax, 1
ret

Function at 0x100047c0
Capabilities:
Delete file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push esi
call edi
cmp eax, 0xffffffff
je 0x1000480f
push eax
call ebx
push esi
call ebp
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100047e5
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push 0x30
push 0x401077
push 0x401021
push 0
call dword [sym.imp.USER32.DLL_MessageBoxA]
cmp eax, 6
jne 0x401019
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0xce41b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00ce4140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00ce4140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00ce4140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00ce4140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xce4bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xce4c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xcf687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xce4c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xce4c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x1000b3d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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
invalid
inc ebp
invalid

Function at 0x1000cca9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.1000b100
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.1000b061
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1000d068
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.1000b0f0
or al, 0xb2
push esi
or edi, edi
mov ch, 0x60
cld
invalid
Function at 0x4010e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
nop
mov al, 0x45
xor ebx, ebx
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x28], al
mov al, 0x6c
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], bl
nop
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov al, 0x65
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x35], al
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x14]
mov cl, 0x73
push 0x4030c8
push eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x34], cl
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x25
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, 0x4011bf
ret