joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100060a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push 0x5b7996
call esi
mov edx, 0x5b7996
mov ecx, 0x90909090
lea eax, [ebp - 4]
push eax
mov word [edx], cx
mov ecx, dword [ebp - 4]
push ecx
push 2
push edx
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 2
push 0x5b7a0f
call esi
mov ecx, 0x5b7a0f
mov eax, 0x90909090
lea edx, [ebp - 4]
push edx
mov word [ecx], ax
mov eax, dword [ebp - 4]
push eax
push 2
push ecx
call esi
push 0x10006430
push 0x5b79b4
mov bl, 0xe8
call fcn.100131f0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100067d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1c
push 0x40d4cc
call esi
mov eax, 0x90909090
mov ecx, 0x40d4cc
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 0x1c
push 0x40d4cc
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1c
push 0x40d518
call esi
mov eax, 0x90909090
mov ecx, 0x40d518
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 0x1c
push 0x40d518
call esi
push 0x100068a0
push 0x61ea03
mov bl, 0xe8
call fcn.100131f0
push 0x10006940
push 0x5e642a
call fcn.100131f0
push 0x10006940
push 0x5e653b
call fcn.100131f0
push 0x10006990
push 0x5a74d7
call fcn.100131f0
add esp, 0x20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x607090
call esi
mov bl, 0xeb
lea ecx, [ebp - 4]
push ecx
mov byte [0x607090], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x607090
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x607095
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x607095], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x607095
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x607141
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x607141], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x607141
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x607146
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x607146], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x607146
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x6071b3
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x6071b3], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x6071b3
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x6071b8
call esi
mov byte [0x6071b8], bl
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push 0x6071b8
call esi
push 0x100081c0
push 0x4beb03
mov bl, 0xe8
call fcn.100131f0
push 0x100081c0
push 0x4c1900
call fcn.100131f0
push 0x100081c0
push 0x5df615
call fcn.100131f0
push 0x10008210
push 0x64d303
call fcn.100131f0
push 0x10008280
push 0x629eb9
call fcn.100131f0
add esp, 0x28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100084c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4f3ec9
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4f3ec9], 0xd0
mov edx, dword [ebp - 4]
push edx
push 1
push 0x4f3ec9
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4f3eca
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4f3eca], 7
mov edx, dword [ebp - 4]
push edx
push 1
push 0x4f3eca
call esi
push 0x10008590
push 0x4c2eec
mov bl, 0xe8
call fcn.100131f0
push 0x10008590
push 0x4c352c
call fcn.100131f0
push 0x10008590
push 0x4c3939
call fcn.100131f0
push 0x10008590
push 0x4d9d1a
call fcn.100131f0
push 0x10008590
push 0x50db29
call fcn.100131f0
push 0x10008590
push 0x5431d0
call fcn.100131f0
push 0x10008590
push 0x59c513
call fcn.100131f0
add esp, 0x38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000aed0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
fld dword [esi + 0x14]
call fcn.10014a40
fld dword [esi + 0x18]
push 1
push 0xa
add eax, 0x14
push 0xa
push eax
call fcn.10014a40
push eax
mov eax, 0x454a00
call eax
add esp, 0x14
test eax, eax
je 0x1000aff0
cmp byte [0x7d17004], 0
je 0x1000aff0
push 0
mov byte [0x7d17004], 0
push 0
mov dword [0x77d86d8], 0
push 0x19
mov ecx, 0x41d1a0
mov dword [0x6b7d60], 6
call ecx
add esp, 0xc
xor dword [esi + 0x28], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
je 0x1000af9d
lea edx, [ebp - 4]
push edx
push 0x40
push 0xa
push 0x627f17
mov dword [ebp - 0x10], 0x90909090
mov dword [ebp - 0xc], 0x90909090
mov word [ebp - 8], 0x9090
call esi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, 0x627f17
mov dword [eax], ecx
mov cx, word [ebp - 8]
mov dword [eax + 4], edx
lea edx, [ebp - 4]
push edx
mov word [eax + 8], cx
mov eax, dword [ebp - 4]
push eax
push 0xa
push 0x627f17
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0xa
push 0x627f17
mov dword [ebp - 0x10], 0xa2e8006a
mov dword [ebp - 0xc], 0x83fffc28
mov word [ebp - 8], 0x4c4
call esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, 0x627f17
mov dword [eax], edx
mov dx, word [ebp - 8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 0xa
push 0x627f17
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000b210
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
fld dword [esi + 0x14]
call fcn.10014a40
fld dword [esi + 0x18]
push 1
push 0xa
add eax, 0x64
push 0xa
push eax
call fcn.10014a40
push eax
mov eax, 0x454a00
call eax
add esp, 0x14
test eax, eax
je 0x1000b307
xor eax, eax
cmp byte [0x7d17004], al
je 0x1000b307
push eax
mov byte [0x7d17004], al
push eax
mov dword [0x77d86d8], eax
push 0x19
mov ecx, 0x41d1a0
mov dword [0x6b7d60], 6
call ecx
add esp, 0xc
xor dword [esi + 0x38], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x5353b0
je 0x1000b2bf
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x5353b0], 0xc3
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x5353b0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x53de20
call esi
mov byte [0x53de20], 0xc3
jmp 0x1000b2ef
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x5353b0], 0x55
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x5353b0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x53de20
call esi
mov byte [0x53de20], 0x55
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 1
push 0x53de20
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
fld dword [esi + 0x14]
call fcn.10014a40
fld dword [esi + 0x18]
push 1
push 0xa
add eax, 0x78
push 0xa
push eax
call fcn.10014a40
push eax
mov eax, 0x454a00
call eax
add esp, 0x14
test eax, eax
je 0x1000b45d
cmp byte [0x7d17004], 0
je 0x1000b45d
push 0
mov byte [0x7d17004], 0
push 0
mov dword [0x77d86d8], 0
push 0x19
mov ecx, 0x41d1a0
mov dword [0x6b7d60], 6
call ecx
add esp, 0xc
xor dword [esi + 0x3c], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x6024e0
je 0x1000b3ee
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x6024e0], 0xc3
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x6024e0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x526280
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x526280], 0xc3
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x526280
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x50f41e
call esi
mov byte [0x50f41e], 0
jmp 0x1000b445
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x6024e0], 0x55
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x6024e0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x526280
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x526280], 0x55
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x526280
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x50f41e
call esi
mov byte [0x50f41e], 1
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 1
push 0x50f41e
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000bf20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000bf67
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001407d
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x18]
push eax
push 6
lea ecx, [ebp - 0x20]
push ecx
push edi
call ebx
mov edx, 0x1112
cmp word [ebp - 0x20], dx
jne 0x1000c07c
cmp dword [ebp - 0x1e], 0x36
jne 0x1000c07c
cmp byte [ebp + 0xc], 0
push esi
mov esi, 0x100a5724
je 0x1000bfa7
mov esi, 0x100a5754
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, dword [0x100a5784]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi], edx
mov eax, dword [0x100a5788]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov ecx, dword [0x100a578c]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 8], ecx
mov edx, dword [0x100a5790]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0xc], edx
call ebx
mov edx, dword [0x100a5784]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi + 0x10], edx
mov eax, dword [0x100a5788]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [0x100a578c]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0x18], ecx
mov edx, dword [0x100a5790]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0x1c], edx
call ebx
mov edx, dword [0x100a5784]
xor edx, dword [ebp - 0x14]
push edi
mov dword [esi + 0x20], edx
mov eax, dword [0x100a5788]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov ecx, dword [0x100a578c]
xor ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ecx
mov edx, dword [0x100a5790]
xor edx, dword [ebp - 8]
mov dword [esi + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001407d
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.1001407d
mov esp, ebp
pop ebp
ret 8
Function at 0x1000d4b0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x420
mov eax, dword [0x10019018]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
lea esi, [esp + 0x10]
call fcn.10001dc0
lea eax, [esp + 0x10]
push eax
lea esi, [ebx + 0x8f020]
mov eax, str.ServerInfo.sse
call fcn.10001f00
test al, al
jne 0x1000d511
push str._Error__ReadMainFile_1:_Failed_to_calculate_CRC_for_the_main_file.
call fcn.100132c0
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1001407d
mov esp, ebp
pop ebp
ret
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push str.ServerInfo.sse
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000d555
push str._Error__ReadMainFile_2:_Failed_to_open_the_main_file.
call fcn.100132c0
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1001407d
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x8f01c
je 0x1000d58f
push str._Error__ReadMainFile_3:_Unexpected_size_for_the_main_file.
call fcn.100132c0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1001407d
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x8f01c
lea esi, [ebx + 4]
push esi
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000d5b9
push str._Error__ReadMainFile_4:_Failed_to_read_the_main_file_data.
jmp 0x1000d56a
mov dword [esp + 0x410], 0x9c3b2f69
mov dword [esp + 0x414], 0xf2852284
mov dword [esp + 0x418], 0x16ae70c8
mov dword [esp + 0x41c], 0x4af35002
mov dword [esp + 0x420], 0xeb2d7113
xor ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, ecx
sub eax, edx
mov edx, ecx
shr edx, 8
and dl, cl
or dl, byte [esp + eax + 0x410]
mov al, byte [esi + ecx]
not al
xor dl, al
mov byte [esi + ecx], dl
inc ecx
cmp ecx, 0x8f01c
jb 0x1000d5f2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.1001407d
mov esp, ebp
pop ebp
ret
Function at 0x1000e290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
mov dword [0x10019050], ecx
movzx edx, byte [eax + 5]
shl dx, 8
movzx ecx, dx
movzx edx, byte [eax + 6]
push ebx
push esi
or ecx, edx
push edi
mov dword [0x101df328], ecx
mov dword [ebp - 0x38], 0x9f332c1
call fcn.10013330
xor esi, esi
lea edx, [ebp - 0x34]
mov ebx, eax
sub eax, edx
mov word [ebp - 0x3c], 0xcffc
mov byte [ebp - 0x3a], 0xab
lea ecx, [esi + 2]
mov dword [ebp - 0x40], eax
lea esp, [esp]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x3c]
mov edx, dword [ebp - 0x40]
lea edi, [ebp + esi - 0x34]
xor al, byte [edx + edi]
lea edx, [ecx - 1]
mov byte [edi], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x3b]
xor al, byte [ebx + ecx - 1]
mov byte [edi + 1], al
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
mov dl, byte [ebp + eax - 0x3a]
xor dl, byte [ecx + ebx]
mov eax, 0xaaaaaaab
mov byte [edi + 2], dl
lea edx, [ecx + 1]
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x39]
xor al, byte [ecx + ebx + 1]
lea edx, [ecx + 2]
mov byte [edi + 3], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x38]
xor al, byte [ecx + ebx + 2]
add ecx, 5
add esi, 5
mov byte [edi + 4], al
cmp ecx, 0x2f
jl 0x1000e2f0
mov cl, byte [0x10061984]
mov byte [ebp - 7], cl
movzx ecx, byte [ebp - 0x37]
lea edx, [ebp - 0x38]
push edx
call fcn.1000e7f0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001407d
mov esp, ebp
pop ebp
ret

Function at 0x1000fc10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x101df3a0], 2
jne 0x1000fc8b
mov edx, dword [0x10139bd0]
mov eax, dword [0x10139bcc]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov ax, word [0x10139bd4]
lea edx, [ebp - 0x10]
push esi
mov ecx, 0xe
push edx
mov dword [ebp - 0x10], 0x3f30ec1
mov word [ebp - 4], ax
call fcn.1000e7f0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [0x101df39c], 1
mov dword [0x101df3a0], 3
call esi
mov dword [0x101df3a4], eax
call esi
mov dword [0x101df3a8], eax
mov eax, 0x7530
mov dword [0x101df3ac], eax
mov dword [0x101df3b0], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x61fc58
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x61fc58], 0xeb
mov edx, dword [ebp - 4]
push edx
push 1
push 0x61fc58
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x61fcfd
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x61fcfd], 0x50
mov edx, dword [ebp - 4]
push edx
push 1
push 0x61fcfd
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x26
push 0x61fcd2
call esi
mov eax, 0x90909090
mov ecx, 0x61fcd2
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov word [ecx + 0x24], ax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 0x26
push 0x61fcd2
call esi
push 0x10010250
push 0x61fd79
mov bl, 0xe8
call fcn.100131f0
push 0x100102b0
push 0x5dce0a
call fcn.100131f0
push 0x10010310
push 0x45c895
call fcn.100131f0
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x575052c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10013050
mov ecx, dword [0x575052c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.10013070
mov esp, ebp
pop ebp
ret
mov edx, dword [0x575052c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.10013070
mov esp, ebp
pop ebp
ret

Function at 0x100131c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
fld dword [ebp + 0xc]
mov edx, dword [ebp + 8]
fstp dword [esi]
lea ecx, [ebp + 8]
push ecx
push edx
push 4
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x100131f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
cmp bl, 0xff
je 0x10013211
mov byte [esi], bl
mov ecx, dword [ebp + 0xc]
sub ecx, esi
sub ecx, 5
lea edx, [ebp - 4]
push edx
mov dword [esi + 1], ecx
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10013230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013330
Capabilities:
Get common file path
Get disk information
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x10019018]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10013379
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1001407d
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
lea edx, [esp + 0x124]
push edx
mov byte [esp + 0x12b], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x10013363
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10013363
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x10013363
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
imul edx, edx, 0x7b
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
xor eax, 0x1a
add edx, eax
movzx eax, word [esp + 0xc]
shrd esi, ecx, 0x10
shr ecx, 0x10
mov ecx, eax
xor ecx, 0x7b
add esi, ecx
movzx ecx, word [esp + 0x2e]
and edi, 0x1a
shl ecx, 0x10
or ecx, edi
shl eax, 0x10
mov edi, esi
xor edi, 0x7b0000
shr edi, 0x10
xor ecx, edi
push ecx
mov ecx, dword [esp + 0xc]
or eax, ecx
add eax, 0x7b
mov edi, edx
shr edi, 0x10
xor eax, edi
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x84]
imul eax, eax, 0x7b
xor edi, 0x1a
sub eax, edi
mov edi, dword [esp + 0x28]
shl edi, 0x10
or edi, ecx
imul edi, edi, 0x1a
and eax, 0xffff
xor eax, edi
push eax
mov eax, ecx
imul eax, eax, 0x7b
movzx esi, si
xor ecx, 0x1a
sub eax, 0x1a
movzx edx, dx
xor eax, esi
push eax
add ecx, 0x7b
xor ecx, edx
push ecx
push str._08X__08X__08X__08X__08X
push 0x101df674
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x230]
add esp, 0x1c
pop edi
pop esi
xor ecx, esp
mov eax, 0x101df674
call fcn.1001407d
mov esp, ebp
pop ebp
ret

Function at 0x100134b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10013512
mov eax, 4
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.WindowMode
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10013512
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1001407d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019018]
jne 0x10014087
repz ret
jmp fcn.10014539