joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e42c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e42d5
xor eax, eax
jmp 0x4e43b4
push ebx
mov ebx, dword [ebp + 8]
push edi
push 8
push ebx
call fcn.004e0bab
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
pop ecx
test edi, edi
je 0x4e4320
test byte [ebp + 0x10], 1
mov eax, dword [esi]
mov dword [edi], eax
jne 0x4e4304
xor eax, eax
inc eax
cmp dword [esi], eax
jle 0x4e4304
add eax, eax
cmp eax, dword [esi]
jl 0x4e42fe
imul eax, eax, 0x18
push eax
push ebx
call fcn.004e0bab
mov dword [edi + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x4e4327
push edi
push ebx
call fcn.004e0b4e
pop ecx
pop ecx
xor eax, eax
jmp 0x4e43b2
and dword [ebp - 8], 0
cmp dword [esi], 0
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
jle 0x4e43b0
lea edx, [eax + 0x10]
sub eax, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov dword [ebp - 0xc], eax
push 0
push dword [ebp + 0x10]
push dword [ecx]
push ebx
call fcn.004ce526
mov ecx, dword [ebp + 0xc]
mov dword [edi + ecx], eax
push dword [ecx + 4]
push ebx
call fcn.004e0d95
mov ecx, dword [ebp - 4]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.004e0d95
mov edx, dword [ebp - 4]
add esp, 0x20
mov ecx, dword [ebp + 0xc]
mov dword [edx - 8], eax
mov al, byte [ecx + 0xc]
and dword [edx], 0xfffffffe
mov byte [edx - 4], al
mov eax, dword [ecx + 0x10]
xor eax, dword [edx]
and eax, 2
xor dword [edx], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [edx + 4], eax
add edx, 0x18
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi]
jl 0x4e4343
mov edi, dword [ebp - 0x10]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10029eaa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10029ee9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10029ee9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10029ee9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10029ee9
cmp dword [ecx + 0x74], 0xe
jbe 0x10029ee9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002c874
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 0x1002c911
push ebx
push esi
call fcn.1002c83d
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.1002c7d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002c8be
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002c910
push edi
push eax
call fcn.1002b172
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002c8de
call fcn.1002b1c0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002c90f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002c7d1
add esp, 0x20
test eax, eax
jne 0x1002c8fd
push edi
call fcn.1002b1c0
jmp 0x1002c905
push ebx
call fcn.1002b1c0
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 0x1002cb7e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10035510
push 0x10035508
push str.FlsAlloc
push 0x1f
call fcn.1002ca9a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cbb2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10033150]
call esi
jmp 0x1002cbb8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002cbfc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10035520
push 0x10035518
push str.FlsGetValue
push 0x21
call fcn.1002ca9a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cc33
push dword [ebp + 8]
mov ecx, esi
call dword [0x10033150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002cc3b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10035528
push 0x10035520
push str.FlsSetValue
push 0x22
call fcn.1002ca9a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cc75
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10033150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10032180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100321ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100321ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402fa0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x403070
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x403070
mov esi, 0x1505
cmp dword [esp + 0x28], 0
je 0x402ff0
xor ebx, ebx
nop
nop
movzx ecx, byte [ebp + ebx]
test ecx, ecx
je 0x402ff0
mov edx, esi
shl edx, 5
mov edi, edx
and edi, esi
xor edx, esi
add edx, ecx
lea esi, [edx + edi*2]
inc ebx
cmp dword [esp + 0x28], ebx
jne 0x402fd0
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x403070
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x403014
inc edi
dec ebx
je 0x40306e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40306e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x403010
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.004097c0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x403010
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.004097e0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x403010
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x403070
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4034d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x28]
mov eax, 0xffffffff
test ebp, ebp
je 0x40361b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x40361b
cmp dword [esp + 0x30], 0
je 0x40361b
push edi
call fcn.004097c0
add esp, 4
mov dword [esp], eax
mov ebx, 0x1505
test eax, eax
je 0x40353e
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edi + eax]
test ecx, ecx
je 0x40353e
mov edx, ebx
shl edx, 5
mov esi, edx
and esi, ebx
xor edx, ebx
add edx, ecx
lea ebx, [edx + esi*2]
inc eax
cmp dword [esp], eax
jne 0x403520
mov esi, dword [ebp + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x4035a1
mov ebp, 0xffffffff
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jae 0x403605
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edx], eax
xor eax, eax
jmp 0x40361b
and edi, ebx
mov eax, dword [ebp + 4]
mov dword [esp + 4], eax
jmp 0x4035b4
inc edi
dec esi
je 0x40354f
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x403554
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
cmp dword [ecx + eax*4], ebx
jne 0x4035b0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004097c0
add esp, 4
cmp eax, dword [esp]
jne 0x4035b0
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.004097e0
add esp, 0xc
test eax, eax
jne 0x4035b0
mov eax, 0xffffffff
jmp 0x40361b
mov ecx, esi
call fcn.004036e0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x2c]
je 0x403623
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.004097c0
add esp, 4
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x20]
lea edi, [edx - 1]
mov eax, edx
sub eax, 1
mov dword [esp + 8], eax
jae 0x40364b
mov ebp, 0xffffffff
jmp 0x403564
and edi, ebx
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
jmp 0x403664
inc edi
dec edx
je 0x4036c4
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4036c9
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp dword [ecx + eax*4], ebx
jne 0x403660
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 4], edx
call fcn.004097c0
mov edx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0xc]
jne 0x403660
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.004097e0
mov edx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403660
jmp 0x403564
mov ebp, 0xffffffff
mov esi, dword [esp + 0x28]
jmp 0x403564
Function at 0x403df0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x403f96
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x403f8f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x403e85
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x403f8f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x403efe
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x403ea0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x403e4d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x403f40
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x403f20
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x403e40
jmp 0x403f4f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x403e40
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x403f60
jmp 0x403e40
shl ecx, 0x10
or ecx, edi
jmp 0x403f9b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403fb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x403fde
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x40407c
not eax
test bl, 1
jne 0x403fe5
mov edx, ebx
cmp ebx, 1
jne 0x404016
jmp 0x40407a
xor eax, eax
jmp 0x40407c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x44380c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x44380c]
cmp ebx, 1
je 0x40407a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44380c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44380c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44380c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44380c]
add esi, 2
cmp edx, esi
jne 0x404020
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x409600
Capabilities:
Encode data using xor

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

Function at 0x409eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x409fda
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x409eed
add ebx, edx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x409f0f
movzx esi, cx
cmp esi, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp esi, 0x80
jb 0x409ee0
mov edx, ecx
jmp 0x409ee0
lea esi, [ebx + 1]
push esi
call fcn.004096b0
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x409fe8
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x409f58
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x409fea
movzx edx, word [edi]
test dx, dx
je 0x409fea
cmp dx, 0x7f
jbe 0x409f40
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp ecx, 2
jb 0x409fa0
cmp esi, 0x7ff
ja 0x409fa0
mov ecx, edx
shr ecx, 6
xor cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x409f47
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x409f47
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x409f47
push 1
call fcn.004096b0
add esp, 4
mov ebp, eax
jmp 0x409fea
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x40a005
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x40a000
test eax, eax
je 0x40a019
mov ebx, eax
jmp 0x40a000
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.00406200
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40e760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov dword [esp + 0x50], 0x8b31
mov byte [esp + 0x54], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x40e7c4
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x50]
add eax, 0x7ed453e3
xor eax, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
add al, 0x91
mov ecx, dword [esp]
mov byte [esp + ecx + 0x50], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x40e790
lea eax, [esp + 0x50]
push eax
push dword [ebp + 8]
call fcn.00403150
add esp, 8
mov edi, eax
xor ecx, ecx
test eax, eax
sete cl
xor esi, esi
xor eax, eax
jmp dword [ecx*4 + 0x4474ec]
Function at 0x4135f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebp, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x413610
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x413630
sar ebp, 1
sar eax, 1
lea ecx, [eax + ebp]
add ecx, 2
test ecx, ecx
jns 0x413650
mov eax, 0xffffffff
jmp 0x413659
add eax, ebp
lea eax, [eax*2 + 4]
push eax
call fcn.004096b0
add esp, 4
mov ebx, eax
movzx ecx, word [esi]
test cx, cx
je 0x413691
add esi, 2
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x413680
mov word [eax], 0x5c
add eax, 2
movzx ecx, word [edi]
test cx, cx
je 0x4136c1
lea edx, [edi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4136b0
mov word [eax], 0
lea eax, [esp + 8]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.00440e00
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x447a78]
Function at 0x413970
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [esp + 0x90]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x413990
sar esi, 1
lea ebx, [esp + 0x68]
push ebx
push 0
push 0
push esi
push eax
push 0
call dword [0x44ce10]
mov ebp, dword [esp + 0x68]
mov edi, 0xffffffff
test ebp, ebp
jns 0x4139c4
mov eax, 0xffffffff
jmp 0x4139cb
lea eax, [ebp*2]
push eax
call fcn.004096b0
add esp, 4
push ebx
push ebp
mov ebp, eax
push eax
push esi
push dword [esp + 0xa0]
push 0
call dword [0x44ce10]
mov eax, dword [esp + 0x68]
mov ecx, eax
add ecx, 0xd
js 0x4139fb
lea edi, [eax*2 + 0x1a]
push edi
call fcn.004096b0
add esp, 4
mov ebx, eax
mov dword [esp + 0x14], 0xe6bde84f
mov dword [esp + 0x18], 0xe26ae446
mov dword [esp + 0x1c], 0xfe81e06f
mov dword [esp + 0x20], 0xfa40fc55
mov dword [esp + 0x24], 0xf676f875
mov dword [esp + 0x28], 0xf246f44e
mov dword [esp + 0x2c], 0xcef1f041
mov word [esp + 0x30], 0
mov byte [esp + 0x32], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1e
ja 0x413a8e
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x14]
add eax, 0x73496c45
xor eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add al, 0x52
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1f
jb 0x413a60
movzx ecx, word [ebp]
mov eax, ebx
test cx, cx
je 0x413ab1
lea edx, [ebp + 2]
mov eax, ebx
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x413aa0
mov word [eax], 0
movzx ecx, word [esp + 0x14]
test cx, cx
je 0x413ae1
lea edx, [esp + 0x16]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x413ad0
mov word [eax], 0
lea eax, [esp + 8]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.00440e00
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x447d08]
Function at 0x416110
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + eax], 0
lea eax, [eax + 2]
jne 0x416130
add eax, ebp
add eax, 0xfffffffe
mov ebx, ebp
not ebx
and ebx, eax
add ebx, ebx
xor eax, ebp
sub ebx, eax
sar ebx, 1
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ebx
push ebp
push 0
call dword [0x44ce10]
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x24], eax
jns 0x416174
mov eax, 0xffffffff
jmp 0x416176
add eax, eax
push eax
call fcn.004096b0
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x28]
push esi
push ebx
push ebp
push 0
call dword [0x44ce10]
lea ebx, [esp + 0xc]
push ebx
push esi
call fcn.00440fc0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x448080]

