joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426d00
Capabilities:
List user account groups

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
mov dword [eax + 8], 0
test edi, edi
je 0x426d4c
add esi, 4
jmp 0x426d36
add esi, 0x10
dec edi
je 0x426d4c
mov eax, dword [esi - 4]
test eax, eax
je 0x426d30
push 1
push eax
push dword [esi]
call fcn.0040d1e0
add esp, 0xc
jmp 0x426d30
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x38], 0
nop word cs:[eax + eax]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
push 0
push 0
call sub.netapi32.dll_NetGroupEnum
test eax, eax
je 0x426d9f
cmp eax, 0xea
jne 0x426f20
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
test edi, edi
je 0x426f06
shl edi, 2
mov dword [ebp - 0x28], eax
jmp 0x426dcc
add esi, 4
add edi, 0xfffffffc
je 0x426f00
mov eax, dword [esi]
test eax, eax
je 0x426dc0
mov dword [ebp - 0x14], 0
push ebx
push 3
push eax
push 0
call sub.netapi32.dll_NetGroupGetInfo
test eax, eax
jne 0x426ec0
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
call fcn.00412850
add esp, 8
mov eax, dword [ebp - 0x58]
cmp eax, 0x80000000
je 0x426ec0
mov ecx, dword [esi]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
test ecx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], ecx
je 0x426ed6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004416f0
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov ebx, 1
mov eax, 0
cmp ecx, 0x80000000
cmove edx, ebx
cmove ecx, eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], ecx
cmove edx, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 8]
cmp ebx, dword [edx]
jne 0x426e73
push edx
call fcn.00424230
mov edx, dword [ebp + 8]
add esp, 4
mov eax, ebx
mov dword [ebp - 0x30], ebx
mov ecx, dword [edx + 4]
mov ebx, dword [ebp - 0x20]
shl eax, 4
mov dword [ecx + eax], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + eax + 4], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ecx + eax + 8], ebx
mov dword [ecx + eax + 0xc], 0
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x14]
inc eax
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x426ec0
push 1
push eax
push dword [ebp - 0x2c]
call fcn.0040d1e0
add esp, 0xc
nop dword [eax]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x426dc0
push eax
call sub.netapi32.dll_NetApiBufferFree
jmp 0x426dc0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 8]
cmp ebx, dword [edx]
je 0x426e67
jmp 0x426e73
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
cmp eax, 0xea
jne 0x426f23
test esi, esi
je 0x426d60
push esi
call sub.netapi32.dll_NetApiBufferFree
jmp 0x426d60
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x426f2d
push esi
call sub.netapi32.dll_NetApiBufferFree
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44a270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
xor edi, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0044c550
add esp, 0xc
mfence
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [esi + 0xb8]
test eax, 0x10000
jne 0x44a2cc
mov ecx, eax
or ecx, 0x10000
lock cmpxchg dword [esi + 0xb8], ecx
jne 0x44a2a0
mov eax, ecx
and eax, 0xff
jne 0x44a2d7
pop esi
pop edi
pop ebp
ret
mov ecx, eax
mov eax, ecx
and eax, 0xff
je 0x44a2c8
cmp edi, 1
ja 0x44a2e3
movzx ecx, ch
cmp ecx, eax
jne 0x44a2c8
add esi, 0xac
push 1
push esi
call fcn.0044f070
add esp, 8
pop esi
pop edi
pop ebp
ret
Function at 0x44cc10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x44cc99
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x44cc91
je 0x44cc46
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44cc4a
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x44cc4c
mov edi, dword [eax + 4]
jmp 0x44cc4c
xor eax, eax
jmp 0x44cc91
xor edi, edi
mov eax, dword [0x55bd94]
movzx eax, byte [eax]
push 4
push 8
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x44ccb5
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x44cc8e
push 4
push 8
push edi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.004addb0
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x44cc2c
jmp 0x44cc91
push 8
push 4
call fcn.004d0a10
nop

Function at 0x44ccc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x44cd7f
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x44cd77
je 0x44cd75
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44ccff
mov edi, dword [eax + 4]
cmp dword [eax], 0
mov dword [eax], 0
jne 0x44cd0f
call fcn.00452cc0
push eax
call fcn.00450e40
add esp, 4
mov edi, eax
mov eax, dword [0x55bd94]
movzx eax, byte [eax]
push 4
push 8
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x44cda6
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x44cd70
mov eax, dword [edi]
mov ecx, dword [eax + 0x410]
lea edx, [ecx - 1]
mov dword [eax + 0x410], edx
cmp dword [eax + 0x40c], 0
jne 0x44cd63
cmp ecx, 1
je 0x44cd9b
push 4
push 8
push edi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x44cd77
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.004addb0
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x44cce4
jmp 0x44cd77
push eax
call fcn.00451960
add esp, 4
jmp 0x44cd63
push 8
push 4
call fcn.004d0a10
nop
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x18
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0
lea edi, [ebp - 0x20]
push edx
push edi
push ecx
push eax
call fcn.0044cea0
add esp, 0x10
movsd xmm0, qword [ebp - 0x10]
movsd xmm2, qword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x18]
mov eax, esi
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm2
add esp, 0x18
pop esi
pop edi
pop ebp
ret
Function at 0x456090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
vmovdqa ymm0, ymmword [edx]
vpslld ymm0, ymm0, 2
vmovdqa ymmword [ecx], ymm0
pop ebp
vzeroupper
ret

Function at 0x4560b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
vmovdqa ymm0, ymmword [edx]
vpsrld ymm0, ymm0, 0x1a
vmovdqa ymmword [ecx], ymm0
pop ebp
vzeroupper
ret

Function at 0x4560d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
vmovdqa ymm0, ymmword [edx]
vpsrlq ymm0, ymm0, 0x20
vmovdqa ymmword [ecx], ymm0
pop ebp
vzeroupper
ret

Function at 0x4560f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
vmovaps ymm0, ymmword [edx]
vblendps ymm0, ymm0, ymmword [eax], 0xe0
vmovaps ymmword [ecx], ymm0
pop ebp
vzeroupper
ret

Function at 0x456190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
vpermpd ymm0, ymmword [edx], 0x93
vmovaps ymmword [ecx], ymm0
pop ebp
vzeroupper
ret

Function at 0x456210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
vbroadcastf128 ymm0, xmmword [edx]
vmovaps ymmword [ecx], ymm0
pop ebp
vzeroupper
ret

