joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2080
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e50
xor eax, eax
push ebp
push 0x4c217f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004049a0
xor ecx, ecx
push ebp
push 0x4c215f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.00409e9c
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4c2155
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4c2155
mov esi, dword [edx]
test esi, esi
je 0x4c2155
push ebx
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0
lea edx, [ebp - 0x124]
mov ecx, 3
mov eax, 0x4c2198
call fcn.0040a4e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2169
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2186
lea eax, [ebp - 4]
call fcn.004049a0
ret

Function at 0x4c21a4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [esp + 0x105]
push eax
push 0
push 0
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [esp + 0x105]
call fcn.00409ff0
add esp, 0x20c
pop ebx
ret
Function at 0x4c3b1c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404e50
mov eax, dword [ebp - 8]
call fcn.00404e50
xor eax, eax
push ebp
push 0x4c3bf1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
call fcn.004c21a4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004c3c10
test al, al
je 0x4c3bce
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov edx, eax
sub edx, 3
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00404ec0
mov edx, 0x4c3c08
mov eax, dword [ebp - 0x10]
call fcn.00408d1c
test eax, eax
jne 0x4c3baf
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004c22bc
test al, al
je 0x4c3bce
mov bl, 1
jmp 0x4c3bce
push 0
mov eax, dword [ebp - 8]
call fcn.00404e60
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404e60
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4c3bce
mov bl, 1
mov eax, dword [ebp - 0xc]
call fcn.004099ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3bf8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004049c4
ret
Function at 0x759400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ca000]
push edi
jmp 0x75941a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x759421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x759410
mov eax, 1
add ebx, ebx
jne 0x759433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x759444
jne 0x759463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x759463
dec eax
add ebx, ebx
jne 0x759450
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x759428
add ebx, ebx
jne 0x75945f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7594b5
xor ecx, ecx
sub eax, 3
jb 0x75947b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7594ea
sar eax, 1
mov ebp, eax
jmp 0x759486
add ebx, ebx
jne 0x759486
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x759454
inc ecx
add ebx, ebx
jne 0x759494
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x759454
add ebx, ebx
jne 0x7594a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x759496
jne 0x7594b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x759496
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7594d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7594c6
jmp 0x759416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7594d4
add edi, ecx
jmp 0x759416
pop esi
mov edi, esi
mov ecx, 0x8f66
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7594f2
cmp byte [edi], 0x16
jne 0x7594f2
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 al, bl
loop 0x7594f7
lea edi, [esi + 0x34d000]
mov eax, dword [edi]
or eax, eax
je 0x75956f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x438d7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x438f9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x759524
mov ecx, edi
jns 0x759553
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 + 0x438fa4]
or eax, eax
je 0x759569
mov dword [ebx], eax
add ebx, 4
jmp 0x759541
call dword [esi + 0x438fa0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7595a0
cmp al, 0xef
ja 0x759593
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x759575
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x759582
mov ebp, dword [esi + 0x438fa8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7595d4
sub esp, 0xffffff80
jmp 0x4e4144
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x28a06486
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1c165296
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x300093c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x30009436
mov eax, dword [ebp + 8]
test eax, 3
je 0x300093f8
cmp word [eax], 0
je 0x300093f1
lea eax, [eax + 2]
test eax, 3
je 0x300093f8
jmp 0x300093df
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x30009433
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x300093f8
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x30009433
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x30009433
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x300093f8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0xc56058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c561a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc5607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc5606a
add dl, dl
jne 0xc56089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc560dc
xor eax, eax
add dl, dl
jne 0xc56096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc5617d
add dl, dl
jne 0xc560a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc560b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc560bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc560c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc560d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc56075
mov eax, 1
add dl, dl
jne 0xc560ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc560f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc560e1
sub eax, ebx
mov ebx, 1
jne 0xc56128
mov ecx, 1
add dl, dl
jne 0xc5610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc56119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc56105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc56075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc5613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc5614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc56136
cmp eax, 0x7d00
jae 0xc5616d
cmp eax, 0x500
jb 0xc56168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc56075
cmp eax, 0x7f
ja 0xc56170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc56075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc5619e
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 0xc56075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5f0e87
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f0ea2
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b60c7]
pop edx
test eax, eax
je 0x5f0f74
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f0f63
test dword [ebp - 0x2a8], 1
jne 0x5f0f63
and dword [ebp - 0x2a8], 0x100
jne 0x5f0f63
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3af7]
pop edx
pop esi
test eax, eax
je 0x5f0f06
jmp 0x5f0f63
cmp word [esi], 0x5a4d
jne 0x5f0f63
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f0f63
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3c2f]
pop edx
test eax, eax
je 0x5f0f63
lea eax, [ebp - 0x28c]
push eax
call fcn.005f0de3
test eax, eax
jne 0x5f0f5c
jmp 0x5f0f63
mov eax, esi
jmp 0x5f0f74
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f0ea2
pop esi
leave
ret 4
Function at 0x428ab0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x428add
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x428add
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x411160
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..data
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x411182
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411189
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411178
mov eax, 1
add ebx, ebx
jne 0x41119b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411190
jne 0x4111ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411190
xor ecx, ecx
sub eax, 3
jb 0x4111c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411232
mov ebp, eax
add ebx, ebx
jne 0x4111cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4111d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4111fc
inc ecx
add ebx, ebx
jne 0x4111e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4111dd
jne 0x4111f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4111dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41121c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41120d
jmp 0x41117e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41121c
add edi, ecx
jmp 0x41117e
pop esi
mov edi, esi
mov ecx, 0x385
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41123a
cmp byte [edi], 5
jne 0x41123a
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 al, bl
loop 0x41123f
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x4112ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x110b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x110f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41126c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x110f4]
or eax, eax
je 0x4112a8
mov dword [ebx], eax
add ebx, 4
jmp 0x411289
call dword [esi + 0x11104]
mov ebp, dword [esi + 0x110f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4112e2
sub esp, 0xffffff80
jmp 0x40211c
Function at 0x41cf2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x41cf2a
lcall 0x5de5, 0x8b10c483
jmp fcn.007c0b00

Function at 0x2d9d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x2d9d1a8
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 0x2d9d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2d9d06a
add dl, dl
jne 0x2d9d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2d9d0dc
xor eax, eax
add dl, dl
jne 0x2d9d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2d9d17d
add dl, dl
jne 0x2d9d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2d9d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2d9d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2d9d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x2d9d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2d9d075
mov eax, 1
add dl, dl
jne 0x2d9d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2d9d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2d9d0e1
sub eax, ebx
mov ebx, 1
jne 0x2d9d128
mov ecx, 1
add dl, dl
jne 0x2d9d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2d9d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2d9d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2d9d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2d9d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2d9d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2d9d136
cmp eax, 0x7d00
jae 0x2d9d16d
cmp eax, 0x500
jb 0x2d9d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2d9d075
cmp eax, 0x7f
ja 0x2d9d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2d9d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x2d9d19e
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 0x2d9d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4105b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x410600
cmp esi, edi
ja 0x410668
cmp edi, dword [esp + 0x1c]
ja 0x41067b
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x410602
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x4105f0
jmp 0x41065f
ja 0x410608
cmp eax, edx
mov esi, edi
jne 0x4105c3
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x410640
mov ebp, esi
sub ecx, edx
jns 0x410657
jmp 0x410661
cmp esi, edi
je 0x410690
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x410661
xor al, 1
cmp ebp, edi
jne 0x410620
jmp 0x410661
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x44b600
call fcn.00447340
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x44b600
call fcn.00447130
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
mov edx, 0x2b
push 0x44b5f0
call fcn.004471a0
add esp, 4
ud2
Function at 0x411c1e
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov ebx, ecx
not ebx
cmp edx, 0x40
jb 0x411d45
push 4
pop edi
sub edi, 1
jb 0x411c2d
cmp edx, 0xf
jbe 0x411d55
movzx ebp, byte [eax + 0xe]
movzx esi, byte [eax + 0xf]
mov ecx, ebx
mov dword [esp], edx
mov edx, 0xff
shr ecx, 0x18
mov ebp, dword [ebp*4 + 0x44c3f4]
xor ebp, dword [esi*4 + 0x44bff4]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x44c7f4]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x44cbf4]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x44cff4]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x44d3f4]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x44d7f4]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x44dbf4]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x44dff4]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x44e3f4]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x44e7f4]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x44ebf4]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x44eff4]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x44f3f4]
mov esi, ebx
and ebx, edx
shr esi, 8
and esi, edx
mov edx, dword [esp]
xor esi, ecx
movzx ecx, byte [eax]
xor ebp, dword [esi*4 + 0x44f7f4]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x44fbf4]
push 0x44bfe4
call fcn.004121ac
pop ecx
mov ebx, ebp
jmp 0x411c39
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x44bff4]
test edx, edx
jne 0x411d32
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x44bfd4
call fcn.004470c0
pop eax
ud2
Function at 0x41df50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45e04c]
test eax, eax
je 0x41e008
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x41df7c
cmp dword [eax + 4], 0
mov edi, eax
je 0x41df7c
add edi, 8
jmp 0x41e003
mov eax, dword [0x45e04c]
test eax, eax
je 0x41e017
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x41e001
mov esi, eax
test eax, eax
jne 0x41dfd7
movzx eax, byte [0x45eaa8]
mov ecx, 0xc
mov edx, 4
call fcn.00437a70
test eax, eax
je 0x41e032
mov dword [eax], 0x45e04c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45e04c]
test eax, eax
je 0x41e026
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x41e003
test ecx, ecx
je 0x41e003
lock dec dword [ecx]
jne 0x41e003
call fcn.0041dc50
jmp 0x41e003
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45e04c
call fcn.00447c10
jmp 0x41df60
mov ecx, 0x45e04c
call fcn.00447c10
jmp 0x41df8a
mov ecx, 0x45e04c
call fcn.00447c10
jmp 0x41dfcf
mov ecx, 4
mov edx, 0xc
call fcn.00446f00
ud2