Function at 0x1003e770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f20d
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100bc570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push str.modloader
mov dword [ebp - 0x110], ebx
call fcn.10061e70
add esp, 4
test eax, eax
je 0x1003ea09
push str.modloader_
lea ecx, [ebp - 0x98]
xor edi, edi
call fcn.10035300
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0xd0]
call fcn.10037cc0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.100109c0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x80]
call fcn.10037c20
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.1004d270
add esp, 8
mov byte [ebp - 4], 4
nop dword [eax + eax]
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
je 0x1003e841
test ecx, ecx
je 0x1003e849
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x1003e843
test ecx, ecx
je 0x1003e9e9
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
call fcn.1006455d
add esp, 8
cmp eax, 1
jne 0x1003e921
mov dword [ebp - 0x18], 0x1b
mov eax, dword [ebp - 0x18]
xor al, 0x2e
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
inc al
xor al, 0x63
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
add al, 2
mov byte [ebp - 0x11], 0
xor al, 0x73
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x14]
xor eax, eax
nop dword [eax]
mov cl, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x18]
add dl, al
xor dl, cl
mov byte [ebp + eax - 0x14], dl
inc eax
cmp eax, 3
jb 0x1003e8a0
lea eax, [ebp - 0x14]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x30]
call fcn.10035300
mov ebx, dword [ebp - 0x110]
lea eax, [ebp - 0x48]
or ebx, 1
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x110], ebx
call fcn.1004d370
mov esi, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
or ebx, 2
cmp esi, 8
mov dword [ebp - 0x110], ebx
cmovae edx, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1003e905
mov eax, dword [eax]
cmp ecx, dword [ebp - 0x20]
jne 0x1003e924
push ecx
push edx
push eax
call fcn.1004cfc0
add esp, 0xc
test eax, eax
jne 0x1003e924
mov byte [ebp - 0x109], al
jmp 0x1003e92b
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x109], 1
test bl, 2
je 0x1003e98a
mov ecx, dword [ebp - 0x34]
and ebx, 0xfffffffd
mov dword [ebp - 0x110], ebx
cmp ecx, 8
jb 0x1003e976
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ea25
push ecx
push edx
call fcn.10064ac2
mov esi, dword [ebp - 0x1c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 4
test bl, 1
je 0x1003e9d2
and ebx, 0xfffffffe
mov dword [ebp - 0x110], ebx
cmp esi, 8
jb 0x1003e9d2
mov ecx, dword [ebp - 0x30]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x1003e9c8
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ea25
push esi
push ecx
call fcn.10064ac2
add esp, 8
cmp byte [ebp - 0x109], 0
jne 0x1003e9dc
inc edi
lea ecx, [ebp - 0x80]
call fcn.100395c0
jmp 0x1003e820
lea ecx, [ebp - 0x108]
call fcn.100384c0
lea ecx, [ebp - 0x80]
call fcn.100384c0
lea ecx, [ebp - 0xd0]
call fcn.100384c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064a7b
mov esp, ebp
pop ebp
ret
call fcn.10069c71
int3