joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449810
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00449960
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x449830
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x449811
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00449960
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x449830
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x449860
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4498b7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4498cd
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004498f0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4498f0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x449980
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4499c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x449e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004499f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00449a70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00449a70
lea ecx, [esi + 0xc]
call fcn.0045e0a6
lea ecx, [esi + 0x10]
call fcn.0045e0a6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044c2a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044c2a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044c2a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045e11b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045e11b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44aae8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c6b8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44aaf8
call fcn.0044b010
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44abdb
cmp byte [edi], 0
je 0x44abdb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44ab1d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00449810
test eax, eax
jne 0x44ab3d
push 0x494458
lea ecx, [esi + 0x38]
call fcn.0045e258
jmp 0x44abdb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00449860
test eax, eax
jne 0x44ab6c
mov ecx, esi
call fcn.00449960
push edi
add esi, 0x38
push 0x494434
push esi
call fcn.0045c0b7
add esp, 0xc
jmp 0x44abdb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044b890
test eax, eax
je 0x44abd4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044acb0
test eax, eax
jne 0x44abf0
push edi
lea eax, [esi + 0x38]
push 0x494410
push eax
call fcn.0045c0b7
add esp, 0xc
mov ecx, esi
call fcn.0044b010
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44ac98
mov ecx, dword [0x4946c8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045c0b7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00449910
test eax, eax
jne 0x44ac5a
push 0x4943f4
lea ecx, [esi + 0x38]
call fcn.0045e258
jmp 0x44ac6a
push 0xfa
mov ecx, esi
call fcn.0044b890
test eax, eax
jne 0x44ac87
mov ecx, esi
call fcn.0044b010
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045e11b
jmp 0x44abdb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045e11b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4604bf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4604f7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e576
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e54e
jmp 0x460503
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461bad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461bef
call fcn.0046772e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461bef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461be6
xor eax, eax
jmp 0x461bf7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461bfd
pop edi
pop esi
pop ebx
ret 4

Function at 0x467c5e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x467c8c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467caa
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467bc4
jmp 0x467caa
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467caa
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467bc4
test edi, edi
mov eax, edi
jne 0x467c94
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66b4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x19
push 0x6a6060
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00417c40
lea eax, [esp + 4]
push eax
push 6
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004182c0
cmp dword [esp + 0x1c], 0x10
jb 0x401c72
mov ecx, dword [esp + 8]
push ecx
call fcn.00611358
add esp, 4
mov eax, esi
mov dword [esi], 0x6b1664
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x401c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66b4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x32
push 0x6a607c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00417c40
lea eax, [esp + 4]
push eax
push 6
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004182c0
cmp dword [esp + 0x1c], 0x10
jb 0x401d02
mov ecx, dword [esp + 8]
push ecx
call fcn.00611358
add esp, 4
mov eax, esi
mov dword [esi], 0x6b1670
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x402b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66b36b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea edi, [esi + 0xc]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov bl, byte [esp + 0x30]
mov dword [esp + 0x20], 1
cmp bl, al
je 0x402b7a
mov ebp, dword [esp + 0x2c]
push ebp
mov ecx, edi
call fcn.004141e0
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
push ebp
push eax
push ecx
push edx
call fcn.00611f6f
add esp, 0x10
jmp 0x402b88
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov eax, esi
mov byte [esi], bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x410160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66cc80
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x705e7c]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x6929b4
mov dword [esp + 0x14], 0x6929a4
call fcn.004101f0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.006117ae
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412500
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x66d361
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.0040f570
mov ebx, 1
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.0040f570
mov eax, dword [esp + 0x3c]
push eax
push esi
mov ecx, edi
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.004121f0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
add esp, 8
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x41258b
call fcn.0063ce73
jmp 0x412590
call fcn.0061669e
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8

Function at 0x4125b0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x66d321
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.0040f570
mov dword [esp + 0x30], ebx
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.0040f570
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x38], ebx
call fcn.004121f0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ecx, edx
add edx, edx
add esp, 8
xor eax, eax
add edx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
push ebx
cmp edx, 0x10
jb 0x41263e
call fcn.0063ce73
jmp 0x412643
call fcn.0061669e
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8

