joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3c2
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x18], ebx
mov edi, 0x4ca500
mov eax, dword [0x4ca498]
test eax, eax
jne 0x40d483
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebp, dword [ecx + edx + 0x78]
add ebp, edx
cmp ebp, edx
je 0x40d461
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x40d461
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [esp + 0x14], 0x7078113
dec esi
mov dword [esp + 0x1c], ecx
mov ebx, dword [ecx]
add ebx, edx
mov dl, byte [ebx]
inc ebx
mov byte [esp + 0x13], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x40d45d
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x40d436
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0x61b6ed57
mov edx, dword [eax + 0x18]
je 0x40d465
mov ecx, dword [esp + 0x1c]
test esi, esi
jne 0x40d40c
mov eax, dword [eax]
jmp 0x40d3ed
mov eax, dword [ebp + 0x24]
mov ebx, dword [esp + 0x18]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x4ca498], eax
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x40d48d
mov ecx, dword [edi]
push ecx
push 0
call eax
test eax, eax
jne 0x40d568
mov eax, dword [0x4ca3dc]
test eax, eax
jne 0x40d549
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebp, dword [ecx + edx + 0x78]
add ebp, edx
cmp ebp, edx
je 0x40d527
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x40d527
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [esp + 0x14], 0x53a14e14
dec esi
mov dword [esp + 0x1c], ecx
mov ebx, dword [ecx]
add ebx, edx
mov dl, byte [ebx]
inc ebx
mov byte [esp + 0x13], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x40d523
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x40d4fc
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0xc7a126d7
mov edx, dword [eax + 0x18]
je 0x40d52b
mov ecx, dword [esp + 0x1c]
test esi, esi
jne 0x40d4d2
mov eax, dword [eax]
jmp 0x40d4b3
mov eax, dword [ebp + 0x24]
mov ebx, dword [esp + 0x18]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x4ca3dc], eax
push 0x12c
call eax
inc ebx
add edi, 0x18
mov dword [esp + 0x18], ebx
cmp edi, 0x4ca890
jl 0x40d3d4
xor al, al
jmp 0x40d595
imul ecx, ebx, 0x18
add ecx, 0x4ca500
cmp dword [ecx + 0x14], 0xf
jbe 0x40d579
mov ecx, dword [ecx]
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40d57e
sub edx, esi
push edx
push ecx
mov ecx, 0x4cae48
call fcn.00415278
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40d59d
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, 0x4ca8d8
push edi
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x40d5bf
mov ecx, dword [esi]
call fcn.00409567
test al, al
jne 0x40d69a
mov eax, dword [0x4ca418]
test eax, eax
jne 0x40d67b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebp, dword [ecx + edx + 0x78]
add ebp, edx
cmp ebp, edx
je 0x40d659
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x40d659
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
mov dword [esp + 0x14], 0x3b803a78
dec edi
mov dword [esp + 0x1c], ecx
mov ebx, dword [ecx]
add ebx, edx
mov dl, byte [ebx]
inc ebx
mov byte [esp + 0x13], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x40d655
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x40d62e
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0x6bb883ab
mov edx, dword [eax + 0x18]
je 0x40d65d
mov ecx, dword [esp + 0x1c]
test edi, edi
jne 0x40d604
mov eax, dword [eax]
jmp 0x40d5e5
mov eax, dword [ebp + 0x24]
mov ebx, dword [esp + 0x18]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x4ca418], eax
push 0x15e
call eax
inc ebx
add esi, 0x18
mov dword [esp + 0x18], ebx
cmp esi, 0x4cabc0
jl 0x40d5b5
xor al, al
jmp 0x40d6d8
imul eax, ebx, 0x18
lea esi, [eax + 0x4ca8d8]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x40d6ad
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d6b2
sub ecx, edi
push ecx
push edx
mov ecx, 0x4cae18
call fcn.00415278
cmp dword [esi + 0x14], 0xf
jbe 0x40d6cf
mov esi, dword [esi]
mov ecx, esi
call fcn.00405fa5
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412815
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x412832
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x31]
xor byte [ecx], al
inc edx
cmp edx, 0x19
jb 0x412820
mov byte [esi + 0x1a], 0
pop esi
ret

Function at 0x412834
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x4128a3
push ebx
push edi
push 0xffffffffffffffd2
pop edi
push 6
pop ebx
lea eax, [edi - 1]
movd xmm2, edi
lea edx, [edi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [edi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [esi + edi + 0x2e]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmmword [0x4b65b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [esi + edi + 0x2e], xmm3
add edi, 4
sub ebx, 1
jne 0x412845
pop edi
pop ebx
mov byte [esi + 0x19], 0
pop esi
ret

Function at 0x4128a5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x4128c2
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x31]
xor byte [ecx], al
inc edx
cmp edx, 5
jb 0x4128b0
mov byte [esi + 6], 0
pop esi
ret

Function at 0x4128c4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x412933
push ebx
push edi
push 0xffffffffffffffd2
pop edi
push 2
pop ebx
lea eax, [edi - 1]
movd xmm2, edi
lea edx, [edi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [edi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [esi + edi + 0x2e]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmmword [0x4b65b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [esi + edi + 0x2e], xmm3
add edi, 4
sub ebx, 1
jne 0x4128d5
pop edi
pop ebx
mov byte [esi + 9], 0
pop esi
ret

Function at 0x412935
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x412952
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x31]
xor byte [ecx], al
inc edx
cmp edx, 7
jb 0x412940
mov byte [esi + 8], 0
pop esi
ret

Function at 0x412954
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x4129c3
push ebx
push edi
push 0xffffffffffffffd2
pop edi
push 3
pop ebx
lea eax, [edi - 1]
movd xmm2, edi
lea edx, [edi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [edi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [esi + edi + 0x2e]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmmword [0x4b65b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [esi + edi + 0x2e], xmm3
add edi, 4
sub ebx, 1
jne 0x412965
pop edi
pop ebx
mov byte [esi + 0xd], 0
pop esi
ret
Function at 0x4129c5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x4129e2
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x31]
xor byte [ecx], al
inc edx
cmp edx, 0xb
jb 0x4129d0
mov byte [esi + 0xc], 0
pop esi
ret

Function at 0x4129ef
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x412a0c
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x31]
xor byte [ecx], al
inc edx
cmp edx, 0xa
jb 0x4129fa
mov byte [esi + 0xb], 0
pop esi
ret

Function at 0x412a0e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, ecx
cmp byte [edx + 0xb], 0
je 0x412a30
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x31]
xor byte [ecx], al
inc ebx
cmp ebx, 0xa
jb 0x412a1d
pop ebx
mov byte [edx + 0xb], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edx + 0xa]
push eax
push edx
call fcn.004161fa
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x412a45
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x48
mov eax, dword [0x4c7080]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword fs:[0x2c]
push ebp
mov ebp, 0x4ca3e0
mov ecx, dword [eax]
mov eax, dword [0x4ca3d8]
cmp eax, dword [ecx + 4]
jle 0x412b49
push ebx
mov ebx, 0x4ca3d8
push ebx
call fcn.0046bf08
cmp dword [0x4ca3d8], 0xffffffff
pop ecx
jne 0x412b48
movaps xmm0, xmmword [0x4b6aa0]
push esi
push edi
movups xmmword [esp + 0x10], xmm0
push 0xffffffffffffffd2
movaps xmm0, xmmword [0x4b6a50]
movups xmmword [esp + 0x24], xmm0
pop esi
movaps xmm0, xmmword [0x4b6a40]
movups xmmword [esp + 0x30], xmm0
push 0x10
movaps xmm0, xmmword [0x4b66a0]
movups xmmword [esp + 0x44], xmm0
mov word [esp + 0x54], 0x100
pop edi
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [esp + esi + 0x3e]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmmword [0x4b65b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [esp + esi + 0x3e], xmm3
add esi, 4
sub edi, 1
jne 0x412acb
pop edi
pop esi
lea eax, [esp + 8]
mov byte [esp + 0x49], 0
push eax
mov ecx, ebp
call fcn.0041437c
push 0x49db82
call fcn.0046c4ee
push ebx
call fcn.0046beb7
pop ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x48]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0046be79
add esp, 0x48
ret
Function at 0x412e4e
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x412e6e
jl 0x412e65
test ebx, ebx
jne 0x412e6e
xor eax, eax
xor edx, edx
jmp 0x412f31
cmp dword [ebp + 0x38], 0
je 0x412e84
push esi
push ebx
push dword [esp + 0x18]
call fcn.00413f17
jmp 0x412f31
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x412ec8
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x412ec8
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.0046da90
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x412ed0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x412f27
mov ecx, ebp
call fcn.00414d70
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x412f12
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.0047861c
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x412f27
jmp 0x412ee3
test edx, edx
je 0x412f27
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.0047861c
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x413cbf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x413d2e
push ebx
push edi
push 0xffffffffffffffd2
pop edi
push 4
pop ebx
lea eax, [edi - 1]
movd xmm2, edi
lea edx, [edi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [edi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [esi + edi + 0x2e]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmmword [0x4b65b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [esi + edi + 0x2e], xmm3
add edi, 4
sub ebx, 1
jne 0x413cd0
pop edi
pop ebx
mov byte [esi + 0x11], 0
pop esi
ret

Function at 0x413d30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x413d4d
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x31]
xor byte [ecx], al
inc edx
cmp edx, 6
jb 0x413d3b
mov byte [esi + 7], 0
pop esi
ret

Function at 0x413d4f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, ecx
cmp byte [edx + 7], 0
je 0x413d71
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x31]
xor byte [ecx], al
inc ebx
cmp ebx, 6
jb 0x413d5e
pop ebx
mov byte [edx + 7], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edx + 6]
push eax
push edx
call fcn.004161fa
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x4159ae
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push 0x10
mov eax, 0x49abeb
call fcn.0046c7ba
mov edi, ecx
mov al, byte [ebp + 8]
movzx ecx, al
cmp ecx, 8
ja case.default.0x4159cb
jmp dword [ecx*4 + 0x415b1e]
call fcn.00416c7f
mov dword [edi], eax
jmp 0x415b13
push 0xc
call fcn.0046c16e
pop ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x4159d7
push 0x18
call fcn.0046c16e
mov esi, eax
lea eax, [ebp + 0xb]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
mov ecx, esi
mov dword [esp], 0x4a6999
call fcn.0041437c
mov dword [edi], esi
jmp 0x415b13
push 0x10
call fcn.0046c16e
pop ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], cx
jmp 0x4159d7
mov byte [edi], 0
jmp 0x415b13
xor ecx, ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
jmp 0x415b13
xorps xmm0, xmm0
movsd qword [edi], xmm0
jmp 0x415b13
and dword [edi], 0
jmp 0x415b13
and dword [edi], 0
test al, al
jne 0x415b13
mov eax, dword [0x4ca450]
test eax, eax
jne 0x415b11
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x18], ecx
cmp ecx, edx
je 0x415af0
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x415af0
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [ebp - 0x10], 0x6733aa16
dec esi
mov dword [ebp - 0x14], ecx
mov ebx, dword [ecx]
add ebx, edx
mov dl, byte [ebx]
inc ebx
mov byte [ebp + 0xb], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x415aec
mov cl, byte [ebp + 0xb]
mov edx, dword [ebp - 0x10]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x415ac8
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x7b28de40
mov edx, dword [eax + 0x18]
je 0x415af4
mov ecx, dword [ebp - 0x14]
test esi, esi
jne 0x415aa3
mov eax, dword [eax]
jmp 0x415a81
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x4ca450], eax
call eax
mov eax, edi
call fcn.0046c788
ret 4
Function at 0x417ce8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, ecx
test ebp, ebp
jle 0x417d7c
push ebx
mov ebx, dword [esp + 0x10]
sub ebx, dword [esp + 0x14]
push esi
mov esi, dword [edi + 0x104]
inc esi
and esi, 0x800000ff
jns 0x417d19
dec esi
or esi, 0xffffff00
inc esi
mov dword [edi + 0x104], esi
movzx edx, byte [esi + edi]
add edx, dword [edi + 0x108]
and edx, 0x800000ff
jns 0x417d39
dec edx
or edx, 0xffffff00
inc edx
mov dword [edi + 0x108], edx
mov al, byte [edx + edi]
mov cl, byte [esi + edi]
mov byte [esi + edi], al
mov byte [edx + edi], cl
mov eax, dword [edi + 0x108]
movzx ecx, byte [eax + edi]
mov eax, dword [edi + 0x104]
movzx eax, byte [eax + edi]
add ecx, eax
movzx eax, cl
mov ecx, dword [esp + 0x18]
mov al, byte [eax + edi]
xor al, byte [ecx + ebx]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x18], ecx
sub ebp, 1
jne 0x417d02
pop esi
pop ebx
pop edi
pop ebp
ret 0xc

Function at 0x417d81
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [edi + 0x100], eax
mov eax, esi
mov dword [edi + 0x104], esi
mov dword [edi + 0x108], esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x4b6550]
andps xmm0, xmmword [0x4b65b0]
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [edi + eax], xmm0
add eax, 4
cmp eax, 0x100
jl 0x417da1
mov ebp, esi
mov eax, ebp
mov bl, byte [edi + ebp]
cdq
idiv dword [edi + 0x100]
mov eax, dword [esp + 0x14]
movzx ecx, bl
movzx eax, byte [edx + eax]
add esi, eax
add esi, ecx
and esi, 0x800000ff
jns 0x417dfd
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [esi + edi]
mov byte [edi + ebp], al
inc ebp
mov byte [esi + edi], bl
cmp ebp, 0x100
jl 0x417dd2
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x418458
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push 0x68
mov eax, 0x49b0f9
call fcn.0046c7ed
mov esi, edx
mov dword [ebp - 0x64], esi
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
mov edi, dword [0x4ca4d8]
test edi, edi
jne 0x41851f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ebx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
add ebx, esi
mov dword [ebp - 0x70], ecx
cmp ebx, esi
je 0x4184fc
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x4184fc
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
dec edi
mov dword [ebp - 0x70], ecx
mov edx, dword [ecx]
mov ecx, 0x970b70cf
add edx, esi
mov dword [ebp - 0x68], ecx
mov cl, byte [edx]
inc edx
mov byte [ebp - 0x59], cl
test cl, cl
mov ecx, dword [ebp - 0x70]
je 0x4184f8
mov cl, byte [ebp - 0x59]
mov esi, dword [ebp - 0x68]
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4184d4
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x68], 0x3ab53e82
mov esi, dword [eax + 0x18]
je 0x418500
mov ecx, dword [ebp - 0x70]
test edi, edi
jne 0x4184ae
mov eax, dword [eax]
jmp 0x418488
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
add eax, esi
mov ebx, dword [ebp - 0x6c]
add ecx, esi
movzx eax, word [eax + edi*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x64]
mov dword [0x4ca4d8], edi
cmp dword [esi + 0x14], 0xf
jbe 0x418527
mov esi, dword [esi]
lea eax, [ebp - 0x58]
push eax
call fcn.004183a3
mov dword [ebp - 0x6c], eax
xor eax, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0x10]
mov byte [ebp - 0x5e], al
lea eax, [ecx + 1]
mov word [ebp - 0x60], 0x3f
mov dword [ebp - 0x64], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41854d
sub ecx, dword [ebp - 0x64]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, ecx
jb 0x4185d1
cmp dword [ebx + 0x14], 0xf
jbe 0x41856a
mov ebx, dword [ebx]
push ecx
lea eax, [ebp - 0x60]
push eax
push edx
push ebx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
call fcn.0041c026
push dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.0041becc
push 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push 0
cmova eax, dword [ebp - 0x28]
push esi
push eax
push 0
call edi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004151f6
lea ecx, [ebp - 0x40]
call fcn.004151f6
lea ecx, [ebp - 0x58]
call fcn.004151f6
test esi, esi
setns al
call fcn.0046c79c
ret
call fcn.0040230e
int3
Function at 0x418b0f
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x128]
sub esp, 0x128
push 0xffffffffffffffff
push 0x49b12d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4c7080]
xor eax, ebp
mov dword [ebp + 0x124], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 0xfca2a2b9
mov dword [ebp + 0x1c], 0xa1b5b7
mov byte [ebp + 0x20], 1
call fcn.00405af8
push eax
lea ecx, [ebp]
call fcn.0041437c
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
call fcn.00418324
lea ecx, [ebp]
mov bl, al
call fcn.004151f6
test bl, bl
jne 0x418b89
call fcn.00418a5b
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 0xa0a7ffe1
mov dword [ebp + 0x1c], 0xb7b1faa0
xor ebx, ebx
mov word [ebp + 0x20], 0xa3
mov byte [ebp + 0x22], 1
call fcn.00405b19
mov edx, eax
mov esi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x418baf
lea edi, [ebp + 0x24]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418bbc
mov ecx, edx
mov dword [ebp - 0x10], 0x100b2bd
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x10]
call fcn.00402e18
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.00479934
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x418c33
push 2
push ebx
push esi
call fcn.00478a7a
push esi
call fcn.00479775
add esp, 0x10
cmp eax, 0x28
jne 0x418c2c
push ebx
push ebx
push esi
call fcn.00478a7a
push esi
push 1
push 0x28
push 0x4c7b28
call fcn.0047861c
push esi
call fcn.00471580
add esp, 0x20
jmp 0x418c38
push esi
call fcn.00471580
pop ecx
call fcn.00418a5b
cmp dword [0x4c7b28], ebx
jge 0x418c4b
mov dword [0x4c7b28], ebx
call fcn.00418a5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x124]
xor ecx, ebp
call fcn.0046be79
add ebp, 0x128
leave
ret