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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], ecx
push ebx
push esi
push edi
test edx, edx
je 0x4088a8
xor esi, esi
cmp dword [0x23a0a0], esi
jbe 0x4088a8
mov ebx, dword [0x23b180]
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [0x23a4fc]
xor eax, eax
add ecx, edi
je 0x408877
cmp byte [ecx], al
je 0x408877
inc eax
cmp byte [ecx + eax], 0
jne 0x408870
push eax
push edx
push ecx
call ebx
test eax, eax
je 0x408891
mov edx, dword [ebp - 0xc]
inc esi
add edi, 0x44
cmp esi, dword [0x23a0a0]
jb 0x408860
jmp 0x4088a8
mov eax, dword [0x23a4fc]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea eax, [eax + ecx*4]
test eax, eax
jne 0x408d14
mov ecx, 0xf
lea edi, [ebp - 0x78]
mov esi, 0x2323b0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
cmp byte [ebp - 0x78], 0
je 0x4088ca
inc esi
cmp byte [ebp + esi - 0x78], 0
jne 0x4088c2
xor edi, edi
nop dword [eax]
call fcn.004032d0
xor edx, edx
div esi
mov al, byte [ebp + edx - 0x78]
mov byte [ebp + edi - 0x28], al
inc edi
cmp edi, 0x10
jb 0x4088d0
lea edx, [ebp - 0x38]
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
call fcn.00408330
lea eax, [ebp - 0x28]
push eax
push 0x23a0cc
push 0x6d
push 0x231b10
lea eax, [ebp - 0x2c0]
push 0x1f4
push eax
call dword [0x23b16c]
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x2c0]
push dword [ebp - 0xc]
mov edi, eax
mov edx, 0x231b1d
add esi, edi
test ecx, ecx
cmovne edx, ecx
push edx
push 0x231bcc
push esi
call dword [0x23b198]
mov edx, eax
add esp, 0x28
xor ecx, ecx
test edx, edx
je 0x408961
nop word [eax + eax]
mov eax, ecx
and eax, 0xf
mov al, byte [ebp + eax - 0x38]
xor byte [esi + ecx], al
inc ecx
cmp ecx, edx
jb 0x408950
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [edx + edi]
push eax
lea eax, [ebp - 0x2c0]
push eax
push ecx
mov ecx, 0x23a10c
call fcn.00407450
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
je 0x408d14
mov edx, eax
movsx esi, byte [edx]
mov ebx, edx
mov dword [ebp - 4], ebx
inc edx
mov eax, 0x231bd4
movsx ecx, byte [eax]
lea eax, [eax + 1]
test ecx, ecx
je 0x4089b0
cmp esi, ecx
jne 0x4089a0
jmp 0x408992
test esi, esi
jne 0x4089c5
xor edx, edx
xor edi, edi
mov dword [0x23aec8], edx
xor eax, eax
jmp 0x408a7a
movsx esi, byte [edx]
mov edi, edx
inc edx
mov ecx, 0x231bd4
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
cmp eax, esi
je 0x4089e0
test eax, eax
jne 0x4089d0
jmp 0x4089c5
test esi, esi
jne 0x4089e8
xor edx, edx
jmp 0x4089eb
mov byte [edi], 0
mov dword [0x23aec8], edx
test edx, edx
jne 0x408a01
mov edx, dword [ebp - 4]
xor edi, edi
xor eax, eax
jmp 0x408a7a
mov dword [ebp - 4], ebx
movsx esi, byte [edx]
mov edi, edx
inc edx
mov ecx, 0x231bd4
nop
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
test eax, eax
je 0x408a20
cmp esi, eax
jne 0x408a10
jmp 0x408a04
test esi, esi
jne 0x408a30
xor edi, edi
mov dword [0x23aec8], esi
xor eax, eax
jmp 0x408a77
movsx esi, byte [edx]
mov ebx, edx
inc edx
mov ecx, 0x231bd4
nop dword [eax + eax]
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
cmp eax, esi
je 0x408a50
test eax, eax
jne 0x408a40
jmp 0x408a30
test esi, esi
jne 0x408a58
xor edx, edx
jmp 0x408a5b
mov byte [ebx], 0
xor eax, eax
mov dword [0x23aec8], edx
test edi, edi
je 0x408a77
cmp byte [edi], al
je 0x408a77
nop dword [eax + eax]
inc eax
cmp byte [edi + eax], 0
jne 0x408a70
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
lea ebx, [edi + 1]
mov ecx, dword [ebp - 8]
add ebx, eax
sub esi, ebx
add esi, ecx
test edx, edx
je 0x408d02
test edi, edi
je 0x408d02
mov eax, ebx
sub eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x408d02
xor ecx, ecx
mov al, byte [ecx + edi]
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x10
jb 0x408aa8
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00408330
xor ecx, ecx
test esi, esi
je 0x408ad7
mov eax, ecx
and eax, 0xf
mov al, byte [ebp + eax - 0x38]
xor byte [ebx + ecx], al
inc ecx
cmp ecx, esi
jb 0x408ac6
mov eax, dword [ebp - 0x14]
sub eax, 1
je 0x408cfb
sub eax, 1
je 0x408cf0
sub eax, 1
jne 0x408d02
cmp dword [ebp + 8], eax
je 0x408d02
xor edx, edx
cmp byte [0x23a0cc], dl
je 0x408b1a
nop dword [eax + eax]
inc edx
cmp byte [edx + 0x23a0cc], 0
jne 0x408b10
xor ecx, ecx
test edx, edx
je 0x408b32
mov al, byte [ecx + 0x23a0cc]
mov byte [ebp + ecx - 0xc8], al
inc ecx
cmp ecx, edx
jb 0x408b20
mov byte [ebp + edx - 0xc8], 0
xor esi, esi
nop dword [eax]
inc esi
cmp byte [esi + 0x231bd8], 0
jne 0x408b40
xor edx, edx
test esi, esi
je 0x408b62
mov al, byte [edx + 0x231bd8]
mov byte [ebp + edx - 0x88], al
inc edx
cmp edx, esi
jb 0x408b50
mov ecx, ebx
mov byte [ebp + esi - 0x88], 0
call fcn.00406660
mov ebx, eax
test ebx, ebx
je 0x408d02
mov ecx, dword [ebx + 0x3c]
xor esi, esi
mov edi, dword [ecx + ebx + 0x78]
mov ecx, dword [edi + ebx + 0x1c]
add edi, ebx
add ecx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
add eax, ebx
add ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ecx
cmp dword [edi + 0x18], esi
jbe 0x408d02
nop dword [eax + eax]
mov eax, dword [eax + esi*4]
add eax, ebx
push 0x231be4
push eax
call dword [0x23b0e4]
test eax, eax
je 0x408bd3
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x408bb0
jmp 0x408d02
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
je 0x408d02
mov edx, dword [ebp + 8]
xor eax, eax
cmp byte [edx], al
je 0x408bf8
inc eax
cmp byte [edx + eax], 0
jne 0x408bf1
mov edi, dword [ebp - 0xc]
lea esi, [ebp - 0xc8]
push 0x237930
push esi
push eax
push edx
push edi
call ecx
push 0x23a088
call dword [0x23b120]
mov ecx, dword [0x23a0a0]
mov edx, dword [0x23a4fc]
test ecx, ecx
je 0x408c45
mov eax, ecx
shl eax, 4
dec eax
add eax, ecx
lea eax, [edx + eax*4]
cmp dword [eax], 0
jne 0x408c3f
sub eax, 0x44
sub ecx, 1
jne 0x408c32
mov dword [0x23a0a0], ecx
xor eax, eax
test ecx, ecx
je 0x408c64
mov esi, edx
nop dword [eax]
cmp dword [esi + 0x40], 0
je 0x408c60
inc eax
add esi, 0x44
cmp eax, ecx
jb 0x408c50
jmp 0x408c64
test esi, esi
jne 0x408cba
lea eax, [ecx + 1]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 2
push ecx
test edx, edx
jne 0x408c87
push 8
call dword [0x23b0c4]
push eax
call dword [0x23b0c0]
jmp 0x408c97
push edx
push 8
call dword [0x23b0c4]
push eax
call dword [0x23b0bc]
mov edx, eax
mov dword [0x23a4fc], edx
test edx, edx
je 0x408ce3
mov ecx, dword [0x23a0a0]
mov eax, ecx
shl eax, 4
add eax, ecx
inc ecx
mov dword [0x23a0a0], ecx
lea esi, [edx + eax*4]
xor edx, edx
mov dword [esi + 0x40], ebx
test edi, edi
je 0x408cdf
cmp byte [edi], dl
je 0x408cce
inc edx
cmp byte [edi + edx], 0
jne 0x408cc7
xor ecx, ecx
test edx, edx
je 0x408cdf
mov al, byte [ecx + edi]
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jb 0x408cd4
mov byte [edx + esi], 0
push 0x23a088
call dword [0x23b134]
jmp 0x408d02
mov edx, esi
mov ecx, ebx
call fcn.00406bf0
jmp 0x408d02
mov ecx, ebx
call fcn.00406890
push dword [ebp - 0x10]
push 0
call dword [0x23b0c4]
push eax
call dword [0x23b0b8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret