joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
push 0x30
lea eax, [esp + 0x54]
mov dword [esp + 0x10], ecx
push 0
push eax
call fcn.1002cd70
xor eax, eax
mov dword [esp + 0x34], 1
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 2
call fcn.1000ab60
cmp dword [0x1011843c], 0
lea eax, [esp + 0x20]
je 0x1000d7bb
cdq
lea edi, [esp + 0x50]
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
jmp 0x1000d7eb
mov dword [esp + 0x30], 0x18
lea edi, [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov eax, dword [0x10118438]
test eax, eax
je 0x1000d810
mov ecx, dword [eax]
xor esi, esi
test ecx, ecx
je 0x1000d810
add eax, 4
nop
cmp dword [eax], 0x859aace8
je 0x1000d822
inc esi
add eax, 4
cmp esi, ecx
jb 0x1000d800
mov ecx, 0x307
call fcn.10006110
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1000d810
call fcn.1000ab60
cmp dword [0x1011843c], 0
lea eax, [esp + 0x10]
je 0x1000d861
cdq
push edx
push eax
push 0
push 2
push 0
push 0
mov eax, edi
cdq
push edx
push eax
mov eax, dword [esp + 0x2c]
push 0
push 0xc
cdq
push edx
push eax
push 6
push esi
call fcn.10001050
add esp, 0x38
jmp 0x1000d878
push eax
push 2
push 0
push edi
push 0xc
push dword [esp + 0x20]
push 6
push esi
call fcn.1002b060
add esp, 0x20
test eax, eax
js 0x1000d810
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10012010
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x200
cmp dword [esp + 0x208], 1
jne 0x100120f5
push ebx
push esi
push edi
push 0x100
lea eax, [esp + 0x110]
push 0
push eax
call fcn.1002cd70
lea eax, [esp + 0x118]
mov edx, 0x100
push eax
push 4
push 0x100fb530
mov ecx, 0x100fb534
call fcn.10007600
push 0x100
lea eax, [esp + 0x28]
push 0
push eax
call fcn.1002cd70
add esp, 0x24
xor esi, esi
xor eax, eax
mov byte [esp + eax + 0xc], al
inc eax
cmp eax, 0x100
jb 0x10012071
xor ebx, ebx
nop
mov dl, byte [esp + ebx + 0xc]
movzx eax, bl
movzx ecx, dl
movzx eax, byte [esp + eax + 0x10c]
add eax, esi
add ecx, eax
movzx esi, cl
mov al, byte [esp + esi + 0xc]
mov byte [esp + ebx + 0xc], al
inc ebx
mov byte [esp + esi + 0xc], dl
cmp ebx, 0x100
jb 0x10012080
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0xc]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0xc]
mov byte [esp + edi + 0xc], al
mov byte [esp + ebx + 0xc], cl
movzx eax, byte [esp + edi + 0xc]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0xc]
xor byte [esi + 0x10118570], al
inc esi
cmp esi, 0x100
jb 0x100120b4
pop edi
pop esi
pop ebx
add esp, 0x200
ret 0xc

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

Disassembly:
sub esp, 0x200
sub dword [esp + 0x208], 1
jne 0x10012285
push ebx
push esi
push edi
push 0x100
lea eax, [esp + 0x110]
push 0
push eax
call fcn.1002cd70
lea eax, [esp + 0x118]
mov edx, 0x100
push eax
push 4
push 0x100fb1c0
mov ecx, 0x100fb1c4
call fcn.10007600
push 0x100
lea eax, [esp + 0x28]
push 0
push eax
call fcn.1002cd70
add esp, 0x24
xor esi, esi
xor eax, eax
mov byte [esp + eax + 0xc], al
inc eax
cmp eax, 0x100
jb 0x10012201
xor ebx, ebx
nop
mov dl, byte [esp + ebx + 0xc]
movzx eax, bl
movzx ecx, dl
movzx eax, byte [esp + eax + 0x10c]
add eax, esi
add ecx, eax
movzx esi, cl
mov al, byte [esp + esi + 0xc]
mov byte [esp + ebx + 0xc], al
inc ebx
mov byte [esp + esi + 0xc], dl
cmp ebx, 0x100
jb 0x10012210
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0xc]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0xc]
mov byte [esp + edi + 0xc], al
mov byte [esp + ebx + 0xc], cl
movzx eax, byte [esp + edi + 0xc]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0xc]
xor byte [esi + 0x10118570], al
inc esi
cmp esi, 0x100
jb 0x10012244
pop edi
pop esi
pop ebx
mov eax, 1
add esp, 0x200
ret 0xc
Function at 0x100122a0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
push 0x100099b0
call fcn.100302cd
mov eax, dword [0x101186c4]
add esp, 4
test eax, eax
jne 0x10012356
mov dword [esp], eax
mov edx, 0xd
mov dword [esp + 4], eax
mov ecx, 0x10046244
mov dword [esp + 8], eax
mov byte [esp + 0xc], al
lea eax, [esp]
push eax
push 4
push 0x10046240
call fcn.10007600
mov eax, dword [0x101186bc]
add esp, 0xc
test eax, eax
jne 0x1001233d
mov dword [esp + 0x10], eax
mov edx, 0x1a
mov dword [esp + 0x14], eax
mov ecx, 0x100462a4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0x100462a0
call fcn.10007600
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x101186bc], eax
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101186c4], eax
test eax, eax
jne 0x10012356
call fcn.10005c70
push 0x8003
call eax
cmp dword [esp + 0x30], 0
je 0x1001236f
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10012380
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1002b082
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret

Function at 0x100348bc
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100421b8
push 0x100421b0
push str.FlsAlloc
push 0x1e
call fcn.100347da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100348f0
push dword [ebp + 8]
mov ecx, esi
call dword [0x10040140]
call esi
jmp 0x100348f6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003493a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100421c8
push 0x100421c0
push str.FlsGetValue
push 0x20
call fcn.100347da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10034971
push dword [ebp + 8]
mov ecx, esi
call dword [0x10040140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10037235
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100372d2
push ebx
push esi
call fcn.100371fe
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10037147
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003727f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100372d1
push edi
push eax
call fcn.10034ade
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003729f
call fcn.1003442f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100372d0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10037147
add esp, 0x20
test eax, eax
jne 0x100372be
push edi
call fcn.1003442f
jmp 0x100372c6
push ebx
call fcn.1003442f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0xd8a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd8a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd8a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8a06a
add dl, dl
jne 0xd8a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8a0dc
xor eax, eax
add dl, dl
jne 0xd8a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8a17d
add dl, dl
jne 0xd8a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd8a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd8a075
mov eax, 1
add dl, dl
jne 0xd8a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8a0e1
sub eax, ebx
mov ebx, 1
jne 0xd8a128
mov ecx, 1
add dl, dl
jne 0xd8a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd8a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd8a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd8a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd8a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8a136
cmp eax, 0x7d00
jae 0xd8a16d
cmp eax, 0x500
jb 0xd8a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd8a075
cmp eax, 0x7f
ja 0xd8a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd8a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd8a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd8a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401620
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x452448
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44b5f8
push eax
mov dword fs:[0], esp
sub esp, 0x908
cmp dword [0x870670], 0x5b1
push ebx
push esi
push edi
jne 0x4016f7
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x38]
call fcn.00401cb0
push 0
mov dword [ebp - 4], 0
call fcn.00403caf
add esp, 4
push 0
push 0
call fcn.00403951
add esp, 8
jmp 0x401610
mov eax, dword [0x870670]
add eax, 0x1134b
push eax
push 0
mov dword [0x870670], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x870670]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x86f5c4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401743
lea eax, [ebp - 0x514]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401730
mov ecx, dword [0x870670]
xor esi, esi
test ecx, ecx
jbe 0x4017b9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
jmp 0x401770
mov ecx, dword [0x870674]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x86f5c4]
mov byte [eax + esi], dl
mov ecx, dword [0x870670]
cmp ecx, 0xa8
jne 0x4017b4
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x114]
push edx
call ebx
mov ecx, dword [0x870670]
inc esi
cmp esi, ecx
jb 0x401770
xor eax, eax
jmp 0x4017c0
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x401868
inc eax
cmp eax, 0x39621
jl 0x4017c0
call fcn.00401530
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ed
call fcn.004015f0
inc esi
cmp esi, 0x6753f
jl 0x4017e1
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
nop
cmp dword [0x870670], 0x86
jne 0x40184c
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x914]
push edx
push str.tecibunezokahibapovowe
call esi
push 0
push str.henanuhasov_xun
push str.ekuposu_nujuf
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x401810
call fcn.00401280
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0x40460b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4507a8]
jne 0x404615
repz ret
jmp fcn.0040a07c
Function at 0x40cf7a
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.004052b6
and dword [ebp - 4], 0
cmp dword [0x452374], 0
mov ebx, eax
jne 0x40d02b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d0dc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d0dc
push eax
call fcn.00405244
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452374], eax
call esi
push eax
call fcn.00405244
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452378], eax
call esi
push eax
call fcn.00405244
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45237c], eax
call esi
push eax
call fcn.00405244
pop ecx
mov dword [0x452384], eax
test eax, eax
je 0x40d02b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405244
pop ecx
mov dword [0x452380], eax
mov eax, dword [0x452380]
cmp eax, ebx
je 0x40d083
cmp dword [0x452384], ebx
je 0x40d083
push eax
call fcn.004052bf
push dword [0x452384]
mov esi, eax
call fcn.004052bf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d083
test edi, edi
je 0x40d083
call esi
test eax, eax
je 0x40d07a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d07a
test byte [ebp - 0xc], 1
jne 0x40d083
or dword [ebp + 0x10], 0x200000
jmp 0x40d0bc
mov eax, dword [0x452378]
cmp eax, ebx
je 0x40d0bc
push eax
call fcn.004052bf
pop ecx
test eax, eax
je 0x40d0bc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d0bc
mov eax, dword [0x45237c]
cmp eax, ebx
je 0x40d0bc
push eax
call fcn.004052bf
pop ecx
test eax, eax
je 0x40d0bc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452374]
call fcn.004052bf
pop ecx
test eax, eax
je 0x40d0dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d0de
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
mov ecx, 0x6fb57a37
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1b53753b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1001dfc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
cmp word [edx + 0xc], 0xffff
movzx eax, byte [edx + 6]
je 0x1001dfea
mov eax, dword [esp + 0x14]
or word [eax], 2
movsd xmm0, qword [edx + 6]
movsd qword [eax + 0x10], xmm0
xor eax, eax
pop edi
pop esi
ret 0x10
sub eax, 0
je 0x1001e027
dec eax
je 0x1001e011
dec eax
jne 0x1001dfe3
mov esi, dword [esp + 0x14]
or word [esi], 8
movzx eax, byte [edx + 8]
push eax
call fcn.1001aaf0
mov dword [esi + 0x10], eax
xor eax, eax
pop edi
pop esi
ret 0x10
mov ecx, dword [esp + 0x14]
pop edi
pop esi
or word [ecx], 4
movzx eax, byte [edx + 8]
mov dword [ecx + 0x10], eax
xor eax, eax
ret 0x10
test byte [esp + 0x18], 1
je 0x1001dfe3
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001c5e0
test eax, eax
jne 0x1001dfe5
mov eax, dword [esp + 0x10]
mov ecx, 0x221
cmp ax, cx
je 0x1001e059
mov ecx, 0x4bc
cmp ax, cx
jne 0x1001e07b
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001d580
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001c5e0
test eax, eax
jne 0x1001dfe5
mov eax, dword [esp + 0x10]
mov ecx, 0x207
cmp ax, cx
jne 0x1001dfe3
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
or word [edi], 0x10
push esi
call fcn.1005fe2a
test eax, eax
jne 0x1001dfe5
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
add eax, 2
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x18]
push dword [esi + 4]
call fcn.1001b6c0
test eax, eax
js 0x1001dfe5
push ebx
mov ebx, dword [esp + 0x18]
push 1
shr eax, 1
push eax
push ebx
push dword [esi + 0x10]
call fcn.10030f40
mov dword [edi + 0x10], eax
cmp ebx, 0x100528e0
je 0x1001e0f1
push ebx
call fcn.100324b0
cmp dword [edi + 0x10], 0xffffffff
pop ebx
jne 0x1001dfe3
pop edi
mov eax, 0xfffffffe
pop esi
ret 0x10
Function at 0x1005a364
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a2dd
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a30d
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a329
xor edx, 0
jmp 0x1005a334
xor edx, edx
jmp 0x1005a34b
jmp 0x1005a357
xor eax, eax
push 0x8427d7c0
call 0x1005a364
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a3a0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a379
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a3b7
add eax, 0
jno 0x1005a3bc
add esi, 0
ret 0x10

Function at 0x1005b125
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b147
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b2e9
cmp edi, dword [ebp + 0x10]
jb 0x1005b2e9
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005ac11
inc edi
jmp 0x1005b1d0
jmp 0x1005b1dd
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ac11
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ac11
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b231
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b215
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b25f
add dword [eax], 0x39
jle 0x1005b23b
sub al, 0xf5
mov ch, al
call fcn.1005b274
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1005cf4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005cf62
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005cf73
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005cfb4
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f269
add ebx, 0
push ecx
call 0x1005f27e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x73b3c303
sub ebx, dword [0x73b5bb42]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73b5bb32
call fcn.1005ad48
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a256
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f3dc
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f3dc
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f393
mov eax, 1
lock xchg dword [0x73b5bb3e], eax
push 0x3dd1fc71
call 0x1005f320
push esi
add esp, 8
cmp eax, 0
jne 0x1005f309
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f32f
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f344
cmp ecx, edx
cmp eax, 0
je 0x1005f369
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f353
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f382
dec eax
loope 0x1005f385
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73b5bb3e], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f3b9
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f3ce
jmp 0x1005f3d9
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f2c7