Function at 0x456230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
vmovaps ymm0, ymmword [eax]
vpermps ymm0, ymm0, ymmword [edx]
vmovaps ymmword [ecx], ymm0
pop ebp
vzeroupper
ret
Function at 0x456250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
movaps xmm0, xmmword [0x53e7e0]
mov dword [esp + 0x5c], 2
mov dword [esp + 0x44], 0x53ec74
mov dword [esp + 0x48], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov edi, dword [esi + 8]
movups xmmword [esp + 0x64], xmm0
movaps xmm0, xmmword [0x53e7f0]
mov dword [esp + 0x74], 8
mov byte [esp + 0x78], 3
mov dword [esp + 0x7c], 2
mov ebx, ecx
shl ecx, 0x1a
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x94], 8
mov byte [esp + 0x98], 3
shr ebx, 6
mov eax, ecx
add eax, edx
mov eax, ebx
adc eax, 0
mov eax, edi
setb byte [esp + 7]
shr eax, 0xc
shl edi, 0x14
add ecx, edx
movzx edx, byte [esp + 7]
adc edi, ebx
mov ebx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
adc edx, eax
mov eax, ebx
setb byte [esp + 7]
shl ebx, 0xe
shr eax, 0x12
add ebx, edx
movzx edx, byte [esp + 7]
mov dword [esp + 0x18], ebx
adc eax, edx
mov edx, esi
shr esi, 0x18
shl edx, 8
add edx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0x4ebf50
adc esi, 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], 0x4ebf50
mov dword [esp + 0x54], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x58], 2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x50], 2
push eax
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.004df7c0
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x459360
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x459516
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x45950e
je 0x45950c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4593a6
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
jne 0x4594a8
xorps xmm0, xmm0
lea edi, [esp + 0x30]
lea ebx, [esp + 0x18]
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
push 0x20
push edi
push ebx
call fcn.0045f020
add esp, 0xc
test eax, eax
jne 0x45953b
movups xmm0, xmmword [esp + 0x30]
movups xmm1, xmmword [esp + 0x40]
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x50], xmm1
push 4
push 0x53edbc
call fcn.0045ab60
add esp, 8
mov dword [esp + 0xc], eax
lea eax, [0x53edc0]
push 4
push eax
call fcn.0045ab60
add esp, 8
mov ebx, eax
mov eax, dword [0x55bd94]
movzx eax, byte [eax]
push 8
push 0x158
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x459582
mov edi, eax
mov dword [eax], 1
mov dword [eax + 4], 1
add eax, 8
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
movaps xmm0, xmmword [esp + 0x20]
movaps xmm2, xmmword [esp + 0x50]
mov eax, dword [esp + 0xc]
movaps xmm1, xmmword [0x53eeb0]
mov dword [edi + 0x108], 0x40
movups xmmword [edi + 0x110], xmm0
movups xmmword [edi + 0x120], xmm2
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], eax
mov dword [edi + 0x13c], ebx
movups xmmword [edi + 0x140], xmm1
mov dword [edi + 0x150], 0
mov eax, dword [0x55bd94]
movzx eax, byte [eax]
push 4
push 8
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x459532
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [esp + 0x20], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x459506
mov eax, dword [edi]
dec dword [eax]
jne 0x4594f9
dec dword [eax + 4]
jne 0x4594f9
push 8
push 0x158
push eax
call fcn.0040d1e0
add esp, 0xc
push 4
push 8
push edi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [esp + 0x20]
jmp 0x45950e
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.004addb0
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x459389
jmp 0x45950e
push 8
push 4
call fcn.004d0a10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 0x53efc0
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x45ecd0
push 0x53f034
push edi
call fcn.004dc2b0
push 0x158
push 8
call fcn.004d0a10
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x14]
jne 0x4595b4
shl eax, 2
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x45f4c0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
je 0x45f4fb
push 2
push ebx
push dword [ebp + 8]
push 0
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x45f4fb
mov edi, eax
push ebx
push dword [ebp + 8]
call sub.advapi32.dll_SystemFunction036
and edi, 0x7fffffff
xor esi, esi
test al, al
cmove esi, edi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x475600
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x420
call fcn.00475614
Function at 0x482f00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x482f34
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x482f44
mov eax, dword [0x543780]
mov ecx, dword [0x543784]
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, esi
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x484370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x428
mov esi, 0x200
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 2
cmp esi, 0x201
jae 0x4843d0
jmp 0x4843be
jbe 0x484440
cmp esi, 0x201
jae 0x4843d0
mov dword [ebp - 0x20], 0x200
lea edi, [ebp - 0x434]
mov ebx, esi
jmp 0x4843fa
mov ebx, dword [ebp - 0x24]
sub esi, ebx
je 0x4843ee
mov edx, ebx
lea ecx, [ebp - 0x18]
push esi
call fcn.0046f8c0
add esp, 4
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
push 0
call sub.kernel32.dll_SetLastError
push edi
push ebx
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
test eax, eax
jne 0x484417
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x484490
cmp esi, ebx
jne 0x4843b0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4844ae
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4843be
jmp 0x4843d0
mov eax, dword [ebp - 0x20]
cmp esi, eax
ja 0x4844c4
lea eax, [ebp - 0x34]
push esi
push edi
push eax
call fcn.00491170
add esp, 0xc
movsd xmm0, qword [ebp - 0x34]
mov eax, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x484482
add eax, eax
push 2
push eax
push dword [ebp - 0x14]
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp + 8]
add esp, 0x428
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.kernel32.dll_GetLastError
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 0x80000000
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x484472
jmp 0x484482
push 0x5438b0
push 0x28
push str.internal_error:_entered_unreachable_codel
call fcn.004dc340
add esp, 0xc
jmp 0x4844d3
push 0x5438a0
push eax
push esi
call fcn.004e1cd0
add esp, 0xc
ud2
Function at 0x4921e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov edi, edx
call fcn.00491c50
mov ecx, dword [edi + 4]
cmp eax, ecx
ja 0x4922fb
mov edx, dword [edi]
mov ebx, edx
lea esi, [edx + eax]
movzx edx, byte [edi + 8]
mov edi, eax
sub edi, ecx
mov byte [ebp - 0xd], dl
jne 0x492227
mov ebx, dword [ebp - 0x14]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x4922a3
jmp 0x492281
cmp dl, 3
mov dword [ebp - 0x18], esi
jae 0x49224f
mov edx, ebx
lea esi, [ecx + ebx - 1]
mov ebx, dword [ebp - 0x14]
mov edi, eax
sub edi, ecx
nop dword [eax]
cmp byte [esi], 0x5c
je 0x4922e5
dec esi
inc edi
jne 0x492240
jmp 0x492274
mov edx, ebx
lea esi, [ecx + ebx - 1]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
cmp ebx, 0x2f
je 0x492285
cmp ebx, 0x5c
je 0x492285
dec esi
inc edi
jne 0x492260
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x4922a3
mov al, 0xa
jmp 0x4922d0
mov ebx, dword [ebp - 0x14]
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
ja 0x4922ef
add edx, eax
mov edi, 1
mov esi, edx
movzx edx, byte [ebp - 0xd]
sub ecx, eax
je 0x492281
mov al, 9
cmp ecx, 2
je 0x4922c2
cmp ecx, 1
jne 0x4922d0
cmp byte [esi], 0x2e
jne 0x4922d0
xor eax, eax
cmp dl, 3
setae al
lea eax, [eax + eax*2 + 7]
jmp 0x4922d0
cmp byte [esi], 0x2e
jne 0x4922d0
cmp byte [esi + 1], 0x2e
sete al
xor al, 9
add edi, ecx
mov dword [ebx], edi
mov byte [ebx + 4], al
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
jbe 0x492292
push 0x541ad8
push ecx
push eax
call fcn.004e1c70
push 0x541ac8
push ecx
push eax
call fcn.004e1c70
nop word [eax + eax]
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x1c]
push 4
push str.Iter
push dword [ebp + 0xc]
push esi
call fcn.004e0660
add esp, 0x10
push edi
call fcn.00491da0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x10]
push 0x541b0c
push eax
push esi
call fcn.004dcd40
add esp, 0xc
push eax
call fcn.004dce40
add esp, 0x18
pop esi
pop edi
pop ebp
ret
Function at 0x497bf0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.004d1270
add esp, 0xc
mov eax, dword [ebp - 0x20]
cmp eax, 0x80000000
jne 0x497c67
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x497c93
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x497cb3
jmp 0x497cbf
mov ecx, dword [0x542060]
mov edx, dword [0x542064]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x497cbf
push 1
push eax
push dword [ebp - 0x1c]
call fcn.0040d1e0
add esp, 0x40
jmp 0x497cc2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x497cbf
push 1
push ebx
push edi
call fcn.0040d1e0
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4986d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1024
call fcn.004f25f0
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x1030]
push 0x1000
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push 0x4a2a70
push eax
push 0x1000
push ebx
mov dword [ebp - 0x10], edi
push edi
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x4987f5
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x49872e
cmp dword [ebp - 0x18], 0
jne 0x4987fc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4987fc
cmp ebx, 0x1000
ja 0x498826
xor edi, edi
mov eax, ebx
sub eax, edi
jb 0x498815
xorps xmm0, xmm0
lea edx, [ebp - 0x1c]
lea ecx, [ebp + edi - 0x1030]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], edx
push 0x4a2a70
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
push esi
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x4987f7
nop word [eax + eax]
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x4987a0
cmp dword [ebp - 0x18], 0
jne 0x4987fc
add edi, dword [ebp - 0x14]
cmp edi, ebx
jne 0x498760
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
push 0x4a2a70
lea eax, [ebp - 0x30]
push eax
push 0x1000
lea eax, [ebp - 0x1030]
push eax
push dword [ebp - 0x10]
call sub.kernel32.dll_ReadFileEx
test eax, eax
jne 0x49872e
jmp 0x4987f7
call sub.kernel32.dll_GetLastError
push dword [ebp - 0x10]
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_CloseHandle
add esp, 0x1024
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x54322c
push ebx
push edi
call fcn.004e1d30
add esp, 0xc
jmp 0x498839
push 0x54322c
push 0x1000
push ebx
call fcn.004e1cd0
add esp, 0xc
ud2