Function at 0x414e30
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x66c530
mov eax, dword fs:[0]
push eax
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x48], 0x10
mov byte [ecx + 0x41], dl
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
Function at 0x4152e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66bc41
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x6b20f8
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00415d20
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.0042e3d0
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 1
test ecx, ecx
je 0x41536a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x4157e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66c2a1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x6b20f8
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push 1
push eax
push 0x6b14f0
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.00415eb0
push eax
mov ecx, esi
call fcn.0042e3d0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x415868
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x415880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66c258
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 0x7096b8
push edx
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040f650
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov edx, ecx
add edx, edx
mov ebx, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push ebx
cmp edx, 0x10
jb 0x4158f0
call fcn.0063ce73
jmp 0x4158f5
call fcn.0061669e
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret 0x18
Function at 0x4177b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66b4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x10
push 0x6b19f4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00417c40
lea eax, [esp + 4]
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004182c0
cmp dword [esp + 0x1c], 0x10
mov dword [esi], 0x68cbf8
jb 0x417828
mov ecx, dword [esp + 8]
push ecx
call fcn.00611358
add esp, 4
mov eax, esi
mov dword [esi], 0x6b1a54
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x419c90
Capabilities:
Encrypt data using camellia

Disassembly:
push 0xffffffffffffffff
push 0x66b1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x705e7c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp eax, ebx
jne 0x419cf4
push 1
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x6b1cac
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00417c40
jmp 0x419dfc
cmp eax, ebx
mov byte [esp + 0x17], bl
jge 0x419d03
mov byte [esp + 0x17], 1
neg eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp eax, ebx
mov dword [esp + 0x60], ebx
jle 0x419d82
jmp 0x419d20
xor edx, edx
mov ecx, 0xa
div ecx
lea esi, [esp + 0x1c]
mov edi, eax
cmp edx, ecx
setge al
dec al
and al, 0xd9
add al, 0x57
add al, dl
movzx ecx, al
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041a040
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 1
call fcn.00418140
mov esi, 0x10
mov byte [esp + 0x60], bl
cmp dword [esp + 0x34], esi
jb 0x419d7a
mov edx, dword [esp + 0x20]
push edx
call fcn.00611358
add esp, 4
mov eax, edi
cmp eax, ebx
jg 0x419d20
jmp 0x419d87
mov esi, 0x10
cmp byte [esp + 0x17], bl
je 0x419dcd
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push 0x6b1cb0
push ecx
call fcn.00417680
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.00418140
mov byte [esp + 0x60], bl
cmp dword [esp + 0x34], esi
jb 0x419dcd
mov edx, dword [esp + 0x20]
push edx
call fcn.00611358
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x40]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00418140
cmp dword [esp + 0x50], esi
jb 0x419dfc
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00611358
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.006117ae
add esp, 0x50
ret
Function at 0x41a390
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ecx, edi
shr ecx, 2
xor ebx, ebx
test ecx, ecx
jbe 0x41a3c2
mov eax, edx
sub esi, edx
mov ebx, ecx
push ebp
jmp 0x41a3b0
mov ebp, dword [esi + eax]
xor dword [eax], ebp
add eax, 4
sub ecx, 1
jne 0x41a3b0
mov esi, dword [esp + 0x14]
pop ebp
lea eax, [ebx*4]
sub edi, eax
je 0x41a3eb
add edx, eax
add esi, eax
test edi, edi
jbe 0x41a3eb
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
lea ecx, [ecx]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x41a3e0
pop edi
pop esi
pop ebx
ret

Function at 0x41a3f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
jbe 0x41a436
mov edi, ebx
sub esi, edx
mov eax, edx
sub edi, edx
mov dword [esp + 0xc], ecx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
sub ecx, 1
mov dword [edi + eax - 4], ebp
jne 0x41a418
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x41a461
add ebx, eax
add esi, eax
add edx, eax
test edi, edi
jbe 0x41a461
mov ecx, esi
mov esi, ebx
sub ecx, edx
mov eax, edx
sub esi, edx
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
sub edi, 1
mov byte [eax + esi - 1], dl
jne 0x41a452
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41aab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66d020
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x30]
push ebp
mov dword [esp + 0x18], ebp
call fcn.00414ec0
add esp, 4
test ebp, ebp
jne 0x41aaf1
xor esi, esi
jmp 0x41aafc
push ebp
call fcn.0041a590
add esp, 4
mov esi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0x6b1d4c
push ebp
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 3
call fcn.0041aa10
mov byte [esp + 0x24], 0
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ebp
push esi
mov ecx, edi
call edx
xor al, al
mov edi, esi
mov ecx, ebp
push esi
rep stosb byte es:[edi], al
call fcn.0061669e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 8
Function at 0x41d710
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [eax + 0x8c]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x6aadd0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6aafd0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6ab1d0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x6ab3d0]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + str.NXbN]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6ab0d0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6ab2d0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x6ab4d0]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x6aadd0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6aafd0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6ab1d0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x6ab3d0]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + str.NXbN]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6ab0d0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x6ab2d0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x6ab4d0]
xor esi, ebx
sub edi, 1
jne 0x41d732
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x41fe50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66c0a6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], 0x68cf78
call fcn.0040f570
xor eax, eax
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
call fcn.0040f570
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00420ea0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret