joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
push edi
push eax
push ecx
mov ebx, 1
xor esi, esi
mov dword [ebp - 8], esi
push ebx
call fcn.00439000
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add esp, 0xc
test edx, edx
je 0x4305bd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, 0x7fffffff
mov dword [ecx + 0x280], eax
mov dword [edx + 0x284], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [sym.imp.MSVCRT.dll_longjmp]
mov dword [eax + 0x288], esi
mov eax, dword [ebp - 4]
push 0x40
push edx
push eax
mov dword [ecx + 0x28c], esi
call fcn.00433eb0
push esi
push eax
call sub.MSVCRT.dll__setjmp3
add esp, 0x14
test eax, eax
je 0x430482
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
push esi
push ecx
push edi
push edx
call fcn.004390d0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push ecx
push edx
push eax
call fcn.00433f40
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push edx
call fcn.004332e0
add esp, 0x28
test eax, eax
jne 0x4304c3
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
test eax, eax
jne 0x430505
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xb4], 0x2000
mov eax, dword [edx + 0xb4]
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.004391f0
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 4]
add esp, 8
cmp dword [eax + 0xb0], 0
jne 0x430505
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [ecx + 0x98], 0x431800
mov ecx, dword [ebp - 4]
mov dword [edx + 0x9c], fcn.00431850
mov edx, dword [ebp - 8]
mov dword [ecx + 0xa0], eax
test edx, edx
jne case.0x430550.0
mov eax, dword [ebp - 4]
push 0x38
add eax, 0x78
push str.1.2.5
push eax
call fcn.00446710
add eax, 6
add esp, 0xc
cmp eax, 6
ja case.0x430550.5
jmp dword [eax*4 + 0x430600]
push str.zlib_memory_error
jmp 0x430579
mov edx, dword [ebp - 4]
push str.zlib_stream_error
push edx
jmp 0x43057d
mov eax, dword [ebp - 4]
push str.zlib_version_error
push eax
jmp 0x43057d
push str.Unknown_zlib_error
mov ecx, dword [ebp - 4]
push ecx
call fcn.00433f70
mov dword [ebp - 8], ebx
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
test edx, edx
mov edx, dword [ebp - 4]
je 0x4305c6
mov ecx, dword [eax + 0xb0]
push ecx
push edx
call fcn.004391c0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push edi
push esi
push ecx
mov dword [eax + 0xb0], 0
call fcn.00439080
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xb0]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xb4]
mov eax, dword [ebp - 4]
push 0
push 0
push eax
mov dword [ecx + 0x88], edx
call fcn.00434320
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433ed0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x433eea
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x433eea
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x43ee3a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp dword [0x49f538], ebx
jne 0x43ee70
push 0x49f51c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x49f538], 1
push 0x49f51c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x49f534]
mov edi, eax
cmp eax, ebx
je 0x43eed4
cmp dword [ebp - 4], ebx
jne 0x43f014
xor eax, eax
inc eax
lea ecx, [edi + 0x114]
cmp esi, dword [ecx]
je 0x43eea7
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x43ee98
jmp 0x43eec5
push dword [ebp + 0xc]
lea esi, [edi + eax*4 + 0x210]
push dword [ebp + 8]
call fcn.0043ec8f
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
mov dword [ebp - 4], 1
mov edi, dword [edi]
cmp edi, ebx
jne 0x43ee86
cmp dword [ebp - 4], ebx
jne 0x43f014
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push 0x100000
lea eax, [ebp - 8]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43f014
mov edi, dword [0x49f534]
jmp 0x43ef14
cmp dword [edi + 0xc], 0x3f
jl 0x43efae
mov edi, dword [edi]
cmp edi, ebx
jne 0x43ef08
push 0x310
push 8
push dword [0x49eac8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x43f00b
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [edi + 8], eax
cmp eax, ebx
je 0x43effd
push ebx
push ebx
push edi
push 0x43ece0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x114], esi
push 0x1000
lea esi, [edi + 0x214]
push ebx
mov dword [edi + 0x14], eax
mov dword [esi], ebx
mov dword [edi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x43eff4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043ec8f
mov eax, dword [0x49f534]
pop ecx
pop ecx
mov dword [edi + 4], ebx
mov dword [edi], eax
cmp eax, ebx
je 0x43efa6
mov dword [eax + 4], edi
mov dword [0x49f534], edi
jmp 0x43f014
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push dword [ebp + 0xc]
mov dword [edi + eax*4 + 0x10], ecx
mov eax, dword [edi + 0xc]
push dword [ebp + 8]
mov dword [edi + eax*4 + 0x110], esi
mov eax, dword [edi + 0xc]
mov dword [edi + eax*4 + 0x210], ebx
mov eax, dword [edi + 0xc]
lea esi, [edi + eax*4 + 0x210]
call fcn.0043ec8f
inc dword [edi + 0xc]
pop ecx
pop ecx
push ebx
push 1
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x43f014
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push dword [0x49eac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x49f51c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4403ac
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x158
push 8
push dword [0x49eac8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x49f8e4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x49f8e8], esi
and dword [esi + 0x88], 0
or dword [esi + 0x8c], 0xffffffff
or dword [esi + 0x90], 0xffffffff
push esi
mov dword [esi + 0x84], 0xffffff
mov dword [esi + 0x6c], 2
mov dword [esi + 0x70], 0x3f
call fcn.00446431
mov dword [esi + 0x58], 0x44032b
mov dword [esi + 0x5c], 0x44036a
mov dword [esi + 0x10], fcn.0043f4c9
mov dword [esi + 0x30], 0x43f64e
mov dword [esi + 0x64], 0x43f757
mov dword [esi + 0x60], 0x43f7a4
mov dword [esi + 0x34], 0x43feca
mov dword [esi + 0x24], 0x43fd69
mov dword [esi + 0x28], 0x43fd92
mov dword [esi + 0x2c], 0x43fdbd
mov dword [esi + 0x44], 0x4401bb
mov eax, esi
pop esi
ret 4

Function at 0x441894
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [esi + 0xb4]
mov dword [ebp - 4], ecx
je 0x441909
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x14]
add eax, dword [ebp + 8]
push ebx
lea edx, [eax + edx*4]
push edi
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
mov edi, edx
add eax, ecx
cmp dword [ebp + 0x18], 0
jle 0x4418f8
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add eax, dword [ebp - 4]
add edi, 4
dec dword [ebp + 0x14]
jne 0x4418dd
dec dword [ebp + 0x1c]
add edx, dword [ebp + 0xc]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x1c], 0
jne 0x4418bd
pop edi
pop ebx
leave
ret 0x18

Function at 0x4426ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0
mov edx, dword [esi + 0xb4]
je 0x44274e
push ebx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edx
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x18]
add edi, dword [ebp + 8]
add eax, edi
mov edi, eax
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
add eax, ecx
cmp dword [ebp + 0x1c], 0
jle 0x442737
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add edi, 3
add eax, edx
dec dword [ebp + 0x14]
jne 0x44271d
mov edi, dword [ebp + 0x18]
add edi, dword [ebp + 0xc]
dec dword [ebp + 0x20]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x20], 0
mov dword [ebp + 0x18], edi
jne 0x4426ff
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x4427a8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
imul eax, eax, 3
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 4], eax
je 0x442842
mov eax, dword [ebp + 0x14]
imul ecx, ecx, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x18]
add eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, edx
imul esi, esi, 3
add ecx, eax
push edi
mov edi, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
imul ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0xa8]
mov edx, dword [ebp - 4]
add ecx, esi
test edx, edx
jle 0x44282a
mov eax, 0xff
sub eax, dword [ebp + 0x20]
mov dword [ebp + 0x18], edx
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
movzx edx, byte [edi]
imul eax, dword [ebp - 8]
imul edx, dword [ebp + 0x20]
add eax, edx
cdq
mov ebx, 0xff
idiv ebx
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x18]
jne 0x442809
mov edi, dword [ebp + 0xc]
add edi, dword [ebp + 0x10]
dec dword [ebp + 0x1c]
inc dword [ebp + 0x14]
cmp dword [ebp + 0x1c], 0
mov dword [ebp + 0xc], edi
jne 0x4427df
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x404292
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404de1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x408460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], ecx
mov cl, byte [ebp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], edi
test cl, cl
jne 0x404365
mov dword [ebp + 0x28], edi
test eax, eax
je 0x404332
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x40431c
mov edi, eax
add ecx, 0x10
dec edx
jne 0x404314
mov dword [ebp + 0x28], edi
mov eax, 0x406784
cmp edi, 0x100000
ja 0x404335
lea eax, [ebp + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.00404a32
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x40435b
push eax
call fcn.00404ac8
add esp, 4
mov dword [esi + 0x24], edi
push 0
call fcn.00404ac8
add esp, 4
xor ecx, ecx
mov eax, ebx
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00404a32
add esp, 4
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4043b1
push 0x402640
push 0x402600
push ebx
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebx
call fcn.00404b8f
jmp 0x4043b3
xor edi, edi
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x4043e2
test eax, eax
je 0x4043df
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402640
push ecx
push 0x44
push eax
call fcn.00404b2c
push ebx
call fcn.00404ac8
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.00403ed2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x14cf058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.014cf1a8
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 0x14cf07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14cf06a
add dl, dl
jne 0x14cf089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14cf0dc
xor eax, eax
add dl, dl
jne 0x14cf096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14cf17d
add dl, dl
jne 0x14cf0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14cf0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14cf0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14cf0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14cf0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x14cf075
mov eax, 1
add dl, dl
jne 0x14cf0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14cf0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14cf0e1
sub eax, ebx
mov ebx, 1
jne 0x14cf128
mov ecx, 1
add dl, dl
jne 0x14cf10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14cf119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14cf105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14cf075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14cf13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14cf14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14cf136
cmp eax, 0x7d00
jae 0x14cf16d
cmp eax, 0x500
jb 0x14cf168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14cf075
cmp eax, 0x7f
ja 0x14cf170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14cf075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14cf19e
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 0x14cf075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41c230
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41c252
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c248
mov eax, 1
add ebx, ebx
jne 0x41c26b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c260
jne 0x41c27c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c260
xor ecx, ecx
sub eax, 3
jb 0x41c290
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c302
mov ebp, eax
add ebx, ebx
jne 0x41c29b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c2cc
inc ecx
add ebx, ebx
jne 0x41c2b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c2ad
jne 0x41c2c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c2ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c2ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c2dd
jmp 0x41c24e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c2ec
add edi, ecx
jmp 0x41c24e
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c30a
cmp byte [edi], 5
jne 0x41c30a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41c30f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c387
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21bac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21be8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c33c
mov ecx, edi
jns 0x41c36b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21bec]
or eax, eax
je 0x41c381
mov dword [ebx], eax
add ebx, 4
jmp 0x41c359
call dword [esi + 0x21bf0]
popal
jmp 0x401150
Function at 0x406b29
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406b47
mov eax, 0x4be9b3
push eax
push 1
mov ebx, 0x42fc00
call fcn.0042f687
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406b71
mov eax, 0
jmp 0x406be5
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x406bd2
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x406bbb
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x406baa
xor ecx, eax
xor edx, ebx
dec edi
jne 0x406b9b
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x40e59e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x40e5b3
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x73a8b264
xor ecx, 0x3b221c51
xor ecx, 0x7c08fc91
xor ecx, 0x1ec64cd4
xor ecx, 0x5992f35
xor ecx, 0x6aac36e6
xor ecx, 0x55660168
xor ecx, 0x7d0b3473
xor ecx, 0x3d4f95f7
xor ecx, 0x54e37638
xor ecx, 0x15fb2577
xor ecx, 0x5869d3ef
xor ecx, 0x5abddaa7
xor ecx, 0x3b7ed9f2
xor ecx, 0x779f65c3
xor ecx, 0x649aea5e
xor ecx, 0x1889f6b1
xor ecx, 0x3fdf300a
xor ecx, 0xb5d2493
xor ecx, 0x2afd6870
xor ecx, 0x5a570d40
xor ecx, 0x46a9b256
xor ecx, 0x33144a26
xor ecx, 0x50912b5e
xor ecx, 0x23311516
xor ecx, 0x2e794eb4
xor ecx, 0x3a086d5a
xor ecx, 0x78d49834
xor ecx, 0x7526d97c
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x40e5bb
pop esi
pop ecx
pop edx
nop
jmp 0x40e6a5
mov esp, ebp
pop ebp
ret 8

Function at 0x41106d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x411082
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x35de486c
xor ecx, 0xf1ab78
xor ecx, 0x302d7edb
xor ecx, 0x605e6234
xor ecx, 0x59577d84
xor ecx, 0x5b8b3ae2
xor ecx, 0x3b0d7ab
xor ecx, 0x5903fc8e
xor ecx, 0x66a0c5a4
xor ecx, 0x5b591f57
xor ecx, 0x8599e37
xor ecx, 0x483735d0
xor ecx, 0x4246eb5c
xor ecx, 0x4585ecf9
xor ecx, 0x5469e7f9
xor ecx, 0x57ba8291
xor ecx, 0x3c761583
xor ecx, 0x106fe5c2
xor ecx, 0x34699290
xor ecx, 0x6136be8e
xor ecx, 0x4d282524
xor ecx, 0x61ecea24
xor ecx, 0x7c0c10f8
xor ecx, 0x2af518c8
xor ecx, 0x3120dc81
xor ecx, 0x7526d97c
xor ecx, 0x78d49834
xor ecx, 0x3a086d5a
xor ecx, 0x2e794eb4
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41108a
pop esi
pop ecx
pop edx
nop
jmp 0x411174
mov esp, ebp
pop ebp
ret 8
Function at 0x43c650
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b6f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ab7e3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43c6d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a9190
mov eax, dword [eax]
push 0x4e3e60
push eax
call fcn.0049bbb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aba6e
test bl, bl
je 0x43c6d2
push 0x4e3e60
lea ecx, [esp + 0xc]
call fcn.004abdfe
push 0x4e3e6c
lea ecx, [esp + 0xc]
call fcn.004abdfe
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43c70e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aba6e
jmp 0x43c7d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43c792
lea edx, [esp + 0x7c]
push 0x4e3e68
push edx
call fcn.0049bbb4
add esp, 8
test eax, eax
je 0x43c792
lea eax, [esp + 0x7c]
push 0x4e3e64
push eax
call fcn.0049bbb4
add esp, 8
test eax, eax
je 0x43c792
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x43c722
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004aba6e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43cfd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43d032
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc