Function at 0x105e330
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x29c
mov ebx, dword [esp + 0x2bc]
mov dword [esp + 0x83], 0xe48040
mov dword [esp + 0x80], 0x4010ec83
mov dword [esp + 0x7c], 0x48e78948
mov dword [esp + 0x78], 0xce8948fc
lea edi, [esp + 0x9c]
lea eax, [esp + 0x78]
mov ecx, 3
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xa8]
lea eax, [esp + 0x84]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x86]
mov byte [esp + 0xaa], al
mov dword [esp], ebx
cmp ebx, 4
jb 0x105e3b1
mov dword [esp], 4
lea esi, [esp + 0xab]
test ebx, ebx
je 0x105e800
xor ebp, ebp
jmp 0x105e3da
inc ebp
cmp ebp, dword [esp]
je 0x105e63e
cmp ebp, 3
ja 0x105e3d0
jmp dword [ebp*4 + 0xef06c8]
cmp ebx, 3
jbe 0x105e800
test bl, 1
je 0x105e66f
mov eax, 0xef0be2
mov edx, 0xef0be2
mov edi, esi
xor ecx, ecx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, 1
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
add esi, 2
mov eax, ebx
and eax, 0xfffffff7
mov ecx, ebx
and ecx, 8
mov edx, ebx
or edx, 8
imul edx, ecx
xor ecx, 8
imul ecx, eax
add edx, ecx
mov eax, 0xffffffff
mov edi, 0xffffffff
cmp edx, 0x7ffffffe
ja 0x105eca5
dec ebx
cmp ebx, 4
jb 0x105e800
lea ebp, [esp + 0x14]
jmp 0x105e6bd
mov ebx, dword [esp]
dec ebx
cmp ebx, 3
jbe 0x105e800
mov dword [esp + 8], esi
lea edx, [ebx*8]
cmp edx, 0x7e
mov dword [esp], ebx
ja 0x105e780
mov dword [esp + 0xc], 0x11488244
mov word [esp + 0x10], 0x73c0
mov byte [ebp], 0
mov word [ebp - 2], 0
xor eax, eax
mov ebp, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0xc]
mov esi, eax
xor esi, 0x7a3546c2
mov ebx, eax
or ebx, 0xd
and ebx, esi
mov esi, eax
or esi, 0x7a3546c2
mov ecx, ebp
or ecx, 0xd
and ecx, esi
not ecx
lea ebx, [ecx + ebx*2]
mov ecx, ebx
and ecx, edi
add ebx, edi
add ecx, ecx
sub ebx, ecx
add bl, 0xcf
mov byte [esp + eax + 0xc], bl
inc eax
dec ebp
cmp eax, 9
jne 0x105e700
lea eax, [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, esi
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esi + 4]
lea eax, [esp + 0x10]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x10]
mov byte [esi + 4], al
mov byte [esi + 3], dl
add esi, 5
lea ebp, [esp + 0x14]
jmp 0x105e6b0
mov dword [esp + 0xc], 0x83848ac8
mov dword [esp + 0x10], 0xd7060504
mov byte [esp + 0x14], 8
mov word [ebp + 5], 0
mov dword [ebp + 1], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0xc]
lea edi, [eax + 0xc0]
mov ecx, eax
xor ecx, edi
xor ecx, 0x3f
and ecx, esi
xor ecx, edi
add cl, 0x40
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0xf
jne 0x105e7b0
lea eax, [esp + 0xc]
mov ebx, dword [esp + 8]
mov edi, ebx
mov ecx, 2
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [ebx + 8]
mov esi, ebp
xor ecx, ecx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [ebx + 3], edx
mov esi, eax
jmp 0x105e6b0
mov edx, dword [esp + 0x2b4]
mov ebx, dword [esp + 0x2b0]
mov dword [esp + 0xc], 0xbff21e50
lea ebp, [esp + 0x10]
mov byte [esp + 0x10], 0x9c
mov dword [esp + 0x11], 0
mov word [esp + 0x15], 0
xor eax, eax
mov ecx, eax
add cl, 0x5a
xor cl, byte [esp + eax + 0xc]
add cl, 0x3e
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0xb
jne 0x105e830
lea eax, [esp + 0xc]
mov edi, esi
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [esi + 4]
xor ecx, ecx
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov dword [esp + 0x97], 0xc3fc8948
mov dword [esp + 0x94], 0x48d2ff41
mov dword [esp + 0x88], 0xba49c031
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
lea edx, [esp + 0x88]
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x14]
lea eax, [esp + 0x98]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x9a]
mov byte [esi + 0x16], al
lea ecx, [esp + 0x9c]
mov eax, ecx
neg eax
lea edi, [esi + eax]
add edi, 0x17
sub esi, ecx
add esi, 0x71
mov dword [esp + 0x74], esi
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0x80b0a0d
mov word [esp + 0x10], 0
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc]
mov edx, eax
and edx, 5
xor edx, 0x7668e27d
mov esi, eax
and esi, 2
sub esi, edx
xor esi, ecx
mov ecx, esi
and ecx, 1
xor esi, 1
lea ecx, [esi + ecx*2]
add cl, 0x70
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 6
jne 0x105e900
mov eax, dword [esp + 0xc]
mov ecx, dword [0xefa7f4]
test ecx, ecx
je 0x105e98e
xor edx, edx
mov esi, dword [0xefa7f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x105e960
inc edx
cmp ecx, edx
jne 0x105e950
jmp 0x105e98e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x105e98e
lea eax, [esp + 0x74]
lea edx, [esp + 4]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0xefa7fc]
call fcn.0105c1a0
add esp, 0x24
test eax, eax
js 0x105ec70
mov dword [esp], edi
mov dword [esp + 0xc], 0xf99fc0b
mov dword [esp + 0x10], 0x65edf609
mov dword [esp + 0x14], 0x816a28e9
mov dword [esp + 0x18], 0x757a7b78
mov dword [esp + 0x1c], 0x4bb6ea1c
mov dword [esp + 0x20], 0x166a87ed
mov dword [esp + 0x24], 0x95cc566e
mov dword [esp + 0x28], 0x858a8bc5
mov dword [esp + 0x2c], 0x977e851f
mov dword [esp + 0x30], 0xe3828380
mov dword [esp + 0x34], 0x4a087408
mov dword [esp + 0x38], 0xf4b64705
mov dword [esp + 0x3c], 0x8954f0f2
mov dword [esp + 0x40], 0x91d60690
mov dword [esp + 0x44], 0x9af695ad
mov dword [esp + 0x48], 0x4babc268
mov dword [esp + 0x4c], 0xfd7ff7c5
mov dword [esp + 0x50], 0xbd9fbf9c
mov dword [esp + 0x54], 0xfd25bfbc
mov dword [esp + 0x58], 0x7721e384
mov dword [esp + 0x5c], 0x72ee7797
mov dword [esp + 0x60], 0xf9b3934a
lea ebp, [esp + 0x64]
mov word [esp + 0x64], 0xcff0
mov word [esp + 0x6a], 0
mov dword [esp + 0x66], 0
mov esi, 0x88d3bae9
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + esi + 0x772c4523]
mov edx, ebx
and edx, esi
mov eax, edx
or al, 0xfd
inc al
mov ecx, edx
and cl, 0xfd
mul cl
mov ecx, eax
add cl, bl
mov eax, edx
shr al, 1
and al, 1
or dl, 2
mul dl
add al, al
sub cl, al
movzx eax, cl
add eax, esi
add al, 0x73
mov byte [esp + esi + 0x772c4523], al
inc esi
cmp esi, 0x88d3bb49
jne 0x105ea70
mov eax, dword [esp + 4]
lea edx, [esp + 0xc]
mov edi, eax
mov ecx, 0x16
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [eax + 0x58]
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
movzx ecx, byte [esp + 0x64]
mov byte [eax + 0x58], cl
mov eax, dword [esp + 4]
mov dword [esp + 0xc], 0xd1cecf97
mov word [esp + 0x10], 0
mov ecx, 0x4d6def4d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x4d6def41]
lea esi, [ecx - 0x4d6def00]
mov edi, edx
not edi
or edi, esi
lea esi, [ecx + edx]
lea edx, [edx + edi*2]
neg edx
add edx, ecx
add edx, 0xfffffffe
and esi, 1
or edx, 1
add edx, esi
add dl, 0x7e
mov byte [esp + ecx - 0x4d6def41], dl
inc ecx
cmp ecx, 0x4d6def53
jne 0x105eb00
add eax, dword [esp + 0xc]
mov ebx, dword [esp]
mov ecx, ebx
shr ecx, 2
lea edx, [esp + 0x9c]
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
not ecx
or ecx, 0xfffffffc
lea esi, [ebx + ecx]
lea edx, [ebx + ecx]
inc edx
add edx, eax
lea eax, [esp + esi]
add eax, 0x9d
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, eax
mov edi, edx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test bl, 1
je 0x105eb90
and ebx, 2
movzx eax, byte [eax + ebx]
mov byte [edx + ebx], al
mov eax, dword [esp + 4]
mov dword [esp + 0xc], 0x111e1f77
mov ecx, 0xbf583a05
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x40a7c607]
xor edx, ecx
neg edx
lea esi, [edx + edx]
and esi, 0x34
xor edx, 0xe5
sub edx, esi
add dl, 2
mov byte [esp + ecx + 0x40a7c607], dl
inc ecx
cmp ecx, 0xbf583a09
jne 0x105ebb0
mov ecx, dword [esp + 0xc]
add ecx, eax
push dword [esp + 0x2b8]
push ecx
call eax
mov edi, edx
mov dword [esp + 0x70], 0
mov dword [esp + 0xc], 0x80b0a0d
mov word [esp + 0x10], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0xc]
mov esi, ecx
and esi, 5
xor esi, 0x7668e27d
mov ebx, ecx
and ebx, 2
sub ebx, esi
xor ebx, edx
mov edx, ebx
and edx, 1
xor ebx, 1
lea edx, [ebx + edx*2]
add dl, 0x70
mov byte [esp + ecx + 0xc], dl
inc ecx
cmp ecx, 6
jne 0x105ec10
mov ecx, dword [0xefa7f4]
test ecx, ecx
je 0x105eca5
mov edx, dword [esp + 0xc]
xor esi, esi
mov ebx, dword [0xefa7f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x16194952
je 0x105ec77
inc esi
cmp ecx, esi
jne 0x105ec60
jmp 0x105eca5
mov edi, eax
sar edi, 0x1f
jmp 0x105eca5
mov ecx, dword [ebx + esi*8 + 4]
cmp ecx, edx
je 0x105eca5
lea edx, [esp + 0x70]
lea esi, [esp + 4]
push 0x8000
push edx
push esi
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0xefa7fc]
mov esi, eax
call fcn.0105c1a0
mov eax, esi
add esp, 0x1c
mov edx, edi
add esp, 0x29c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10