Function at 0x41ae70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
xor eax, eax
nop
nop
nop
nop
cmp word [edi + eax], 0
lea eax, [eax + 2]
jne 0x41ae80
add eax, edi
add eax, 0xfffffffe
mov ecx, edi
not ecx
and ecx, eax
add ecx, ecx
xor eax, edi
sub ecx, eax
mov eax, ecx
sar eax, 1
and ecx, 0x12
xor eax, 9
add eax, ecx
jns 0x41aeb0
mov eax, 0xffffffff
jmp 0x41aeb2
add eax, eax
push eax
call fcn.004096b0
add esp, 4
mov esi, eax
mov dword [esp + 4], 0xa62eb81f
mov dword [esp + 8], 0xa23ca40a
mov dword [esp + 0xc], 0xaef3a0ff
mov dword [esp + 0x10], 0xaa03ac03
mov word [esp + 0x14], 0xa8ab
mov dword [esp + 0x16], 0
mov byte [esp + 0x1a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x16
ja 0x41af2e
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xb223f50d
xor eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x4a
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x17
jb 0x41af00
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x41af51
add edi, 2
mov eax, esi
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41af40
mov word [eax], 0
movzx ecx, word [esp + 4]
test cx, cx
je 0x41af81
lea edx, [esp + 6]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41af70
mov word [eax], 0
lea eax, [esp + 4]
push eax
push esi
call fcn.00440fc0
add esp, 8
mov edi, eax
mov ebx, dword [esp + 4]
jmp dword [0x448180]
Function at 0x4218b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x854
mov dword [esp + 0xc], 0
xor edi, edi
mov eax, 0x20219
mov ecx, 1
mov dword [esp + 8], 0
jmp dword [ecx*4 + 0x448f1c]