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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
and dword [esp], edi
push esi
push edx
push ecx
sub esp, 4
xor dword [esp], ebx
xor ebx, dword [esp]
xor dword [esp], ebx
mov ebx, dword [esp]
push ebp
push 0xffffffffffffffff
push 0x7fe3cf6f
sub esp, 0x3f
mov dword [esp + 0x3b], 0x7fe32e77
add esp, 0x3b
push 0xffffffffffffffff
call fcn.10037be4
or esi, 0xffffffff
inc esi
xor esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
and edx, 0x5e7d6a0b
push dword [ebp + 0xc]
lea esp, [esp - 0x44]
mov edx, dword [esp + 0x44]
lea esp, [esp + 0x48]
mov dword [edx + 4], 0
lea ebx, [edx + 8]
cld
mov edi, 0x7fe43562
sub esp, 4
mov dword [esp], 0x7fe4355f
call fcn.10036875
lea ecx, [eax]
mov ah, byte [esi]
inc esi
inc edi
push edi
call fcn.1003636c
cmp al, ah
jne 0x1004161b
mov byte [ebx], al
inc ebx
inc dword [edx + 4]
cmp dword [edx + 4], 0xe
jae 0x10041d2e
cmp al, 0xf
jne 0x100415be
cmp al, byte [esi]
jne 0x10041623
mov byte [ebx], al
inc dword [edx + 4]
cmp dword [edx + 4], 0xe
jae 0x10041d2e
inc esi
jmp 0x10041623
dec ecx
jne 0x100415d7
dec esi
mov eax, 0
mov ecx, dword [edx + 4]
dec ecx
js 0x10041684
cmp byte [ecx + edx + 8], 0xf
jne 0x10041684
inc eax
dec ecx
js 0x10041684
cmp byte [ecx + edx + 8], 0xf
jne 0x1004167c
mov dword [ebp - 4], 1
mov eax, 0xa40
lea edi, [ebp + 0x10]
mov edi, dword [edi]
mov ebx, dword [edi + eax]
push edi
push dword [ebp + 0xc]
sub esp, 4
mov dword [esp], ebx
call fcn.1004009e
jmp 0x100418b7
movzx ecx, byte [ecx + edx + 8]
mov dword [ebp - 8], ecx
shl eax, 0xa
movzx ebx, byte [esi]
shl ebx, 2
add eax, ebx
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + eax]
sub esp, 4
mov dword [esp], edi
push dword [ebp + 0xc]
lea esp, [esp - 4]
xchg dword [esp], ebx
xor ebx, esi
and ebx, 0
or ebx, dword [esp]
add esp, 4
lea esp, [esp - 4]
call fcn.1004009e
cmp eax, 3
jne 0x10041705
add ebx, 4
mov cl, byte [esi + 1]
shr cl, 3
and cl, 7
and ecx, 7
je 0x10041751
sub esp, 4
xor dword [esp], ebx
xor ebx, dword [esp]
xor dword [esp], ebx
mov ebx, dword [esp]
call fcn.1003ffd5
shl eax, 2
add ebx, eax
dec ecx
jne 0x100416da
jmp 0x10041751
cmp eax, 4
jne 0x10041751
add ebx, 4
mov cl, byte [esi + 1]
shr cl, 6
and cl, 3
cmp cl, 3
jne 0x10041739
movzx ecx, byte [esi + 1]
and ecx, 0x3f
add ecx, 8
shl ecx, 2
add ebx, ecx
jmp 0x10041751
mov cl, byte [esi + 1]
shr cl, 3
and cl, 7
and ecx, 7
shl ecx, 2
add ebx, ecx
jmp 0x10041751
add esp, 0xfffffffc
mov dword [esp], ebx
call fcn.1003ffd5
mov ecx, eax
mov edx, dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 0x10]
push edx
lea esp, [esp - 0x1e]
mov dword [esp + 0x1a], ebx
lea esp, [esp + 0x1a]
call fcn.1004009e
cmp eax, 0xffffffff
jne 0x10041883
xor eax, eax
not eax
and eax, 0xf3
cmp dword [edx + 0x54], 1
je 0x100417cf
push 0
and eax, 0xa5b8cf96
or eax, 0xffffffff
not eax
xor eax, dword [esp]
add esp, 4
not eax
and eax, 0xf2
cmp dword [edx + 0x54], 2
je 0x100417cf
xor eax, eax
or eax, 0x66
cmp dword [edx + 0x54], 3
jne 0x100417d8
cmp dword [ebp - 8], eax
jne 0x10041883
cmp dword [edx + 0x64], 1
jne 0x10041864
mov al, byte [esi + 1]
shr al, 6
and al, 3
and eax, 3
push 0
or dword [esp], eax
call fcn.10041516
test dword [edx + 0x68], eax
je 0x10041883
test dword [edx + 0x70], 0x100
jne 0x10041827
mov al, byte [esi + 1]
shr al, 3
and al, 7
and eax, 7
push eax
call fcn.10041516
test dword [edx + 0x70], eax
je 0x10041883
test dword [edx + 0x6c], 0x100
jne 0x10041864
mov al, byte [esi + 1]
and al, 7
and eax, 7
lea esp, [esp - 4]
xchg dword [esp], eax
sub eax, 0x77a15bc5
and eax, dword [esp]
or eax, dword [esp]
add esp, 4
lea esp, [esp - 4]
call fcn.10041516
test dword [edx + 0x6c], eax
je 0x10041883
cmp edi, 0
je 0x10041881
cmp dword [edx + 0x54], 0
je 0x10041883
cmp dword [edx + 0x54], 4
jae 0x10041883
mov edi, ebx
lea ebx, [ebx + 4]
dec ecx
jne 0x10041763
mov eax, 6
cmp edi, 0
je 0x10041cf6
and ebx, 0
add ebx, edi
push dword [ebp + 0x10]
push edx
push ebx
call fcn.1004009e
cmp eax, 0xffffffff
jne 0x10041cf6
inc esi
xor eax, eax
xor edi, edi
mov ecx, dword [edx + 4]
cmp ecx, 0
je 0x100418e9
cmp byte [edi + edx + 8], 0x66
jne 0x100418d4
inc al
cmp byte [edi + edx + 8], 0x67
jne 0x100418e1
inc ah
inc edi
dec ecx
jne 0x100418c7
mov cl, ah
and eax, 1
and ecx, 1
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x30], 0xffffffff
mov dword [edx + 0x3c], 0xffffffff
cmp dword [edx + 0x64], 1
jne 0x10041aff
mov al, byte [esi]
mov byte [edx + 0x2d], al
mov al, byte [esi]
shr al, 6
and al, 3
and eax, 3
mov dword [edx + 0x30], eax
mov al, byte [esi]
shr al, 3
and al, 7
mov dword [edx + 0x34], eax
mov al, byte [esi]
and al, 7
mov dword [edx + 0x38], eax
inc esi
cmp dword [edx + 0x30], 3
je 0x10041aff
cmp dword [edx], 0x10
je 0x10041a98
cmp dword [edx + 0x20], 1
je 0x10041aa2
cmp dword [edx + 0x38], 4
jne 0x100419e6
mov al, byte [esi]
mov byte [edx + 0x2e], al
mov al, byte [esi]
shr al, 6
and al, 3
and eax, 3
mov dword [edx + 0x3c], eax
mov al, byte [esi]
shr al, 3
and al, 7
push edi
xchg edi, edx
or edx, 0xaecf51d5
mov edx, edi
push esi
sub esi, esi
add esi, esp
sub esi, 0x44
mov esi, dword [esi + 0x32]
push 0xf8f2edaa
xchg dword [esp], esi
mov dword [esp], esi
lea esp, [esp + 4]
xor esi, 0xf8f2edea
add edi, esi
xchg dword [esp], esi
mov dword [esp], esi
lea esp, [esp + 4]
mov dword [edi], eax
pop edi
mov al, byte [esi]
and al, 7
mov dword [edx + 0x44], eax
inc esi
cmp dword [edx + 0x44], 5
jne 0x100419e6
cmp dword [edx + 0x30], 0
jne 0x100419e6
xor ecx, ecx
sub ecx, 4
neg ecx
mov eax, dword [esi]
jmp 0x10041a23
mov dword [edx + 0x4c], 0
cmp dword [edx + 0x30], 0
je 0x10041a7e
cmp dword [edx + 0x30], 1
je 0x10041a5c
mov eax, dword [esi]
push 0
shr ecx, 0xd
shr ecx, 0x13
sub ecx, 0xffffffff
neg ecx
sub esp, 0x40
and ecx, dword [esp + 0x40]
add esp, 0x44
add ecx, 4
and dword [edx + 0x4c], ecx
or dword [edx + 0x4c], ecx
push esi
shr esi, 0x11
shr esi, 0xf
not esi
and esi, 0x5d4f9054
xor esi, 0x5d4f9004
add esi, edx
mov dword [esi], eax
pop esi
lea eax, [esi]
sub eax, dword [ebp + 8]
mov dword [edx + 0x48], eax
add esi, ecx
jmp 0x10041aff
movzx eax, byte [esi]
or ecx, 0xffffffff
not ecx
or ecx, 1
jmp 0x10041a23
cmp dword [edx + 0x38], 5
je 0x10041a01
jmp 0x10041aff
cmp dword [edx + 0x20], 1
je 0x10041950
cmp dword [edx + 0x30], 0
je 0x10041ae9
cmp dword [edx + 0x30], 1
je 0x10041acb
movzx eax, word [esi]
or ecx, 0xffffffff
inc ecx
or ecx, 2
jmp 0x10041a23
movzx eax, byte [esi]
and ecx, 0
add ecx, 1
jmp 0x10041a23
cmp dword [edx + 0x38], 6
je 0x10041ab6
jmp 0x10041aff
mov ecx, dword [edx + 0x80]
or ecx, ecx
je 0x10041bd0
xor ebx, ebx
push ecx
mov dword [edx + ebx + 0xa4], 0
test dword [edx + ebx + 0x88], 4
je 0x10041bbf
test dword [edx + ebx + 0x8c], 8
jne 0x10041bbf
test dword [edx + ebx + 0x8c], 1
jne 0x10041b77
mov ecx, dword [edx + ebx + 0x98]
cmp dword [edx + 0x1c], 0
je 0x10041b90
mov ecx, dword [edx + ebx + 0x9c]
jmp 0x10041b90
push edx
lea edx, [edx + 0x78]
add edx, 0
mov ecx, dword [edx]
pop edx
cmp dword [edx + 0x20], 0
je 0x10041b90
lea ecx, [edx + 0x7c]
mov ecx, dword [ecx]
lea edi, [edx + ebx + 0xa8]
shr ecx, 3
mov dword [edx + ebx + 0xa4], ecx
cmp ecx, 0
je 0x10041bbf
shl eax, 5
shl eax, 0x1b
or eax, esi
sub eax, dword [ebp + 8]
mov dword [edx + ebx + 0xa0], eax
cld
rep movsb byte es:[edi], byte [esi]
add ebx, 0x3c
mov ecx, dword [esp]
lea esp, [esp + 4]
dec ecx
jne 0x10041b0f
cmp dword [ebp - 4], 1
jne 0x10041c22
movzx eax, byte [esi]
shl eax, 2
add eax, 0x800
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + eax]
push edi
push dword [ebp + 0xc]
lea esp, [esp - 0x17]
mov dword [esp + 0x13], ebx
lea esp, [esp + 0x13]
call fcn.1004009e
inc esi
sub esi, dword [ebp + 8]
push eax
or eax, 0xffffffff
inc eax
add eax, 0xd96b41ad
xor eax, 0xd96b4189
add eax, edx
mov dword [eax], esi
pop eax
jmp 0x10041cf6
sub esi, dword [ebp + 8]
mov dword [edx + 0x24], esi
mov dword [edx + 0x18], 0xffffffff
mov ecx, dword [edx + 4]
cmp ecx, 0
je 0x10041c60
xor eax, eax
lea esi, [edx + 8]
mov al, byte [esi]
cmp al, 0x26
jb 0x10041c58
cmp al, 0x65
ja 0x10041c58
and dword [edx + 0x18], eax
or dword [edx + 0x18], eax
inc esi
dec ecx
jne 0x10041c40
mov ecx, dword [edx + 0x80]
or ecx, ecx
je 0x10041cf1
xor ebx, ebx
push 0
add dword [esp], ecx
test dword [edx + ebx + 0x8c], 1
jne 0x10041cad
mov ecx, dword [edx + ebx + 0x98]
cmp dword [edx + 0x1c], 0
je 0x10041cda
mov ecx, dword [edx + ebx + 0x9c]
jmp 0x10041cda
mov ecx, dword [edx + 0x78]
cmp dword [edx + 0x20], 0
je 0x10041cda
push edx
push esi
lea esi, [edx]
mov esi, 0xd99dc177
xor esi, 0xd99dc10b
add edx, esi
lea esp, [esp - 0x30]
mov esi, dword [esp + 0x30]
lea esp, [esp + 0x34]
mov ecx, dword [edx]
pop edx
mov dword [edx + ebx + 0x94], ecx
mov ecx, dword [esp]
add esp, 4
add ebx, 0x3c
dec ecx
jne 0x10041c70
mov eax, 0xffffffff
call fcn.10037ca0
mov ebx, dword [esp]
lea esp, [esp + 4]
mov ecx, dword [esp]
add esp, 4
pop edx
sub esp, 0x52
xor dword [esp + 0x52], esi
xor esi, dword [esp + 0x52]
xor dword [esp + 0x52], esi
mov dword [esp + 0x52], esi
add esp, 0x56
pop edi
leave
ret 0xc
mov eax, 7
jmp 0x10041cf6