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

Disassembly:
sub esp, 0x2dc
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x28], ecx
push 0xa
mov edx, 0xff
mov dword [esp + 0x18], 0x667d762f
mov byte [esp + 0x1c], 0x34
xor esi, esi
pop ecx
mov dword [esp + 0x44], edx
movzx eax, byte [esp + esi + 0x14]
sub ax, cx
and ax, dx
mov word [esp + esi*2 + 0x4c], ax
inc esi
cmp esi, 5
jl 0x4102f8
push dword [esp + 0x2f0]
xor eax, eax
mov word [esp + 0x5a], ax
movzx eax, word [0x42b8b8]
sub eax, 0x368aad3e
mov dword [0x42b8b4], eax
lea eax, [esp + 0x50]
push eax
call fcn.00422d73
pop ecx
pop ecx
mov edi, eax
mov ecx, 0x9570
xor cx, word [0x42b920]
mov dword [esp + 0x14], edi
mov word [0x42b8b8], cx
test edi, edi
je 0x4107f6
mov eax, dword [0x42b8b4]
mov edx, 0x54e1cc7b
lea ecx, [eax - 0x25]
add eax, 0x5329
mov word [0x42b920], ax
movzx eax, cl
imul eax, eax, 0x1000ec4f
mov byte [0x42b8ab], cl
xor ecx, ecx
inc ecx
mov dword [0x42b8b4], eax
lea eax, [esp + 0x98]
push eax
push edi
call fcn.004155a6
call eax
mov edx, dword [0x42b8b4]
mov ebx, eax
movzx esi, dx
mov ecx, esi
xor ecx, 0x29d4
cmp ebx, 0xffffffff
je 0x4107d4
mov dword [esp + 0x1c], 0xf6fbfad9
xor ecx, ecx
mov word [esp + 0x20], 0x10a
mov edx, 0xff
mov byte [esp + 0x22], 9
movzx eax, byte [esp + ecx + 0x1c]
add ax, 0x6b
and ax, dx
mov word [esp + ecx*2 + 0x58], ax
inc ecx
cmp ecx, 7
jl 0x4103d0
push dword [esp + 0x2f4]
mov edi, dword [esp + 0x2c]
xor eax, eax
or esi, 0xc506
mov word [esp + 0x6a], ax
sub esi, 0x76d4
mov edx, ebp
xor esi, 0x81eb
mov ecx, edi
imul eax, esi, 0xbea
mov word [0x42b920], si
mov word [0x42b8b8], ax
movzx eax, ax
add eax, 0x3ad5277d
mov dword [0x42b8b4], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x2f8]
call fcn.00410801
mov eax, dword [0x42b8b4]
add esp, 0xc
or eax, 0x4271
xor ecx, ecx
mov word [0x42b920], ax
mov edx, 0x17299c7b
movzx eax, word [0x42b8b8]
inc ecx
sub eax, 0x7a9234b
mov dword [0x42b8b4], eax
call fcn.004155a6
mov dx, word [0x42b920]
mov ecx, 0xce2
movzx esi, dx
imul esi, ecx
mov dword [esp + 0x48], eax
mov word [esp + 0x24], 0x1818
mov word [0x42b8b8], si
push 0x2e
pop eax
mov word [esp + 0x28], ax
xor eax, eax
mov word [esp + 0x2a], ax
xor ecx, ecx
movzx eax, byte [esp + ecx + 0x24]
add ax, 0x16
and ax, word [esp + 0x44]
mov word [esp + ecx*2 + 0x1c], ax
inc ecx
cmp ecx, 2
jl 0x4104a6
xor eax, eax
or dl, 0xbe
mov word [esp + 0x20], ax
movzx eax, si
imul eax, eax, 0xa7279d60
mov byte [0x42b8ab], dl
mov dword [0x42b8b4], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x410753
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x410753
mov cl, byte [0x42b8b4]
movzx eax, word [0x42b8b8]
or cl, 0xe3
imul edx, eax, 0xb7eb0c78
movzx eax, cl
mov byte [0x42b8ab], cl
mov ecx, 0x366a
xor ax, cx
test byte [esp + 0x98], 0x10
mov word [0x42b920], ax
mov dword [0x42b8b4], edx
je 0x410771
lea eax, [edx - 0x4e]
mov byte [0x42b8ab], al
movzx eax, dx
or eax, 0x5a60
add eax, 0x4830d064
mov dword [0x42b8b4], eax
or eax, 0xc165
mov word [0x42b920], ax
add eax, 0xffffb881
mov word [0x42b8b8], ax
lea eax, [esp + 0xc4]
push eax
call fcn.0040581e
pop ecx
push 7
pop esi
cmp eax, esi
jb 0x410771
mov dword [esp + 0x2c], 0x333a2705
xor ecx, ecx
mov word [esp + 0x30], 0x393c
mov byte [esp + 0x32], 0x30
mov al, byte [esp + ecx + 0x2c]
xor al, 0x55
movzx eax, al
mov word [esp + ecx*2 + 0x68], ax
inc ecx
cmp ecx, esi
jl 0x4105b5
xor eax, eax
mov dword [esp + 0x34], 0x6a6d6e4f
mov word [esp + 0x76], ax
xor ecx, ecx
mov word [esp + 0x38], 0x677e
mov byte [esp + 0x3a], 0x7f
mov al, byte [esp + ecx + 0x34]
xor al, 0xb
movzx eax, al
mov word [esp + ecx*2 + 0x78], ax
inc ecx
cmp ecx, esi
jl 0x4105e5
xor eax, eax
mov word [esp + 0x86], ax
movzx eax, byte [0x42b8ab]
xor eax, 0x69c2fa51
mov dword [0x42b8b4], eax
mov eax, 0x5d0c
add ax, word [0x42b920]
mov word [0x42b8b8], ax
lea eax, [esp + 0x68]
push 0xe
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.004022e4
add esp, 0xc
test eax, eax
je 0x41065f
push 0xe
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.004022e4
add esp, 0xc
test eax, eax
jne 0x410771
mov dword [esp + 0x3c], 0x9bb4abe2
xor ecx, ecx
mov word [esp + 0x40], 0xabe2
mov byte [esp + 0x42], 0xb4
mov al, byte [esp + ecx + 0x3c]
xor al, 0xc7
movzx eax, al
mov word [esp + ecx*2 + 0x88], ax
inc ecx
cmp ecx, esi
jl 0x410675
mov cl, byte [0x42b8b8]
xor eax, eax
mov word [esp + 0x96], ax
and cl, 0x52
mov eax, 0x63c4
mov byte [0x42b8ab], cl
or ax, word [0x42b920]
mov word [0x42b8b8], ax
movzx eax, cl
or eax, 0x89b51cbe
mov dword [0x42b8b4], eax
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x2f4]
lea eax, [esp + 0x90]
push eax
call fcn.00422d73
and dword [0x42b8b4], 0x7d8bb02a
mov esi, eax
add esp, 0xc
test esi, esi
je 0x410771
movzx ecx, byte [0x42b8ab]
lea eax, [esp + 0xc4]
push dword [esp + 0x2f4]
imul ecx, ecx, 0x55d4a877
mov edx, ebp
push eax
push esi
mov dword [0x42b8b4], ecx
add ecx, 0x5418
mov word [0x42b920], cx
mov ecx, edi
call fcn.00410801
mov eax, dword [0x42b8b4]
add esp, 0xc
xor eax, 0x3ce3
mov word [0x42b8b8], ax
mov eax, 0x4417
add word [0x42b920], ax
push esi
call fcn.004056f0
pop ecx
jmp 0x410771
movzx eax, word [0x42b8b8]
imul eax, eax, 0xe22437f9
mov dword [0x42b8b4], eax
mov al, byte [0x42b920]
or al, 0x6f
mov byte [0x42b8ab], al
lea eax, [esp + 0x98]
push eax
push ebx
call dword [esp + 0x50]
test eax, eax
je 0x410795
mov si, word [0x42b8b8]
mov dx, word [0x42b920]
jmp 0x410495
movzx eax, byte [0x42b8ab]
xor ecx, ecx
imul eax, eax, 0x2e
mov edx, 0x83fbc401
push ebx
inc ecx
mov byte [0x42b8ab], al
imul eax, dword [0x42b8b4], 0xdeebed66
mov dword [0x42b8b4], eax
call fcn.004155a6
call eax
mov edx, dword [0x42b8b4]
mov cx, word [0x42b8b8]
mov edi, dword [esp + 0x14]
and edx, 0xf48
or cl, 0x29
imul eax, edx, 0x38ac
push edi
mov byte [0x42b8ab], cl
mov word [0x42b8b8], ax
call fcn.004056f0
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret