joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102de7e4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102fab6c], 0
mov byte [0x102fab70], 0
mov dword [0x102fab68], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102fab60], 0x25fd
mov eax, dword [0x102fab68]
add eax, 1
mov dword [0x102fab68], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102de81f
jmp 0x102de917
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x102fab74], 0
add eax, 0xfffff560
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x102fab6c]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102fab74], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x102fab6c], edx
mov esi, dword [ebp - 0x28]
mov dword [0x102fab60], esi
mov bl, byte [ebx + ecx]
mov byte [0x102fab70], bl
mov dword [0x102fab64], 0x21ee
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x102fab70]
mov ecx, dword [0x102fab6c]
mov byte [esi + ecx], bl
mov ecx, dword [0x102fab60]
add ecx, 0xfffff153
mov dword [0x102fab60], ecx
mov edx, dword [0x102fab68]
add edx, 1
mov dword [0x102fab68], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jl 0x102de854
jmp 0x102de933
xor eax, eax
mov ecx, 0x25fd
mov dword [0x102fab68], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x102de854
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102decd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x102fab60]
add esi, 0xffffeeb0
mov dword [0x102fab60], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102e04f7]
mov dh, byte [eax + 0x102e04c8]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x102decfa
lea eax, [ebp - 0x24]
mov dword [0x102fab64], 0x19f0
mov dword [ebp - 0x34], eax
call fcn.102de166
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.102ddd8f
xor ecx, ecx
mov dword [0x102fab64], 0x22ca
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x102dee07
mov dword [0x102fab60], 0x16e2
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.102de64b
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102fab64], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x102fab60], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 4], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x102dee07
mov eax, dword [ebp - 0x40]
add eax, 0x1f68
mov dword [0x102fab64], 0x20b8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x102df10e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102fab68], 0
mov dword [0x102fab6c], 0
mov dword [0x102fab78], 0
mov ebx, dword [0x102fab60]
add ebx, 0xffffec41
mov dword [0x102fab64], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x102df261
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102fab68], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102fab6c], edx
mov dword [0x102fab64], 0x63e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102fab70], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102fab70]
mov edx, dword [0x102fab6c]
mov byte [ebx + edx], cl
mov edx, dword [0x102fab68]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102fab6c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102fab78], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x102fab64], 0xff5
mov dword [0x102fab60], 0xc9e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x102df261
mov eax, dword [0x102fab68]
mov ecx, dword [0x102fab6c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x102df179
mov dword [0x102fab64], 0x22fd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102df273
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x102fab60]
mov esi, edx
add esi, 0xffffddef
mov dword [0x102fab64], esi
add edx, 0xfffff1ae
mov dword [0x102fab60], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.102dea14
lea ecx, [0x102de79d]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], 0x142000
mov edx, dword [0x102fab4c]
mov dword [esp + 0x54], edx
mov edx, dword [0x102fab50]
mov dword [esp + 0x38], edx
mov dword [0x102fab60], 0x1a6c
mov edx, dword [0x102fab54]
mov dword [esp + 0x70], edx
mov edx, dword [0x102fab58]
mov dword [esp + 0x58], edx
mov edx, dword [0x102fab5c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x102fab64]
add edx, 0xc86
mov dword [0x102fab64], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x102df343
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x102df357
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x102df320
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [0x102fab64], 0x8e8
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], edx
mov dword [0x102fab60], 0x1277
call fcn.102de505
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x102df3c8
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102decd0
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102fab64], 0xd4a
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x401c50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401c9b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401c94
test esi, esi
je 0x401c94
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c70
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e80
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401fa8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f0e
cmp eax, 4
jne 0x401f30
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f1e
cmp edx, 4
je 0x401f1e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e80
Function at 0x40605a
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x7bb93a
call fcn.007a83c4
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x808508
mov dword [ebp - 4], 0x1e
call fcn.004062f5
lea ecx, [esi + 0x284]
mov byte [ebp - 4], 0x1d
mov dword [ecx], 0x80850c
call fcn.004162fc
lea ecx, [esi + 0x270]
mov byte [ebp - 4], 0x1c
mov dword [ecx], 0x808510
call fcn.00416116
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0x1b
mov dword [ecx], 0x808514
call fcn.00415f51
lea ecx, [esi + 0x244]
mov byte [ebp - 4], 0x1a
mov dword [ecx], 0x808518
call fcn.00415d6b
lea ecx, [esi + 0x22c]
mov byte [ebp - 4], 0x19
mov dword [ecx], 0x80851c
call fcn.00415ba6
lea ecx, [esi + 0x218]
mov byte [ebp - 4], 0x18
mov dword [ecx], 0x808520
call fcn.004159c0
lea ecx, [esi + 0x200]
mov byte [ebp - 4], 0x17
mov dword [ecx], 0x808524
call fcn.004157fb
lea ecx, [esi + 0x1ec]
mov byte [ebp - 4], 0x16
mov dword [ecx], 0x808528
call fcn.00415615
lea ecx, [esi + 0x1d4]
mov byte [ebp - 4], 0x15
mov dword [ecx], 0x80852c
call fcn.00415450
lea ecx, [esi + 0x1c0]
mov byte [ebp - 4], 0x14
mov dword [ecx], 0x808530
call fcn.0041526a
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 0x13
mov dword [ecx], 0x808534
call fcn.004150a5
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x12
mov dword [ecx], 0x808538
call fcn.00414ebf
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x11
mov dword [ecx], 0x80853c
call fcn.00414cfa
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0x10
mov dword [ecx], 0x808540
call fcn.00414b14
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0xf
mov dword [ecx], 0x808544
call fcn.0041494f
lea ecx, [esi + 0x13c]
mov byte [ebp - 4], 0xe
mov dword [ecx], 0x808548
call fcn.00414769
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0xd
mov dword [ecx], 0x80854c
call fcn.004145a4
lea ecx, [esi + 0x10c]
mov byte [ebp - 4], 0xc
mov dword [ecx], 0x808550
call fcn.004142fc
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 0xb
mov dword [ecx], 0x808554
call fcn.00414116
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 0xa
mov dword [ecx], 0x808558
call fcn.00413f51
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 9
mov dword [ecx], 0x80855c
call fcn.00413d6b
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 8
mov dword [ecx], 0x808560
call fcn.00413ba6
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 7
mov dword [ecx], 0x808564
call fcn.00413a2e
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 6
mov dword [ecx], 0x808568
call fcn.0041397b
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
mov dword [ecx], 0x80856c
call fcn.00413803
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
mov dword [ecx], 0x808570
call fcn.00413750
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 3
mov dword [ecx], 0x808574
call fcn.004136db
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [ecx], 0x808578
call fcn.00413531
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
mov dword [ecx], 0x80857c
call fcn.0041347e
and byte [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [ecx], 0x808580
call fcn.00413298
mov ecx, dword [ebp - 0xc]
and dword [0x87e3d4], 0
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41ea9b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x882830], 0
jne 0x41eaac
call fcn.0041e458
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
push ebx
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x20]
push esi
lea esi, [ecx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x40]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x50]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x60]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x70]
push edi
mov dword [ecx + 0x1c], eax
mov edi, eax
mov dword [ebp + 8], 0x882408
push 8
push edi
call fcn.007a8824
mov ebx, eax
push 8
push edi
shr ebx, 0x18
call fcn.007a8824
mov ebx, dword [ebx*4 + 0x880008]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0x87fc08]
push 8
push edi
call fcn.007a8824
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x87f808]
push 8
push edi
call fcn.007a8824
movzx eax, al
xor ebx, dword [eax*4 + 0x87f408]
mov eax, dword [ebp + 8]
xor ebx, dword [eax]
lea eax, [esi + 0x20]
xor ebx, dword [esi - 4]
add dword [ebp + 8], 4
mov dword [esi + 0x1c], ebx
xor ebx, dword [esi]
add esp, 0x20
mov dword [eax], ebx
xor ebx, dword [esi + 4]
mov dword [esi + 0x24], ebx
xor ebx, dword [esi + 8]
mov dword [esi + 0x28], ebx
mov ecx, ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x880008]
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
movzx edx, dl
xor edi, dword [edx*4 + 0x87fc08]
movzx ecx, cl
xor edi, dword [ecx*4 + 0x87f808]
xor ecx, ecx
mov cl, bl
xor edi, dword [ecx*4 + 0x87f408]
xor edi, dword [esi + 0xc]
mov dword [esi + 0x2c], edi
xor edi, dword [esi + 0x10]
mov dword [esi + 0x30], edi
xor edi, dword [esi + 0x14]
mov dword [esi + 0x34], edi
xor edi, dword [esi + 0x18]
cmp dword [ebp + 8], 0x882424
mov dword [esi + 0x38], edi
mov esi, eax
jb 0x41eaef
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x420760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
and byte [ebp + 0xb], 0
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx + edi]
cmp eax, 0x10
mov dword [ecx], eax
jae 0x4207a0
push edi
push dword [ebp + 0xc]
lea eax, [ebx + esi + 0x10]
push eax
call fcn.007a8420
mov eax, dword [ebp + 0x18]
add dword [esi + 0x20], edi
add esp, 0xc
and dword [eax], 0
jmp 0x4208a4
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edi
jne 0x4207cc
push dword [ebp + 0x10]
call fcn.007a9103
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push eax
call fcn.007a8420
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 1
mov dword [ebp + 0x14], 0x10
sub dword [ebp + 0x14], ebx
push dword [ebp + 0x14]
lea eax, [ebx + esi + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.007a8420
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea ebx, [eax + ebx - 0x10]
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0041ebc5
mov eax, dword [esi]
xor eax, dword [esi + 0x10]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [esi + 0x14]
xor eax, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x18]
xor eax, dword [esi + 8]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [esi + 0xc]
cmp ebx, 0x10
mov dword [edi - 4], eax
jb 0x420873
mov eax, ebx
shr eax, 4
mov dword [ebp + 0x10], eax
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0041ebc5
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [esi]
xor ecx, dword [eax]
add eax, 0x10
mov dword [edi], ecx
mov ecx, dword [eax - 0xc]
xor ecx, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], ecx
mov ecx, dword [eax - 8]
xor ecx, dword [esi + 8]
sub ebx, 0x10
mov dword [edi - 8], ecx
mov ecx, dword [eax - 4]
xor ecx, dword [esi + 0xc]
dec dword [ebp + 0x10]
mov dword [edi - 4], ecx
mov dword [ebp + 0xc], eax
jne 0x420832
push ebx
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push eax
call fcn.007a8420
mov eax, dword [esi + 0x20]
and eax, 0xf0000000
add eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x18]
sub dword [eax], ebx
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x4208a4
push dword [ebp - 4]
call fcn.007a901a
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x4208ab
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x20]
lea eax, [esi + 0x24]
push esi
push eax
mov dword [ebx], 0x10
call fcn.0041ebc5
test edi, edi
pop ecx
pop ecx
jbe 0x4208e5
mov ecx, dword [esp + 0x14]
mov eax, esi
sub ecx, esi
mov esi, edi
mov dl, byte [eax + 0x10]
xor dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
dec esi
jne 0x4208d9
mov dword [ebx], edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4208ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
and byte [ebp + 0xb], 0
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx + edi]
cmp eax, 0x10
mov dword [ecx], eax
ja 0x42092d
push edi
push dword [ebp + 0xc]
lea eax, [ebx + esi + 0x10]
push eax
call fcn.007a8420
mov eax, dword [ebp + 0x18]
add dword [esi + 0x20], edi
add esp, 0xc
and dword [eax], 0
jmp 0x420a3c
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edi
jne 0x420959
push dword [ebp + 0x10]
call fcn.007a9103
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push eax
call fcn.007a8420
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x10
sub dword [ebp + 0x14], ebx
push dword [ebp + 0x14]
add eax, ebx
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebx + esi + 0x10]
push eax
call fcn.007a8420
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea ebx, [eax + ebx - 0x10]
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0041ebc5
mov eax, dword [esi + 0x10]
xor eax, dword [esi]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [esi + 0x14]
xor eax, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x18]
xor eax, dword [esi + 8]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [esi + 0xc]
cmp ebx, 0x10
mov dword [edi - 4], eax
jbe 0x420a0b
lea eax, [ebx - 1]
shr eax, 4
mov dword [ebp + 0x10], eax
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0041ebc5
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [esi]
xor ecx, dword [eax]
add eax, 0x10
mov dword [edi], ecx
mov ecx, dword [eax - 0xc]
xor ecx, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], ecx
mov ecx, dword [eax - 8]
xor ecx, dword [esi + 8]
sub ebx, 0x10
mov dword [edi - 8], ecx
mov ecx, dword [eax - 4]
xor ecx, dword [esi + 0xc]
dec dword [ebp + 0x10]
mov dword [edi - 4], ecx
mov dword [ebp + 0xc], eax
jne 0x4209ca
push ebx
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push eax
call fcn.007a8420
mov eax, dword [esi + 0x20]
and eax, 0xf0000000
add eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x18]
sub dword [eax], ebx
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x420a3c
push dword [ebp - 4]
call fcn.007a901a
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x420a43
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x20]
lea eax, [esi + 0x24]
push esi
push eax
mov dword [ebx], edi
call fcn.0041ebc5
test edi, edi
pop ecx
pop ecx
jbe 0x420a79
mov ecx, dword [esp + 0x14]
mov eax, esi
sub ecx, esi
mov esi, edi
mov dl, byte [eax + 0x10]
xor dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
dec esi
jne 0x420a6d
mov dword [ebx], edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4563f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [eax + 2]
mov dword [ebp - 4], eax
sub dword [ebp - 4], esi
lea edi, [ebp + 0xa]
mov ecx, 0xbaadf00d
sub edi, esi
mov dword [ebp - 8], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
movzx ebx, byte [esi]
mov dl, al
xor eax, ecx
xor dl, bl
push 5
push eax
mov byte [edi + esi], dl
call fcn.007a8834
add eax, ebx
pop ecx
inc esi
dec dword [ebp - 8]
pop ecx
mov ecx, eax
jne 0x45641d
cmp ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x456461
push 0x818260
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.007a83e3
mov ax, word [ebp + 0xa]
leave
ret
Function at 0x4693fe
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push dword [ebp + 0xc]
mov esi, ecx
call fcn.00469162
mov edi, dword [ebp + 8]
test edi, edi
je 0x46943f
cmp byte [edi], 0
je 0x46943f
push edi
call dword [sym.imp.ws2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x46943f
push edi
call dword [sym.imp.ws2_32.dll_gethostbyname]
test eax, eax
je 0x469447
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
push 0x818260
lea eax, [ebp + 0xc]
push eax
call fcn.007a83e3

Function at 0x4694ec
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.0046b09f
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x46950a
push eax
call dword [sym.imp.ws2_32.dll_closesocket]
or dword [esi + 8], 0xffffffff
push 0
push 1
push 2
call dword [sym.imp.ws2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x469535
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [ebp + 8], eax
push 0x818260
lea eax, [ebp + 8]
push eax
call fcn.007a83e3
call dword [0x884ea4]
push 0x33
add eax, 0x1388
push 0x401
push dword [esi + 4]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 8]
push eax
call dword [0x884ec4]
cmp eax, 0xffffffff
je 0x46957d
mov eax, dword [esi + 8]
push 0x10
push dword [ebp + 8]
push eax
call dword [0x884ee4]
cmp eax, 0xffffffff
jne 0x46957d
call dword [0x884ed8]
cmp eax, 0x2733
je 0x469586
push 0
mov ecx, esi
call fcn.0046958b
pop esi
pop ebp
ret 4