joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ee0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x24], 9
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x404f5e
cmp dword [ebp - 8], 0
jne 0x404f51
mov dword [ebp - 0x10], 1
jmp 0x404f58
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0
je 0x404fa5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0
je 0x404f90
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x404f9a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
jmp 0x404f42
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x404fbd
mov dword [ebp - 0x1c], 1
jmp 0x404fc4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x405680
Capabilities:
Delete file
Delete registry key
Persist via run registry key
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [0x407a88]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov ecx, dword [0x407a84]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov edx, dword [0x407a80]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4071d0]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SoftwareResilience_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str..DEFAULTSOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x407620
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404d30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 0x46ace0
push esi
mov dword [esp + 0x10], esi
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x404d8f
mov ecx, dword [esp + 4]
push edi
push str.VirtualAllocExNuma
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x14]
push esi
push 0x40
push 0x3000
push edi
push esi
mov dword [0x484a0c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x484a0c]
mov edx, dword [esp + 0x10]
push edi
mov esi, eax
push edx
push esi
call fcn.0043aa70
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x404ee0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov dl, byte [eax + 1]
push ebx
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jle 0x404f9c
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
movzx edi, cl
movzx ebp, dl
lea eax, [edi + 1]
cdq
mov ecx, 0x3dc
idiv ecx
movzx edi, dl
mov byte [esp + 0x12], dl
mov edx, dword [0x484a14]
movzx eax, byte [edi + edx]
lea ecx, [edi + edx]
add eax, ebp
cdq
mov ebp, 0x3dc
idiv ebp
mov eax, dword [0x484a14]
movzx ebp, dl
add eax, ebp
mov byte [esp + 0x13], dl
call fcn.00404d20
mov ecx, dword [0x484a14]
movzx eax, byte [ecx + ebp]
movzx ecx, byte [edi + ecx]
add eax, ecx
cdq
mov ecx, 0x3dc
idiv ecx
mov byte [esp + 0x11], dl
call esi
call esi
call esi
call esi
call esi
call esi
movzx edx, byte [esp + 0x11]
mov eax, dword [0x484a14]
mov cl, byte [edx + eax]
mov eax, dword [esp + 0x18]
xor byte [ebx + eax], cl
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x404f06
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
pop ecx
ret
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebx
pop ecx
ret

Function at 0x405700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405719
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405754
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405750
lea ebx, [ebx]
cmp esi, eax
jae 0x405754
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405740
cmp esi, eax
jb 0x40575a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4059d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.004174e8
Function at 0x4235bc
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x46850e
call fcn.0043beea
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00410462
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x42361e
call fcn.004110a0
cmp eax, 1
jne 0x42361e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004160fb
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416054
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004057d0
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004057d0
mov eax, esi
call fcn.0043bfc2
ret 0x14

Function at 0x42364a
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x468539
call fcn.0043beea
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00410462
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4236ac
call fcn.004110a0
cmp eax, 1
jne 0x4236ac
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004160fb
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416054
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004057d0
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004057d0
mov eax, esi
call fcn.0043bfc2
ret 8

Function at 0x43a84f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x483658]
jne 0x43a859
repz ret
jmp fcn.00442138
Function at 0x4562c2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004422d2
and dword [ebp - 4], 0
cmp dword [0x4873e8], 0
mov ebx, eax
jne 0x456373
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x456424
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x472fa8
push edi
call esi
test eax, eax
je 0x456424
push eax
call fcn.00442260
mov dword [esp], 0x472f98
push edi
mov dword [0x4873e8], eax
call esi
push eax
call fcn.00442260
mov dword [esp], 0x472f84
push edi
mov dword [0x4873ec], eax
call esi
push eax
call fcn.00442260
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4873f0], eax
call esi
push eax
call fcn.00442260
pop ecx
mov dword [0x4873f8], eax
test eax, eax
je 0x456373
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442260
pop ecx
mov dword [0x4873f4], eax
mov eax, dword [0x4873f4]
cmp eax, ebx
je 0x4563cb
cmp dword [0x4873f8], ebx
je 0x4563cb
push eax
call fcn.004422db
push dword [0x4873f8]
mov esi, eax
call fcn.004422db
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4563cb
test edi, edi
je 0x4563cb
call esi
test eax, eax
je 0x4563c2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4563c2
test byte [ebp - 0xc], 1
jne 0x4563cb
or dword [ebp + 0x10], 0x200000
jmp 0x456404
mov eax, dword [0x4873ec]
cmp eax, ebx
je 0x456404
push eax
call fcn.004422db
pop ecx
test eax, eax
je 0x456404
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x456404
mov eax, dword [0x4873f0]
cmp eax, ebx
je 0x456404
push eax
call fcn.004422db
pop ecx
test eax, eax
je 0x456404
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4873e8]
call fcn.004422db
pop ecx
test eax, eax
je 0x456424
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x456426
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x30d20a9a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x511f5e4f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x46717a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x4671890
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4671890
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x46717ea
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x46717f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x46717d0
jmp 0x46717f3
mov esi, 0x1505
jmp 0x46717f3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
mov edx, ebx
sub edx, 1
jb 0x4671890
mov ecx, esi
not ecx
or edx, ecx
mov ecx, ebx
not ecx
and ecx, 1
mov eax, ebx
and eax, 0xfffffffe
sub eax, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
lea ebp, [esi + edx]
inc ebp
jmp 0x4671834
inc ebp
dec ebx
je 0x467188e
mov eax, ebp
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x467188e
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4671830
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
push eax
call fcn.046783e0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4671830
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.04678400
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4671830
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4671890
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4672670
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4672826
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, ecx
not eax
or eax, 0xffff
lea edi, [ecx + eax]
inc edi
shr ecx, 0x10
test esi, esi
je 0x467281f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x4672706
mov eax, dword [esp + 4]
sub eax, dword [esp]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ecx
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, edi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub ecx, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
sub esi, dword [esp + 4]
mov ebx, 0x15b0
je 0x467281f
xor edx, edx
cmp ebx, 8
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
jb 0x4672788
and ebx, 0x1ff8
mov dword [esp], ebx
xor eax, eax
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
mov eax, ecx
and eax, esi
xor ecx, esi
movzx ebx, byte [ebp + edx + 6]
add ebx, esi
movzx edi, byte [ebp + edx + 7]
add edi, ebx
add ebx, ecx
lea ecx, [ebx + eax*2]
mov ebx, dword [esp + 4]
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, ebx
jb 0x4672720
add ebp, eax
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov eax, edx
sub eax, ebx
jae 0x46726cd
mov dword [esp + 0xc], eax
mov eax, ebx
and eax, 3
mov dword [esp], edx
je 0x46727cf
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x46727b0
mov eax, dword [esp]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x46726c0
jmp 0x46727de
mov eax, edx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x46726c0
mov ebx, dword [esp + 4]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x46727f0
jmp 0x46726c0
shl ecx, 0x10
add ecx, edi
jmp 0x467282b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4678160
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0x46781cc
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x46781ae
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x46781b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 2
mov ebp, ebx
or ebx, 2
imul ebx, edx
xor edx, 2
and ebp, 0xfffffffd
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x4678190
jmp 0x46781b0
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x46781ca
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x46781cc
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x46b6af4], eax
mov ecx, 1
nop
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ecx*4 + 0x46b6af4], eax
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 0x270
jb 0x4678a40
mov dword [0x46b6af0], 0x270
ret

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

Disassembly:
push esi
mov eax, dword [0x46b6af0]
cmp eax, 0x270
jne 0x4678adf
mov eax, 0xfffff640
mov ecx, dword [0x46b6af4]
nop
nop
nop
nop
nop
nop
nop
nop
and ecx, 0x80000000
mov edx, dword [eax + 0x46b74b8]
mov esi, edx
and esi, 0x7ffffffe
or esi, ecx
mov ecx, edx
and edx, 1
neg edx
shr esi, 1
xor esi, dword [eax + 0x46b7ae8]
and edx, 0x9908b0df
xor esi, edx
mov dword [eax + 0x46b7e74], esi
add eax, 4
jne 0x4678aa0
mov eax, 0x270
jmp 0x4678af5
cmp eax, 0x4e0
jb 0x4678af5
mov ecx, 0x46b6af0
call fcn.04678ed0
mov eax, dword [0x46b6af0]
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
mov dword [0x46b6af0], ecx
mov eax, dword [eax*4 + 0x46b6af4]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x46b7e74]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x4678ed0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x4678ee0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x4678f30
mov edx, SysReAllocString
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7ffffffe
or esi, edx
shr esi, 1
and eax, 1
neg eax
and eax, 0x9908b0df
lea edx, [esi + eax]
and eax, esi
add eax, eax
sub edx, eax
xor edx, dword [ecx + 0x634]
mov dword [ecx + 0x9c0], edx
mov dword [ecx], 0
pop esi
pop edi
ret
Function at 0x4679f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x220
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esp + 0x1a0], 0x3020900
mov dword [esp + 0x1a4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x1a0]
mov edx, eax
or edx, 0x40
mov esi, 0x65553bf
sub esi, eax
xor edx, esi
and edx, ecx
xor edx, esi
mov esi, 0x30aa77dc
sub esi, edx
mov ecx, esi
and ecx, 0x62
add ecx, ecx
xor esi, 0x1d
sub ecx, esi
mov byte [esp + eax + 0x1a0], cl
mov ecx, eax
not ecx
or ecx, 1
add ecx, eax
inc ecx
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffffffd
imul esi, edx
add ecx, esi
mov edx, ecx
and edx, eax
or ecx, eax
xor ecx, 1
add ecx, edx
mov eax, ecx
cmp ecx, 8
jb 0x4679f90
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x10], 0x99679b65
mov dword [esp + 0x14], 0xa547a7a6
mov dword [esp + 0x18], 0xa19ca399
mov dword [esp + 0x1c], 0xad42af92
mov dword [esp + 0x20], 0xa95eab58
mov word [esp + 0x24], 0xb7a8
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov eax, dword [0x46b1920]
mov ecx, 0xa8a91492
xor ecx, dword [0x46b1928]
add eax, ecx
inc eax
xor ecx, ecx
jmp eax
Function at 0x467bb10
Capabilities:
Encode data using xor
Initialize winhttp library

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x43c
mov ebp, dword [esp + 0x450]
mov dword [esp + 0x3c], 0xd96bdb17
mov dword [esp + 0x40], 0xdd61df56
mov dword [esp + 0x44], 0xd16ed360
mov dword [esp + 0x48], 0xd527d777
mov dword [esp + 0x4c], 0xa958ab1f
mov dword [esp + 0x50], 0xad4eaf58
mov dword [esp + 0x54], 0xa10ba354
mov dword [esp + 0x58], 0xa514a71f
mov dword [esp + 0x5c], 0xb90bbb00
mov dword [esp + 0x60], 0xbd0bbf31
mov dword [esp + 0x64], 0xb160b35c
mov dword [esp + 0x68], 0xb556b764
mov dword [esp + 0x6c], 0x897a8b43
mov dword [esp + 0x70], 0x8d7e8f7a
mov dword [esp + 0x74], 0x81628341
mov dword [esp + 0x78], 0x85398729
mov dword [esp + 0x7c], 0x99509b36
mov dword [esp + 0x80], 0x9d539f6c
mov dword [esp + 0x84], 0x911a937c
mov dword [esp + 0x88], 0x9562975a
mov dword [esp + 0x8c], 0x698a6b6b
mov dword [esp + 0x90], 0x6dde6faf
mov dword [esp + 0x94], 0x61de63dc
mov dword [esp + 0x98], 0x65cf67db
mov dword [esp + 0x9c], 0x79dc7bdf
mov dword [esp + 0xa0], 0x7dc17fa5
mov dword [esp + 0xa4], 0x718373c8
mov dword [esp + 0xa8], 0x758377bb
mov dword [esp + 0xac], 0x49b84bbd
mov dword [esp + 0xb0], 0x4d844fbd
mov dword [esp + 0xb4], 0x41ba43ac
mov dword [esp + 0xb8], 0x459e479d
mov dword [esp + 0xbc], 0x59895b90
mov dword [esp + 0xc0], 0x5da25f84
mov dword [esp + 0xc4], 0x51ee53bc
mov dword [esp + 0xc8], 0x55eb57ef
mov dword [esp + 0xcc], 0x29ca2bef
mov dword [esp + 0xd0], 0x2d952ff1
mov dword [esp + 0xd4], 0x219f2389
mov dword [esp + 0xd8], 0x25d92791
mov dword [esp + 0xdc], 0x39ff3bc4
mov dword [esp + 0xe0], 0x3d883f80
mov dword [esp + 0xe4], 0x3181338d
mov dword [esp + 0xe8], 0x35c7378b
mov dword [esp + 0xec], 0x9fd0bc3
mov dword [esp + 0xf0], 0xdfc0fc7
mov dword [esp + 0xf4], 0x1f003fc
mov dword [esp + 0xf8], 0x5f407f0
mov dword [esp + 0xfc], 0x19fa1bf4
mov dword [esp + 0x100], 0x1db91fcd
mov dword [esp + 0x104], 0x11b513a6
mov dword [esp + 0x108], 0x15a917a6
mov dword [esp + 0x10c], 0xe921ebe5
mov dword [esp + 0x110], 0xed27ef1d
mov dword [esp + 0x114], 0xe117e31e
mov dword [esp + 0x118], 0xe5e6e72a
mov dword [esp + 0x11c], 0
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea ecx, [esp + 0x3c]
xor edx, edx
xor esi, esi
nop
nop
mov edi, edx
and edi, 0xa2
mov ebx, esi
xor ebx, 0xae
sub ebx, edi
inc bl
xor bl, byte [ecx]
add bl, 0x95
mov byte [ecx], bl
inc ecx
dec esi
add edx, 0xfffffffe
cmp esi, 0xffffff1c
jne 0x467bd70
lea ecx, [esp + 0x3c]
push 0
push 0
push 0
push 0
push ecx
call eax
mov edi, eax
xor eax, eax
test edi, edi
setne al
mov eax, dword [eax*4 + 0x46b1d48]
mov ecx, 0xfc200c83
xor ecx, dword [0x46b1d50]
add eax, ecx
inc eax
jmp eax