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

Disassembly:
sub esp, 0x100
push ebx
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
mov edi, eax
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov esi, ebp
mov edx, dword [ecx]
inc dword [esp + edx*4 + 0x50]
lea edx, [esp + edx*4 + 0x50]
add ecx, 4
dec esi
jne 0x4146a5
cmp dword [esp + 0x50], ebp
jne 0x4146d3
mov ecx, dword [esp + 0x124]
mov dword [ecx], eax
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
mov edx, dword [edi]
mov dword [esp + 0x10], edx
mov ecx, 1
mov edi, edi
cmp dword [esp + ecx*4 + 0x50], eax
jne 0x4146ec
inc ecx
cmp ecx, 0xf
jbe 0x4146e0
mov dword [esp + 0x14], ecx
cmp edx, ecx
jae 0x4146fa
mov dword [esp + 0x10], ecx
mov edx, ecx
mov esi, 0xf
nop
cmp dword [esp + esi*4 + 0x50], eax
jne 0x414709
dec esi
jne 0x414700
mov dword [esp + 0x24], esi
cmp edx, esi
jbe 0x414717
mov dword [esp + 0x10], esi
mov edx, esi
mov dword [edi], edx
mov edi, 1
shl edi, cl
cmp ecx, esi
jae 0x414735
sub edi, dword [esp + ecx*4 + 0x50]
js 0x414811
inc ecx
add edi, edi
cmp ecx, esi
jb 0x414724
lea ecx, [esi*4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + ecx + 0x50]
sub edi, ecx
mov dword [esp + 0x4c], edi
js 0x414811
add ecx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + edi + 0x50], ecx
xor ecx, ecx
dec esi
mov dword [esp + 0x94], eax
je 0x414779
xor edi, edi
add ecx, dword [esp + edi + 0x54]
add edi, 4
dec esi
mov dword [esp + edi + 0x94], ecx
jne 0x414768
xor edi, edi
jmp 0x414780
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, eax
je 0x4147ac
mov esi, dword [esp + ecx*4 + 0x90]
mov ebp, dword [esp + 0x130]
lea ecx, [esp + ecx*4 + 0x90]
mov dword [ebp + esi*4], edi
mov ebp, dword [esp + 0x114]
inc esi
mov dword [ecx], esi
inc edi
cmp edi, ebp
jb 0x414780
mov ecx, dword [esp + 0x18]
mov ecx, dword [esp + ecx + 0x90]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov ebx, edx
xor ebp, ebp
or edi, 0xffffffff
neg ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x90], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0xd4], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
cmp ecx, dword [esp + 0x24]
jg 0x414a97
mov esi, dword [esp + 0x2c]
lea ecx, [esp + ecx*4 + 0x50]
mov dword [esp + 0x18], ecx
jmp 0x414823
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x414a7d
lea eax, [ecx + 1]
mov dword [esp + 0x44], eax
jmp 0x414844
mov ecx, dword [esp + 0x3c]
dec dword [esp + 0x44]
dec ecx
lea eax, [ebx + edx]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x14], eax
jle 0x414968
sub ebx, edx
mov dword [esp + 0x38], ebx
jmp 0x414866
mov edx, dword [esp + 0x10]
add dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x10]
inc edi
sub edx, ebx
mov dword [esp + 0x1c], edi
cmp edx, eax
jbe 0x414881
mov edx, eax
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, dword [esp + 0x44]
jbe 0x4148c3
mov ebp, dword [esp + 0x18]
or edi, 0xffffffff
sub edi, dword [esp + 0x3c]
add eax, edi
cmp ecx, edx
jae 0x4148c3
inc ecx
cmp ecx, edx
jae 0x4148c3
lea ebx, [ebx]
mov edi, dword [ebp + 4]
add ebp, 4
add eax, eax
cmp eax, edi
jbe 0x4148c3
inc ecx
sub eax, edi
cmp ecx, edx
jb 0x4148b0
mov ebp, dword [esp + 0x12c]
mov eax, dword [ebp]
mov edx, 1
shl edx, cl
mov dword [esp + 0x40], edx
add edx, eax
cmp edx, 0x5a0
ja 0x414811
mov edi, dword [esp + 0x128]
lea eax, [edi + eax*8]
mov edi, dword [esp + 0x1c]
lea edi, [esp + edi*4 + 0xd4]
mov dword [esp + 0x48], edi
mov dword [edi], eax
mov edi, dword [esp + 0x1c]
mov dword [ebp], edx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x30], eax
test edi, edi
je 0x41494e
mov esi, dword [esp + 0x30]
mov dl, byte [esp + 0x10]
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x38]
mov eax, ebp
shr eax, cl
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx - 4]
sub esi, ecx
mov byte [esp + 0x29], dl
mov edx, dword [esp + 0x28]
sar esi, 3
sub esi, eax
mov dword [ecx + eax*8], edx
mov dword [esp + edi*4 + 0x90], ebp
mov dword [ecx + eax*8 + 4], esi
jmp 0x414957
mov ecx, dword [esp + 0x124]
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
lea eax, [ebx + edx]
cmp dword [esp + 0x14], eax
jg 0x414862
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x130]
mov al, cl
sub al, bl
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x114]
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x20]
cmp eax, edx
jb 0x414994
mov byte [esp + 0x28], 0xc0
jmp 0x4149dc
mov eax, dword [eax]
mov edx, dword [esp + 0x118]
cmp eax, edx
jae 0x4149b6
cmp eax, 0x100
sbb dl, dl
and dl, 0xa0
add dl, 0x60
mov byte [esp + 0x28], dl
mov esi, eax
jmp 0x4149d7
sub eax, edx
mov edx, dword [esp + 0x120]
add eax, eax
add eax, eax
mov dl, byte [eax + edx]
add dl, 0x50
mov byte [esp + 0x28], dl
mov edx, dword [esp + 0x11c]
mov esi, dword [eax + edx]
add dword [esp + 0x20], 4
sub ecx, ebx
mov edx, 1
shl edx, cl
mov eax, ebp
mov ecx, ebx
shr eax, cl
cmp eax, dword [esp + 0x40]
jae 0x414a16
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + eax*8]
mov edi, dword [esp + 0x28]
mov dword [ecx], edi
lea edi, [edx*8]
mov dword [ecx + 4], esi
add eax, edx
add ecx, edi
cmp eax, dword [esp + 0x40]
jb 0x4149f8
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, 1
shl eax, cl
test ebp, eax
je 0x414a2e
xor ebp, eax
shr eax, 1
test ebp, eax
jne 0x414a26
mov edx, 1
mov ecx, ebx
shl edx, cl
xor ebp, eax
mov dword [esp + 0x34], ebp
dec edx
and edx, ebp
cmp edx, dword [esp + edi*4 + 0x90]
je 0x414a6e
lea esp, [esp]
sub ebx, dword [esp + 0x10]
mov eax, 1
mov ecx, ebx
shl eax, cl
dec edi
dec eax
and eax, ebp
cmp eax, dword [esp + edi*4 + 0x90]
jne 0x414a50
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x3c], 0
mov edx, dword [esp + 0x10]
jne 0x414840
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jle 0x414821
xor eax, eax
cmp dword [esp + 0x4c], eax
je 0x414aa9
cmp dword [esp + 0x24], 1
je 0x414aa9
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret